[MacPorts] #70068: genius @1.0.27: ld: file not found: genius (was: ld: file not found: genius)
MacPorts
noreply at macports.org
Fri May 24 12:08:22 UTC 2024
#70068: genius @1.0.27: ld: file not found: genius
-------------------------+--------------------
Reporter: dyne2meter | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: genius |
-------------------------+--------------------
Changes (by ryandesign):
* cc: mohd-akram (added)
Comment:
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.
Mohamed, 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?
--
Ticket URL: <https://trac.macports.org/ticket/70068#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list