dvi2ps: FTBFS: ./freetype.h:1:22: error: #include nested too deeply
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dvi2ps (Debian) |
Fix Released
|
Unknown
|
|||
dvi2ps (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Imported from Debian bug http://
Source: dvi2ps
Version: 5.1j-1
Severity: serious
Tags: jessie sid
User: <email address hidden>
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I/usr/
> In file included from ./freetype.h:2:0,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from ./freetype.h:2,
> from freetype.h:2,
> from ttfont.c:15:
> ./freetype.h:1:22: error: #include nested too deeply
> #include <ft2build.h>
> ^
> ./freetype.h:2:23: error: #include nested too deeply
> #include FT_FREETYPE_H
> ^
> ttfont.c:28:1: error: unknown type name 'FT_Library'
> static FT_Library library;
> ^
> ttfont.c:29:1: error: unknown type name 'FT_Face'
> static FT_Face face;
> ^
> ttfont.c:30:1: error: unknown type name 'FT_Matrix'
> static FT_Matrix oscale = {(1<<16)/64, 0, 0, (1<<16)/64};
> ^
> ttfont.c:30:1: warning: excess elements in scalar initializer [enabled by default]
> ttfont.c:30:1: warning: (near initialization for 'oscale') [enabled by default]
> ttfont.c:30:1: warning: excess elements in scalar initializer [enabled by default]
> ttfont.c:30:1: warning: (near initialization for 'oscale') [enabled by default]
> ttfont.c:30:1: warning: excess elements in scalar initializer [enabled by default]
> ttfont.c:30:1: warning: (near initialization for 'oscale') [enabled by default]
> ttfont.c: In function 'ft_char':
> ttfont.c:71:32: error: 'FT_LOAD_
> if (FT_Load_
> ^
> ttfont.c:71:32: note: each undeclared identifier is reported only once for each function it appears in
> ttfont.c:77:29: error: invalid type argument of '->' (have 'int')
> if (FT_Render_
> ^
> ttfont.c:77:38: error: 'FT_RENDER_
> if (FT_Render_
> ^
> ttfont.c: In function 'fto_char':
> ttfont.c:98:32: error: 'FT_LOAD_NO_BITMAP' undeclared (first use in this function)
> if (FT_Load_
> ^
> ttfont.c:98:50: error: 'FT_LOAD_
> if (FT_Load_
> ^
> ttfont.c:101:32: error: invalid type argument of '->' (have 'int')
> FT_Outline_
> ^
> ttfont.c: In function 'read_ft_fontinfo':
> ttfont.c:266:5: error: unknown type name 'FT_CharMap'
> FT_CharMap charmap;
> ^
> ttfont.c:267:5: error: unknown type name 'FT_UShort'
> FT_UShort pid, eid;
> ^
> ttfont.c:309:19: error: invalid type argument of '->' (have 'int')
> cmcount = face->num_charmaps;
> ^
> ttfont.c:311:16: error: invalid type argument of '->' (have 'int')
> charmap = face->charmaps[
> ^
> ttfont.c:312:15: error: invalid type argument of '->' (have 'int')
> pid = charmap-
> ^
> ttfont.c:313:15: error: invalid type argument of '->' (have 'int')
> eid = charmap-
> ^
> ttfont.c:354:19: error: invalid type argument of '->' (have 'int')
> npixel = face->glyph-
> ^
> ttfont.c:355:19: error: invalid type argument of '->' (have 'int')
> nwidth = face->glyph-
> ^
> ttfont.c:356:20: error: invalid type argument of '->' (have 'int')
> nheight = face->glyph-
> ^
> ttfont.c:357:19: error: invalid type argument of '->' (have 'int')
> nxoff = -face->
> ^
> ttfont.c:358:29: error: invalid type argument of '->' (have 'int')
> ndepth = nheight - face->glyph-
> ^
> ttfont.c:367:37: error: invalid type argument of '->' (have 'int')
> tfmw = dev_fto_
> ^
> ttfont.c:373:43: error: invalid type argument of '->' (have 'int')
> dev_fto_
> ^
> ttfont.c: In function 'read_jft_finfo':
> ttfont.c:410:5: error: unknown type name 'FT_CharMap'
> FT_CharMap charmap;
> ^
> ttfont.c:411:5: error: unknown type name 'FT_UShort'
> FT_UShort pid, eid;
> ^
> ttfont.c:446:19: error: invalid type argument of '->' (have 'int')
> cmcount = face->num_charmaps;
> ^
> ttfont.c:448:16: error: invalid type argument of '->' (have 'int')
> charmap = face->charmaps[
> ^
> ttfont.c:449:15: error: invalid type argument of '->' (have 'int')
> pid = charmap-
> ^
> ttfont.c:450:15: error: invalid type argument of '->' (have 'int')
> eid = charmap-
> ^
> ttfont.c:496:19: error: invalid type argument of '->' (have 'int')
> npixel = face->glyph-
> ^
> ttfont.c:497:19: error: invalid type argument of '->' (have 'int')
> nwidth = face->glyph-
> ^
> ttfont.c:498:20: error: invalid type argument of '->' (have 'int')
> nheight = face->glyph-
> ^
> ttfont.c:499:19: error: invalid type argument of '->' (have 'int')
> nxoff = -face->
> ^
> ttfont.c:500:29: error: invalid type argument of '->' (have 'int')
> ndepth = nheight - face->glyph-
> ^
> ttfont.c:510:34: error: invalid type argument of '->' (have 'int')
> dev_jfto_
> ^
> ttfont.c:518:13: error: invalid type argument of '->' (have 'int')
> &(face-
> ^
> make[2]: *** [ttfont.o] Error 1
The full build log is available from:
http://
A list of current common problems and possible solutions is available at
http://
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Related branches
- Andrew Starr-Bochicchio (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 178 lines (+83/-7)10 files modified.pc/applied-patches (+1/-0)
Makefile.in (+1/-1)
debian/changelog (+6/-0)
debian/control (+2/-1)
debian/patches/09_freetype_header.patch (+66/-0)
debian/patches/series (+1/-0)
freetype.h (+0/-2)
pstt.c (+2/-1)
pstt2t1.c (+2/-1)
ttfont.c (+2/-1)
Changed in dvi2ps (Ubuntu): | |
importance: | Undecided → High |
tags: | added: ftbfs trusty |
Changed in dvi2ps (Debian): | |
importance: | Undecided → Unknown |
Changed in dvi2ps (Debian): | |
status: | New → Fix Released |
This bug was fixed in the package dvi2ps - 5.1j-1ubuntu1
---------------
dvi2ps (5.1j-1ubuntu1) trusty; urgency=medium
* New 09_freetype_ header. patch: fix FTBFS (LP: #1277220)
-- Leo Iannacone <email address hidden> Thu, 27 Feb 2014 00:26:36 +0100