Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#12117 - xine-lib won't build from ABS

Attached to Project: Arch Linux
Opened by Stan Holenda (texoft) - Friday, 14 November 2008, 04:01 GMT
Last edited by Eric Belanger (Snowman) - Friday, 28 November 2008, 02:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Need to rebuild xine-lib. Or update/fix ffmpeg.

Additional info:
These will play movies, but make to thumbnails:
* ffmpeg 20080715-3
* x264
* ffmpegthumbnailer 1.3.0-1

These make thumbnails, but won't play movies, unless I have compatible xine-lib:
* ffmpeg-svn
* x264-git
* ffmpegthumbnailer 1.3.0-1

Steps to reproduce:
1. copy PKGBUILD for xine-lib
2. makepkg
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 28 November 2008, 02:43 GMT
Reason for closing:  Fixed
Comment by Bob (Cotton) - Saturday, 22 November 2008, 21:04 GMT
I have the same problem. Build fails with:
video_out_xvmc.c:1438: warning: ‘adaptor_info’ may be used uninitialized in this function
mv -f .deps/xineplug_vo_out_xvmc_la-video_out_xvmc.Tpo .deps/xineplug_vo_out_xvmc_la-video_out_xvmc.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -fvisibility=hidden -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -march=x86-64 -mtune=generic -O2 -pipe -DNDEBUG -Wl,-z,defs -avoid-version -module -o -rpath /usr/lib/xine/plugins/1.24 xineplug_vo_out_xvmc_la-deinterlace.lo xineplug_vo_out_xvmc_la-video_out_xvmc.lo ../../src/xine-engine/ -L -lXvMCW -lXv -lX11 -lXext -lXinerama -pthread
libtool: link: require no space between `-L' and `-lXvMCW'
make[3]: *** [] Error 1
make[3]: Leaving directory `/var/abs/local/xine-lib/src/xine-lib-1.1.15/src/video_out'
make[2]: *** [all-recursive] Error 1
Comment by paul (pwt) - Wednesday, 26 November 2008, 14:00 GMT
For this issue, you should add the two following configure options:

Now there is another issue. xine-lib no longer builds with the new imagamagick. See upstream bug

Hope this helps.
Comment by Eric Belanger (Snowman) - Wednesday, 26 November 2008, 20:21 GMT
Paul: thanks for this info although I found out about it last night. Your fix for the reported build issue is a bit cleaner than mine so I'll use it. I posted on the upstream bug report that xine-lib use a function that has been deprecated by imagemagick. Hopefully, someone will come up with a patch. I might have time to see if I couldn't make a patch myself.
Comment by paul (pwt) - Wednesday, 26 November 2008, 22:20 GMT
Thanks. I did some research on my own about this imagemagick issue. The attached patch should do the thing. I can't test it right now, so if you have time...
Comment by paul (pwt) - Thursday, 27 November 2008, 02:32 GMT
I was able to test this quicker than expected. Seems to work. I leave it to you for consideration.
Comment by Eric Belanger (Snowman) - Friday, 28 November 2008, 02:42 GMT
Thanks for the patch. I checked it and it looks goods. I posted a link in the upstream bug report.