tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ghostscript-agpl, netbsd-7, freetype2



On Mon, Dec 11, 2017 at 08:17:46PM -0500, Greg Troxel wrote:
> 
> As usual I am rebuilding everything on a number of computers.
> 
> One test box is netbsd-7, i386, with native Xorg.
> ghostscript-agpl fails, and I am 99% sure the issue is that it wants
> newer freetype2 than is included in netbsd-7.  On a system with
> X11_TYPE=modular, and on a netbsd-8 system, it builds fine.
> 
> I tried to ask for newer freetype2 with
> 
> BUILDLINK_API_DEPENDS.freetype2+=       freetype2>=2.8.0
> 
> in ghostscript-agpl/Makefile, but that didn't seem to work.  I wonder
> what I am missing, or if there is something not quite right with
> ghostscript-agpl/builtin.mk.
> 
> 
> 
> gcc  -DHAVE_MKSTEMP  -DHAVE_FSEEKO  -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE   -DHAVE_BSWAP32  -DHAVE_STRERROR -DHAVE_ISNAN -DHAVE_ISINF -DHAVE_PREAD_PWRITE=1 -DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE -O2 -fPIC -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1  -O2 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -DUSE_LIBPAPER -I/usr/pkg/include    -I./soobj -I./base -I./devices  -DWHICH_CMS="lcms2" -O2 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -DUSE_LIBPAPER -I/usr/X11R7/include/freetype2  -o ./soobj/fapi_ft.o -c ./base/fapi_ft.c
> ./base/fapi_ft.c:56:30: fatal error: ftttdrv.h: No such file or directory
>  #include FT_TRUETYPE_DRIVER_H
>                               ^
> compilation terminated.
> base/lib.mak:1306: recipe for target 'soobj/fapi_ft.o' failed
> gmake[2]: *** [soobj/fapi_ft.o] Error 1
> gmake[2]: Leaving directory '/usr/ANONCVS/pkgsrc/print/ghostscript-agpl/work/ghostscript-9.22'
> base/unix-dll.mak:281: recipe for target 'so-only-subtarget' failed
> gmake[1]: *** [so-only-subtarget] Error 2
> gmake[1]: Leaving directory '/usr/ANONCVS/pkgsrc/print/ghostscript-agpl/work/ghostscript-9.22'
> base/unix-dll.mak:244: recipe for target 'so' failed
> gmake: *** [so] Error 2
> *** Error code 2

You refound PR 50902.

 Thomas


Home | Main Index | Thread Index | Old Index