Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200746 - media-video/vlc-0.9.0_alpha20071022 build fails
Summary: media-video/vlc-0.9.0_alpha20071022 build fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 15:17 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2007-11-29 21:40 UTC (History)
0 users

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


Attachments
/var/log/portage/media-video:vlc-0.9.0_alpha20071022:20071129-134425.log (media-video:vlc-0.9.0_alpha20071022:20071129-134425.log,603.70 KB, text/plain)
2007-11-29 15:19 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/emerge--info (emerge--info,8.97 KB, text/plain)
2007-11-29 15:19 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-11-29 15:17:46 UTC
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -DSYS_LINUX -I../../../include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/share/locale\" -DDATA_PATH=\"/usr/share/vlc\" -DPLUGIN_PATH=\"/usr/lib/vlc\" -O0 -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=ffmpeg -DMODULE_NAME_IS_ffmpeg -fvisibility=hidden -I/usr/include/postproc -I/usr/include/ffmpeg -I/usr/include/ffmpeg -O2 -march=athlon-mp -pipe -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libffmpeg_plugin_la-scale.lo -MD -MP -MF .deps/libffmpeg_plugin_la-scale.Tpo -c scale.c  -fPIC -DPIC -o .libs/libffmpeg_plugin_la-scale.o
mv -f .deps/libffmpeg_plugin_la-scale.Tpo .deps/libffmpeg_plugin_la-scale.Plo
mux.c: In function 'OpenMux__0_9_0b':
mux.c:151: error: incompatible types in assignment
mux.c: In function 'Mux':
mux.c:397: warning: passing argument 1 of 'put_flush_packet' from incompatible pointer type
make[6]: *** [libffmpeg_plugin_la-mux.lo] Error 1
make[6]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn'
make: *** [all] Error 2
 *
 * ERROR: media-video/vlc-0.9.0_alpha20071022 failed.
 * Call stack:
 *               ebuild.sh, line 1762:  Called dyn_compile
 *               ebuild.sh, line  891:  Called qa_call 'src_compile'
 *               ebuild.sh, line   35:  Called src_compile
 *             environment, line 2904:  Called die
 * The specific snippet of code:
 *       emake || diefunc "$FUNCNAME" "$LINENO" "$?" "make of VLC failed"
 *  The die message:
 *   make of VLC failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-video:vlc-0.9.0_alpha20071022:20071129-134425.log'.
 *
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2007-11-29 15:19:22 UTC
Created attachment 137319 [details]
/var/log/portage/media-video:vlc-0.9.0_alpha20071022:20071129-134425.log
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2007-11-29 15:19:52 UTC
Created attachment 137322 [details]
/tmp/emerge--info



[ebuild   R   ] media-video/vlc-0.9.0_alpha20071022  USE="3dfx X a52 aalib alsa avahi bidi cdda cddb cdio dbus dts dvb dvd esd fbcon ffmpeg flac ggi gnutls hal httpd id3tag jack libcaca libgcrypt libnotify lirc live lua modplug mp3 mpeg musepack musicbrainz ncurses nsplugin ogg opengl oss png pvr rtsp samba sdl skins speex stream svg svga taglib theora truetype twolame v4l v4l2 vcd vcdx vlm vorbis win32codecs wxwindows x264 xinerama xosd xv (-altivec) -arts -daap -dc1394 -debug -directfb -gnome -matroska -optimisememory -sdl-image -seamonkey -shout -upnp -xml -xulrunner" 0 kB
Comment 3 Alexis Ballier gentoo-dev 2007-11-29 21:24:09 UTC
this is because you are using libavformat 52, which is as far as I know not yet in the tree.

vlc trunk has a fix for this, thus it will be fixed with next snapshot/release.

please know what you are doing when using unofficial snapshots/ebuilds, especially with something as fragile as ffmpeg, or at least tell it in your bug report; it would have been far from obvious to figure out what's happening if I hadnt run in the exact same problem.

so far, closing as invalid.
Comment 4 DEMAINE Benoît-Pierre, aka DoubleHP 2007-11-29 21:40:25 UTC
You are right. Someone told me to use this layman, and this obviously inserted many update I did not take care about ...

root@moon_gen_2:~# equery b /usr/lib/libavformat.so
[ Searching for file(s) /usr/lib/libavformat.so in *... ]
media-video/ffmpeg-20079999-r2 (/usr/lib/libavformat.so -> libavformat.so.52.1.0)
root@moon_gen_2:~#

dhp@moon_gen_2:~$ emerge -vp media-video/ffmpeg

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

Calculating dependencies... done!
[ebuild   R   ] media-video/ffmpeg-20079999-r2  USE="a52 aac amrnb amrwb doc ieee1394 imlib ipv6 mmx mp3 network oss sdl theora threads truetype v4l vorbis x264 xvid zlib (-altivec) -debug -swscaler -test" 0 kB [1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/berkano