The following error occurs every time I go to emerge net-dns/avahi-0.6.28-r1: make: *** [all] Error 2 emake failed * ERROR: net-dns/avahi-0.6.28-r1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 10791: Called die * The specific snippet of code: * emake || die "emake failed"; * * If you need support, post the output of 'emerge --info =net-dns/avahi-0.6.28-r1', * the complete build log and the output of 'emerge -pqv =net-dns/avahi-0.6.28-r1'. * The complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/environment'. * S: '/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28' >>> Failed to emerge net-dns/avahi-0.6.28-r1, Log file: >>> '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/build.log' * Messages for package net-dns/avahi-0.6.28-r1: * ERROR: net-dns/avahi-0.6.28-r1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 10791: Called die * The specific snippet of code: * emake || die "emake failed"; * * If you need support, post the output of 'emerge --info =net-dns/avahi-0.6.28-r1', * the complete build log and the output of 'emerge -pqv =net-dns/avahi-0.6.28-r1'. * The complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/environment'. * S: '/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28' * IMPORTANT: 3 news items need reading for repository 'gentoo'. * Use eselect news to read news items. I've completed an emerge --sync prior to trying this, but every occcasion results in the same error message Reproducible: Always Steps to Reproduce: 1. the following command fails: USE="gdbm" emerge avahi Actual Results: see above Expected Results: Expect avahi to be available for configuration and startup My emerge --info as requested. Portage 2.1.10.3 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.22-gentoo-r8-x86_64-Intel-R-_Xeon-R-_CPU_3040_@_1.86GHz-with-gentoo-1.12.9 Timestamp of tree: Wed, 20 Jul 2011 11:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5, 2.5.2-r7, 2.6.6-r2, 2.7.1-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.4_p6, 1.9.6-r2::<unknown repository>, 1.10.1, 1.11.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc: 4.1.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81::<unknown repository> sys-kernel/linux-headers: 2.6.22-r2 (virtual/os-headers) sys-libs/glibc: 2.6.1 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt curl cxx dba dbus dri fortran gd gdbm gpm iconv jpeg mmx modules mssql mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline session sse sse2 ssl sysfs tcpd unicode utf8 xorg 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="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 280897 [details] The build log referred to in the error message This is my first bug submission, so do let me know whatever else you may need.
emerge --info Portage 2.1.10.3 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.22-gentoo-r8-x86_64-Intel-R-_Xeon-R-_CPU_3040_@_1.86GHz-with-gentoo-1.12.9 Timestamp of tree: Wed, 20 Jul 2011 11:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5, 2.5.2-r7, 2.6.6-r2, 2.7.1-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.4_p6, 1.9.6-r2::<unknown repository>, 1.10.1, 1.11.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc: 4.1.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81::<unknown repository> sys-kernel/linux-headers: 2.6.22-r2 (virtual/os-headers) sys-libs/glibc: 2.6.1 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt curl cxx dba dbus dri fortran gd gdbm gpm iconv jpeg mmx modules mssql mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline session sse sse2 ssl sysfs tcpd unicode utf8 xorg 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="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> glibc-2.6.1-r0 > sys-kernel/linux-headers: 2.6.22-r2 > (arguably) gcc-4.1.2 > (also arguably) 2.6.22-gentoo-r8 Keep your whole system up to date, not only randomly selected components.
emerge linux-headers - No Problem - done that now emerge gentoo-sources - Also no problem - done that too! However trying to emerge glibc and gcc I get the Circular Dependecies issue pop up - can you provide a rational and reasoned way of eliminating this particular thorny issue?
That's what you get, if you delay updates for too long. Exact details vary, but the general solution is to look at what's still left in portage tree for both glibc and gcc, update one to the highest version you still can, update the other to the new highest possible version, then repeat till you reach current on both. Don't forget to use gcc-config to select each of the newly emerged gcc each time you manage to go a slot up.
Running "emerge -avuDN world --keep-going" multiple times will also help you to update most of your system. You will also need to read /var/log/portage/elog/summary.log, run revdep-rebuild...