Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 505266

Summary: media-video/vlc-2.0.7 with media-libs/freetype-2.5.3 - freetype.c:67:30: fatal error: freetype/ftsynth.h: No such file or directory
Product: Gentoo Linux Reporter: Phil Stracchino (Unix Ronin) <phils>
Component: Current packagesAssignee: Paweł Stankowski <aambitny>
Status: RESOLVED OBSOLETE    
Severity: normal CC: dlan, media-video, tg42
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 499806    
Bug Blocks:    
Attachments: build.log.gz
Environment

Description Phil Stracchino (Unix Ronin) 2014-03-21 14:52:03 UTC
Disclaimer:  I am not certain exactly where this problem lies.

I am unable to recompile media-video/vlc-2.0.7.  The build appears to die with link and include problems realted to Freetype and svg, but there are many errors reported and I'm not sure where exactly the problem lies.

Installed freetype is media-libs/freetype-2.5.3.  Installed SVG lib is gnome-base/librsvg-2.40.1-r1.


Reproducible: Always




babylon5:root:~:4 # emerge --info '=media-video/vlc-2.0.7::gentoo'
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.13.6-gentoo-babylon5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.13.6-gentoo-babylon5-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:    16412592 total,   7757020 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 21 Mar 2014 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.3-r2, 4.6.3, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo perl-experimental mysql mozilla x11 overlay-dev-alaric
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -mfpmath=sse -pipe -mcx16 -mpopcnt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=amdfam10 -mfpmath=sse -pipe -mcx16 -mpopcnt"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo                 ftp://mirror.iawnet.sandia.gov/pub/gentoo                 http://gentoo.cites.uiuc.edu/pub/gentoo                 http://gentoo.chem.wisc.edu/gentoo                 http://gentoo.osuosl.org                 http://www.gtlib.gatech.edu/pub/gentoo                 ftp://mirrors.rit.edu/gentoo                 http://mirrors.cs.wmich.edu/gentoo                 "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --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/mysql /var/lib/layman/mozilla /var/lib/layman/x11 /var/lib/alaric"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 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 iconv id3tag imagemagick ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin ogg opengl openmp opus pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session speex spell sse sse2 ssl startup-notification svg tcpd theora threads tiff tk tools truetype udev udisks unicode upower usb utils v4l v4l2 vdpau vorbis wxwidgets x264 xcb xml xpm xv xvid zlib" ABI_X86="64" ALSA_CARDS="emu10k1 hda-intel" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau v4l" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-video/vlc-2.0.7 was built with the following:
USE="X a52 aac alsa avcodec avformat bidi cdda cddb dbus dirac dts dvbpsi dvd encode ffmpeg flac fontconfig gcrypt httpd kate kde libnotify live lua matroska mmx mp3 mpeg mtp musepack ncurses ogg opengl (opus) png postproc qt4 rtsp schroedinger sdl sdl-image shine skins speex sse svg swscale theora truetype twolame udev v4l vaapi vlm vorbis wma-fixed x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bluray -dc1394 -debug (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2) -egl -fbosd -fluidsynth -gme -gnome (-gnutls) -growl -ieee1394 (-ios-vout) -jack -libass -libcaca -libproxy -libsamplerate -libtar -libtiger -linsys -lirc (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -modplug (-neon) -omxil -optimisememory -oss -portaudio -projectm -pulseaudio -pvr -run-as-root -samba -shout -sid -sqlite -switcher -taglib -upnp -vcdx (-waveout) (-wingdi) -xosd -zvbi"
Comment 1 Phil Stracchino (Unix Ronin) 2014-03-21 14:54:12 UTC
Created attachment 373192 [details]
build.log.gz
Comment 2 Phil Stracchino (Unix Ronin) 2014-03-21 14:54:46 UTC
Created attachment 373194 [details]
Environment
Comment 3 Phil Stracchino (Unix Ronin) 2014-03-21 14:58:02 UTC
babylon5:root:/var/tmp/portage/media-video/vlc-2.0.7/temp:10 # emerge -pqv '=media-video/vlc-2.0.7::gentoo'
[ebuild   R   ] media-video/vlc-2.0.7  USE="X a52 aac alsa avcodec avformat bidi cdda cddb dbus dirac dts dvbpsi dvd encode ffmpeg flac fontconfig gcrypt httpd kate kde libnotify live lua matroska mmx mp3 mpeg mtp musepack ncurses ogg opengl png postproc qt4 rtsp schroedinger sdl sdl-image shine skins speex sse svg swscale theora truetype twolame udev v4l vaapi vlm vorbis wma-fixed x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bluray -dc1394 -debug (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2) -egl -fbosd -fluidsynth -gme -gnome (-gnutls) -growl -ieee1394 (-ios-vout) -jack -libass -libcaca -libproxy -libsamplerate -libtar -libtiger -linsys -lirc (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -modplug (-neon) -omxil -optimisememory (-opus*) -oss -portaudio -projectm -pulseaudio -pvr -run-as-root -samba -shout -sid -sqlite -switcher -taglib -upnp -vcdx (-waveout) (-wingdi) -xosd -zvbi"


I'm not quite clear why USE=-opus is appearing in this list, because I have USE=opus enabled, not disabled, in /etc/portage/make.conf, but media-video/vlc doesn't HAVE an opus USE flag anyway.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-03-21 15:05:04 UTC
You need at least >=media-video/vlc-2.1.1 with freetype-2.5.3
Comment 5 Phil Stracchino (Unix Ronin) 2014-03-21 15:46:48 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> You need at least >=media-video/vlc-2.1.1 with freetype-2.5.3

Thanks Lars.  I'll give that a shot.  Hopefully it'll also resolve my OTHER vlc problem, which I wasn't going to post until I could complete a rebuild.
Comment 6 Phil Stracchino (Unix Ronin) 2014-03-21 16:52:10 UTC
(In reply to Phil Stracchino from comment #5)
> (In reply to Lars Wendler (Polynomial-C) from comment #4)
> > You need at least >=media-video/vlc-2.1.1 with freetype-2.5.3
> 
> Thanks Lars.  I'll give that a shot.  Hopefully it'll also resolve my OTHER
> vlc problem, which I wasn't going to post until I could complete a rebuild.

And the answer is yes, current unstable vlc resolves both this problem and the problem that vlc was causing X11 to crash hard, which I now presume to have been a library mismatch issue.  Solution confirmed.
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-03-21 17:03:32 UTC
It still needs to be stabilized; other than that, I plan to set up an upper limit on the dependency in the older ebuilds, but I'll need to check them first.
Comment 8 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-03-26 15:50:28 UTC
+  26 Mar 2014; Tom Wijsman <TomWij@gentoo.org> vlc-2.0.5.ebuild,
+  vlc-2.0.7.ebuild, vlc-2.0.8.ebuild, vlc-2.0.8a.ebuild, vlc-2.0.9.ebuild,
+  vlc-2.0.9999.ebuild, vlc-2.1.0.ebuild:
+  Restrict freetype version on older versions of vlc; fixes bug #505266,
+  reported by Phil Stracchino (alaric).

Thank you very much for reporting.
Comment 9 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-06-03 19:28:52 UTC
This will cause a blocker as we move forward.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-22 07:49:55 UTC
*** Bug 523372 has been marked as a duplicate of this bug. ***
Comment 11 Thomas 2014-09-22 10:02:08 UTC
Since vlc-2.1.x is broken in an essential way (cf. Bug 523366) i would like to be able to continue to use vlc 2.0.9.  vlc 2.0.9 can be forcibly compiled against media-libs/freetype-2.5.3 when either /usr/include/freetype2 is soft-linked to freetype or the respective #include statements are patched.  Due to the dependency on <media-libs/freetype-2.5.3 (which is wrong, IMnsHO, and the reason i issued Bug 523372), portage is quite unhappy with the installation, afterwards.