Summary: | media-video/gxine-0.5.11 doesn't compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joseph Booker <joe> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | askwar, basdebakker, david.w.noon, jcallen, jrmalaq, leio, morgy.wahl, sharpshopter, tom.garland, webmaster |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
config.log working ebuild for gxine-0.5.11 |
Description
Joseph Booker
2008-02-12 16:15:49 UTC
Created attachment 143320 [details]
build.log
gxine's build.log
Created attachment 143321 [details]
config.log
gxine's config.log
Also, xine-ui compiles fine, and xine-check runs without any problems (besides not finding /usr/share/skins) I'm seeing this same bug on AMD 32 bit while recompiling my system with gcc 4.2.3. Getting this with x86_64-pc-linux-gnu-3.4.6, x86_64-pc-linux-gnu-4.1.1, and x86_64-pc-linux-gnu-4.2.3, so I don't think it's compiler related. It appears that the test for a current version of xine-lib cannot handle a version number with more than 2 dots, so for 1.1.10.1, the version number reported involves a double->int conversion, and thus is completely incomprehensible. The error appears to be in the 3 seds in /usr/share/aclocal/xine.m4 - it appears that the sed should be changed from 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/' to 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\(\.[0-9]\)\?/\1/', and the same with \2 and \3 instead of \1. Note that this does not appear to be compiler specific, and the problem only first appeared with media-libs/xine-lib-1.1.10.1, 1.1.10 appears to work just fine. Yes, that's it. I would use this sed script: sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/' It's more flexible if there'll be more numbers in future. Martin Created attachment 146395 [details]
working ebuild for gxine-0.5.11
I was able to fix this by changing the sed lines as suggested by Martin
but not in /usr/share/aclocal/xine.m4
but in the configure file provided with gxine-0.5.11
I created a patch and a working ebuild
I hope this may find its way into the official portage tree...
for now install like this (assuming your $PROTDIR_OVERLAY in /etc/make.conf is /usr/local/portage):
mkdir -p /usr/local/portage/media-video
cd /usr/local/portage/media-video
tar -xzf /path/to/gxine-0.5.11-overlay.tar.gz
emerge gxine
enjoy :)
Seeing that as well. For me, it errored out with: checking for XINE-LIB version >= 1.0.1... *** 'xine-config --version' returned -1717986918.1072798105.-1717986918, but XINE (1072798105.858993459.1076114227) *** was found! If xine-config was correct, then it is best *** to remove the old version of XINE. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If xine-config was wrong, set the environment variable XINE_CONFIG *** to point to the correct copy of xine-config, and remove the file config.cache *** before re-running configure no configure: error: *** Please install xine-lib (devel) first *** I've got media-libs/xine-lib-1.1.10.1-r1 installed. The "overlay" from Till in attachment id #146395 works fine for me. I'm seeing the exact same error as the previous comment. Thank you for that patch, it worked for me. (In reply to comment #8) > Created an attachment (id=146395) [edit] > working ebuild for gxine-0.5.11 > > I was able to fix this by changing the sed lines as suggested by Martin > but not in /usr/share/aclocal/xine.m4 > > but in the configure file provided with gxine-0.5.11 > > I created a patch and a working ebuild > > I hope this may find its way into the official portage tree... > > for now install like this (assuming your $PROTDIR_OVERLAY in /etc/make.conf is > /usr/local/portage): > mkdir -p /usr/local/portage/media-video > cd /usr/local/portage/media-video > tar -xzf /path/to/gxine-0.5.11-overlay.tar.gz > emerge gxine > > enjoy :) > fixed in media-video/gxine-0.5.503 |