>>> Source prepared. >>> Configuring source in /dev/shm/portage/dev-libs/libev-4.15/work/libev-4.15 ... * econf: updating libev-4.15/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libev-4.15/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --disable-maintainer-mode --disable-static checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes /dev/shm/portage/dev-libs/libev-4.15/work/libev-4.15/missing: Unknown `--is-lightweight' option Try `/dev/shm/portage/dev-libs/libev-4.15/work/libev-4.15/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes ./configure: line 2816: syntax error near unexpected token `ac_config_headers="$ac_config_headers config.h"' ./configure: line 2816: `fi ac_config_headers="$ac_config_headers config.h"' Reproducible: Always Steps to Reproduce: 1.emerge -v1 libev 2. 3.
Created attachment 364348 [details] build.log
Created attachment 364350 [details] config.log
Created attachment 364352 [details] emerge.info
Created attachment 364354 [details] emerge.pqv
I have the same error. LOG: >>> Configuring source in /var/tmp/portage/dev-libs/libev-4.15/work/libev-4.15 ... * econf: updating libev-4.15/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libev-4.15/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --disable-maintainer-mode --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /var/tmp/portage/dev-libs/libev-4.15/work/libev-4.15/missing: Unknown `--is-lightweight' option Try `/var/tmp/portage/dev-libs/libev-4.15/work/libev-4.15/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes ./configure: line 2816: syntax error near unexpected token `ac_config_headers="$ac_config_headers config.h"' ./configure: line 2816: `fi ac_config_headers="$ac_config_headers config.h"' !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/libev-4.15/work/libev-4.15/config.log * ERROR: dev-libs/libev-4.15::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2970: Called econf '--disable-maintainer-mode' '--disable-static' * phase-helpers.sh, line 577: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=dev-libs/libev-4.15::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libev-4.15::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-libs/libev-4.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libev-4.15/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libev-4.15/work/libev-4.15' * S: '/var/tmp/portage/dev-libs/libev-4.15/work/libev-4.15' INFO: Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.2, glibc-2.17, 3.12.1-gentoosystemd x86_64) ================================================================= System uname: Linux-3.12.1-gentoosystemd-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.2 KiB Mem: 4055268 total, 178016 free KiB Swap: 4000180 total, 3996540 free Timestamp of tree: Mon, 02 Dec 2013 12:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.3 dev-util/cmake: 2.8.12.1-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.6, 1.13.4, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo steam-overlay gnome-next ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/gnome-next" SYNC="rsync://rsync.cz.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds egl emboss encode evo exif fam firefox flac fortran gbm gdbm gif gles1 gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg openal opengl openmp osmesa pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline s3tc sdl session socialweb spell sse sse2 sse3 ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vdpau vorbis wayland wxwidgets x264 xa xcb xml xv xvid xvmc zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
I see the same issue on up-to-date ~amd64. It appears to work with automake:1.13. A workaround for now, if you need libev installed, is to run: emerge -1u sys-devel/automake:1.13 WANT_AUTOMAKE=1.13 emerge -1 libev
(In reply to eroen from comment #6) > I see the same issue on up-to-date ~amd64. > > It appears to work with automake:1.13. A workaround for now, if you need > libev installed, is to run: > > emerge -1u sys-devel/automake:1.13 > WANT_AUTOMAKE=1.13 emerge -1 libev works, thanks for the tip
Created attachment 364574 [details, diff] fix automake-1.14 issue (In reply to eroen from comment #6) > I see the same issue on up-to-date ~amd64. > > It appears to work with automake:1.13. A workaround for now, if you need > libev installed, is to run: > > emerge -1u sys-devel/automake:1.13 > WANT_AUTOMAKE=1.13 emerge -1 libev oh, thanks for providing this hint. yes, it's a regression from automake 1.14. and attached patch should fix this problem.
Created attachment 364576 [details, diff] patch for libev-4.15.ebuild
*** Bug 494374 has been marked as a duplicate of this bug. ***
(In reply to Dennis 'dlan' Lan from comment #8) > Created attachment 364574 [details, diff] [details, diff] > fix automake-1.14 issue > > oh, thanks for providing this hint. > yes, it's a regression from automake 1.14. > and attached patch should fix this problem. Any idea if this is a valid upstream bug for automake/autoconf ? The patch make it look like the change shouldn't make a difference or autoconf/automake should bail out complaining about macro order.
I just hit this bug while recompiling my ~amd64 laptop.
The same issue for me on ~amd64 machine.
(In reply to Rafał Mużyło from comment #11) > (In reply to Dennis 'dlan' Lan from comment #8) > > Created attachment 364574 [details, diff] [details, diff] [details, diff] > > fix automake-1.14 issue > > > > oh, thanks for providing this hint. > > yes, it's a regression from automake 1.14. > > and attached patch should fix this problem. > > Any idea if this is a valid upstream bug for automake/autoconf ? > The patch make it look like the change shouldn't make a difference or > autoconf/automake should bail out complaining about macro order. Yes, I agree this is a bug in automake-1.14 and patching libev here just workaround the bug, so let's report to automake maintainer, please check bug #494844 with patch (https://bugs.gentoo.org/attachment.cgi?id=364574), we can see the diff --- libev-4.15/work/libev-4.15/configure 2013-12-20 23:42:55.882025222 +0800 +++ libev-4.15-r1/work/libev-4.15/configure 2013-12-20 23:29:05.560807397 +0800 @@ -2201,11 +2201,6 @@ -orig_CFLAGS="$CFLAGS" - - - - am__api_version='1.14' ac_aux_dir= @@ -2813,8 +2808,13 @@ END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi +fi +orig_CFLAGS="$CFLAGS" + + + -fi ac_config_headers="$ac_config_headers config.h" +ac_config_headers="$ac_config_headers config.h" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 --------- end ---- the offend code here is: -fi ac_config_headers="$ac_config_headers config.h"
+ 20 Dec 2013; Markos Chandras <hwoarang@gentoo.org> + +files/libev-4.15-automake-1.14.patch, libev-4.15.ebuild: + Add patch to fix building with automake-1.14. Patch by Dennis 'dlan' Lan + <dennis.yxun@gmail.com>. Bug #493050 +
*** Bug 494924 has been marked as a duplicate of this bug. ***