Changes between Initial Version and Version 1 of Ticket #70068, comment 1


Ignore:
Timestamp:
May 24, 2024, 12:49:42 PM (4 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #70068, comment 1

    initial v1  
    1 I would guess this is happening because the genius Makefile was [source:macports-ports/gnome/genius/files/patch-src-makefile.diff?rev=e91c4b586a6f3bb3d8c2fda073c3e0f4944339cb patched] to add the flag `-Wl,-bundle_loader,genius` to `libtestplugin_la_LDFLAGS` which is used when building the `libtestplugin.so` target, but no `genius` dependency was added to the `libtestplugin.so` target. Therefore `make` didn't know that it needed to build `genius` before `libtestplugin.so`. Therefore, in your parallel build, it happened to start building `libtestplugin.so` before it had finished building `genius`, which is why `genius` was not found. If you repeat the build attempt without cleaning I suspect it will succeed.
     1I would guess this is happening because the genius Makefile was [source:macports-ports/gnome/genius/files/patch-src-makefile.diff@e91c4b586a6f3bb3d8c2fda073c3e0f4944339cb patched] to add the flag `-Wl,-bundle_loader,genius` to `libtestplugin_la_LDFLAGS` which is used when building the `libtestplugin.so` target, but no `genius` dependency was added to the `libtestplugin.so` target. Therefore `make` didn't know that it needed to build `genius` before `libtestplugin.so`. Therefore, in your parallel build, it happened to start building `libtestplugin.so` before it had finished building `genius`, which is why `genius` was not found. If you repeat the build attempt without cleaning I suspect it will succeed.
    22
    33Mohamed, why did you add that patch? What problem does it solve? Is there an upstream bug report or pull request or commit URL associated with your patch?