NTP fails to build with mv -f .deps/ntpSnmpSubagentObject.Tpo .deps/ntpSnmpSubagentObject.Po /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -std=gnu99 -march=pentium4 -O2 -pipe -fno-strict-aliasing -pipe -Wdeclaration-after-statement -march=pentium4 -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -Wno-strict-prototypes -Wl,-O1 -Wl,--as-needed -o ntpsnmpd netsnmp_daemonize.o ntpsnmpd.o ntpSnmpSubagentObject.o ntpsnmpd-opts.o ../ntpq/libntpq.a ../libntp/libntp.a -lcrypto -L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl -lcrypto -lm -lwrap -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.8/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/i686-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc ../sntp/libopts/libopts.la -lrt libtool: link: i686-pc-linux-gnu-gcc -std=gnu99 -march=pentium4 -O2 -pipe -fno-strict-aliasing -pipe -Wdeclaration-after-statement -march=pentium4 -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -Wno-strict-prototypes -Wl,-O1 -Wl,--as-needed -o ntpsnmpd netsnmp_daemonize.o ntpsnmpd.o ntpSnmpSubagentObject.o ntpsnmpd-opts.o -rdynamic ../ntpq/libntpq.a ../libntp/libntp.a -L/usr/lib /usr/lib/libnetsnmpmibs.so /usr/lib/libnetsnmpagent.so /usr/lib/libnetsnmphelpers.so /usr/lib/libnetsnmp.so -lcrypto -lwrap -L/usr/local/lib /usr/lib/perl5/5.8.8/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/i686-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc ../sntp/libopts/.libs/libopts.a -lrt i686-pc-linux-gnu-gcc: /usr/lib/perl5/5.8.8/i686-linux/auto/DynaLoader/DynaLoader.a: No such file or directory make[3]: *** [ntpsnmpd] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/work/ntp-4.2.6p5/ntpsnmpd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/work/ntp-4.2.6p5/ntpsnmpd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/work/ntp-4.2.6p5' make: *** [all] Error 2 emake failed [31;01m*[0m ERROR: net-misc/ntp-4.2.6_p5-r1 failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 93: Called src_compile [31;01m*[0m environment, line 2333: Called __eapi2_src_compile [31;01m*[0m phase-helpers.sh, line 612: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die "emake failed" [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=net-misc/ntp-4.2.6_p5-r1'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-misc/ntp-4.2.6_p5-r1'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/work/ntp-4.2.6p5' [31;01m*[0m S: '/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/work/ntp-4.2.6p5' and snmp 5.4 Reproducible: Always # emerge --info Portage 2.1.11.31 (default/linux/x86/10.0/server, gcc-4.4.2, glibc-2.10.1-r1, 2.6.33-gentoo i686) ================================================================= System uname: Linux-2.6.33-gentoo-i686-Intel-R-_Pentium-R-_D_CPU_3.00GHz-with-gentoo-1.12.1 Timestamp of tree: Wed, 06 Feb 2013 15:00:01 +0000 ld GNU ld (GNU Binutils) 2.21 app-shells/bash: 4.2_p37 dev-lang/python: 2.4.3-r1::<unknown repository>, 2.6.8, 3.1.1-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 1.12.1::<unknown repository> sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13::<unknown repository>, 2.69 sys-devel/automake: 1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10::<unknown repository>, 1.11.1, 1.13.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.1.1::<unknown repository>, 4.2.4-r1, 4.4.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.23b::<unknown repository>, 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 2.6.21::<unknown repository> (virtual/os-headers) sys-libs/glibc: 2.10.1-r1 Repositories: gentoo ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl alsa arts avi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups cxx dbus dlloader dri dvd dvdr eds emboss encode esd fam fortran gdbm gif gnutls gpm gstreamer gtk hal iconv isdnlog jpeg kde ldap libg++ mad mikmod modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session snmp spell spl ssl svg symlink tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 338144 [details] build.log
it looks like this happens because ntp depends on net-snmp and net-snmp was built: [ebuild U ] net-analyzer/net-snmp-5.7.2_rc1::gentoo [5.4::__unknown__] USE="bzip2%* perl python%* ssl tcpd zlib%* -X -doc -elf -ipv6 -lm_sensors -mfd-rewrites -minimal -rpm (-selinux) -ucd-compat% (-diskio%) (-sendmail%) (-smux%)" 6,134 kB after that the perl version was changed to: Latest version installed: 5.12.3 I guess this can't be fixed with dependencies.... May be adding ntp dependency on the latest net-snmp can reduce the probability of this problem...
You need to run perl-cleaner.
(In reply to comment #3) > You need to run perl-cleaner. Running perl-cleaner didn't help. Even the new snmpd didn't help. Still: /lib/libnetsnmpagent.so /usr/lib/libnetsnmphelpers.so /usr/lib/libnetsnmp.so -lcrypto -lwrap -L/usr/local/lib /usr/lib/perl5/5.8.8/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/i686-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc ../sntp/libopts/.libs/libopts.a -lrt i686-pc-linux-gnu-gcc: /usr/lib/perl5/5.8.8/i686-linux/auto/DynaLoader/DynaLoader.a: No such file or directory make[3]: *** [ntpsnmpd] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/work/ntp-4.2.6p5/ntpsnmpd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/work/ntp-4.2.6p5/ntpsnmpd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.6_p5-r1/work/ntp-4.2.6p5' make: *** [all] Error 2 emake failed I don't even see DynaLoader.a on other systems. How to get it compiled? Or how to compile ntpd without it?
I was only able to install new ntp with -python & -perl flags. May be the latest ntp should not accept python & perl flags at all.
(In reply to comment #3) > You need to run perl-cleaner. Try assemble ntp with python perl flags will it work? I guess it won't.