>>> Source configured. >>> Compiling source in /tmp/portage/dev-util/ragel-7.0.0.10-r1/work/ragel-7.0.0.10 ... make -j9 Making all in src make[1]: Entering directory '/tmp/portage/dev-util/ragel-7.0.0.10-r1/work/ragel-7.0.0.10/src' cd .. && /bin/sh /tmp/portage/dev-util/ragel-7.0.0.10-r1/work/ragel-7.0.0.10/missing automake-1.15 --foreign src/Makefile configure.ac:28: error: version mismatch. This is Automake 1.15.1, configure.ac:28: but the definition used by this AM_INIT_AUTOMAKE configure.ac:28: comes from Automake 1.15. You should recreate configure.ac:28: aclocal.m4 with aclocal and run automake again. WARNING: 'automake-1.15' is probably too old. You should only need it if you modified 'Makefile.am' or 'configure.ac' or m4 files included by 'configure.ac'. The 'automake' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/> make[1]: *** [Makefile:463: Makefile.in] Error 63 make[1]: Leaving directory '/tmp/portage/dev-util/ragel-7.0.0.10-r1/work/ragel-7.0.0.10/src' make: *** [Makefile:441: all-recursive] Error 1 * ERROR: dev-util/ragel-7.0.0.10-r1::gentoo failed (compile phase): * emake failed
Created attachment 511526 [details, diff] add aclocal to ebuild this fixes the automake versions problem
Here is my emerge --info Portage 2.3.19 (python 3.6.3-final-0, default/linux/amd64/17.0/systemd, gcc-7.2.0, glibc-2.26-r3, 4.14.7-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.14.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1 KiB Mem: 16373900 total, 8104180 free KiB Swap: 2343932 total, 2328060 free Timestamp of repository gentoo: Sat, 23 Dec 2017 08:00:01 +0000 Head commit of repository gentoo: 46e901a7b72b19cce500736c1c72d674cf585a06 Head commit of repository science: 62625ca33c86939528d51e276a2a8ff569fb09b1 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo dev-util/cmake: 3.10.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0::gentoo, 7.2.0::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://a/portage priority: -1000 sync-rsync-extra-opts: local location: /usr/local/portage masters: gentoo priority: 0 kde location: /var/lib/layman/kde masters: gentoo priority: 50 matrix location: /var/lib/layman/matrix masters: gentoo priority: 50 rion location: /var/lib/layman/rion masters: gentoo priority: 50 science location: /var/lib/layman/science sync-type: git sync-uri: git://anongit.gentoo.org/proj/sci.git masters: gentoo priority: 50 Installed sets: @kde-frameworks-live, @kde-plasma-live, @mykde ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=corei7" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /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=corei7" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=corei7" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j 8" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aacplus aalib acl acpi alac alsa amd64 amr ansi apache2 apng berkdb boost branding btrfs bzip2 cairo cdda cddax cddb cdio cdparanoia cdr cdrom cdsound cjk clang cli client clozurecl clucene context cpio cracklib crypt css curl cxx cyrillic daap dbus dconf dcraw declarative demosaic detex device-mapper dga dirac dri dv dvd dvdr dvdread dvi2tty dvipdfm eds emacs enca encode exif extensions extra extras farstream ffmpeg firefox flac fontconfig foomaticdb fortran fortran2003 fortran95 fpm g3dvl games gcj gd gdbm gdu gif gimp gkrellm glib gnome gnome-keyring gnuplot goffice gphoto2 graphics graphviz grub gs gsf gsl gsm gstreamer gtk gtk2-perl gtk3 gtkhtml gudev gzip gzip-el h224 h281 h323 hacking hidpi humanities hwdb hwinfo iconv icu id3 id3tag imagemagick import-filter infinality introspection ipv6 jadetex java javascript jbig jpeg jpeg2k kate kdcraw kde kdenlive kdrive keymap kipi kpathsea lame lapack laptop latex latex3 lcms legacy-systray libkms libv4l2 libxml2 llvm llvm-gcc luatex lxc lxde lzo mad matplotlib matroska mbox melt metis minizip mjpeg mmx mng modemmanager modules mozilla mp3 mp4 mpd mpeg mplayer mpqc msms multilib musepack music musicbrainz mysql mysqli nautilus ncurses networkmanager nls nptl nsplugin nss ntp numpy ocrad offensive ogg ogg123 oggvorbis ogm omega openexr opengl openmp openssl opus otr pam pcre pcre16 pdf perl plasma png pnm policykit posix postproc preview-latex printsupport pstricks publishers pulseaudio python python3 qml qt3support qt5 rar raw readline rendering rle rtc sasl scanner schroedinger science scipy script scripttools sdl seccomp semantic-desktop sendto server session shout smp smpeg sndfile sockets socks5 sox speex sql sqlite sse sse2 ssh ssl static-libs svg systemd taglib tagwriting tbb tcpd tex4ht tga theora threads tiff tk tonal tracker truetype twolame udev udisks unicode unzip upcall upnp usb uuencode uvm uxa v4l2 vaapi vala valgrind vcd vdpau vdr vhosts video vim vim-pager vim-syntax vorbis vpx wav wavpack weather webm webp widgets winbind x264 x265 xattr xcb xetex xft xindy xkb xml xmp xorg xpm xv xvfb xvid xvmc yv12 zlib" ABI_X86="64 32" 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_EXPERIMENTAL_FEATURES="braindump stage" CALLIGRA_FEATURES="braindump plan karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en us" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-util/ragel-7.0.0.10-r1::gentoo was built with the following: USE="vim-syntax" ABI_X86="(64)"
*** Bug 642088 has been marked as a duplicate of this bug. ***
Milan's patch does the trick for me. Anyhow i think all gentoo packages would need these autotools things, or maintenance will be hell, right?
Created attachment 511542 [details] build.log Confirming this bug with my build.log
Same here on ~amd64
Above patch worked for me ~amd64 :)
This patch doesn't work for me. I get: * Applying ragel-7.0.0.10-use-pkginclude.patch ... [ ok ] * Applying patch.patch ... The text leading up to this was: -------------------------- |diff --git a/old/ragel-7.0.0.10-r1.ebuild b/ragel-7.0.0.10-r1.ebuild |index 5c86403..33b1df3 100644 |--- a/old/ragel-7.0.0.10-r1.ebuild |+++ b/ragel-7.0.0.10-r1.ebuild -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored
The patch didn't work for me with error messages same as posted by @klaus818 * Applying ragel-aclocal-fix.patch ... The text leading up to this was: -------------------------- |diff --git a/old/ragel-7.0.0.10-r1.ebuild b/ragel-7.0.0.10-r1.ebuild |index 5c86403..33b1df3 100644 |--- a/old/ragel-7.0.0.10-r1.ebuild |+++ b/ragel-7.0.0.10-r1.ebuild -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored
I can confirm the patch to the ebuild works for me. ~AMD64.
For those with patch failing: apply it to _ebuild_ file itself, not the ragel source. I have just edited ragel-7.0.0.10-r1.ebuild by hand and `ebuild clean digest`ed it, and it works fine here.
I edited the ebuild file by hand and it works. Thanks Nikolaj Šujskij. I didn't notice that it is a patch for the ebuild file.
Patched ebuild builds fine here, too...
*** Bug 642148 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=295f0726179d16084e1bcfefb24ef90e23ebdbd9 commit 295f0726179d16084e1bcfefb24ef90e23ebdbd9 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2017-12-24 22:28:30 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2017-12-24 22:28:43 +0000 dev-util/ragel: call eautoreconf Closes: https://bugs.gentoo.org/642086 Package-Manager: Portage-2.3.19_p2, Repoman-2.3.6_p36 dev-util/ragel/ragel-7.0.0.10-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+)