The newest version of aiccu from portage fails to build and says: >>> Compiling source in /home/tmp/portage/net-misc/aiccu-2007.01.15/work/aiccu ... Building : aiccu - Automatic IPv6 Connectivity Configuration Utility Copyright : SixXS Version : 2007.01.15 make[1]: Entering directory `/home/tmp/portage/net-misc/aiccu-2007.01.15/work/aiccu/unix-console' ../common/tun.o: In function `tun_start': tun.c:(.text+0x1ad): undefined reference to `pthread_create' ../common/aiccu.o: In function `aiccu_FreeConfig': aiccu.c:(.text+0x33a): undefined reference to `gnutls_certificate_free_credentials' aiccu.c:(.text+0x33f): undefined reference to `gnutls_global_deinit' ../common/aiccu.o: In function `aiccu_InitConfig': aiccu.c:(.text+0xcee): undefined reference to `gnutls_global_init' aiccu.c:(.text+0xd04): undefined reference to `gnutls_certificate_allocate_credentials' aiccu.c:(.text+0xd16): undefined reference to `gnutls_global_set_log_function' aiccu.c:(.text+0xd34): undefined reference to `gnutls_strerror' ../common/common.o: In function `sock_free': common.c:(.text+0x143): undefined reference to `gnutls_deinit' common.c:(.text+0x168): undefined reference to `gnutls_bye' ../common/common.o: In function `sock_gotls': common.c:(.text+0x639): undefined reference to `gnutls_transport_set_ptr' common.c:(.text+0x644): undefined reference to `gnutls_handshake' common.c:(.text+0x6a5): undefined reference to `gnutls_strerror' ../common/common.o: In function `sock_alloc': common.c:(.text+0x709): undefined reference to `gnutls_init' common.c:(.text+0x71a): undefined reference to `gnutls_set_default_priority' common.c:(.text+0x72e): undefined reference to `gnutls_certificate_type_set_priority' common.c:(.text+0x74e): undefined reference to `gnutls_credentials_set' common.c:(.text+0x75f): undefined reference to `gnutls_strerror' ../common/common.o: In function `sock_getline': common.c:(.text+0xb25): undefined reference to `gnutls_record_recv' ../common/common.o: In function `sock_printf': common.c:(.text+0xce3): undefined reference to `gnutls_record_send' ../common/ayiya.o: In function `ayiya': ayiya.c:(.text+0x45e): undefined reference to `pthread_create' ../common/resolver.o: In function `getrrs': resolver.c:(.text+0x87): undefined reference to `__res_nquery' resolver.c:(.text+0xca): undefined reference to `__dn_skipname' resolver.c:(.text+0x14a): undefined reference to `__dn_expand' resolver.c:(.text+0x243): undefined reference to `__dn_expand' collect2: ld returned 1 exit status make[1]: *** [aiccu] Error 1 make[1]: Leaving directory `/home/tmp/portage/net-misc/aiccu-2007.01.15/work/aiccu/unix-console' make: *** [all] Error 2 !!! ERROR: net-misc/aiccu-2007.01.15 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile aiccu-2007.01.15.ebuild, line 22: Called die !!! Build Failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/home/tmp/portage/net-misc/aiccu-2007.01.15/temp/build.log'. The same happens with: net-misc/aiccu-2007.01.07 net-misc/aiccu-2006.07.25 I`ve tried to recompile gnutls but it doesn`t help. Reproducible: Always idaho ~ # emerge --info Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-idaho i686) ================================================================= System uname: 2.6.20-gentoo-idaho i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System release 1.12.10 Timestamp of tree: Wed, 23 May 2007 20:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.61 sys-devel/automake: 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="confcache distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl" LANG="pl_PL.utf8" LC_ALL="pl_PL.utf8" LDFLAGS="-Wl,--as-needed" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/home/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa automount bash-completion berkdb bitmap-fonts bluetooth bzip2 caps cdr cli cracklib crypt cscope cups dbus dri dts dv dvd dvdr emboss encode esd evo exif flac fortran ftp gdbm gif glibc-compat20 glitz gnokii gnutls hal iconv idn ipv6 irda isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ logrotate lzo mad mailwrapper midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nfs nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png pppd python qt3 qt3support qt4 quicktime quotas readline real reflection rtc samba session slp sms speex spl sqlite sse sse2 ssl svg syslog tcpd tga theora threads tiff truetype truetype-fonts tta type1-fonts unicode usb vorbis win32codecs x264 x86 xcomposite xinerama xml xorg xv xvid xvmc 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 mulaw multi null plug rate route share shm softvol" CAMERAS="ptp2 panasonic minolta samsung sonydscfl sonydscf55 fuji canon casio ricoh toshiba" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="hd44780 ncurses" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="vesa radeon fglrx" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 128584 [details, diff] aiccu-2007.01.15-as-needed.patch The attached patch fixes this bug. On a sidenote: Please stabilize this package sometime and talk to upstream about using another build system as right now it cannot be cross-compiled. Thanks!
(In reply to comment #1) > Created an attachment (id=128584) [edit] > aiccu-2007.01.15-as-needed.patch > > The attached patch fixes this bug. > Thanks for the patch. Maybe try sending it upstream to info@sixxs.net. It`s trivial so it should be accepted without problems.
I tried sending it upstream, but since JM from sixxs is the ultimate d*ck, he chose to block my sixxs account and close all ip connectivity for that. I will not communicate with these people again.
(In reply to comment #3) > I tried sending it upstream, but since JM from sixxs is the ultimate d*ck, he > chose to block my sixxs account and close all ip connectivity for that. I will > not communicate with these people again. > Hmm, now that you mention it, I also remembered some trouble I had with them. Do you have any commit access to add the patch to the ebuild ?
please apply that little patch. It's simple enough. Don't argue with upstream. It's not worth it. thanks!
+ 12 May 2008; Robert Buchholz <rbu@gentoo.org> + +files/aiccu-2007.01.15-as-needed.patch, aiccu-2007.01.15.ebuild: + Change the homepage, fix a compile error when using "--as-needed" LDFLAGS + (bug #179581)