https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-analyzer/zmap-2.1.1-r5 fails to compile. Discovered on: amd64 (internal ref: clang-lld_tinderbox) System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 886552 [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: (.text+0x17): undefined reference to `main' /bin/sh: line 1: -I/usr/include/json-c: No such file or directory FAILED: lib/CMakeFiles/zmaplib.dir/blacklist.c.o FAILED: lib/CMakeFiles/zmaplib.dir/constraint.c.o FAILED: lib/CMakeFiles/zmaplib.dir/csv.c.o FAILED: lib/CMakeFiles/zmaplib.dir/lockfd.c.o FAILED: lib/CMakeFiles/zmaplib.dir/logger.c.o FAILED: lib/CMakeFiles/zmaplib.dir/pbm.c.o FAILED: lib/CMakeFiles/zmaplib.dir/queue.c.o FAILED: lib/CMakeFiles/zmaplib.dir/random.c.o FAILED: lib/CMakeFiles/zmaplib.dir/rijndael-alg-fst.c.o FAILED: lib/CMakeFiles/zmaplib.dir/util.c.o FAILED: lib/CMakeFiles/zmaplib.dir/xalloc.c.o clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** This bug has been marked as a duplicate of bug 919462 ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7123f545675b347c9292bd6850ad0e68385cd3ff commit 7123f545675b347c9292bd6850ad0e68385cd3ff Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2024-06-18 18:10:08 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2024-06-18 18:12:39 +0000 net-analyzer/zmap: Fix building with json-c Closes: https://bugs.gentoo.org/926049 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> net-analyzer/zmap/files/zmap-2.1.1-json-c.patch | 31 +++++++++++++++++++++++++ net-analyzer/zmap/zmap-2.1.1-r5.ebuild | 1 + 2 files changed, 32 insertions(+)