Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311439 - autotools.eclass: eautomake skips running automake when Makefile.am doesnt exist but configure.ac uses AM_INIT_AUTOMAKE
Summary: autotools.eclass: eautomake skips running automake when Makefile.am doesnt ex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 13:26 UTC by hal
Modified: 2010-05-23 22:52 UTC (History)
3 users (show)

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


Attachments
build log (media-tv:xbmc-9999:20100326-131205.log,16.05 KB, text/plain)
2010-03-26 13:27 UTC, hal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hal 2010-03-26 13:26:47 UTC
the latest revision (28833) of xbmc fails to configure.

">>> Configuring source in /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999 ...
 * econf: updating xbmc-9999/xbmc/screensavers/rsxs-0.9/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/screensavers/rsxs-0.9/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/lib/libapetag/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/lib/libapetag/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/lib/libid3tag/libid3tag/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/lib/libid3tag/libid3tag/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/lib/libsamplerate/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/lib/libsamplerate/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/lib/libsamplerate/Cfg/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/lib/libsamplerate/Cfg/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libdts/autotools/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libdts/autotools/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libmpeg2/.auto/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libmpeg2/.auto/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libmad/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libmad/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/liba52/autotools/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/liba52/autotools/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libbdnav/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libbdnav/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libfaad2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libfaad2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss/.auto/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss/.auto/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/paplayer/FLACCodec/flac-1.2.1/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/paplayer/FLACCodec/flac-1.2.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/paplayer/timidity/autoconf/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/paplayer/timidity/autoconf/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/paplayer/vorbisfile/ogg/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/paplayer/vorbisfile/ogg/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/paplayer/vorbisfile/libvorbis/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/paplayer/vorbisfile/libvorbis/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/cores/paplayer/SIDCodec/libsidplay/unix/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/cores/paplayer/SIDCodec/libsidplay/unix/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/xbmc/visualizations/Goom/goom2k4-0/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/xbmc/visualizations/Goom/goom2k4-0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/fribidi/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/fribidi/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/freetype/builds/unix/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/freetype/builds/unix/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/libiconv/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/libiconv/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/libiconv/libcharset/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/libiconv/libcharset/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/libmicrohttpd/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/libmicrohttpd/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/pcre/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/pcre/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/libmodplug/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/libmodplug/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/enca/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/enca/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xbmc-9999/lib/libcdio/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xbmc-9999/lib/libcdio/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-libdts --disable-liba52 --enable-ccache --enable-external-ffmpeg --enable-external-libass --disable-external-python --disable-goom --enable-gl --enable-avahi --enable-dvdcss --enable-debug --enable-faac --enable-joystick --disable-mid --disable-profiling --disable-pulse --enable-vdpau --enable-xrandr
configure: Ensuring config.guess and config.sub exist and is executable
cp: cannot stat `/usr/share/misc/config.guess': No such file or directory
chmod: cannot access `config.guess': No such file or directory
cp: cannot stat `/usr/share/misc/config.sub': No such file or directory
chmod: cannot access `config.sub': No such file or directory
configure: error: cannot run /bin/sh ./config.sub

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/config.log
 * ERROR: media-tv/xbmc-9999 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 2971:  Called econf '--disable-libdts' '--disable-liba52' '--enable-ccache' '--enable-external-ffmpeg' '--enable-external-libass' '--disable-external-python' '--disable-goom' '--enable-gl' '--enable-avahi' '--enable-dvdcss' '--enable-debug' '--enable-faac' '--enable-joystick' '--disable-mid' '--disable-profiling' '--disable-pulse' '--enable-vdpau' '--enable-xrandr'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =media-tv/xbmc-9999',
 * the complete build log and the output of 'emerge -pqv =media-tv/xbmc-9999'.
 * This ebuild is from an overlay named 'local xbmc overlay': '/usr/local/portage/xbmc-overlay/'
 * The complete build log is located at '/var/log/portage/media-tv:xbmc-9999:20100326-131205.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/xbmc-9999/temp/environment'.
 * S: '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999'

>>> Failed to emerge media-tv/xbmc-9999, Log file:

>>>  '/var/log/portage/media-tv:xbmc-9999:20100326-131205.log'
"

i attached the log file.

Reproducible: Always

Steps to Reproduce:
1. emerge xbmc-9999


Actual Results:  
configure fails

Expected Results:  
configure should not fail
Comment 1 hal 2010-03-26 13:27:37 UTC
Created attachment 225325 [details]
build log
Comment 2 metolic147 2010-03-28 10:02:14 UTC
Same here, with slightly different output:

* econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libdts/autotools/config.sub with /usr/share/gnuconfig/config.sub                                           
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libmpeg2/.auto/config.guess with /usr/share/gnuconfig/config.guess                                         
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libmpeg2/.auto/config.sub with /usr/share/gnuconfig/config.sub                                             
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libfaad2/config.guess with /usr/share/gnuconfig/config.guess                                               
 * econf: updating xbmc-9999/xbmc/cores/dvdplayer/Codecs/libfaad2/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-ccache --disable-optimizations --enable-external-libraries --enable-goom --enable-gl --disable-webserver --disable-avahi --disable-dvdcss --disable-debug --enable-faac --disable-joystick --disable-mid --disable-profiling --disable-pulse --enable-vdpau --enable-xrandr
configure: error: cannot find install-sh or install.sh in build-aux "."/build-aux 

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/config.log
 * ERROR: media-tv/xbmc-9999 failed:                             
 *   econf failed                                                
 *                                                               
 * Call stack:                                                   
 *     ebuild.sh, line   54:  Called src_configure               
 *   environment, line 3019:  Called econf '--disable-ccache' '--disable-optimizations' '--enable-external-libraries' '--enable-goom' '--enable-gl' '--disable-webserver' '--disable-avahi' '--disable-dvdcss' '--disable-debug' '--enable-faac' '--disable-joystick' '--disable-mid' '--disable-profiling' '--disable-pulse' '--enable-vdpau' '--enable-xrandr'                                                          
 *     ebuild.sh, line  544:  Called die                                          
 * The specific snippet of code:                                                  
 *                      die "econf failed"                                        
 *                                                                                
 * If you need support, post the output of 'emerge --info =media-tv/xbmc-9999',   
 * the complete build log and the output of 'emerge -pqv =media-tv/xbmc-9999'.    
 * The complete build log is located at '/var/tmp/portage/media-tv/xbmc-9999/temp/build.log'.                                                                       
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/xbmc-9999/temp/environment'.                                                                
 * S: '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999'                        

>>> Failed to emerge media-tv/xbmc-9999, Log file:

>>>  '/var/tmp/portage/media-tv/xbmc-9999/temp/build.log'

 * Messages for package media-tv/xbmc-9999:

 * ERROR: media-tv/xbmc-9999 failed:
 *   econf failed                   
 *                                  
 * Call stack:                      
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 3019:  Called econf '--disable-ccache' '--disable-optimizations' '--enable-external-libraries' '--enable-goom' '--enable-gl' '--disable-webserver' '--disable-avahi' '--disable-dvdcss' '--disable-debug' '--enable-faac' '--disable-joystick' '--disable-mid' '--disable-profiling' '--disable-pulse' '--enable-vdpau' '--enable-xrandr'                                                          
 *     ebuild.sh, line  544:  Called die                                          
 * The specific snippet of code:                                                  
 *                      die "econf failed"
 *
 * If you need support, post the output of 'emerge --info =media-tv/xbmc-9999',
 * the complete build log and the output of 'emerge -pqv =media-tv/xbmc-9999'.
 * The complete build log is located at '/var/tmp/portage/media-tv/xbmc-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/xbmc-9999/temp/environment'.
 * S: '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999'
Comment 3 hal 2010-03-29 17:00:57 UTC
same here after i checked out a newer svn revision. 
now i'm asking myself whether this issue is really gentoo related or rather an problem upstream.
so far i didn't find any useful information on the xbmc forums.
Comment 4 Chris Yu 2010-03-31 05:56:02 UTC
I add a new line above the "econf \"line, and it works for me now.
Just like this:

./bootstrap
Comment 5 hal 2010-03-31 06:35:03 UTC
(In reply to comment #4)
> I add a new line above the "econf \"line, and it works for me now.
> Just like this:
> 
> ./bootstrap
> 

thanks for the hint. works fine over here. :)
Comment 6 hal 2010-03-31 06:45:14 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I add a new line above the "econf \"line, and it works for me now.
> > Just like this:
> > 
> > ./bootstrap
> > 
> 
> thanks for the hint. works fine over here. :)
> 

well, though not so lucky. now it fails with the following output:

checking for assert.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for main in -lid3... no
checking id3.h usability... no
checking id3.h presence... no
checking for id3.h... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memcpy... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999
/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/lib/libmodplug /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999
/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999
/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/lib/libmicrohttpd /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999
/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999
/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/lib/cpluff /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999
./configure: line 24557: ./configure: No such file or directory
/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999
configure: error: Submodule lib/cpluff failed to configure

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/config.log
 * ERROR: media-tv/xbmc-9999 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 2972:  Called econf '--disable-libdts' '--disable-liba52' '--enable-ccache' '--enable-external-ffmpeg' '--enable-external-libass' '--disable-external-python' '--disable-goom' '--enable-gl' '--enable-avahi' '--enable-dvdcss' '--enable-debug' '--enable-faac' '--enable-joystick' '--disable-mid' '--disable-profiling' '--disable-pulse' '--enable-vdpau' '--enable-xrandr'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =media-tv/xbmc-9999',
 * the complete build log and the output of 'emerge -pqv =media-tv/xbmc-9999'.
 * This ebuild is from an overlay named 'local xbmc overlay': '/usr/local/portage/xbmc-overlay/'
 * The complete build log is located at '/var/log/portage/media-tv:xbmc-9999:20100331-062807.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/xbmc-9999/temp/environment'.
 * S: '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999'

>>> Failed to emerge media-tv/xbmc-9999, Log file:

>>>  '/var/log/portage/media-tv:xbmc-9999:20100331-062807.log'

Comment 7 hal 2010-04-03 02:11:39 UTC
ok now it works again, but only if ./bootstrap is added to the ebuild like described above.
what i found out in addition, recent revisions need dev-util/cvs as a dependency. if cvs is not installed bootstrapping does not work due to an error related to cpluff.
Comment 8 Sergey Urzhumskov 2010-04-16 04:52:37 UTC
Same problem here on ~amd64 (no install-sh or install.sh in build-aux), fixed by bootstrapping prior to econf.

I think ./bootstrap should be added to the ebuild.
Comment 9 El Goretto 2010-05-04 16:35:45 UTC
Hi,

same here, adding ./bootstrap and emerging cvs did the trick for the precompilation phase.
Comment 10 SpanKY gentoo-dev 2010-05-23 22:27:32 UTC
the install.sh issue isnt an xbmc error.  the autotools.eclass doesnt run automake in all the cases where it should.  in the xbmc case, it uses AM_INIT_AUTOMAKE in configure.in (which autoreconf respects), but it doesnt have a Makefile.am file.  just a hand maintained Makefile.in.  the automake usage is really for the additional helper scripts it provides.
Comment 11 SpanKY gentoo-dev 2010-05-23 22:52:52 UTC
ive updated eautomake accordingly

http://sources.gentoo.org/eclass/autotools.eclass?r1=1.97&r2=1.98