Subject: Re: pkg/36177
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: pkgsrc-bugs
Date: 04/21/2007 01:10:03
The following reply was made to PR pkg/36177; it has been noted by GNATS.
From: Jan Danielsson <jan.m.danielsson@gmail.com>
To: "Jeremy C. Reed" <reed@reedmedia.net>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/36177
Date: Sat, 21 Apr 2007 03:08:17 +0200
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig08A1C687B4DD522320D99E7F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Jeremy C. Reed wrote:
> Can you try the ghostscript 8.56 version?
>=20
> Its release notes say "Better support for 64-bit platforms".
>=20
> Edit the pkgsrc/print/ghostscript/Makefile to remove PKGREVISION and=20
> update version number on above two lines, do:
> make makesum
> make
This leads to a compilation problem. Looks pretty easy to fix, but
its way past my bed time, so I'll have to look at it tomorrow.
--------------------------
cp ./obj/jasper_1.dev ./obj/jasper.dev
cc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -DPNG_NO_ASSEMBLER_CODE
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Wall
-Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
-Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=3D"unsigned long int" -O2 -pipe
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
-Isrc/src/libjasper/include -I./obj -I./src -DJAS_CONFIGURE -o
=2E/obj/sjpx.o -c ./src/sjpx.c
src/sjpx.c:37: error: parse error before "err"
src/sjpx.c:38: warning: function declaration isn't a prototype
src/sjpx.c: In function `s_jpx_jas_error_cb':
src/sjpx.c:39: error: `err' undeclared (first use in this function)
src/sjpx.c:39: error: (Each undeclared identifier is reported only once
src/sjpx.c:39: error: for each function it appears in.)
src/sjpx.c:39: error: `msg' undeclared (first use in this function)
src/sjpx.c: In function `s_jpxd_init':
src/sjpx.c:62: warning: implicit declaration of function `jas_set_error_c=
b'
src/sjpx.c: At top level:
src/sjpx.c:459: warning: initialization from incompatible pointer type
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/home/pkgsrc/pkgsrc/print/ghostscript/work/.gcc/bin/gcc -DHAVE_MKSTEMP
-DHAVE_HYPOT -O2 -DPNG_NO_ASSEMBLER_CODE
-I/home/pkgsrc/pkgsrc/print/ghostscript/work/.buildlink/include
-I/home/pkgsrc/pkgsrc/print/ghostscript/work/.buildlink/include/freetype2=
-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
-Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common
-DHAVE_STDINT_H "-DGX_COLOR_INDEX_TYPE=3Dunsigned long int" -O2 -pipe
-Isrc/src/libjasper/include -I./obj -I./src -DJAS_CONFIGURE -o
=2E/obj/sjpx.o -c ./src/sjpx.c
-L/home/pkgsrc/pkgsrc/print/ghostscript/work/.buildlink/lib
gmake: *** [obj/sjpx.o] Error 1
*** Error code 2
Stop.
make: stopped in /home/pkgsrc/pkgsrc/print/ghostscript
*** Error code 1
Stop.
make: stopped in /home/pkgsrc/pkgsrc/print/ghostscript
--------------------------
--=20
Kind regards,
Jan Danielsson
--------------enig08A1C687B4DD522320D99E7F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
iD8DBQFGKWQHuPlHKFfKXTYRCsJhAJ42jpD1j/hVPBQAtPiiTPLw5G6PogCfZc4C
Ln0oE1sEH0PJyEr10CKtjPo=
=SPHb
-----END PGP SIGNATURE-----
--------------enig08A1C687B4DD522320D99E7F--