I am using the latest available Gentoo version and have problems building media-libs/xine-lib with it. After ./configure ran, I get the following error: * Working directory: /var/tmp/portage/xine-lib-0.9.13-r1/work/xine-lib-0.9.13... * Cannot apply any patch, running libtoolize... You should update your `aclocal.m4' by running aclocal. cd . && aclocal cd . && automake --gnu --include-deps Makefile cd . && autoconf configure:10531: error: possibly undefined macro: AM_ASFLAGS
Xine is broken here too. emerge xine-ui-0.9.13: dfb.c: In function `enum_layers_callback': dfb.c:49: `DLCAPS_INTERLACED_VIDEO' undeclared (first use in this function) dfb.c:49: (Each undeclared identifier is reported only once dfb.c:49: for each function it appears in.) dfb.c: In function `init_dfb': dfb.c:157: warning: passing arg 2 of pointer to function from incompatible pointer type make[3]: *** [dfb.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/xine-ui-0.9.13/work/xine-ui-0.9.13/src/dfb' make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-ui-0.9.13/work/xine-ui-0.9.13/src' make[1]: Leaving directory `/var/tmp/portage/xine-ui-0.9.13/work/xine-ui-0.9.13' Calculating dependencies ...done! >>> emerge (1 of 1) media-video/xine-ui-0.9.13 to / >>> md5 ;-) xine-ui-0.9.13.tar.gz make: *** [all-recursive-am] Error 2 !!! ERROR: media-video/xine-ui-0.9.13 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! (no error message) I wanted to use the latest stable version because xine-lib-1_alpha and xine-lib-1_beta don't work for me with file input: $ xine -A arts This is xine (X11 gui) - a free video player v0.9.15 (c) 2000-2002 by G. Bartsch and the xine project team. Built with xine library 1.0.0 (1-beta0) Found xine library version: 1.0.0 (1-beta0). XServer Vendor: Gentoo Linux (XFree86 4.2.1, revision r2). Release: 40201000, Protocol Version: 11, Revision: 0, Available Screen(s): 1, using 0 Depth: 16. XShmQueryVersion: 1.1. -[ xiTK version 0.9.2 ]- -[ xiTK will use XShm ]- -[ WM type: KDE ]- Display is not using Xinerama. load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_oss.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_alsa.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_arts.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_ao_out_esd.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/vidix/genfb_vid.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/vidix/mach64_vid.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/vidix/mga_crtc2_vid.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/vidix/mga_vid.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/vidix/nvidia_vid.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/vidix/pm3_vid.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/vidix/radeon_vid.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/vidix/rage128_vid.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_xshm.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_xv.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_aa.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_vidix.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_fb.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_none.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_inp_file.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_inp_http.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_inp_dvd.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_inp_vcd.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_inp_mms.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_inp_stdin_fifo.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_inp_pnm.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_ogg.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_asf.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_avi.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg_block.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg_audio.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg_elem.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_qt.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_cda.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_film.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_roq.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_fli.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_smjpeg.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_wav.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_idcin.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_wc3movie.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_vqa.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_voc.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_aiff.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_snd.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_yuv4mpeg2.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_real.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_realaudio.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_eawve.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_dmx_mpeg_ts.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_ff.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_mpeg2.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_a52.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_spu.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_spucc.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_dts.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_mad.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_w32dll.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_lpcm.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_cinepak.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_cyuv.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_fli.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_idcinvideo.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_msrle.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_msvc.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_qtsmc.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_roqvideo.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_rgb.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_svq1.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_yuv.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_qtrpza.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_wc3video.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/post/xineplug_post_invert.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_qtrle.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_adpcm.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_logpcm.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_roqaudio.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_gsm610.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_vorbis.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_real.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_real_audio.so not cached load_plugins: /usr/lib/xine/plugins/1.0.0/xineplug_decode_faad.so not cached xine-scr_init: complete metronom: start_clock (at 0) video_out_xv: using Xv port 75 from adaptor NV10 Video Overlay for hardware colorspace conversion and scaling. video_out_xv: open_plugin video_out_xv: double buffering mode = 1 video_out_xv: port attribute XV_COLORKEY (6) value is 2110 video_out_xv: port attribute XV_AUTOPAINT_COLORKEY (7) value is 1 video_out_xv: port attribute XV_BRIGHTNESS (5) value is 0 video_out_xv: port attribute XV_CONTRAST (4) value is 4096 video_out_xv: port attribute XV_SATURATION (3) value is 4096 video_out_xv: port attribute XV_HUE (2) value is 0 video_out_xv: this adaptor supports the yuy2 format. video_out_xv: this adaptor supports the yv12 format. video_out_xv: property #11 = 0 video_out: thread created audio_arts_out: init class audio_arts_out: open_plugin called audio_arts_out : supported modes are mono stereo xine: xine_stream_new xine: xine_stream_new xine: xine_stream_new input_pnm: trying to open 'file:/usr/share/xine/skins/xine_logo.mpv' metronom: video discontinuity #1, type is 0, disc_off is 0 metronom: waiting for audio discontinuity #1 metronom: audio discontinuity #1, type is 0, disc_off 0 metronom: waiting for in_discontinuity update #1 metronom: audio vpts adjusted to 30000 metronom: vpts adjusted with prebuffer to 138791 Using MMXEXT for IDCT transform Using MMXEXT for motion compensation xine: waiting for headers. xine: headers processed. xine: xine_play demux: start thread called demux: loop starting... demux: main demuxer loop finished (status: 1) demux: loop finished (status: 1) xine: xine_play_internal ...done demux: stop thread called demux: joining thread 180236 video_out: possible still frame libmpeg2: blasting out current frame 0 on flush video_out: possible still frame input_pnm: trying to open '/mnt/win/m/SIMPSONSvideos/Homer Loves Flanders.avi' demux_mpeg_block:open_plugin:input ID=file count = 1 demux_avi: 12142 frames demux_avi: audio format[0] = 0x31 demux_avi: audio type MS GSM (wFormatTag 0x31) metronom: video discontinuity #2, type is 0, disc_off is 0 metronom: waiting for audio discontinuity #2 metronom: audio discontinuity #2, type is 0, disc_off 0 metronom: waiting for in_discontinuity update #2 metronom: audio vpts adjusted to 183791 metronom: vpts adjusted with prebuffer to 2021301 demux_avi: video codec is 'Microsoft MPEG-4 format v1' audio_arts_out: ao_open bits=16 rate=22050, mode=4 audio_arts_out: 1 channels output xine: waiting for headers. xine: waiting for headers. audio_arts_out : latency 859 ms audio_out: output sample rate 22050 audio_out: thread created gsm610: received MS GSM block that does not line up gsm610: received MS GSM block that does not line up xine: headers processed. xine: xine_play demux_avi: start pos is 0, start time is 0 demux_avi: video_pts = 0 video_out: flush fifo (0 buffers) audio_out: flush fifo (0 buffers) metronom: video discontinuity #3, type is 3, disc_off is 0 metronom: waiting for audio discontinuity #3 metronom: audio discontinuity #3, type is 3, disc_off 0 metronom: waiting for in_discontinuity update #3 metronom: audio vpts adjusted to 2021301 metronom: vpts adjusted with prebuffer to 4723457 demux: start thread called demux: loop starting... xine: xine_play_internal ...done Segmentation fault FEATURES="-sandbox" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe " CXXFLAGS="${CFLAGS}" AUTOCLEAN="true" ACCEPT_KEYWORDS="~x86" USE="dga doc dvd evo fbcon gb gd innodb jikes maildir mbox nls nocardbus odbc samba slp sse tiff wmf xml xv -crypt" DEBUGBUILD="false" FTP_PROXY="" HTTP_PROXY="" PORTDIR_OVERLAY="/usr/local/portage/" RSYNC_PROXY=""
To Peter Ruskin: Which version of xine-lib do you have installed? The ebuild for xine-ui -0.9.13 did not enforce that the xine-lib was also from 0.9.13 series. I have now fixed it in CVS. Could you update your portage tree, unmerge xine-lib, and then emerge xine-ui, making sure that it picks up xine-lib of 0.9.13 version.
To Peter Simons: Which versions of automake and autoconf do you have installed?
I had xine-lib-0.9.13-r2 emerged but then xine-ui-0.9.13 failed to emerge. I have both those versions working on a 1.2 system and on a 1.4 stable system.
automake-1.6.3 autoconf-2.54
I am using: autoconf (GNU Autoconf) 2.53a automake (GNU automake) 1.4-p5 As a matter of fact, this seems to be related to the problem because the build fails during the re-creation of the build process. I managed to build xine by building it manually (with those versions), though.
Lolo: Were you the one who addedd the the libtool eclass stuff to the xine-ui ebuild? Coud this bug be related to that?
the error reported by the bug reporter could, but theother relates to the directfb stuff which I try to stay clear of...
Peret Ruskin: does turning off directfb flag in the USE variables in your make.conf help the situation?
As Peter Simons said he'd managed to build it manually I just tried that with 0.9.13. Configure options were: ./configure --prefix=/usr --with-x --with-w32-path=/usr/lib/win32 xine-lib built OK but xine-ui failed thus: options.c: In function `do_command_line': options.c:185: warning: implicit declaration of function `extract_mrls' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../readline -I../../readline -I../../src -I../../src -I../../src/common -I../../src/common -I../../src/xitk/xine-toolkit -I../../src/xitk/xine-toolkit -I/usr/include -D_REENTRANT -I/usr/include/directfb -g -O2 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -mcpu=athlon -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -DFONTDIR=\"/usr/share/xine/skins/../fonts/\" -c dfb.c dfb.c: In function `enum_layers_callback': dfb.c:49: `DLCAPS_INTERLACED_VIDEO' undeclared (first use in this function) dfb.c:49: (Each undeclared identifier is reported only once dfb.c:49: for each function it appears in.) dfb.c: In function `init_dfb': dfb.c:157: warning: passing arg 2 of pointer to function from incompatible pointer type make[3]: *** [dfb.o] Error 1 make[3]: Leaving directory `/mnt/downloads/xine/xine-ui-0.9.13/src/dfb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/downloads/xine/xine-ui-0.9.13/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/downloads/xine/xine-ui-0.9.13' make: *** [all-recursive-am] Error 2 I just added "-directfb" to USE in make.conf and am emerging ui-0.9.15, which emerges lib-1_beta0. ...same problem with files "gsm610: received MS GSM block that does not line up". So I unmerged ui-0.9.15 and lib-1_beta0 then emerged ui-0.9.13 (new ebuild), which emerges lib-0.9.03-r2. ...ui failed as before: dfb.c: In function `enum_layers_callback': dfb.c:49: `DLCAPS_INTERLACED_VIDEO' undeclared (first use in this function) dfb.c:49: (Each undeclared identifier is reported only once dfb.c:49: for each function it appears in.) dfb.c: In function `init_dfb': dfb.c:157: warning: passing arg 2 of pointer to function from incompatible pointer type make[3]: *** [dfb.o] Error 1 make[3]: *** Waiting for unfinished jobs.... options.c: In function `do_command_line': options.c:185: warning: implicit declaration of function `extract_mrls' make[3]: Leaving directory `/var/tmp/portage/xine-ui-0.9.13/work/xine-ui-0.9.13/src/dfb' make[2]: Leaving directory `/var/tmp/portage/xine-ui-0.9.13/work/xine-ui-0.9.13/src' make[2]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-ui-0.9.13/work/xine-ui-0.9.13' make[1]: *** [all-recursive] Error 1
Well, I unmerged directfb, rebuilt the sdl stuff and now xine-lib- and xine-ui-0.9.13 build OK. Thanks for the pointers
Peter Simons: Could you try upgrading automake to the latest stable one in the portage tree and see if it fixes your problem?
This is kind of tricky for me to try because I do have xine installed on all relevant machines by now and I don't think I can re-produce the setting in which the build failed. (It did not fail every time.) I'll give it a try ASAP and see whether it builds, but please don't count on me doing it real soon. :-|
Okay, if it works for you now, I'm going to close this bug as REMIND. If the problem re-occurs, feel free to reopen. Thanks for your feedback.