Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926049 - net-analyzer/zmap-2.1.1-r5 fails to compile: (.text+0x17): undefined reference to main
Summary: net-analyzer/zmap-2.1.1-r5 fails to compile: (.text+0x17): undefined referenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-02 20:41 UTC by Agostino Sarubbo
Modified: 2024-06-18 18:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,68.69 KB, text/plain)
2024-03-02 20:41 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-02 20:41:50 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-02 20:41:51 UTC
Created attachment 886552 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-02 20:41:52 UTC
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)
Comment 3 Jakov Smolić archtester gentoo-dev 2024-03-03 04:36:51 UTC

*** This bug has been marked as a duplicate of bug 919462 ***
Comment 4 Larry the Git Cow gentoo-dev 2024-06-18 18:12:47 UTC
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(+)