Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 352806

Summary: media-tv/xbmc-9999: fails to run aclocal / configure because of changes in source directory
Product: Gentoo Linux Reporter: hal <laservader>
Component: Current packagesAssignee: Gentoo Xbox project <xbox>
Status: RESOLVED FIXED    
Severity: normal CC: 96bd763529be62c7350d43e8ae67f9623c998ddc, candrews
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: aclocal patch
Proposed patch fixing the issue

Description hal 2011-01-26 10:31:33 UTC
* Running elibtoolize in: xbmc-9999/build-aux/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
/var/tmp/portage/media-tv/xbmc-9999/temp/environment: line 5572: pushd: xbmc/cores/dvdplayer/Codecs/libdts: No such file or directory
 * Generating autotools in xbmc/cores/dvdplayer/Codecs/libdts
 * Running eautoreconf in '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999' ...
 * Running aclocal ...                                                         [ ok ]
 * Running libtoolize --copy --force --install ...                             [ ok ]
 * Running aclocal ...                                                         [ ok ]
 * Running autoconf ...                                                        [ ok ]
 * Running autoheader ...                                                      [ ok ]
 * Running automake --add-missing --copy --foreign ...                         [ ok ]
/var/tmp/portage/media-tv/xbmc-9999/temp/environment: line 5575: popd: directory stack empty
/var/tmp/portage/media-tv/xbmc-9999/temp/environment: line 5572: pushd: xbmc/cores/dvdplayer/Codecs/libdvd/lib*/: No such file or directory
 * Generating autotools in xbmc/cores/dvdplayer/Codecs/libdvd/lib*/
 * Running eautoreconf in '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999' ...
 * Running aclocal ...                                                         [ ok ]
 * Running libtoolize --copy --force --install ...                             [ ok ]
 * Running aclocal ...                                                         [ ok ]
 * Running autoconf ...                                                        [ ok ]
 * Running autoheader ...                                                      [ ok ]
 * Running automake --add-missing --copy --foreign ...                         [ ok ]
/var/tmp/portage/media-tv/xbmc-9999/temp/environment: line 5575: popd: directory stack empty
 * Generating autotools in lib/cpluff
 * Running eautoreconf in '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/lib/cpluff' ...
 * Running aclocal -I m4 ...                                                   [ ok ]
 * Running libtoolize --copy --force --install --automake ...                  [ ok ]
 * Running aclocal -I m4 ...                                                   [ ok ]
 * Running autoconf ...                                                        [ ok ]
 * Running autoheader ...                                                      [ ok ]
 * Running automake --add-missing --copy --foreign ...                         [ ok ]
 * Running elibtoolize in: xbmc-9999/lib/cpluff/auxliary/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Generating autotools in lib/libsquish
 * Running eautoreconf in '/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/lib/libsquish' ...
 * Running aclocal ...                                                         [ !! ]

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

 * ERROR: media-tv/xbmc-9999 failed:
 *   Failed Running aclocal !

---

patch included but needs a review.

Reproducible: Always

Steps to Reproduce:
1. emerge xbmc


Actual Results:  
1. emerge stops early at running aclocal

Expected Results:  
1. shouldn't stop
Comment 1 hal 2011-01-26 10:33:38 UTC
Created attachment 260754 [details, diff]
aclocal patch

fixes issues described in bug report
Comment 2 Account removed 2011-01-27 14:49:46 UTC
confirming the patch fixes the described error.

Until the ebuild is fixed in portage you could also emerge last working commit with:
EGIT_COMMIT="be61ebdc9e897fe40c6f" emerge xbmc

(especially as later commits atm crash on playing a video - at least here)
Comment 3 Michał Sawicz 2011-02-04 00:38:26 UTC
Why were the libdvd{read,nav} excluded from eautoreconf? Upstream bootstrap still autoreconfs them:
https://github.com/xbmc/xbmc/blob/master/bootstrap

As an addition, the order in which libdvd* are autoreconfed is relevant.

Please find my proposed patch attached.
Comment 4 Michał Sawicz 2011-02-04 00:39:22 UTC
Created attachment 261467 [details, diff]
Proposed patch fixing the issue
Comment 5 SpanKY gentoo-dev 2011-02-06 07:28:10 UTC
Comment on attachment 260754 [details, diff]
aclocal patch

only post unidiff style patches