Subject: pkg/29120: netpbm fails build in -current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <htodd@twofifty.com>
List: pkgsrc-bugs
Date: 01/25/2005 19:22:00
>Number: 29120
>Category: pkg
>Synopsis: netpbm fails build in -current (jasper errors?)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 25 19:22:00 +0000 2005
>Originator: H. Todd Fujinaka
>Release: NetBSD 2.99.15
>Organization:
None
>Environment:
System: NetBSD kerry.i8u.org 2.99.15 NetBSD 2.99.15 (KERRY) #73: Tue Jan 25 09:20:09 PST 2005 htodd@kerry.i8u.org:/usr/obj/sys/arch/i386/compile.i386/KERRY i386
Architecture: i386
Machine: i386
>Description:
Not really sure what's wrong, but here's part of the build log. .work.log is missing:
cat /dev/null >partlist
echo /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_debug.o /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_getopt.o /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_image.o /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_init.o /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_malloc.o /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_seq.o /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_stream.o /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_string.o /usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_tvp.o /usr/obj/pkg/graphics/netpbm/wo!
rk.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/jas_version.o >>partlist
cc -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/../include -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDDEF_H=1 -DEXCLUDE_BMP_SUPPORT -DEXCLUDE_RAS_SUPPORT -DEXCLUDE_MIF_SUPPORT -DEXCLUDE_JPG_SUPPORT -DEXCLUDE_PGX_SUPPORT -DEXCLUDE_PNM_SUPPORT jas_debug.c
cc -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/../include -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDDEF_H=1 -DEXCLUDE_BMP_SUPPORT -DEXCLUDE_RAS_SUPPORT -DEXCLUDE_MIF_SUPPORT -DEXCLUDE_JPG_SUPPORT -DEXCLUDE_PGX_SUPPORT -DEXCLUDE_PNM_SUPPORT jas_getopt.c
cc -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/obj/pkg/graphics/netpbm/work.i386/netpbm-10.26.1/converter/other/jpeg2000/libjasper/base/../include -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDDEF_H=1 -DEXCLUDE_BMP_SUPPORT -DEXCLUDE_RAS_SUPPORT -DEXCLUDE_MIF_SUPPORT -DEXCLUDE_JPG_SUPPORT -DEXCLUDE_PGX_SUPPORT -DEXCLUDE_PNM_SUPPORT jas_image.c
jas_image.c:166: error: conflicting types for `jas_image_create'
/usr/pkg/include/jasper/jas_image.h:302: error: previous declaration of `jas_image_create'
jas_image.c: In function `jas_image_create':
jas_image.c:177: error: structure has no member named `colorspace_'
jas_image.c: In function `jas_image_create0':
jas_image.c:235: error: structure has no member named `colorspace_'
jas_image.c:235: error: `JAS_IMAGE_CS_UNKNOWN' undeclared (first use in this function)
jas_image.c:235: error: (Each undeclared identifier is reported only once
jas_image.c:235: error: for each function it appears in.)
jas_image.c:240: error: structure has no member named `iccp_'
jas_image.c:241: error: structure has no member named `iccplen_'
jas_image.c: At top level:
>How-To-Repeat:
cd pkgsrc/graphics/netpbm && make update
>Fix:
>Unformatted: