Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237783 - media-video/vlc-0.9.1 doesn't compile with qt4
Summary: media-video/vlc-0.9.1 doesn't compile with qt4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 265645 367113 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-15 19:48 UTC by Alexander Soloviëv
Modified: 2011-05-15 15:46 UTC (History)
2 users (show)

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


Attachments
make.conf (make.conf,4.30 KB, text/plain)
2008-09-16 14:26 UTC, Alexander Soloviëv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Soloviëv 2008-09-15 19:48:14 UTC
vlc 9.1 doesn't compile with qt4. Compiling fails with these errors:

i686-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libxa_plugin_la-xa.o  -Wl,--rpath -Wl,/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/src/.libs -lpthread ../../src/.libs/libvlccore.so -L/usr/lib  -march=core2 -Wl,-O1 -Wl,-soname -Wl,libxa_plugin.so -o .libs/libxa_plugin.so
creating libxa_plugin.la
(cd .libs && rm -f libxa_plugin.la && ln -s ../libxa_plugin.la libxa_plugin.la)
i686-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/librtp_plugin_la-rtp.o .libs/librtp_plugin_la-rtpsession.o -Wl,--whole-archive ../../libs/srtp/.libs/libvlc_srtp.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/src/.libs ../../src/.libs/libvlccore.so -L/usr/lib /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lpthread  -march=core2 -Wl,-O1 -Wl,-soname -Wl,librtp_plugin.so -o .libs/librtp_plugin.so
creating librtp_plugin.la
(cd .libs && rm -f librtp_plugin.la && ln -s ../librtp_plugin.la librtp_plugin.la)
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/demux'
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/demux'
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/demux'
Making all in gui
make[3]: Entering directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui'
make  all-recursive
make[4]: Entering directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui'
Making all in qnx
make[5]: Entering directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui/qnx'
make  all-am
make[6]: Entering directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui/qnx'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui/qnx'
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui/qnx'
Making all in qt4
make[5]: Entering directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui/qt4'
/usr/bin/moc -DHAVE_CONFIG_H -I../../../include -I../../../include -march=core2 -O2 -pipe -DSYS_LINUX -I../../.. `top_builddir="../../.." ../../../vlc-config --cppflags plugin qt4` -o main_interface.moc.cpp main_interface.hpp
/usr/bin/moc -DHAVE_CONFIG_H -I../../../include -I../../../include -march=core2 -O2 -pipe -DSYS_LINUX -I../../.. `top_builddir="../../.." ../../../vlc-config --cppflags plugin qt4` -o menus.moc.cpp menus.hpp
/usr/bin/moc -DHAVE_CONFIG_H -I../../../include -I../../../include -march=core2 -O2 -pipe -DSYS_LINUX -I../../.. `top_builddir="../../.." ../../../vlc-config --cppflags plugin qt4` -o dialogs_provider.moc.cpp dialogs_provider.hpp
moc: Invalid argument
Usage: moc [options] <header-file>
  -o<file>           write output to file rather than stdout
  -I<dir>            add dir to the include path for header files
  -E                 preprocess only; do not generate meta object code
  -D<macro>[=<def>]  define macro, with optional definition
  -U<macro>          undefine macro
  -i                 do not generate an #include statement
  -p<path>           path prefix for included file
  -f[<file>]         force #include, optional file name
  -nw                do not display warnings
  -v                 display version of moc
make[5]: *** [main_interface.moc.cpp] Error 1
make[5]: *** Waiting for unfinished jobs....
moc: Invalid argument
Usage: moc [options] <header-file>
  -o<file>           write output to file rather than stdout
  -I<dir>            add dir to the include path for header files
  -E                 preprocess only; do not generate meta object code
  -D<macro>[=<def>]  define macro, with optional definition
  -U<macro>          undefine macro
  -i                 do not generate an #include statement
  -p<path>           path prefix for included file
  -f[<file>]         force #include, optional file name
  -nw                do not display warnings
  -v                 display version of moc
make[5]: *** [dialogs_provider.moc.cpp] Error 1
moc: Invalid argument
Usage: moc [options] <header-file>
  -o<file>           write output to file rather than stdout
  -I<dir>            add dir to the include path for header files
  -E                 preprocess only; do not generate meta object code
  -D<macro>[=<def>]  define macro, with optional definition
  -U<macro>          undefine macro
  -i                 do not generate an #include statement
  -p<path>           path prefix for included file
  -f[<file>]         force #include, optional file name
  -nw                do not display warnings
  -v                 display version of moc
make[5]: *** [menus.moc.cpp] Error 1
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.1/work/vlc-0.9.1'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge vlc




noname linux-2.6.26-hardened-r2 # emerge --info
Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-hardened-r2 i686)
=================================================================
System uname: Linux-2.6.25-hardened-r2-i686-Intel-R-_Pentium-R-_Dual_CPU_E2160_@_1.80GHz-with-glibc2.0
Timestamp of tree: Sun, 14 Sep 2008 23:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CPPFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/db/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://c.aliki.ru/pub/mirror/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/var/db/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/db/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avi bash-completion berkdb bzip2 chroot cli consolekit cracklib crypt cups dba dbus divx4linux dri exif fbcon fontconfig fortran gdbm gif gtk2 hal iconv ipv6 isdnlog jbig jpeg jpeg2k lcms matroska memlimit midi mmx mpeg mudflap ncurses nptl nptlonly openexr opengl openmp pam pch pcre pic png pppd python qt readline reflection rtc sasl session spl sse sse2 ssl ssse3 svg sysfs tcpd threads tiff unicode usb x86 xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_groupfile authz_user authz_owner authn_file auth_basic authz_svn_module filter unique_id access authz_host auth auth_dbm auth_anon auth_digest alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case_filter_in deflate mime_magic cern_meta expires headers usertrack proxy proxy_connect proxy_ftp proxy_http info include cgi cgid dav dav_fs dav_lock vhost_alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir actions so" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="v4l fbcon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-15 22:22:25 UTC
Please attach your /etc/make.conf to this bug report.
Comment 2 Alexander Soloviëv 2008-09-16 14:26:11 UTC
Created attachment 165562 [details]
make.conf
Comment 3 Alexis Ballier gentoo-dev 2008-09-16 14:55:56 UTC
CFLAGS="-march=core2 -O2 -pipe"
CPPFLAGS="${CFLAGS}"
CXXFLAGS="${CFLAGS}"


try removing the CPPFLAGS= line; optimization flags do not belong there afaik
Comment 4 Alexander Soloviëv 2008-09-16 19:31:39 UTC
(In reply to comment #3)
> CFLAGS="-march=core2 -O2 -pipe"
> CPPFLAGS="${CFLAGS}"
> CXXFLAGS="${CFLAGS}"
> 
> 
> try removing the CPPFLAGS= line; optimization flags do not belong there afaik
> 

Thanks
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-11 19:29:14 UTC
*** Bug 265645 has been marked as a duplicate of this bug. ***
Comment 6 Kevin O'Gorman 2011-05-15 15:46:28 UTC
*** Bug 367113 has been marked as a duplicate of this bug. ***