pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40664: patches/patch-ai in print/ghostscript in not portable
>Number: 40664
>Category: pkg
>Synopsis: patches/patch-ai in print/ghostscript in not portable
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 16 14:00:00 +0000 2009
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc
>Description:
compilation of print/ghostscript fails on Solaris and probably other non-BSD
architectures:
gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64
-DHAVE_FONTCONFIG -O2 -I/usr/pkgsrc/20090209/include
-I/usr/pkgsrc/20090209/include/freetype2 -I/usr/pkgsrc/20090209/gcc34/include
-I/usr/include -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long long" -O -DA4 -fPIC
-I/usr/pkgsrc/20090209/include -I/usr/pkgsrc/20090209/include/freetype2
-I/usr/pkgsrc/20090209/gcc34/include -I/usr/include -DUSE_LIBPAPER
-I./obj/../soobj -I./base -o ./obj/../soobj/gsromfs1.o -c
./obj/../soobj/gsromfs1.c
./obj/../soobj/gsromfs1.c:8: error: `qd' undeclared here (not in a function)
gmake[1]: *** [obj/../soobj/gsromfs1.o] Error 1
gmake[1]: Leaving directory
`/software/pkgsrc/source/pkgsrc/print/ghostscript/work.spare4200/ghostscript-8.64'
gmake: *** [so] Error 2
*** Error code 2
Stop.
The reason is that the format string "qd" introduced in patches/patch-ai is
unknown. To quote from NetBSD's fprintf(3):
"The q modifier is a BSD extension and should not be used in portable programs."
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index