Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2012 23:53:47 +1000
From:      "Dewayne" <dewayne.geraghty@heuristicsystems.com.au>
To:        <gnome@FreeBSD.org>
Subject:   Freetype failing to compile on FreeBSD 9.0 Stable
Message-ID:  <38E164A34C664523BB0E8D22F74C7A56@white>

next in thread | raw e-mail | index | archive | help
Hi Gnome,

Thanks for taking care of the security/upgrade of freetype.  Unfortunately
during the ghostscript9 build, I'm receiving the following build problem on

FreeBSD b1 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Apr  7 11:56:30 EST 2012
(downloaded and built on same day).

I rebuild all 419 ports that I use, each week (during testing) and
ghostscript was building cleanly until today.

cc  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE
-O2 -pipe -pipe -O2 -g0 -ggdb0 -DSTRIP_FBSDID -UDEBUGGING -UEBUGGING
-fno-strict-aliasing -fPIC -DUPD_SIGNAL=0 -I.
-I/var/ports/usr/ports/print/ghostscript9-nox11/work/ghostscript-9.05/lcms/
include  -I/usr/local/include/libpng
-I/var/ports/usr/ports/print/ghostscript9-nox11/work/ghostscript-9.05/openj
peg/libopenjpeg
-I/var/ports/usr/ports/print/ghostscript9-nox11/work/ghostscript-9.05/openj
peg  -I/usr/local/include -I/usr/local/include/freetype2  -Wall
-Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes
-Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement
-fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1
-DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -pipe -pipe -O2 -g0 -ggdb0
-DSTRIP_FBSDID -UDEBUGGING -UEBUGGING -fno-strict-aliasing -DUSE_LIBPAPER
-I/usr/local/include   -DGS_DEVS_SHARED
-DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/9.05\"  -DA4
-Ifreetype/include -DFT2_BUILD_LIBRARY -DDARWIN_NO_CARBON
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -o ./soobj/fttype1.o -c
freetype/src/base/fttype1.c
In file included from
freetype/include/freetype/internal/services/svpsinfo.h:24,
                 from freetype/src/base/fttype1.c:23:
freetype/include/freetype/internal/t1types.h:82: error: nested redefinition
of 'enum T1_EncodingType_'
freetype/include/freetype/internal/t1types.h:82: error: redeclaration of
'enum T1_EncodingType_'
freetype/include/freetype/internal/t1types.h:83: error: redeclaration of
enumerator 'T1_ENCODING_TYPE_NONE'
/usr/local/include/freetype2/freetype/t1tables.h:508: error: previous
definition of 'T1_ENCODING_TYPE_NONE' was here
freetype/include/freetype/internal/t1types.h:84: error: redeclaration of
enumerator 'T1_ENCODING_TYPE_ARRAY'
/usr/local/include/freetype2/freetype/t1tables.h:509: error: previous
definition of 'T1_ENCODING_TYPE_ARRAY' was here
freetype/include/freetype/internal/t1types.h:85: error: redeclaration of
enumerator 'T1_ENCODING_TYPE_STANDARD'
/usr/local/include/freetype2/freetype/t1tables.h:510: error: previous
definition of 'T1_ENCODING_TYPE_STANDARD' was here
freetype/include/freetype/internal/t1types.h:86: error: redeclaration of
enumerator 'T1_ENCODING_TYPE_ISOLATIN1'
/usr/local/include/freetype2/freetype/t1tables.h:511: error: previous
definition of 'T1_ENCODING_TYPE_ISOLATIN1' was here
freetype/include/freetype/internal/t1types.h:89: error: redeclaration of
enumerator 'T1_ENCODING_TYPE_EXPERT'
/usr/local/include/freetype2/freetype/t1tables.h:514: error: previous
definition of 'T1_ENCODING_TYPE_EXPERT' was here
freetype/include/freetype/internal/t1types.h:89: error: redefinition of
typedef 'T1_EncodingType'
/usr/local/include/freetype2/freetype/t1tables.h:514: error: previous
declaration of 'T1_EncodingType' was here
gmake[2]: *** [soobj/fttype1.o] Error 1
gmake[2]: Leaving directory
`/var/ports/usr/ports/print/ghostscript9-nox11/work/ghostscript-9.05'
gmake[1]: *** [so-subtarget] Error 2
gmake[1]: Leaving directory
`/var/ports/usr/ports/print/ghostscript9-nox11/work/ghostscript-9.05'
gmake: *** [so] Error 2
*** Error code 1

Stop in /usr/ports/print/ghostscript9-nox11.

Please advise if you require further information from me.

Regards, Dewayne.
Sydney, Australia (GMT +10 hours)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38E164A34C664523BB0E8D22F74C7A56>