Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507712 - media-sound/musescore-1.3 failed: "mscore-1.3/mscore/mscore/genft.cpp:30:31: fatal error: freetype/tttables.h: No such file or directory"
Summary: media-sound/musescore-1.3 failed: "mscore-1.3/mscore/mscore/genft.cpp:30:31: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: freetype-2.5.1
  Show dependency tree
 
Reported: 2014-04-15 11:16 UTC by Xavier Miller (RETIRED)
Modified: 2014-04-16 06:11 UTC (History)
0 users

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


Attachments
build log (build.log,226.25 KB, text/x-log)
2014-04-15 11:17 UTC, Xavier Miller (RETIRED)
Details
patch to fix issue (musescore-freetype.patch,308 bytes, patch)
2014-04-15 11:59 UTC, Xavier Miller (RETIRED)
Details | Diff
musescore-1.3-freetype251.patch (musescore-1.3-freetype251.patch,527 bytes, patch)
2014-04-15 14:43 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2014-04-15 11:16:47 UTC
cd /var/tmp/portage/media-sound/musescore-1.3/work/musescore-1.3_build/mscore && /usr/bin/x86_64-gentoo-linux-gnu-g++  -DQT_CORE_LIB -DQT_DESIGNER_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB  -DNDEBUG -O2 -pipe -fomit-frame-pointer -march=native -mtune=native  -Wl,-rpath,/usr/lib64/qt4 -I/var/tmp/portage/media-sound/musescore-1.3/work/musescore-1.3_build/mscore -I/var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore/mscore -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtDesigner -isystem /usr/include/qt4/QtScript -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtWebKit -isystem /usr/include/qt4/QtScriptTools -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -I/var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore -I/var/tmp/portage/media-sound/musescore-1.3/work/musescore-1.3_build -I/var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore/scriptdebug -I/var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore/osdabzip -I/var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore/fluid -I/var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore/bww2mxml    -include /var/tmp/portage/media-sound/musescore-1.3/work/musescore-1.3_build/all.h -I/usr/include/freetype2 -o CMakeFiles/genft.dir/genft.cpp.o -c /var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore/mscore/genft.cpp
/var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore/mscore/genft.cpp:30:31: fatal error: freetype/tttables.h: No such file or directory
 #include <freetype/tttables.h>
                               ^
compilation terminated.
mscore/CMakeFiles/genft.dir/build.make:416: recipe for target 'mscore/CMakeFiles/genft.dir/genft.cpp.o' failed
make[2]: *** [mscore/CMakeFiles/genft.dir/genft.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/musescore-1.3/work/musescore-1.3_build'
CMakeFiles/Makefile2:603: recipe for target 'mscore/CMakeFiles/genft.dir/all' failed
make[1]: *** [mscore/CMakeFiles/genft.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-sound/musescore-1.3/work/musescore-1.3_build'
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-sound/musescore-1.3::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-sound/musescore-1.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/musescore-1.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/musescore-1.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/musescore-1.3/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/musescore-1.3/work/musescore-1.3_build'
 * S: '/var/tmp/portage/media-sound/musescore-1.3/work/mscore-1.3/mscore'

>>> Failed to emerge media-sound/musescore-1.3, Log file:





emerge -pv freetype

These are the packages that would be merged, in order:

Calculating dependencies            ... done!    
[ebuild   R    ] media-libs/freetype-2.5.3-r1:2  USE="X adobe-cff bzip2 infinality png -auto-hinter -bindist -debug -doc -fontforge (-harfbuzz) -static-libs -utils" 0 kB



Reproducible: Always




Portage 2.2.10 (default/linux/amd64/13.0/no-multilib, gcc-4.8.2, glibc-2.19, 3.14.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.14.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-4200U_CPU_@_1.60GHz-with-gentoo-2.2
KiB Mem:     8082988 total,   5890868 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 14 Apr 2014 19:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-gentoo-linux-gnu [disabled]
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.6
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
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.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo local proaudio pd-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE as-is freedist"
CBUILD="x86_64-gentoo-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
CHOST="x86_64-gentoo-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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 -pipe -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/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="/usr/local/portage/overlay /var/lib/layman/pro-audio /var/lib/layman/pd-overlay"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 apng branding bzip2 cairo cli cracklib crypt cryptsetup cups cxx dbus dri dts exif flac gif gpm gtk gudev iconv jack jpeg lcms libnotify libsamplerate mad mmx mng modules mp3 mpeg ncurses nls nptl ogg opengl openmp osc pam pango pcre pdf png qt4 readline sdl session sna sndfile spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev unicode usb uxa vorbis wmf x264 xcb xinerama xml xosd xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_BE fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2014-04-15 11:17:44 UTC
Created attachment 374976 [details]
build log
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2014-04-15 11:59:22 UTC
Created attachment 374978 [details, diff]
patch to fix issue

according to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733363
I applied the patch and musescore compiles and runs fine.
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2014-04-15 12:40:17 UTC
(In reply to Xavier Miller from comment #2)
> Created attachment 374978 [details, diff] [details, diff]
> patch to fix issue
> 
> according to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733363
> I applied the patch and musescore compiles and runs fine.

The patch provided by Debian is related to 1.2. So it seems musescore-1.2 should also be patched.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-15 14:43:05 UTC
Created attachment 375010 [details, diff]
musescore-1.3-freetype251.patch

Please try this patch. It remains backwards compatibility with older freetype versions.
Comment 5 Xavier Miller (RETIRED) gentoo-dev 2014-04-15 19:40:08 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> Created attachment 375010 [details, diff] [details, diff]
> musescore-1.3-freetype251.patch
> 
> Please try this patch. It remains backwards compatibility with older
> freetype versions.

This patch also works!

Thank you Lars!
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-16 06:11:26 UTC
+  16 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> musescore-1.3.ebuild,
+  +files/musescore-1.3-freetype251.patch:
+  Fixed compilation with >=freetype-2.5.1 (bug #507712).
+

Thanks for testing the patch :)