NetBSD Problem Report #15244

Received: (qmail 15921 invoked from network); 14 Jan 2002 13:14:02 -0000
Message-Id: <20020114131306.935E41878E@nardo.uninett.no>
Date: Mon, 14 Jan 2002 14:13:06 +0100 (CET)
From: he@uninett.no
Sender: he@nardo.uninett.no
Reply-To: he@uninett.no
To: gnats-bugs@gnats.netbsd.org
Subject: ucd-snmp-current does not build on NetBSD/i386 1.5.2
X-Send-Pr-Version: 3.95

>Number:         15244
>Category:       pkg
>Synopsis:       ucd-snmp-current does not build on NetBSD/i386 1.5.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    skrll
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 14 13:15:00 +0000 2002
>Closed-Date:    Tue Feb 12 16:10:15 +0000 2002
>Last-Modified:  Wed May 13 13:09:58 +0000 2015
>Originator:     Havard Eidnes
>Release:        NetBSD 1.5.2
>Organization:
UNINETT AS
>Environment:
NetBSD nsa.uninett.no 1.5.2 NetBSD 1.5.2 (GENERIC) #59: Tue Sep 18 14:16:20 CEST 2001     he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386

Architecture: i386
Machine: i386
>Description:
	Build failure of ucd-snmp-current.  End of compile log is:


cc -DINET6 -I/usr/pkgsrc/net/ucd-snmp-current/work/.buildlink/include -O2 -Dnetbsd1 -Dnetbsd -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -I/usr/pkgsrc/net/ucd-snmp-current/work/.buildlink/include -I/usr/include -c host/hr_disk.c  -fPIC -DPIC -o host/.libs/hr_disk.lo
host/hr_disk.c: In function `Save_HR_Disk_Specific':
host/hr_disk.c:758: invalid use of undefined type `struct disklabel'
host/hr_disk.c: In function `Save_HR_Disk_General':
host/hr_disk.c:775: `dktypenames' undeclared (first use in this function)
host/hr_disk.c:775: (Each undeclared identifier is reported only once
host/hr_disk.c:775: for each function it appears in.)
host/hr_disk.c:775: invalid use of undefined type `struct disklabel'
host/hr_disk.c: In function `Query_Disk':
host/hr_disk.c:826: sizeof applied to an incomplete type
host/hr_disk.c: At top level:
host/hr_disk.c:130: storage size of `HRD_info' isn't known
*** Error code 1

Stop.


>How-To-Repeat:
	Try to compile ucd-snmp-current 4.2.3 (i.e. what's in pkgsrc
	at the moment for ucd-snmp-current)
>Fix:
	Sorry, undiagnosed at the moment.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: skrll 
State-Changed-When: Wed Jan 30 10:13:33 PST 2002 
State-Changed-Why:  
The problem is that the configure script fails to detect the existance of 
sys/disklabel.h correctly as a warning is produced when sys/disklabel.h  
is included on its own. The netbsd-1-5 branch now has this fixed. 

There's is no obvious way to me to fix the configure script it for 
1.5.[12]. I'll keep thinking though. 
Responsible-Changed-From-To: pkg-manager->skrll 
Responsible-Changed-By: skrll 
Responsible-Changed-When: Wed Jan 30 10:22:40 PST 2002 
Responsible-Changed-Why:  
A reminder for me to look at the configure problem. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: skrll 
State-Changed-When: Tue Feb 12 08:08:56 PST 2002 
State-Changed-Why:  
There is a fix (upgrade to netbsd-1-5 or 1.5.3 when its released). 
Making the package work with 1.5.[12] is too difficult. 

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.