Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505264 - media-gfx/graphviz - In file included from gvrender_lasi.cpp:21:0: /usr/include/LASi.h:14:30: fatal error: freetype/ftglyph.h: No such file or directory
Summary: media-gfx/graphviz - In file included from gvrender_lasi.cpp:21:0: /usr/inclu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 519624 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-21 14:41 UTC by adrin
Modified: 2014-08-11 09:38 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,405.02 KB, text/plain)
2014-03-21 15:23 UTC, adrin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adrin 2014-03-21 14:41:07 UTC
Similar to these bugs:
https://bugs.gentoo.org/show_bug.cgi?id=493598
https://bugs.gentoo.org/show_bug.cgi?id=493604

graphviz can't recompile against the new freetype.

emerge -pqv '=media-gfx/graphviz-2.36.0::gentoo'
[ebuild   R   ] media-gfx/graphviz-2.36.0  USE="X cairo devil gtk gts lasi nls perl postscript python ruby svg tcl -doc -examples -gdk-pixbuf -guile -java -pdf -qt4 -static-libs" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 

emerge -pqv freetype
[ebuild   R   ] media-libs/freetype-2.5.3-r1  USE="X png utils -adobe-cff -auto-hinter -bindist -bzip2 -debug -doc -fontforge (-harfbuzz) -infinality -static-libs" ABI_X86="(64) -32 (-x32)" 

emerge --info '=media-gfx/graphviz-2.36.0::gentoo'
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.18-r1, 3.12.9-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:     8125900 total,   1617276 free
KiB Swap:    4094972 total,   3912540 free
Timestamp of tree: Fri, 21 Mar 2014 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.4
dev-util/cmake:           2.8.12.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.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7-avx "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 -pipe -march=corei7-avx "
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://gentoo.llarian.net/ http://gentoo.mirrors.hoobly.com/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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=""
SYNC="rsync://rsync3.de.gentoo.org/gentoo-portage"
USE="X alsa alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd64 atm avahi cairo cups dbus deprecated eds fbcon fbcondecor gallium geoloc glib gmp gnome gnome-online-accounts gstreamer gtk gtk3 gudev hwdb inmemory introspection ipv6 libkms livecd loop-aes lvm1 midi mng modules multilib ncurses networkmanager nls nptl nptlonly pam pango png policykit portaudio pulseaudio python readline socks5 ssl svg systemd telepathy threads truetype udisks unicode usb vala vapigen xml xorg" ABI_X86="64" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LIRC_DEVICES="accent act200l act220l adaptec alsa_usb animax asusdh atilibusb atiusb audio audio_alsa avermedia avermedia98 avermedia_vdomate awlibusb bestbuy bestbuy2 breakoutbox bte bw6130 caraca chronos commandir cph06x creative creative_infracd devinput digimatrix dsp dvico ea65 ene0100 exaudio flyvideo ftdi gvbctv5pci hauppauge hauppauge_dvb hercules_smarttv_stereo i2cuser igorplugusb iguanaIR imon imon_24g imon_knob imon_lcd imon_pad imon_rsc inputlirc it87 ite8709 knc_one kworld leadtek_0007 leadtek_0010 leadtek_pvr2000 livedrive_midi livedrive_seq logitech macmini mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay nslu2 packard_bell pcmak pcmak_usb pctv pixelview_bt878 pixelview_pak pixelview_pro provideo realmagic remote_wonder_plus remotemaster sa1100 samsung sasem sb0540 silitek sir slinke streamzap tekram tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2 uirt2_raw usbx userspace wpc8769l" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU"
USE_PYTHON="3.3 2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-gfx/graphviz-2.36.0 was built with the following:
USE="X cairo devil gtk gts lasi nls perl postscript python ruby svg tcl -doc -examples -gdk-pixbuf -guile -java -pdf -qt4 -static-libs" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
Comment 1 adrin 2014-03-21 14:44:05 UTC
Accept my excuse for not being able to attach the build log, I get this error:

The webpage at https://bugs.gentoo.org/attachment.cgi might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_ACCESS_DENIED


This is the end of the build log:


/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=corei7-avx  -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math  -Wl,-O1 -Wl,--as-needed -o libgvplugin_gtk_C.la  gvplugin_gtk.lo gvdevice_gtk.lo support.lo interface.lo callbacks.lo  
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=corei7-avx  -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -version-info 6:0:0   -Wl,-O1 -Wl,--as-needed -o libgvplugin_gtk.la -rpath /usr/lib64/graphviz gvplugin_gtk.lo gvdevice_gtk.lo support.lo interface.lo callbacks.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libgvplugin_gtk_C.a .libs/gvplugin_gtk.o .libs/gvdevice_gtk.o .libs/support.o .libs/interface.o .libs/callbacks.o 
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libgvplugin_gtk_C.a
libtool: link: ( cd ".libs" && rm -f "libgvplugin_gtk_C.la" && ln -s "../libgvplugin_gtk_C.la" "libgvplugin_gtk_C.la" )
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/gvplugin_gtk.o .libs/gvdevice_gtk.o .libs/support.o .libs/interface.o .libs/callbacks.o   -Wl,--as-needed -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -O2 -march=corei7-avx -Wl,-O1   -Wl,-soname -Wl,libgvplugin_gtk.so.6 -o .libs/libgvplugin_gtk.so.6.0.0
libtool: link: (cd ".libs" && rm -f "libgvplugin_gtk.so.6" && ln -s "libgvplugin_gtk.so.6.0.0" "libgvplugin_gtk.so.6")
libtool: link: (cd ".libs" && rm -f "libgvplugin_gtk.so" && ln -s "libgvplugin_gtk.so.6.0.0" "libgvplugin_gtk.so")
libtool: link: ( cd ".libs" && rm -f "libgvplugin_gtk.la" && ln -s "../libgvplugin_gtk.la" "libgvplugin_gtk.la" )
make[3]: Leaving directory '/var/tmp/portage/media-gfx/graphviz-2.36.0/work/graphviz-2.36.0/plugin/gtk'
Making all in lasi
make[3]: Entering directory '/var/tmp/portage/media-gfx/graphviz-2.36.0/work/graphviz-2.36.0/plugin/lasi'
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common  -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2  -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16  -I/usr/include/freetype2     -O2 -pipe -march=corei7-avx  -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c -o gvplugin_lasi.lo gvplugin_lasi.c
/bin/sh ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common  -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2  -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16  -I/usr/include/freetype2     -O2 -pipe -march=corei7-avx  -c -o gvrender_lasi.lo gvrender_lasi.cpp
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common  -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2  -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16  -I/usr/include/freetype2     -O2 -pipe -march=corei7-avx  -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c -o gvloadimage_lasi.lo gvloadimage_lasi.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -O2 -pipe -march=corei7-avx -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c gvloadimage_lasi.c  -fPIC -DPIC -o .libs/gvloadimage_lasi.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -O2 -pipe -march=corei7-avx -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c gvplugin_lasi.c  -fPIC -DPIC -o .libs/gvplugin_lasi.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -O2 -pipe -march=corei7-avx -c gvrender_lasi.cpp  -fPIC -DPIC -o .libs/gvrender_lasi.o
In file included from gvrender_lasi.cpp:21:0:
/usr/include/LASi.h:14:30: fatal error: freetype/ftglyph.h: No such file or directory
 #include <freetype/ftglyph.h>
                              ^
compilation terminated.
Makefile:785: recipe for target 'gvrender_lasi.lo' failed
make[3]: *** [gvrender_lasi.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-gfx/graphviz-2.36.0/work/graphviz-2.36.0/plugin/lasi'
Makefile:580: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/graphviz-2.36.0/work/graphviz-2.36.0/plugin'
Makefile:803: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/graphviz-2.36.0/work/graphviz-2.36.0'
Makefile:633: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-gfx/graphviz-2.36.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/graphviz-2.36.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/graphviz-2.36.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/graphviz-2.36.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/graphviz-2.36.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/graphviz-2.36.0/work/graphviz-2.36.0'
 * S: '/var/tmp/portage/media-gfx/graphviz-2.36.0/work/graphviz-2.36.0'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =graphviz-2.36.0
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-21 15:17:57 UTC
(In reply to adrin from comment #1)
> Accept my excuse for not being able to attach the build log, I get this
> error:
> 
> The webpage at https://bugs.gentoo.org/attachment.cgi might be temporarily
> down or it may have moved permanently to a new web address.
> Error code: ERR_ACCESS_DENIED

Please do try to attach the entire build log.
Comment 3 adrin 2014-03-21 15:23:18 UTC
Created attachment 373196 [details]
build.log
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-22 16:12:45 UTC
Should have been a revision bump, I guess.
Comment 5 adrin 2014-04-01 14:38:39 UTC
Re-emerging lasi-1.1.1 solved the problem, after the following bug was closed:
https://bugs.gentoo.org/show_bug.cgi?id=504888
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-11 09:38:07 UTC
*** Bug 519624 has been marked as a duplicate of this bug. ***