Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329453 - media-video/vlc-1.1.1 fails to build
Summary: media-video/vlc-1.1.1 fails to build
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-22 19:24 UTC by Phil Stracchino (Unix Ronin)
Modified: 2010-07-23 18:20 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,97.56 KB, text/plain)
2010-07-22 19:25 UTC, Phil Stracchino (Unix Ronin)
Details
Build environment (environment,160.70 KB, text/plain)
2010-07-22 19:26 UTC, Phil Stracchino (Unix Ronin)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2010-07-22 19:24:51 UTC
media-video/vlc-1.1.1 is repeatedly failing to build.  It looks like a Qt moc interaction problem.

make[5]: Entering directory `/var/tmp/portage/media-video/vlc-1.1.1/work/vlc-1.1.1/modules/gui/qt4'
  MOC    main_interface.moc.cpp
  MOC    menus.moc.cpp
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
  @<file>            read additional options from file
  -v                 display version of moc
make[5]: *** [main_interface.moc.cpp] Error 1


Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/vlc-1.1.1
2. Build fails as soon as it enters modules/gui/qt4
3.




babylon5:root:/var/tmp:37 # emerge --info =media-video/vlc-1.1.1
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-AMD_Athlon-TM-_XP_2400+-with-gentoo-1.12.13
Timestamp of tree: Thu, 22 Jul 2010 05:45:03 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPPFLAGS="-O2 -march=athlon-xp -mfpmath=sse -pipe -fexceptions"
CXXFLAGS="-O2 -march=athlon-xp -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo                 http://www.gtlib.gatech.edu/pub/gentoo                 ftp://mirror.iawnet.sandia.gov/pub/gentoo                 http://gentoo.cites.uiuc.edu/pub/gentoo                 http://gentoo.osuosl.org                 ftp://mirrors.rit.edu/gentoo                 http://mirrors.cs.wmich.edu/gentoo                 http://mirror.mcs.anl.gov/pub/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j11 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /var/lib/layman/perl-experimental /var/lib/layman/robbat2"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif ffmpeg firefox flac fltk fortran gdbm gif gpm gtk hal iconv id3tag imagemagick ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session speex spell spl sse ssl startup-notification svg sysfs tcpd theora threads tiff tk tools truetype unicode usb utils vorbis x264 x86 xcb xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="cmipci 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mga vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

babylon5:root:/var/tmp:38 # emerge -pqv =media-video/vlc-1.1.1
[ebuild     U ] media-video/vlc-1.1.1 [1.1.0] USE="X a52 aac alsa bidi cdda cddb dbus dirac dts dvd ffmpeg flac gcrypt id3tag kde libnotify live matroska mmx mp3 mpeg ncurses nsplugin ogg opengl png qt4 schroedinger sdl sdl-image skins speex sse stream svg theora truetype twolame vlm vorbis x264 xcb xml xv -aalib (-altivec) -atmo -avahi -dc1394 -debug -directfb -dvb -fbcon -fluidsynth -fontconfig -ggi -gnome -gnutls -httpd -ieee1394 -jack -kate -libass -libcaca -libproxy -libtiger -libv4l -libv4l2 -lirc -lua -modplug -mtp -musepack -optimisememory -oss -projectm -pulseaudio -pvr -remoteosd -rtsp -run-as-root -samba -shine -shout -sqlite -svga -taglib -udev -upnp -v4l -v4l2 -vaapi -vcdx -win32codecs -wma-fixed -xosd -zvbi"

Will attach build log and environment file in a moment.
Comment 1 Phil Stracchino (Unix Ronin) 2010-07-22 19:25:49 UTC
Created attachment 239863 [details]
Build log
Comment 2 Phil Stracchino (Unix Ronin) 2010-07-22 19:26:11 UTC
Created attachment 239865 [details]
Build environment
Comment 3 Alexis Ballier gentoo-dev 2010-07-23 09:40:49 UTC
(In reply to comment #0)

> CPPFLAGS="-O2 -march=athlon-xp -mfpmath=sse -pipe -fexceptions"


dont use compiler flags in CPPFLAGS, this will fix you problem.
Comment 4 Phil Stracchino (Unix Ronin) 2010-07-23 15:16:41 UTC
* checks make.conf
* blinks
* wonders how, and when, CPPFLAGS got changed from "-fexceptions" to "${CFLAGS} -fexceptions"
Comment 5 Phil Stracchino (Unix Ronin) 2010-07-23 18:20:15 UTC
I confirm that the problem here is that moc chokes on -fexceptions in CPPFLAGS.  The reason I was using that, however, is that dev-libs/ppl requires dev-libs/gmp be built using CPPFLAGS=-fexceptions.  See https://bugs.gentoo.org/show_bug.cgi?id=329615 for proposed fix to dev-libs/gmp and dev-libs/ppl.