Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440602 - dev-util/ragel-6.7-r1 fails with sys-devel/automake-1.11.6
Summary: dev-util/ragel-6.7-r1 fails with sys-devel/automake-1.11.6
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 13:08 UTC by Agostino Sarubbo
Modified: 2022-07-27 09:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ragel-7.0.0.10-r1 failed to merge due to automake (emerge-info.txt,5.50 KB, text/plain)
2017-12-23 06:10 UTC, younky.yang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-10-31 13:08:49 UTC
* Running automake --add-missing --copy --foreign ...
 [ !! ]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-util/ragel-6.7-r1/temp/automake.out


***** automake *****
***** PWD: /var/tmp/portage/dev-util/ragel-6.7-r1/work/ragel-6.7
***** automake --add-missing --copy --foreign

configure.in:24: version mismatch.  This is Automake 1.11.6,
configure.in:24: but the definition used by this AM_INIT_AUTOMAKE
configure.in:24: comes from Automake 1.11.1.  You should recreate
configure.in:24: aclocal.m4 with aclocal and run automake again.




Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.4.9-gentoo x86_64)
=================================================================                                                                                                                   
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.1                                                                                    
Timestamp of tree: Wed, 31 Oct 2012 09:30:01 +0000                                                                                                                                  
app-shells/bash:          4.2_p37                                                                                                                                                   
dev-java/java-config:     2.1.11-r3                                                                                                                                                 
dev-lang/python:          2.7.3-r2, 3.2.3                                                                                                                                           
dev-util/cmake:           2.8.9                                                                                                                                                     
dev-util/pkgconfig:       0.27.1                                                                                                                                                    
sys-apps/baselayout:      2.1-r1                                                                                                                                                    
sys-apps/openrc:          0.9.8.4                                                                                                                                                   
sys-apps/sandbox:         2.5                                                                                                                                                       
sys-devel/autoconf:       2.13, 2.68                                                                                                                                                
sys-devel/automake:       1.9.6-r3, 1.11.6                                                                                                                                          
sys-devel/binutils:       2.22-r1                                                                                                                                                   
sys-devel/gcc:            4.5.4                                                                                                                                                     
sys-devel/gcc-config:     1.7.3                                                                                                                                                     
sys-devel/libtool:        2.4-r1                                                                                                                                                    
sys-devel/make:           3.82-r3                                                                                                                                                   
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)                                                                                                                               
sys-libs/glibc:           2.15-r3                                                                                                                                                   
Repositories: gentoo                                                                                                                                                                
ACCEPT_KEYWORDS="amd64"                                                                                                                                                             
ACCEPT_LICENSE="*"                                                                                                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                        
CFLAGS="-march=native -O2 -g0 -pipe"                                                                                                                                                
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                         
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"                                                                                                              
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.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                                                                                                                   
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://192.168.1.10/ http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="am fil zh af ca cs da de el es et gl hu nb nl pl pt ro ru sk sl sv uk bg cy en eo fo ga he id ku lt lv mk ms nn sw tn zu ja zh_TW en_GB pt_BR ko zh_CN ar en_CA fi kk oc sr tr fa wa nds as be bn bn_BD bn_IN en_US es_AR es_CL es_ES es_MX eu fy fy_NL ga_IE gu gu_IN hi hi_IN is ka kn ml mr nn_NO or pa pa_IN pt_PT rm si sq sv_SE ta ta_LK te th vi ast dz km my om sh ug uz ca@valencia sr@ijekavian sr@ijekavianlatin sr@latin csb hne mai se es_LA fr_CA zh_HK br la no es_CR et_EE sr_CS bo hsb hy mn sr@Latn lb ne bs tg uz@cyrillic xh be_BY brx ca_XV dgo en_ZA gd kok ks ky lo mni nr ns pap ps rw sa_IN sat sd ss st sw_TZ ti ts ve mt ia az me tl ak hy_AM lg nso son ur_PK it fr nb nb_NO hr nan ur tk cs_CZ da_DK de_1901 de_CH en_AU lt_LT pl_PL sa sk_SK th_TH ta_IN tt sco ha mi ven ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN ar_SY te_IN"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri fortran gdbm gpm iconv kde minizip mmx modules mp3 mudflap multilib ncurses nls nptl opengl openmp pam pcre policykit pppd qt3support qt4 readline session sse sse2 ssl symlink tcpd unicode 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="am fil zh af ca cs da de el es et gl hu nb nl pl pt ro ru sk sl sv uk bg cy en eo fo ga he id ku lt lv mk ms nn sw tn zu ja zh_TW en_GB pt_BR ko zh_CN ar en_CA fi kk oc sr tr fa wa nds as be bn bn_BD bn_IN en_US es_AR es_CL es_ES es_MX eu fy fy_NL ga_IE gu gu_IN hi hi_IN is ka kn ml mr nn_NO or pa pa_IN pt_PT rm si sq sv_SE ta ta_LK te th vi ast dz km my om sh ug uz ca@valencia sr@ijekavian sr@ijekavianlatin sr@latin csb hne mai se es_LA fr_CA zh_HK br la no es_CR et_EE sr_CS bo hsb hy mn sr@Latn lb ne bs tg uz@cyrillic xh be_BY brx ca_XV dgo en_ZA gd kok ks ky lo mni nr ns pap ps rw sa_IN sat sd ss st sw_TZ ti ts ve mt ia az me tl ak hy_AM lg nso son ur_PK it fr nb nb_NO hr nan ur tk cs_CZ da_DK de_1901 de_CH en_AU lt_LT pl_PL sa sk_SK th_TH ta_IN tt sco ha mi ven ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN ar_SY te_IN" PHP_TARGETS="php5-3 php5-4" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ree18 ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="virtualbox"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dimitris Vyzovitis 2012-12-02 20:58:53 UTC
I run into the same problem.

By manually running in the temp work directory it seems that the problem is the presence of a stale cache directory (autom4te.cache). If you get rid of this directory, which has a hardcoded value of 1.11.1, automake can run successfully.

# cd /var/tmp/portage/dev-util/ragel-6.7-r1/work/ragel-6.7
# automake --add-missing --copy --foreign
configure.in:24: version mismatch.  This is Automake 1.11.6,
configure.in:24: but the definition used by this AM_INIT_AUTOMAKE
configure.in:24: comes from Automake 1.11.1.  You should recreate
configure.in:24: aclocal.m4 with aclocal and run automake again.
# grep -r 1.11.1 *
...
autom4te.cache/traces.0:m4trace:configure.in:24: -1- AM_AUTOMAKE_VERSION([1.11. ])
...
# rm -rf autom4te.cache/
# automake --add-missing --copy --foreign
# (successful)
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-02 21:02:37 UTC
Can somebody please post a full build log?
Comment 3 Warren 2012-12-22 12:42:00 UTC
I also experienced this bug.  Info attached as per comment 2.  I note that an alternative fix is to nuke aclocal.m4 and rerun aclocal, this allows automake to complete.

Build log:
==========


 * Package:    dev-util/ragel-6.7-r1
 * Repository: gentoo
 * Maintainer: lu_zero@gentoo.org flameeyes@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking ragel-6.7.tar.gz to /var/tmp/portage/dev-util/ragel-6.7-r1/work
>>> Source unpacked in /var/tmp/portage/dev-util/ragel-6.7-r1/work
>>> Preparing source in /var/tmp/portage/dev-util/ragel-6.7-r1/work/ragel-6.7 ...
 * Applying ragel-6.7+gcc-4.7.patch ...                                                                                                                                                                   [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-util/ragel-6.7-r1/work/ragel-6.7' ...
 * Running aclocal ...                                                                                                                                                                                    [ ok ]
 * Running autoconf ...                                                                                                                                                                                   [ ok ]
 * Running autoheader ...                                                                                                                                                                                 [ ok ]
 * Running automake --add-missing --copy --foreign ...                                                                                                                                                    [ !! ]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-util/ragel-6.7-r1/temp/automake.out

 * ERROR: dev-util/ragel-6.7-r1 failed (prepare phase):
 *   Failed Running automake !
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 2814:  Called eautoreconf
 *   environment, line  800:  Called eautomake
 *   environment, line  753:  Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
 *   environment, line  566:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * If you need support, post the output of `emerge --info '=dev-util/ragel-6.7-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/ragel-6.7-r1'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 213: wait: `Failed Running automake !': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/dev-util/ragel-6.7-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/ragel-6.7-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/ragel-6.7-r1/work/ragel-6.7'
 * S: '/var/tmp/portage/dev-util/ragel-6.7-r1/work/ragel-6.7'



Emerge info
============
Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.2.2-vanilla x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.2-vanilla-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Sat, 22 Dec 2012 07:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.1.5, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.5.3-r2, 4.6.3, 4.7.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA google-chrome PUEL skype-eula AdobeFlash-10.3 skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo http://ftp.swin.edu.au/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/portage/packages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd fortran gdbm gpm hal iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly nptr opengl openmp pam pcre pppd readline session sse sse2 ssl tcpd unicode 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="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" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


emerge -pqv '=dev-util/ragel-6.7-r1'
[ebuild     U ] dev-util/ragel-6.7-r1 [6.6] USE="-vim-syntax"
Comment 4 Pacho Ramos gentoo-dev 2016-05-28 08:24:23 UTC
is this still happening?
Comment 5 younky.yang 2017-12-23 06:10:15 UTC
This issue may happened again with Ragel-7.0.0.10-r1 while it works fine on my system on ragel-7.0.0.10.
Comment 6 younky.yang 2017-12-23 06:10:45 UTC
Created attachment 511524 [details]
ragel-7.0.0.10-r1 failed to merge due to automake