Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330473 - media-tv/xbmc-9999: fails to build on r32343 due to missing configure.in or configure.ac
Summary: media-tv/xbmc-9999: fails to build on r32343 due to missing configure.in or c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 09:16 UTC by hal
Modified: 2010-08-12 05:12 UTC (History)
3 users (show)

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


Attachments
xbmc-9999-aclocal.patch (xbmc-9999-aclocal.patch,652 bytes, patch)
2010-07-30 12:11 UTC, hal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hal 2010-07-30 09:16:20 UTC
a build of the latest xbmc revision is not possible and ends up like shown below:

emerge -av xbmc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-tv/xbmc-9999  USE="aac alsa avahi css debug joystick sse sse2 vaapi vdpau xrandr (-altivec) -hal -midi -profile -pulseaudio" 0 kB [1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-tv/xbmc-9999
 * checking ebuild checksums ;-) ...                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                      [ ok ]
 * CPV:  media-tv/xbmc-9999
 * REPO: gentoo
 * USE:  aac alsa avahi css debug elibc_glibc joystick kernel_linux sse sse2 userland_GNU vaapi vdpau x86 xrandr
>>> Unpacking source...
 * subversion update start -->
 *      repository: http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk
At revision 32343.
 *    working copy: /usr/portage/distfiles/svn-src/xbmc/trunk

>>> Source unpacked in /var/tmp/portage/media-tv/xbmc-9999/work
>>> Preparing source in /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999 ...
 * Generating autotools in .
 * Running eautoreconf in '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999' ...
 * Running aclocal ...                                                                       [ ok ]
 * Running autoconf ...                                                                      [ ok ]
 * Running autoheader ...                                                                    [ ok ]
 * Running automake --add-missing --copy --foreign ...                                       [ ok ]
 * Running elibtoolize in: xbmc-9999/xbmc/visualizations/Goom/goom2k4-0
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/cores/paplayer/SIDCodec/libsidplay/unix
 *   Applying install-sh-1.5.6.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/cores/paplayer/FLACCodec/flac-1.2.1
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/cores/paplayer/vorbisfile/libvorbis
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/cores/paplayer/vorbisfile/ogg
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/cores/dvdplayer/Codecs/libmpeg2/.auto
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.26.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/cores/dvdplayer/Codecs/libmad
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/cores/dvdplayer/Codecs/libfaad2
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.26.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/cores/dvdplayer/Codecs/liba52/autotools
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/lib/libsamplerate/Cfg
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/lib/libsamplerate
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/lib/libid3tag/libid3tag
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/xbmc/lib/libapetag
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/lib/pcre
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/lib/libcdio
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.patch ...
 * Running elibtoolize in: xbmc-9999/lib/libmicrohttpd
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/lib/freetype/builds/unix
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/lib/libiconv/build-aux
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/lib/libiconv/libcharset/build-aux
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/lib/enca
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Running elibtoolize in: xbmc-9999/lib/liblame
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.26.patch ...
 * Running elibtoolize in: xbmc-9999/lib/fribidi
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.patch ...
 * Running elibtoolize in: xbmc-9999/lib/libmodplug
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Generating autotools in xbmc/cores/dvdplayer/Codecs/libbdnav
 * Running eautoreconf in '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/xbmc/cores/dvdplayer/Codecs/libbdnav' ...
 * Running aclocal ...                                                                       [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-tv/xbmc-9999/temp/aclocal-17095.out

 * ERROR: media-tv/xbmc-9999 failed:
 *   Failed Running aclocal !
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_prepare
 *   environment, line 5156:  Called eautoreconf
 *   environment, line 1650:  Called eaclocal
 *   environment, line 1583:  Called autotools_run_tool 'aclocal'
 *   environment, line 1133:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * 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/log/portage/media-tv:xbmc-9999:20100730-084602.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:20100730-084602.log'


---------------


cat /var/tmp/portage/media-tv/xbmc-9999/temp/aclocal-17095.out
***** aclocal *****
***** PWD: /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/xbmc/cores/dvdplayer/Codecs/libbdnav
***** aclocal

aclocal-1.11: `configure.ac' or `configure.in' is required


Reproducible: Always

Steps to Reproduce:
1. emerge xbmc



Actual Results:  
emerge fails

Expected Results:  
emerge should not fail
Comment 1 hal 2010-07-30 12:10:37 UTC
i created a patch that can be found below. please revisit the patch, i'm not quite sure if this is the way to go. at least xbmc gets compiled successfully again.
Comment 2 hal 2010-07-30 12:11:39 UTC
Created attachment 240679 [details, diff]
xbmc-9999-aclocal.patch

might solve the bug. please revisit.
Comment 3 Tim Bastiaenssens 2010-07-31 17:11:34 UTC
tried it but didnt do the trick still getting the same error as you did before.
Comment 4 Liriel 2010-08-04 07:27:30 UTC
hi hal
I have applied the patch and it did the trick for me
Comment 5 Daniel Marmander 2010-08-04 11:55:38 UTC
Patch solves the problem ocuring at elibtoolize, but it doesn't fully compile. Could be something entirely different though, unrelated to this bug.

However, for backwards compatibility there should be a check for revision number to avoid breaking the ebuild for older revisions. Shouldn't be to hard to create... a simple if should do it.
Comment 6 Daniel Marmander 2010-08-04 20:43:51 UTC
The dep. for x264 should be updated as well. With ~x86 on ffmpeg it compiles, otherwise it fails. I don't know which version that is the minimum, but the latest (non 9999) ffmpeg in portage (version 0.6), seems to work for me (requires x264 0.0.20100605, which is ~x86 as well).
Comment 7 barton 2010-08-04 21:24:03 UTC
Thanks for the patch it worked for me. ~amd64
Comment 8 Craig Andrews gentoo-dev 2010-08-05 19:54:13 UTC
Blasted... I just independently came up with the *same* patch. I should have searched first.

Oh well... anyways, the patch works for me. XBMC revision 32516 on ~amd64.
Comment 9 SpanKY gentoo-dev 2010-08-12 05:12:10 UTC
should be fixed in latest cvs ... thanks

http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.59&r2=1.60