sys-cluster/resource-agents-1.0.3 failed to build with net-libs/libnet-1.1.5 Reproducible: Always Actual Results: Error is: [...] IPv6addr.c:(.text+0x4fb): undefined reference to `libnet_pblock_record_ip_offset` Future 1.0.4 may be independend from libnet, but now best way is to fix dependences and|or add useflags "arp" & "ipv6" to unswitch libnet.
Created attachment 257221 [details, diff] resource-agents-1.0.3.patch Suggested smart libnet dependence.
full build.log and emerge --info please
Created attachment 257225 [details] build.log Portage 2.2.0_alpha8 (default/linux/amd64/10.0, gcc-4.5.1, glibc-2.12.1-r3, 2.6.37-rc4-git3 x86_64) ================================================================= System uname: Linux-2.6.37-rc4-git3-x86_64-Intel-R-_Pentium-R-_D_CPU_3.00GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 14 Dec 2010 21:00:22 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.1_p9 dev-lang/python: 2.6.6-r1, 2.7.1, 3.1.3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.19.1-r1, 2.21 sys-devel/gcc: 4.4.4-r2, 4.5.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo raw local-repo ACCEPT_KEYWORDS="amd64 ~amd64 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-DOPENMCU_VIDEO=1 -O3 -mtune=native -march=native -Wa,-mtune=nocona -pipe -funroll-loops -fomit-frame-pointer -fivopts -funroll-loops -floop-optimize -maccumulate-outgoing-args -mno-inline-all-stringops -ftree-loop-linear -ftracer -w -findirect-inlining -ftree-switch-conversion -fno-dwarf2-cfi-asm -fconserve-stack" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/yp/Makefile" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-DOPENMCU_VIDEO=1 -O3 -mtune=native -march=native -Wa,-mtune=nocona -pipe -funroll-loops -fomit-frame-pointer -fivopts -funroll-loops -floop-optimize -maccumulate-outgoing-args -mno-inline-all-stringops -ftree-loop-linear -ftracer -w -findirect-inlining -ftree-switch-conversion -fno-dwarf2-cfi-asm -fconserve-stack" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common" LINGUAS="ru" MAKEOPTS="-j3 -s" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/metadata/cache --no-whole-file --compress --inplace --compress-level=9" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/raw /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aac acl alsa amd64 apache async automount build-kernel bzip2 cdr cgi clamav clamd cli cluster cpudetection cracklib crypt cue cups custom-arch custom-cflags cxx dirac dri dvdr dvdread extensions faac faad fam flac fortran gdbm glibc-omitfp gnutls graphite hpn iconv integrated ithreads jack jpeg jpeg2k lame ldap libsamplerate logrotate lzma mbox milter mmx modules mp3 mppe-mppc mudflap multilib ncurses nis nls nptl nptlonly ogg openmp pam pcre perl perlsuid php pipe png pnp pnponly pppd python raid readline replication samba sendmail session sharedext slang sockets spell spl sse sse2 ssl suexec svg sysfs szip threads tokenizer truetype unicode vhosts vorbis wavpack xml xorg xsl zip zlib" 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" 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="cgi cgid actions alias auth_basic auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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 proxy proxy_http" APACHE2_MPMS="itk" 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" LINGUAS="ru" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
@Denis Kaganovich: Hi, and thanks a lot for reporting this issue. We added the 'libnet' USE flag to handle this in sys-cluster/resource-agents-1.0.3-r1. Please note that this also affected sys-cluster/cluster-glue and it has been fixed the same way in sys-cluster/cluster-glue-1.0.7-r1. Closing bug, regards.
(In reply to comment #4) > Please note that this also affected sys-cluster/cluster-glue and it has been > fixed the same way in sys-cluster/cluster-glue-1.0.7-r1. OK. Just FYI: sys-cluster/cluster-glue-1.0.7-r1 looks independent from libnet version and build with 1.1.5 too, but since it is same set of packages - this is not too critical now. But if once sys-cluster/resource-agents-1.0.4 will be independent from libnet (I find something about in Google/maillist), and if cluster-glue still use libnet - it may be actual again.