Subject: pkg/35031: devel/gdb compilation fails
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 11/10/2006 18:20:01
>Number:         35031
>Category:       pkg
>Synopsis:       devel/gdb compilation fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 10 18:20:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current within past 12 huors)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	devel/gdb fails to compile ... I am using pkg_comp to
	compile with pkg_comp configured with libkver and NetBSD 3.0 sets
	installed (which should be a fairly pure 3.0 environment).
	This is on NetBSD/i386

>How-To-Repeat:
	cd ..../pkgsrc/devel/gdb
	make				(probably)

	I actually do

	pkg_comp build devel/gdb

	Expect to see ...


cc -c -O2 -I/usr/include    -I. -I. -I./config -DLOCALEDIR="\"/usr/pkg/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  i386bsd-nat.c
i386bsd-nat.c: In function `_initialize_i386bsd_nat':
i386bsd-nat.c:422: error: dereferencing pointer to incomplete type
i386bsd-nat.c:435: error: dereferencing pointer to incomplete type
gmake[1]: *** [i386bsd-nat.o] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/devel/gdb/default/gdb-5.3/gdb'
gmake: *** [all-gdb] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/gdb
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/gdb
*** Error code 1

Stop.

>Fix:
	Don't care much, but I thought it worth reporting...