Platform is Gentoo Prefix on SUSE 10 SP2 (actually a new box with a slightly more recent SUSE than the one I have used for a long time). Emerge of app-crypt/gnupg fails: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../common -I../intl -DLOCALEDIR=\"/local/tmp/a/usr/share/locale\" -DGNUPG_BINDIR="\"/local/tmp/a/usr/bin\"" -DGNUPG_LIBEXECDIR="\"/local/tmp/a/usr/libexec\"" -DGNUPG_LIBDIR="\"/local/tmp/a/usr/lib/gnupg\"" -DGNUPG_DATADIR="\"/local/tmp/a/usr/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/local/tmp/a/etc/gnupg\"" -I/local/tmp/a/usr/include -I/local/tmp/a/usr/include -O2 -pipe -Wall -Wno-pointer-sign -Wpointer-arith -MT gpg2keys_kdns-ksutil.o -MD -MP -MF .deps/gpg2keys_kdns-ksutil.Tpo -c -o gpg2keys_kdns-ksutil.o `test -f 'ksutil.c' || echo './'`ksutil.c gpgkeys_kdns.c: In function 'get_key': gpgkeys_kdns.c:110: error: 'adns_r_unknown' undeclared (first use in this function) gpgkeys_kdns.c:110: error: (Each undeclared identifier is reported only once gpgkeys_kdns.c:110: error: for each function it appears in.) gpgkeys_kdns.c:126: error: 'union <anonymous>' has no member named 'byteblock' gpgkeys_kdns.c:127: error: 'union <anonymous>' has no member named 'byteblock' make[2]: *** [gpg2keys_kdns-gpgkeys_kdns.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/gpg2keys_curl-ksutil.Tpo .deps/gpg2keys_curl-ksutil.Po mv -f .deps/gpg2keys_kdns-ksutil.Tpo .deps/gpg2keys_kdns-ksutil.Po make[2]: Leaving directory `/local/scratch/portage/app-crypt/gnupg-2.0.11/work/gnupg-2.0.11/keyserver' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/scratch/portage/app-crypt/gnupg-2.0.11/work/gnupg-2.0.11' make: *** [all] Error 2 * ERROR: app-crypt/gnupg-2.0.11 failed:
This problem puzzles me. I run the same bootstrapping-plus-extra-packages script on two different machines. Bootstrapping is successful on both machines, but this problem with gnupg (one of the extra packages) appears only on one of them. The situation is reproducible for a couple of days now. One environmental difference is that the machine where gnupg fails to emerge has 4 CPUs (the other one has 2). I have now ensured that both run with MAKEOPTS=-j3 but this does not help. Perhaps I should run the `ebuild' steps manually on both machines and ensure that I really get the same source tree for gnupg in both cases.
What matters is, if they are HOST OS software-wise identical or not. You mention one is slightly more recent, so most probably there are changed headers in there that break.
Correct, they are SUSE 10 SP2 and SP1 respectively. The problem is with SP2. Let me know if you need more info about the SP2 environment.
do you build with -jX?
Yes, -j3.
can you try -j1 on the failing box?
I tried MAKEOPTS=-j1 but the problem persists. The console output is slightly less cluttered though: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../common -I../intl -DLOCALEDIR=\"/local/tmp/m/usr/share/locale\" -DGNUPG_BINDIR="\"/local/tmp/m/usr/bin\"" -DGNUPG_LIBEXECDIR="\"/local/tmp/m/usr/libexec\"" -DGNUPG_LIBDIR="\"/local/tmp/m/usr/lib/gnupg\"" -DGNUPG_DATADIR="\"/local/tmp/m/usr/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/local/tmp/m/etc/gnupg\"" -I/local/tmp/m/usr/include -I/local/tmp/m/usr/include -O2 -pipe -Wall -Wno-pointer-sign -Wpointer-arith -MT gpg2keys_kdns-gpgkeys_kdns.o -MD -MP -MF .deps/gpg2keys_kdns-gpgkeys_kdns.Tpo -c -o gpg2keys_kdns-gpgkeys_kdns.o `test -f 'gpgkeys_kdns.c' || echo './'`gpgkeys_kdns.c gpgkeys_kdns.c: In function 'get_key': gpgkeys_kdns.c:110: error: 'adns_r_unknown' undeclared (first use in this function) gpgkeys_kdns.c:110: error: (Each undeclared identifier is reported only once gpgkeys_kdns.c:110: error: for each function it appears in.) gpgkeys_kdns.c:126: error: 'union <anonymous>' has no member named 'byteblock' gpgkeys_kdns.c:127: error: 'union <anonymous>' has no member named 'byteblock' make[2]: *** [gpg2keys_kdns-gpgkeys_kdns.o] Error 1 make[2]: Leaving directory `/local/scratch/portage/app-crypt/gnupg-2.0.11/work/gnupg-2.0.11/keyserver' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/scratch/portage/app-crypt/gnupg-2.0.11/work/gnupg-2.0.11' make: *** [all] Error 2 * ERROR: app-crypt/gnupg-2.0.11 failed: * emake failed
i'm affected by same blocking issue with -j1 Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30.4 i686) ================================================================= System uname: Linux-2.6.30.4-i686-Celeron_-Coppermine-with-gentoo-2.0.1 Timestamp of tree: Sun, 06 Sep 2009 08:15:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1, 3.1.1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d" CXXFLAGS="-Os -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="39" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu" LINGUAS="it" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa bash-completion branding bzip2 cairo caps cddb cdr cleartype connectionstatus cracklib crypt cups curl dbus divx dri encode exif ffmpeg firefox flac ftp gif glibc-omitfp glut gnutls gpm graphite hal hddtemp iconv ipod ipv6 irc java java6 javascript jpeg jpeg2k justify kde kde4 kdeenablefinal kdehiddenvisibility lame live lm_sensors lzo mad mime mmx mmxext mng moonlight mozdevelop mp3 mp4 mp4live mpeg mpeg2 mplayer msn mudflap musepack ncurses network networkmanager nls nntp npp nptl nptlonly nsplugin ntfs ogg opengl openssl pam pdf plasma png qt3support qt4 quicktime readline reiserfs rtc samba sdl session slang sockets speex spell sse ssl tao theora threads thunar tiff truetype unicode usb userlocales video vidix vorbis webkit wifi win32codecs wlm wma wxwindows x264 x86 xcomposite xine xml xorg xpm xulrunner xv xvid xvmc zip 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncursestext" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="sis vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
does the same happen for gnupg-2.0.13
i can't reopen but 2.0.13 works like a charm. please consider unmasking it
reopening then
i'm getting the same adns_r_unknown fail on OS X, macports gnupg2 2.0.13.
...and upgrading adns from 1.1 -> 1.4 solved it.
so, it seems it needs 1.4 then
Almost everything emerges nicely today so I thought let's try this one. Emerging gnupg-2.0-16-r2 succeeds like so many other things.