NetBSD Problem Report #42077
From kre@munnari.OZ.AU Thu Sep 17 14:07:41 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 0D35263C2E4
for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Sep 2009 14:07:41 +0000 (UTC)
Message-Id: <200909171407.n8HE7ZLe017967@jade.coe.psu.ac.th>
Date: Thu, 17 Sep 2009 21:07:35 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: sysutils/devkitd compile errors (NetBSD 4.0 / i386)
X-Send-Pr-Version: 3.95
>Number: 42077
>Category: pkg
>Synopsis: sysutils/devkitd compile errors (NetBSD 4.0 / i386)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: wiz
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 17 14:10:01 +0000 2009
>Closed-Date: Tue Sep 22 10:12:39 +0000 2009
>Last-Modified: Tue Sep 22 10:15:03 +0000 2009
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 pkgsrc current 2009-09-17
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
sysutils/devkitd doesn't compile in a NetBSD 4.0 release
environment. I suspect it isn't intended to, but its
Makefile does say...
ONLY_FOR_PLATFORM= NetBSD-*-*
without any restrictions on netBSD versions.
>How-To-Repeat:
Attempt to build sysutils/devkitd on a NetBSD 4.0 (release)
system. I use pkg_comp with 4.0 release sets installed to
obtain that environment (and libkver so uname, etc, work).
(I don't use x*, but that's not relevant here).
In that environment I see ...
gmake[1]: Entering directory `/pkg_comp/obj/pkgsrc/sysutils/devkitd/4x/devkitd-jmcneill-003'
cc -DHAVE_CONFIG_H -I. -DPACKAGE_LIBEXEC_DIR=\""/usr/pkg/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/pkg/etc"\" -DPACKAGE_DATA_DIR=\""/usr/pkg/share"\" -DPACKAGE_BIN_DIR=\""/usr/pkg/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/usr/pkg/var"\" -DPACKAGE_LOCALE_DIR=\""/usr/pkg/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/pkg/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_LOG_DOMAIN=\"devkit-daemon\" -I/usr/pkg/include/DeviceKit -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT devkit_daemon-devkit-daemon.o -MD -MP -MF .deps/devkit_daemon-devkit-daemon.Tpo -c -o devkit_daemon-devkit-daemon.o `test -f 'devkit-daemon.c' || echo './'`devkit-daemon.c
devkit-daemon.c: In function 'receive_drvctl_data':
devkit-daemon.c:415: error: 'DRVGETEVENT' undeclared (first use in this function)
devkit-daemon.c:415: error: (Each undeclared identifier is reported only once
devkit-daemon.c:415: error: for each function it appears in.)
devkit-daemon.c: In function 'drvctl_enumerate':
devkit-daemon.c:787: error: storage size of 'laa' isn't known
devkit-daemon.c:850: error: 'DRVLISTDEV' undeclared (first use in this function)
gmake[1]: *** [devkit_daemon-devkit-daemon.o] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/sysutils/devkitd/4x/devkitd-jmcneill-003'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/sysutils/devkitd
>Fix:
Most probably just adjust the ONLY_FOR_PLATFORM spec so it
doesn't even attempt to build < NetBSD 5 (or 5.99 perhaps)
If his really was intended to work on NetBSD 4.0 then most likely
some include file is missing - but I can't see any 4.0 include
file that defines DRVGETEVENT
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Fri, 18 Sep 2009 12:28:47 +0000
Responsible-Changed-Why:
Over to importer.
Is this package only for NetBSD>=5.0?
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 22 Sep 2009 10:12:39 +0000
State-Changed-Why:
This package really is only for >=5.0, and I've tried to mark
it that way now. Thanks for the report!
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42077 CVS commit: pkgsrc/sysutils/devkitd
Date: Tue, 22 Sep 2009 10:12:12 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Tue Sep 22 10:12:12 UTC 2009
Modified Files:
pkgsrc/sysutils/devkitd: Makefile
Log Message:
Do not allow NetBSD<5.
Reported by kre in PR 42077.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/sysutils/devkitd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.