Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520750 - media-sound/lilypond-2.16.2 - open-type-font.cc:39:71: error: 'FT_Load_Sfnt_Table' was not declared in this scope
Summary: media-sound/lilypond-2.16.2 - open-type-font.cc:39:71: error: 'FT_Load_Sfnt_T...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marijn Schouten (RETIRED)
URL:
Whiteboard:
Keywords:
: 522280 522390 (view as bug list)
Depends on:
Blocks: freetype-2.5.1
  Show dependency tree
 
Reported: 2014-08-24 09:28 UTC by Andre Hinrichs
Modified: 2014-10-12 18:16 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,93.77 KB, text/plain)
2014-08-24 09:28 UTC, Andre Hinrichs
Details
emerge --info (emerge.info,5.50 KB, text/plain)
2014-08-24 09:30 UTC, Andre Hinrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Hinrichs 2014-08-24 09:28:39 UTC
Created attachment 383500 [details]
build.log

Currently lilypond failes to compile on my system.
The complete build.log and emerge.info will be attached.
Here is the error message:

open-type-font.cc: In function 'FT_Byte* load_table(const char*, FT_Face, FT_ULong*)':
open-type-font.cc:39:71: error: 'FT_Load_Sfnt_Table' was not declared in this scope
make[1]: *** [out/open-type-font.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2/lily'
make: *** [all] Error 2
 * ERROR: media-sound/lilypond-2.16.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-sound/lilypond-2.16.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/lilypond-2.16.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/lilypond-2.16.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/lilypond-2.16.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2'
 * S: '/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2'

>>> Failed to emerge media-sound/lilypond-2.16.2, Log file:

>>>  '/var/tmp/portage/media-sound/lilypond-2.16.2/temp/build.log'

 * Messages for package media-sound/lilypond-2.16.2:

 * ERROR: media-sound/lilypond-2.16.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-sound/lilypond-2.16.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/lilypond-2.16.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/lilypond-2.16.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/lilypond-2.16.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2'
 * S: '/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2'
Comment 1 Andre Hinrichs 2014-08-24 09:30:04 UTC
Created attachment 383502 [details]
emerge --info
Comment 2 Andre Hinrichs 2014-08-24 10:04:13 UTC
I've just tried lilypond-2.18.2 and it compiles fine...
Comment 3 Rafał Mużyło 2014-08-24 19:17:15 UTC
The trivial reason lies a few lines earlier:
open-type-font.cc:26:31: warning: freetype/tttables.h: No such file or directory

meaning this is a stable request.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-07 21:34:19 UTC
*** Bug 522280 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-08 18:07:11 UTC
*** Bug 522390 has been marked as a duplicate of this bug. ***
Comment 6 Robert Spillner 2014-09-09 21:19:48 UTC
Hi,

why not merge something like this patch for lilypond-2.16.2 when using
>=freetype-2.5.1?

diff --git a/lily/freetype-error.cc b/lily/freetype-error.cc
index 00e5cae..88af76c 100644
--- a/lily/freetype-error.cc
+++ b/lily/freetype-error.cc
@@ -31,7 +31,7 @@ const struct Freetype_error_message
   const char *err_msg;
 } ft_errors[] =
 
-#include <freetype/fterrors.h>
+#include FT_ERRORS_H
 
   ;
 
diff --git a/lily/open-type-font.cc b/lily/open-type-font.cc
index fc97b99..4d33d15 100644
--- a/lily/open-type-font.cc
+++ b/lily/open-type-font.cc
@@ -23,7 +23,7 @@
 
 using namespace std;
 
-#include <freetype/tttables.h>
+#include FT_TRUETYPE_TABLES_H
 
 #include "dimensions.hh"
 #include "international.hh"
diff --git a/lily/pango-font.cc b/lily/pango-font.cc
index 70810b5..9057b9d 100644
--- a/lily/pango-font.cc
+++ b/lily/pango-font.cc
@@ -22,7 +22,7 @@
 #define PANGO_ENABLE_BACKEND
 
 #include <pango/pangoft2.h>
-#include <freetype/ftxf86.h>
+#include FT_XFREE86_H
 
 #include <map>
 #include <cstdio>
diff --git a/lily/ttf.cc b/lily/ttf.cc
index be7cfe5..d84f0a3 100644
--- a/lily/ttf.cc
+++ b/lily/ttf.cc
@@ -20,7 +20,7 @@
 #include <cstdio>
 #include "freetype.hh"
 
-#include <freetype/tttables.h>
+#include FT_TRUETYPE_TABLES_H
 
 #include "international.hh"
 #include "memory-stream.hh"
Comment 7 Tim Harder gentoo-dev 2014-09-11 03:34:31 UTC
(In reply to Robert Spillner from comment #6)
> why not merge something like this patch for lilypond-2.16.2 when using
> >=freetype-2.5.1?

It's past time to stabilize 2.18.2 so we should do that instead.
Comment 8 Robert Spillner 2014-09-26 12:40:47 UTC
Alas, when's this going to happen? Why not patch this version so "emerge world" can run without interruption?
Comment 9 Tim Harder gentoo-dev 2014-09-26 16:46:49 UTC
(In reply to Robert Spillner from comment #8)
> Alas, when's this going to happen? Why not patch this version so "emerge
> world" can run without interruption?

Because patching will create a new ebuild revision which would generally go through the same stabilization process anyway.

I'd advise adding 2.18.2 to your package.accept_keywords for now and wait for it to get stabilized.
Comment 10 Tim Harder gentoo-dev 2014-09-26 16:55:44 UTC
2.18.2 is getting stabilized in bug #523818, this bug will be closed once it's stabilized.
Comment 11 Tim Harder gentoo-dev 2014-10-12 18:16:36 UTC
2.18.2 is now stabilized.