Subject: pkg/7960: kdelibs not building anymore
To: None <gnats-bugs@gnats.netbsd.org>
From: Bjoern Labitzke <hermit@labitzke.isdn.cs.tu-berlin.de>
List: netbsd-bugs
Date: 07/11/1999 06:23:59
>Number:         7960
>Category:       pkg
>Synopsis:       kdelibs doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 11 06:05:01 1999
>Last-Modified:
>Originator:     Bjoern Labitzke
>Organization:
Bjoern Labitzke  <hermit@cs.tu-berlin.de>
   Use PGP! (Don't you use envelopes for your letters?)
>Release:        -current from 10.7.1999 (as is pkgsrc) <NetBSD-current source date>
>Environment:
	
System: NetBSD labitzke.isdn.cs.tu-berlin.de 1.4F NetBSD 1.4F (LABITZKE) #93: Sun Jul 11 03:26:57 CEST 1999 root@labitzke.isdn.cs.tu-berlin.de:/usr/src/sys/arch/i386/compile/LABITZKE i386


>Description:
Trying to build kde the compilation gets stuck for kdelibs. The output is:

Making all in kimgio
gmake[2]: Entering directory `/usr/pkgobj/x11/kdelibs/work/kdelibs-1.1.1/kimgio'
/usr/pkg/bin/pkglibtool-1.2p1 --cplusplus --install-la --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/qt  -I/usr/X11R6/include    -O2 -I/usr/pkg/include -I/usr/pkg/include -c jpeg.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/qt -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/pkg/include -c -fPIC -DPIC jpeg.cpp
In file included from /usr/pkg/include/jpeglib.h:26,
                 from jpeg.cpp:33:
/usr/pkg/include/jmorecfg.h:140: conflicting types for `typedef short int UINT8'
/usr/X11R6/include/qt/qglobal.h:343: previous declaration as `typedef unsigned char UINT8'
/usr/pkg/include/jmorecfg.h:149: conflicting types for `typedef unsigned int UINT16'
/usr/X11R6/include/qt/qglobal.h:345: previous declaration as `typedef short unsigned int UINT16'
jpeg.cpp: In function `void kimgio_jpeg_read(class QImageIO *)':
jpeg.cpp:178: warning: assignment to `unsigned char *' from `JSAMPLE *' changes signedness
jpeg.cpp:190: warning: assignment to `unsigned char *' from `JSAMPLE *' changes signedness
jpeg.cpp: In function `void qimageio_jpeg_src(struct jpeg_decompress_struct *, class QDataStream *)':
jpeg.cpp:232: too many arguments to function
jpeg.cpp:240: too many arguments to function
jpeg.cpp:245: assignment to `void (*)()' from `void (*)(jpeg_decompress_struct *)'
jpeg.cpp:246: assignment to `boolean (*)()' from `boolean (*)(jpeg_decompress_struct *)'
jpeg.cpp:247: assignment to `void (*)()' from `void (*)(jpeg_decompress_struct *, long int)'
jpeg.cpp:249: assignment to `void (*)()' from `void (*)(jpeg_decompress_struct *)'
gmake[2]: *** [jpeg.lo] Error 1
gmake[2]: Leaving directory `/usr/pkgobj/x11/kdelibs/work/kdelibs-1.1.1/kimgio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgobj/x11/kdelibs/work/kdelibs-1.1.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
*** Error code 1


qt and the jpeg-package have been built in the last week, after successfully
changing the system to ELF. Except the emul/aout-libraries and a few not
related programs there is no non-ELF code on the machine, if that matters.
	
>How-To-Repeat:
Do a make in x11/kde or x11/kdelibs.
	
>Fix:
Sorry, non provided.
	
>Audit-Trail:
>Unformatted: