ports/172635: [print/ghostscript9] Build error when lcms2-2.4 is installed
Bengt Ahlgren
bengta at sics.se
Fri Oct 12 10:40:01 UTC 2012
>Number: 172635
>Category: ports
>Synopsis: [print/ghostscript9] Build error when lcms2-2.4 is installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 12 10:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Bengt Ahlgren
>Release: 8.3-RELEASE-p4
>Organization:
>Environment:
FreeBSD xx.xx.xx 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #0 r241445: Thu Oct 11 19:32:00 CEST 2012 bengta at xx.sics.se:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
print/ghostscript9 does not build when the new version of lcms2 (2.4) is installed. It seems the build is picking up headers for lcms2 in /usr/include instead of the one that comes with ghostscript.
cc -O2 -pipe -fno-strict-aliasing -fPIC -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript9/work/ghostscript-9.05/lcms/include -I/usr/local/include/libpng -I/usr/ports/print/ghostscript9/work/ghostscript-9.05/openjpeg/libopenjpeg -I/usr/ports/print/ghostscript9/work/ghostscript-9.05/openjpeg -I/usr/local/include -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 int" -O2 -pipe -fno-strict-aliasing -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/usr/local/include -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/9.05\" -DA4 -Ilcms2/include -o ./soobj/cmscam02.o -c lcms2/src/cmscam02.c
In file included from lcms2/src/cmscam02.c:27:
lcms2/src/lcms2_internal.h:397: error: conflicting types for '_cmsStageToneCurvesData'
/usr/local/include/lcms2_plugin.h:503: error: previous declaration of '_cmsStageToneCurvesData' was here
lcms2/src/lcms2_internal.h:404: error: conflicting types for '_cmsStageMatrixData'
/usr/local/include/lcms2_plugin.h:510: error: previous declaration of '_cmsStageMatrixData' was here
lcms2/src/lcms2_internal.h:419: error: conflicting types for '_cmsStageCLutData'
/usr/local/include/lcms2_plugin.h:525: error: previous declaration of '_cmsStageCLutData' was here
lcms2/src/lcms2_internal.h:456: error: expected specifier-qualifier-list before '_cmsOPTfreeDataFn'
lcms2/src/lcms2_internal.h:551: error: conflicting types for '_cmsTransformFn'
/usr/local/include/lcms2_plugin.h:568: error: previous declaration of '_cmsTransformFn' was here
gmake[2]: *** [soobj/cmscam02.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/usr/ports/print/ghostscript9/work/ghostscript-9.05'
gmake[1]: *** [so-subtarget] Error 2
gmake[1]: Leaving directory `/usr/ports/print/ghostscript9/work/ghostscript-9.05'
gmake: *** [so] Error 2
*** Error code 1
Stop in /usr/ports/print/ghostscript9.
*** Error code 1
Stop in /usr/ports/print/ghostscript9.
>How-To-Repeat:
install graphics/lcms2
build print/ghostscript9
>Fix:
workaround: remove graphics/lcms2 before building print/ghostscript9
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list