Subject: pkg/22742: pkg_install doesn't compile on debian/unstable
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <v.oostveen@hccnet.nl>
List: netbsd-bugs
Date: 09/10/2003 23:20:45
>Number:         22742
>Category:       pkg
>Synopsis:       pkg_install doesn't compile on debian/unstable
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 10 23:21:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bas van Oostveen
>Release:        pkgsrc on a debian/unstable system
>Organization:
na
>Environment:
Linux pharaoh 2.4.22-rc2-ac3 #3 Wed Aug 20 16:05:18 CEST 2003 i686 GNU/Linux

>Description:
when compiling libnbcompat on a debian/unstable system, as a dependency to pkgtools/pkg_install. i get the following error:

===> Building for libnbcompat-20030830
gcc  -I. -I.  -O2 -DHAVE_CONFIG_H -c fgetln.c
In file included from nbcompat.h:514,
                 from fgetln.c:39:
nbcompat/statfs.h:29: error: redefinition of `struct statfs'
*** Error code 1

Stop.

i've tested this on 2 debian/unstable systems and both give the same error.

regretfully i do not have the time to debug this any futher. (quick check of /usr/include/sys/* doesn't provide any clues)

hopefully this report helps a bit. any further questions, plz mail me
>How-To-Repeat:
run bmake again
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: