pango-1.25.3 from gnome overlay cannot compile because of ebuild bug. When mutilib profile is used, pango-1.25.3.ebuild function src_prepare calls 'epatch "${FILESDIR}/${PN}-1.2.5-lib64.patch"' which affects only pango/modules.c (adds HOST to function g_build_filename 's arguments) and pango/Makefile.in (adds -DHOST=\"$(host_triplet)\") to CPP flags) and then 'eautoreconf' which deletes changes in Makefile.in, so compilation fails because 'HOST' is not defined. Reproducible: Always Steps to Reproduce: # emerge pango Actual Results: # emerge pango <...> modules.c: In function 'read_modules': modules.c:512: error: 'HOST' undeclared (first use in this function) modules.c:512: error: (Each undeclared identifier is reported only once modules.c:512: error: for each function it appears in.) make[4]: *** [modules.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... mv -f .deps/pango-color.Tpo .deps/pango-color.Plo libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib64\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -Os -march=nocona -fomit-frame-pointer -pipe -Wall -MT pango-context.lo -MD -MP -MF .deps/pango-context.Tpo -c pango-context.c -fPIC -DPIC -o .libs/pango-context.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib64\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -Os -march=nocona -fomit-frame-pointer -pipe -Wall -MT pango-coverage.lo -MD -MP -MF .deps/pango-coverage.Tpo -c pango-coverage.c -fPIC -DPIC -o .libs/pango-coverage.o mv -f .deps/pango-coverage.Tpo .deps/pango-coverage.Plo mv -f .deps/pango-context.Tpo .deps/pango-context.Plo make[4]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.25.3/work/pango-1.25.3/pango' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.25.3/work/pango-1.25.3/pango' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.25.3/work/pango-1.25.3/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.25.3/work/pango-1.25.3' make: *** [all] Error 2 * * ERROR: x11-libs/pango-1.25.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3026: Called gnome2_src_compile * environment, line 2371: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/pango-1.25.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pango-1.25.3/temp/environment'. * This ebuild is from an overlay named 'gnome': '/usr/local/portage/layman/gnome/' * >>> Failed to emerge x11-libs/pango-1.25.3, Log file: >>> '/var/tmp/portage/x11-libs/pango-1.25.3/temp/build.log' * Messages for package x11-libs/pango-1.25.3: * * ERROR: x11-libs/pango-1.25.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3026: Called gnome2_src_compile * environment, line 2371: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/pango-1.25.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pango-1.25.3/temp/environment'. * This ebuild is from an overlay named 'gnome': '/usr/local/portage/layman/gnome/' * Expected Results: emerge pango nicely # emerge --info Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 15 Aug 2009 21:15:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1, 3.1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 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="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -march=nocona -fomit-frame-pointer -pipe" CHOST="x86_64-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 -march=nocona -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" FFLAGS="-Os -march=nocona -fomit-frame-pointer -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="ru_RU.UTF-8" LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed" LINGUAS="ru en" MAKEOPTS="-j4" 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/layman/gnome /usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 acl acpi alsa amd64 bash-completion branding bzip2 cairo cdr cli consolekit cracklib crypt cups custom-cflags custom-cxxflags cxx dbus djvu dmx dri dvdr eds encode esd exif fortran gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv inotify isdnlog jpeg lcms libnotify lzma mmx mmxext mng mp3 mpeg mudflap multilib mysql nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre perl png pppd python qt3support qt4 readline reflection sdl session spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff unicode usb vorbis xattr xcb xml xorg xulrunner zlib" ALSA_CARDS="emu10k1" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" SANE_BACKENDS="mustek mustek_pp mustek_usb mustek_usb2" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 201530 [details, diff] Patch for ebuild Deletes eautoreconf from ebuild
Already fixed into the overlay, but thanks anyaway for reporting