automake fails for the following e_modules from svn-source in enlightenment overlay. x11-plugins/e_modules-execwatch-9999 x11-misc/emprint-9999 x11-plugins/e_modules-screenshot-9999 According to INSTALL included with source, $SRC_DIR/autogen.sh should be run As I'm not an experienced ebuild writer, I'm not 100% sure how to incorporate the above into the ebuild (have tried including it in src_prepare() and still get the same results), but when I manually run ./autogen.sh in the src dir, then emerge the package, the install is successful. emerge --info: Portage 2.1.9.13 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.12.1-r1, 2.6.34-gentoo x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L9400_@_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 06 Oct 2010 05:00:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3::pentoo sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1 skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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="/var/lib/layman/pentoo /var/lib/layman/sunrise /var/lib/layman/enlightenment" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cxx dbus device-mapper dri dts dynamicplugin emboss encode evo exif fam firefox flac fontconfig fortran gdbm gdu gif gnome gnome-keyring gnutls gpm gstreamer gtk iconv ipv6 java jpeg kde lcms libnotify mad mikmod mmx mng modules mono mp3 mp4 mpeg mssql mudflap multilib nautilus ncurses ndiswrapper nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf perl png policykit ppds python qt3support qt4 rar readline reflection sdl session spell sql sqlite sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vorbis webkit wifi x264 xcb xcomposite xml xorg xrandr xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" 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="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS /var/tmp/portage/x11-plugins/e_modules-execwatch-9999/temp/automake.out: ***** automake ***** ***** PWD: /var/tmp/portage/x11-plugins/e_modules-execwatch-9999/work/execwatch ***** automake --add-missing --copy configure.ac:23: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... aclocal.m4:2861: _LT_SYS_MODULE_PATH_AIX is expanded from... aclocal.m4:5997: _LT_LINKER_SHLIBS is expanded from... aclocal.m4:7129: _LT_LANG_C_CONFIG is expanded from... aclocal.m4:1926: _LT_SETUP is expanded from... aclocal.m4:1852: LT_INIT is expanded from... aclocal.m4:1890: AC_PROG_LIBTOOL is expanded from... configure.ac:23: the top level configure.ac:23: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... aclocal.m4:5997: _LT_LINKER_SHLIBS is expanded from... aclocal.m4:7129: _LT_LANG_C_CONFIG is expanded from... aclocal.m4:1926: _LT_SETUP is expanded from... aclocal.m4:1852: LT_INIT is expanded from... aclocal.m4:1890: AC_PROG_LIBTOOL is expanded from... configure.ac:23: the top level configure.ac:25: required file `./config.rpath' not found configure.ac:13: installing `./missing' src/Makefile.am: installing `./depcomp' Makefile.am:13: wildcard images/*.png: non-POSIX variable name Makefile.am:13: (probably a GNU make extension) Makefile.am:19: `%'-style pattern rules are a GNU make extension configure.ac:25: required file `./ABOUT-NLS' not found Reproducible: Always Steps to Reproduce: 1. emerge =x11-plugins/(e_modules-execwatch-9999|emprint-9999|e_modules-screenshot) Actual Results: ebuild fails with automake failed. Expected Results: ebuild should install successfully.
I got a bit ahead of myself, assuming the same error occured for emprint. With emprint-9999, the ebuild fails at autoconf with /var/tmp/portage/x11-misc/emprint-9999/temp/autoconf.out: ***** autoconf ***** ***** PWD: /var/tmp/portage/x11-misc/emprint-9999/work/emprint ***** autoconf configure.ac:20: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... aclocal.m4:1099: _LT_SYS_MODULE_PATH_AIX is expanded from... aclocal.m4:4235: _LT_LINKER_SHLIBS is expanded from... aclocal.m4:5367: _LT_LANG_C_CONFIG is expanded from... aclocal.m4:164: _LT_SETUP is expanded from... aclocal.m4:90: LT_INIT is expanded from... aclocal.m4:129: AM_PROG_LIBTOOL is expanded from... configure.ac:20: the top level configure.ac:20: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... aclocal.m4:4235: _LT_LINKER_SHLIBS is expanded from... aclocal.m4:5367: _LT_LANG_C_CONFIG is expanded from... aclocal.m4:164: _LT_SETUP is expanded from... aclocal.m4:90: LT_INIT is expanded from... aclocal.m4:129: AM_PROG_LIBTOOL is expanded from... configure.ac:20: the top level configure.ac:21: error: possibly undefined macro: AC_C___ATTRIBUTE__ If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Without emprint, e_modules-screenshot cannot install, so I need to fix emprint first to confirm whether or not screenshot actually has any problems.
I meet the same problem. # emerge x11-plugins/e_modules -av These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-plugins/e_modules-execwatch-9999 USE="nls -doc" 0 kB [1] [ebuild N ] x11-misc/emprint-9999 USE="nls -doc" 0 kB [1] [ebuild N ] x11-plugins/e_modules-screenshot-9999 USE="nls -doc" 0 kB [1] [ebuild N ] x11-plugins/e_modules-9999 USE="nls -doc" 0 kB [1] Total: 4 packages (4 new), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/enlightenment Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 4) x11-plugins/e_modules-execwatch-9999 from enlightenment * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: x11-plugins/e_modules-execwatch-9999 * REPO: enlightenment * USE: amd64 elibc_glibc kernel_linux multilib nls userland_GNU >>> Unpacking source... * subversion update start --> * repository: http://svn.enlightenment.org/svn/e/trunk/E-MODULES-EXTRA/execwatch At revision 53490. * working copy: /usr/portage/distfiles/svn-src/enlightenment/E-MODULES-EXTRA/execwatch * Running eautoreconf in '/var/tmp/portage/x11-plugins/e_modules-execwatch-9999/work/execwatch' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --install --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ !! ] * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/x11-plugins/e_modules-execwatch-9999/temp/automake.out * ERROR: x11-plugins/e_modules-execwatch-9999 failed: * Failed Running automake ! * * Call stack: * ebuild.sh, line 54: Called src_unpack * environment, line 2950: Called enlightenment_src_unpack * environment, line 1665: Called enlightenment_src_prepare * environment, line 1643: Called eautoreconf * environment, line 948: Called eautomake * environment, line 917: Called autotools_run_tool 'automake' '--add-missing' '--copy' * environment, line 423: Called die * The specific snippet of code: * die "Failed Running $1 !"; * * If you need support, post the output of 'emerge --info =x11-plugins/e_modules-execwatch-9999', * the complete build log and the output of 'emerge -pqv =x11-plugins/e_modules-execwatch-9999'. * This ebuild is from an overlay named 'enlightenment': '/usr/local/portage/layman/enlightenment/' * The complete build log is located at '/var/log/port/x11-plugins:e_modules-execwatch-9999:20101016-145415.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/e_modules-execwatch-9999/temp/environment'. * S: '/var/tmp/portage/x11-plugins/e_modules-execwatch-9999/work/execwatch' >>> Failed to emerge x11-plugins/e_modules-execwatch-9999, Log file: >>> '/var/log/port/x11-plugins:e_modules-execwatch-9999:20101016-145415.log' * Messages for package x11-plugins/e_modules-execwatch-9999: * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/x11-plugins/e_modules-execwatch-9999/temp/automake.out * ERROR: x11-plugins/e_modules-execwatch-9999 failed: * Failed Running automake ! * * Call stack: * ebuild.sh, line 54: Called src_unpack * environment, line 2950: Called enlightenment_src_unpack * environment, line 1665: Called enlightenment_src_prepare * environment, line 1643: Called eautoreconf * environment, line 948: Called eautomake * environment, line 917: Called autotools_run_tool 'automake' '--add-missing' '--copy' * environment, line 423: Called die * The specific snippet of code: * die "Failed Running $1 !"; * * If you need support, post the output of 'emerge --info =x11-plugins/e_modules-execwatch-9999', * the complete build log and the output of 'emerge -pqv =x11-plugins/e_modules-execwatch-9999'. * This ebuild is from an overlay named 'enlightenment': '/usr/local/portage/layman/enlightenment/' * The complete build log is located at '/var/log/port/x11-plugins:e_modules-execwatch-9999:20101016-145415.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/e_modules-execwatch-9999/temp/environment'. * S: '/var/tmp/portage/x11-plugins/e_modules-execwatch-9999/work/execwatch'
the failure of execwatch is known for months, i already poked the maintainer more than once and he promised to fix it, but until now did not. In short, the current settings in configure.ac require a run of autopoint, also there are no .po files. And he has to either fix configure.ac or add at least one .po file. So this is an upstream issue and nothing ebuild related.
both execwatch and emprint have now been fixed in upstream svn.