Summary: | net-irc/iroffer-dinoex-3.32-r2 fails to compile (MUSL-CLANG-SYSTEM): x86_64-gentoo-linux-musl-ld.bfd: cannot find gcrt1.o: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jy6x2b32pie9 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 854766 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/bin/x86_64-gentoo-linux-musl-ld.bfd: cannot find gcrt1.o: No such file or directory clang-16: error: linker command failed with exit code 1 (use -v to see invocation) It's enabled by USE=debug, to be precise -profiling flag being passed to configure and replicated on ld.lld system clang -pg -g -L/usr/local/lib -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed o.fr/iroffer_admin.o o.fr/iroffer_dccchat.o o.fr/iroffer_display.o o.fr/iroffer_main.o o.fr/iroffer_misc.o o.fr/iroffer_statefile.o o.fr/iroffer_transfer.o o.fr/iroffer_upload.o o.fr/plumb_md5.o o.fr/dinoex_admin.o o.fr/dinoex_main.o o.fr/dinoex_misc.o o.fr/dinoex_http.o o.fr/dinoex_upload.o o.fr/dinoex_transfer.o o.fr/dinoex_geoip.o o.fr/dinoex_maxminddb.o o.fr/dinoex_ssl.o o.fr/dinoex_curl.o o.fr/dinoex_irc.o o.fr/dinoex_queue.o o.fr/dinoex_telnet.o o.fr/dinoex_badip.o o.fr/dinoex_jobs.o o.fr/dinoex_kqueue.o o.fr/dinoex_ruby.o o.fr/dinoex_user.o o.fr/dinoex_chat.o o.fr/dinoex_config.o o.fr/crc32.o o.fr/upnp.o o.fr/blowfish.o o.fr/strnatcmp.o o.fr/iroffer_utilities.o o.fr/dinoex_utilities.o -lssl -lcrypto -o iroffer-fr ld.lld: error: cannot open gcrt1.o: No such file or directory I think preventing -profiling on musl systems is a solution here. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910e9cf3909430b7e21b3f0484d3adf5d58981e5 commit 910e9cf3909430b7e21b3f0484d3adf5d58981e5 Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-13 07:48:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-13 08:06:17 +0000 net-irc/iroffer-dinoex: update EAPI 7 -> 8, fix build on musl USE=debug enables profiling, it passes `-pr` flag to linker. Musl doesn't support this flag, and package tries to link against missing glibc library. Closes: https://bugs.gentoo.org/897864 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Sam James <sam@gentoo.org> net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) |