Summary: | net-analyzer/zmap-2.1.1-r5 - /.../sh:line <snip>: -I/.../json-c: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Jakov Smolić <jsmolic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ago, conikost, jsmolic, phmagic, wolfram |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz net-analyzer:zmap-2.1.1-r5:20231208-120353.log qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
2023-12-08 13:37:10 UTC
Created attachment 878335 [details]
emerge-info.txt
Created attachment 878336 [details]
emerge-history.txt.xz
Created attachment 878337 [details]
environment
Created attachment 878338 [details]
etc.clang.tar.xz
Created attachment 878339 [details]
etc.portage.tar.xz
Created attachment 878340 [details]
net-analyzer:zmap-2.1.1-r5:20231208-120353.log
Created attachment 878341 [details]
qlist-info.txt.xz
Created attachment 878342 [details]
temp.tar.xz
*** Bug 926049 has been marked as a duplicate of this bug. *** Same issue here: ninja -v -j4 -l4 [1/59] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -DJSON -DREDIS -I/usr/include/json-c [...] -I/usr/include;-I/usr/include/json-c [...] FAILED: lib/CMakeFiles/zmaplib.dir/blacklist.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -DJSON -DREDIS -I/usr/include/json-c [...] -I/usr/include;-I/usr/include/json-c [...] x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. /bin/sh: line 1: -I/usr/include/json-c: No such file or directory ninja: build stopped: subcommand failed. The problem is the semicolon in this part of the gcc invocation line: "-I/usr/include;-I/usr/include/json-c" This is how Debian fixed it: https://sources.debian.org/src/zmap/2.1.1-2.1/debian/patches/fix-build-with-json-c-0.14.patch/ |