Fails to emerge. Reproducible: Always Steps to Reproduce: 1. emerge net-snmp 2. 3. Actual Results: fails to emerge Expected Results: good emerge libtool: link: x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -pipe -march= native -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -Ulinux -Dlinux=linux -Wl,-O1 -Wl,--as-needed -o .libs/snmpps .li bs/snmpps.o -lncurses ../snmplib/.libs/libnetsnmp.so -lm -lssl -lcrypto /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: .lib s/snmpps.o: undefined reference to symbol 'halfdelay' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /lib 64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:354: snmpps] Error 1
Created attachment 839091 [details] build log build log
``` dilbert ~ # emerge -pqv '=net-analyzer/net-snmp-5.9.3-r2::gentoo' [ebuild U ] net-analyzer/net-snmp-5.9.3-r2 [5.9.3-r1] USE="X bzip2 ipv6 pcap python ssl zlib -doc -elf -kmem -lm-sensors -mfd-rewrites -minimal -mysql -netlink -pci -perl -rpm (-selinux) -smux -tcpd -ucd-compat" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" dilbert ~ # emerge --info '=net-analyzer/net-snmp-5.9.3-r2::gentoo' Portage 3.0.40 (python 3.11.0-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r6, 6.0.10-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.0.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-glibc2.36 KiB Mem: 32719688 total, 22138108 free KiB Swap: 32767996 total, 32767996 free Timestamp of repository gentoo: Fri, 02 Dec 2022 18:15:01 +0000 Head commit of repository gentoo: 952cc9ce86099d601b458d9eb16c5fb32a2d7c14 Head commit of repository brother-overlay: aa69861e836659a04117c6cbc7158e712f72ac34 sh bash 5.2_p12 ld GNU ld (Gentoo 2.39 p5) 2.39.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.2_p12::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 2.7.18_p16::gentoo, 3.9.15_p3::gentoo, 3.10.8_p3::gentoo, 3.11.0_p2::gentoo dev-lang/rust: 1.65.0::gentoo dev-util/cmake: 3.25.1::gentoo dev-util/meson: 0.64.1::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r1::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r4::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo, 15.0.6::gentoo sys-devel/gcc: 12.2.1_p20221008::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 14.0.6-r1::gentoo, 15.0.6::gentoo sys-devel/llvm: 14.0.6-r2::gentoo, 15.0.6::gentoo sys-devel/make: 4.4::gentoo sys-kernel/linux-headers: 6.0::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: no sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 brother-overlay location: /var/lib/layman/brother-overlay sync-type: git sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git masters: gentoo priority: 50 guru location: /var/lib/layman/guru sync-type: webrsync sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git masters: gentoo priority: 50 vifino-overlay location: /var/lib/layman/vifino-overlay sync-type: webrsync sync-uri: https://github.com/vifino/vifino-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going=y --with-bdeps=y --backtrack=15" ENV_UNSET="CARGO_HOME 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe -march=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs 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 sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3 -l3" PKGDIR="/var/cache/binpkgs" 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" SHELL="/bin/bash" USE="X a52 aac acl acpi adns aio alsa alsa-plugin amd64 appindicator blake2 bluetooth bluray bpf branding bs2b bzip2 cairo calf capstone cdda cdr chromecast cli corefonts cpudetection cron crypt cups curl dav1d dbus dri dri3 drm dts dv dvb dvd dvdr elogind encode equalizer exif extra faac faad fdk fdt ffmpeg ffmpegthumbnailer fingerprint flac fontconfig fontforge fortran fuse gbm gdal gdbm gif gimp gles2 glib gpg gpm gstreamer gtk gtk3 gui harfbuzz hddtemp http2 iconv icu introspection io-uring ipp_autosetup ipv6 jemalloc jpeg keybinder ladspa lastfm lcms libcanberra libglvnd libmpeg2 libmpv libnotify libtirpc lm_sensors lto lv2 lz4 lzma lzo mad matroska md5sum mda-lv2 mng mp3 mp4 mpeg mtp multilib ncurses nfs nfsv41 nls nptl nvenc offensive ogg openal opengl openmp opus pam pango pcap pcre pdf pgo plugins png policykit postproc ppds projectm pulseaudio pvr python qml qt5 readline realtime rtc rtmp rubberband screencast sctp sdl sdl-image seccomp sftp slirp sna snappy snmp sox spandsp spell spice split-usr sqlite ssh ssl startup-notification svg system-llvm system-png test-rust theora threads tiff tools truetype twolame udev udisks unicode update_drivedb upnp upower usb usbredir uxa v4l vaapi vde vdpau vdr vim vim-syntax virgl vlc vmaf vorbis vpx webp wg-quick widgets wifi wxwidgets x264 x265 xa xattr xcb xft xinerama xml xrandr xv xvid zamaudio zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="roccat_savu libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_11 python3_9" RUBY_TARGETS="ruby27 ruby31" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia iris nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ```
Could you grab config.log?
Created attachment 839127 [details] config log gzipped config log gzipped
(In reply to Sam James from comment #3) > See Also: https://bugs.gentoo.org/show_bug.cgi?id=883945 Yeah, same sorta thing...
(In reply to Gary E. Miller from comment #4) > Created attachment 839127 [details] > config log gzipped > > config log gzipped Thanks! This is the problem: >LIBCURSES='-lncurses ' It should have -ltinfo in there. Need to figure out why it didn't. I think the configure check needs reworking.