Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201107 - media-video/vlc-0.9.0_alpha20071022 can't compile against libcaca-0.99_beta13
Summary: media-video/vlc-0.9.0_alpha20071022 can't compile against libcaca-0.99_beta13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Media-video project
URL: https://trac.videolan.org/vlc/ticket/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 14:30 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2008-01-28 19:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2007-12-03 14:30:11 UTC
libcaca-0.99_beta13 (maybe) had broken my vlc, and %subj%. libcaca-0.99_beta12 does well.

Reproducible: Didn't try

Steps to Reproduce:
1. emerge vlc


Actual Results:  
/bin/sh ../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin opengl` -O2 -pipe -march=k8 -msse3 -fomit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libopengl_plugin_la-opengl.lo -MD -MP -MF .deps/libopengl_plugin_la-opengl.Tpo -c -o libopengl_plugin_la-opengl.lo `test -f 'opengl.c' || echo './'`opengl.c
aa.c: In function 'Display':
aa.c:243: warning: pointer targets in passing argument 4 of 'vout_PlacePicture' differ in signedness
aa.c:243: warning: pointer targets in passing argument 5 of 'vout_PlacePicture' differ in signedness
aa.c:243: warning: pointer targets in passing argument 6 of 'vout_PlacePicture' differ in signedness
aa.c:243: warning: pointer targets in passing argument 7 of 'vout_PlacePicture' differ in signedness
mv -f .deps/libaa_plugin_la-aa.Tpo .deps/libaa_plugin_la-aa.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin image` -O2 -pipe -march=k8 -msse3 -fomit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libimage_plugin_la-image.lo -MD -MP -MF .deps/libimage_plugin_la-image.Tpo -c -o libimage_plugin_la-image.lo `test -f 'image.c' || echo './'`image.c
mv -f .deps/libfb_plugin_la-fb.Tpo .deps/libfb_plugin_la-fb.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin directfb` -O2 -pipe -march=k8 -msse3 -fomit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libdirectfb_plugin_la-directfb.lo -MD -MP -MF .deps/libdirectfb_plugin_la-directfb.Tpo -c -o libdirectfb_plugin_la-directfb.lo `test -f 'directfb.c' || echo './'`directfb.c
mv -f .deps/libvout_sdl_plugin_la-sdl.Tpo .deps/libvout_sdl_plugin_la-sdl.Plo
/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 `top_builddir="../.." ../../vlc-config --cflags plugin aa` -O2 -pipe -march=k8 -msse3 -fomit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath '/usr/lib64/vlc/video_output' -avoid-version -module -no-undefined -shrext .so -export-dynamic  `top_builddir="../.." ../../vlc-config --ldflags plugin aa`  -o libaa_plugin.la  libaa_plugin_la-aa.lo ../../src/libvlc.la `top_builddir="../.." ../../vlc-config -libs plugin aa`
caca.c: In function 'Manage':
caca.c:307: error: 'struct caca_event' has no member named 'type'
caca.c:314: error: 'struct caca_event' has no member named 'data'
caca.c:337: error: 'struct caca_event' has no member named 'data'
caca.c:340: error: 'struct caca_event' has no member named 'data'
caca.c: In function 'Render':
caca.c:376: warning: 'cucul_set_color' is deprecated (declared at /usr/include/cucul.h:313)
make[4]: *** [libcaca_plugin_la-caca.lo] Ошибка 1
make[4]: *** Ожидание завершения заданий...
 x86_64-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/lib64/vlc\" -O0 -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=opengl -DMODULE_NAME_IS_opengl -fvisibility=hidden -O2 -pipe -march=k8 -msse3 -fomit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libopengl_plugin_la-opengl.lo -MD -MP -MF .deps/libopengl_plugin_la-opengl.Tpo -c opengl.c  -fPIC -DPIC -o .libs/libopengl_plugin_la-opengl.o
 x86_64-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/lib64/vlc\" -O0 -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=image -DMODULE_NAME_IS_image -fvisibility=hidden -O2 -pipe -march=k8 -msse3 -fomit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libimage_plugin_la-image.lo -MD -MP -MF .deps/libimage_plugin_la-image.Tpo -c image.c  -fPIC -DPIC -o .libs/libimage_plugin_la-image.o
mv -f .deps/libimage_plugin_la-image.Tpo .deps/libimage_plugin_la-image.Plo
mv -f .deps/libopengl_plugin_la-opengl.Tpo .deps/libopengl_plugin_la-opengl.Plo
 x86_64-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/lib64/vlc\" -O0 -D__LIBVLC__ -D__PLUGIN__ -I/usr/include/directfb -D_REENTRANT -DMODULE_NAME=directfb -DMODULE_NAME_IS_directfb -fvisibility=hidden -O2 -pipe -march=k8 -msse3 -fomit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libdirectfb_plugin_la-directfb.lo -MD -MP -MF .deps/libdirectfb_plugin_la-directfb.Tpo -c directfb.c  -fPIC -DPIC -o .libs/libdirectfb_plugin_la-directfb.o
x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libaa_plugin_la-aa.o  -Wl,--rpath -Wl,/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn/src/.libs ../../src/.libs/libvlc.so -L/usr/lib64 -lpthread /usr/lib64/libaa.so  -march=k8 -msse3 -Wl,-soname -Wl,libaa_plugin.so -o .libs/libaa_plugin.so
creating libaa_plugin.la
directfb.c: In function 'Init':
directfb.c:213: warning: dereferencing type-punned pointer will break strict-aliasing rules
directfb.c: In function 'Display':
directfb.c:283: warning: dereferencing type-punned pointer will break strict-aliasing rules
mv -f .deps/libdirectfb_plugin_la-directfb.Tpo .deps/libdirectfb_plugin_la-directfb.Plo
(cd .libs && rm -f libaa_plugin.la && ln -s ../libaa_plugin.la libaa_plugin.la)
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn/modules/video_output'
make[3]: *** [all-modules] Ошибка 1
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn/modules/video_output'
make[2]: *** [all-recursive] Ошибка 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] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/work/vlc-0.9.0-svn'
make: *** [all] Ошибка 2
 *
 * ERROR: media-video/vlc-0.9.0_alpha20071022 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2890:  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/tmp/portage/media-video/vlc-0.9.0_alpha20071022/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-0.9.0_alpha20071022/temp/environment'.


Expected Results:  
vlc emerged

$ emerge --info
Portage 2.1.4_rc6 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.22-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r10 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Mon, 03 Dec 2007 13:00:04 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8 -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.public.fix.fi/gentoo/ ftp://ftp.public.fix.fi/gentoo http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/emacs /usr/portage/local/layman/kde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi alsa amd64 amrnb amrwb amuled apache2 ares arts avahi bash-completion berkdb bidi bitmap-fonts branding bzip2 cairo caps cdda cdio cli context corba cracklib crypt css ctype cups curl cvs cyrillic daap dbus dc1394 devil dga directfb djvu dri dts dv dvb dvd dvdr dvdread emacs emovix enca encode esd expat extensions extra extras fasttrack fat fbcon ffmpeg fidonet flac fontconfig fortran ftp fuse games gd gdbm ggi gif glade glep glib glitz gnutella gnutls gpm graphics gs gtk hal haskell hddtemp hdf5 httpd humanities iconv icq icu id3tag idle idn insecure-patches insecure-savers ipv6 irc isdnlog ithreads jabber javascript jpeg jpeg2k kde kpoll lame latex lcms libcaca libgcrypt libnotify libsamplerate live logrotate lzo mad maildir matroska mdnsresponder-compat midi mikmod mjpeg mmx mmxext mod mod_irc mod_muc mod_pubsub modplug mozsha1 mp2 mp3 mp4 mpeg mplayer mpm-worker mudflap multislot multiuser musepack music musicbrainz mysql ncurses new-login nls nptl nptlonly nsplugin ntfs nvidia offensive ogg omega openal opengl openmp oss pam pcre pdf perl plotutils png pppd profile pstricks publishers pvr pyste python qt qt3 qt3support qt4 quicktime radio rar readline reflection reiserfs remote rle rss rtc rtsp scenarios science sdl sdl-image server session shout skins slang smp sndfile sound speex spl sqlite srt srv sse sse2 ssl ssse3 stats stream svg svn taglib tcpd tetex theora threads tiff timidity tk toolkit-scroll-bars tools tordns truetype truetype-fonts twolame type1-fonts unicode userlocales utempter v41 v4l v4l2 vcd vcdx vesa visualization vlm vorbis wavpack web wxwindows x254 x264 xanim xetex xforms xhtml xinerama xml xorg xosd xprint xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexis Ballier gentoo-dev 2007-12-03 19:57:07 UTC
indeed, and even vlc's trunk fails. I've masked libcaca-0.99_beta13 until there is a real fix for this.

Thanks for the report
Comment 2 Alexis Ballier gentoo-dev 2007-12-12 23:10:38 UTC
libcaca 0.99_beta13 will probably remain masked until this is resolved, it has broken the API, sam uploaded a patch into debian repositories that reverts that change; I dont think we should do the same but rather wait for a new release or a fix in vlc.
Comment 3 Alexis Ballier gentoo-dev 2008-01-28 19:38:37 UTC
fixed with latest snapshot