Subject: pkg/29454: graphics/mng breaks during build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 02/19/2005 15:08:01
>Number:         29454
>Category:       pkg
>Synopsis:       graphics/mng breaks during build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 19 15:08:00 +0000 2005
>Originator:     diro@nixsys.bz
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

Saw this a few days ago and spent a short while on it, but nothing fixed yet:

 cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libmng\" -DVERSION=\"1.0.9\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DMNG_BUILD_SO=1 -DMNG_SUPPORT_FULL=1 -DMNG_SUPPORT_READ=1 -DMNG_SUPPORT_WRITE=1 -DMNG_SUPPORT_DISPLAY=1 -DMNG_SUPPORT_DYNAMICMNG=1 -DMNG_ACCESS_CHUNKS=1 -DMNG_STORE_CHUNKS=1 -DMNG_ERROR_TELLTALE=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBLCMS=1 -DMNG_FULL_CMS=1 -I. -I/usr/src/sys/pkgsrc/graphics/mng/work/.buildlink/include -O2 -mieee -c libmng_callback_xs.c  -fPIC -DPIC -o .libs/libmng_callback_xs.o
 In file included from libmng.h:301,
                  from libmng_callback_xs.c:62:
libmng_conf.h:233: Invalid token in expression
libmng_conf.h:244: Invalid token in expression
In file included from /usr/src/sys/pkgsrc/graphics/mng/work/.buildlink/include/jpeglib.h:24,
                   from libmng_types.h:192,
                   from libmng.h:379,
                   from libmng_callback_xs.c:62:
/usr/src/sys/pkgsrc/graphics/mng/work/.buildlink/include/jconfig.h:12: warning: `HAVE_STDLIB_H' redefined
*Initialization*:1: warning: this is the location of the previous definition
*** Error code 1

>How-To-Repeat:
	make graphics/mng in pkgsrc-current
>Fix: