Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 648166 Details for
Bug 731208
net-firewall/nfacct-1.0.2 fails to compile: ld.lld: error: undefined symbol: nfacct_nlmsg_build_hdr
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 18.42 KB, created by
Agostino Sarubbo
on 2020-07-07 06:29:00 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-07-07 06:29:00 UTC
Size:
18.42 KB
patch
obsolete
> * Package: net-firewall/nfacct-1.0.2 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/7b138adfb10cb573281c134ac20d71330dafbf51 >@@@@@ END @@@@@ > > * Determining the location of the kernel source code > * Found kernel source directory: > * /kernel-4.19.122 > * Found sources for kernel version: > * 4.19.122 > * Checking for suitable kernel configuration options... > * CONFIG_NETFILTER_NETLINK_ACCT: is not set when it should be. > * Please check to make sure these options are set correctly. > * Failure to do so may cause unexpected problems. >>>> Unpacking source... >>>> Unpacking nfacct-1.0.2.tar.bz2 to /var/tmp/portage/net-firewall/nfacct-1.0.2/work >>>> Source unpacked in /var/tmp/portage/net-firewall/nfacct-1.0.2/work >>>> Preparing source in /var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2 ... > * econf: updating nfacct-1.0.2/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating nfacct-1.0.2/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/nfacct-1.0.2 --htmldir=/usr/share/doc/nfacct-1.0.2/html --libdir=/usr/lib64 >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether make supports nested variables... (cached) yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-clang accepts -g... yes >checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-clang understands -c and -o together... yes >checking for style of include used by make... GNU >checking dependency style of x86_64-pc-linux-gnu-clang... none >checking how to print strings... printf >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-clang... ld.lld >checking if the linker (ld.lld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... llvm-nm >checking the name lister (llvm-nm) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking whether the shell understands some XSI constructs... yes >checking whether the shell understands "+="... yes >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for ld.lld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... llvm-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... llvm-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... llvm-strip >checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib >checking command to parse llvm-nm output from x86_64-pc-linux-gnu-clang object... ok >checking for sysroot... no >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-clang supports -fno-rtti -fno-exceptions... yes >checking for x86_64-pc-linux-gnu-clang option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-clang PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-clang static flag -static works... yes >checking if x86_64-pc-linux-gnu-clang supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-clang supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-clang linker (ld.lld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking whether ln -s works... yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for LIBMNL... yes >checking for LIBNETFILTER_ACCT... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating include/Makefile >config.status: creating include/linux/Makefile >config.status: creating include/linux/netfilter/Makefile >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2 ... >make -j2 V=1 >Making all in include >make[1]: Entering directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include' >Making all in linux >make[2]: Entering directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include/linux' >Making all in netfilter >make[3]: Entering directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include/linux/netfilter' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include/linux/netfilter' >make[3]: Entering directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include/linux' >make[3]: Nothing to be done for 'all-am'. >make[3]: Leaving directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include/linux' >make[2]: Leaving directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include/linux' >make[2]: Entering directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include' >make[2]: Nothing to be done for 'all-am'. >make[2]: Leaving directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include' >make[1]: Leaving directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/include' >Making all in src >make[1]: Entering directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/src' >x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"nfacct\" -DPACKAGE_TARNAME=\"nfacct\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"nfacct\ 1.0.2\" -DPACKAGE_BUGREPORT=\"pablo@netfilter.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"nfacct\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../include -std=gnu99 -W -Wall -Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o nfacct.o nfacct.c >/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-clang -std=gnu99 -W -Wall -Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o nfacct nfacct.o -lmnl -L/lib64 -lnetfilter_acct >libtool: link: x86_64-pc-linux-gnu-clang -std=gnu99 -W -Wall -Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o nfacct nfacct.o -lmnl -L/lib64 -lnetfilter_acct >ld.lld: [0;31merror: [0mundefined symbol: nfacct_nlmsg_build_hdr >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_list) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_delete) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_get) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_flush) >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) > >ld.lld: [0;31merror: [0mundefined symbol: nfacct_alloc >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_delete) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_get) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cb) >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) > >ld.lld: [0;31merror: [0mundefined symbol: nfacct_attr_set >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_delete) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_get) >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) > >ld.lld: [0;31merror: [0mundefined symbol: nfacct_nlmsg_build_payload >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_delete) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_get) >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) > >ld.lld: [0;31merror: [0mundefined symbol: nfacct_free >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_delete) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cmd_get) >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cb) >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) > >ld.lld: [0;31merror: [0mundefined symbol: nfacct_nlmsg_parse_payload >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cb) > >ld.lld: [0;31merror: [0mundefined symbol: nfacct_snprintf >>>> referenced by nfacct.c >>>> nfacct.o:(nfacct_cb) > >ld.lld: [0;31merror: [0mundefined symbol: nfacct_attr_set_u64 >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) >>>> referenced by nfacct.c >>>> nfacct.o:(_nfacct_cmd_add) >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >make[1]: *** [Makefile:382: nfacct] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2/src' >make: *** [Makefile:455: all-recursive] Error 1 > * ERROR: net-firewall/nfacct-1.0.2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-firewall/nfacct-1.0.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-firewall/nfacct-1.0.2::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/net-firewall/nfacct-1.0.2:20200707-005203.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-firewall/nfacct-1.0.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-firewall/nfacct-1.0.2/temp/environment'. > * Working directory: '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2' > * S: '/var/tmp/portage/net-firewall/nfacct-1.0.2/work/nfacct-1.0.2' > > > >emerge --info: >Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1015-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1015-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 >KiB Mem: 7895548 total, 1984596 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Tue, 07 Jul 2020 01:09:41 +0000 >sh bash 5.0_p17 >ld GNU ld (Gentoo 2.34 p4) 2.34.0 >app-shells/bash: 5.0_p17::gentoo >dev-lang/perl: 5.30.3-r2::gentoo >dev-lang/python: 2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo, 3.9.0_beta4::gentoo >dev-util/cmake: 3.18.0_rc3::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r1::gentoo >sys-devel/gcc: 10.1.0-r2::gentoo >sys-devel/gcc-config: 2.3.1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) >sys-libs/glibc: 2.31-r5::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-metamanifest: yes > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > sync-rsync-verify-max-age: 24 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="*" >CBUILD="x86_64-pc-linux-gnu" >CC="x86_64-pc-linux-gnu-clang" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="x86_64-pc-linux-gnu-clang++" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/usr/portage/distfiles" >EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" >ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0" >MAKEOPTS="-j2 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 731208
: 648166