NetBSD Problem Report #44703
From cheusov@tut.by Wed Mar 9 10:44:35 2011
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id AF3C163B874
for <gnats-bugs@gnats.netbsd.org>; Wed, 9 Mar 2011 10:44:35 +0000 (UTC)
Message-Id: <s93ei6gwp31.fsf@centos.imb.invention.com>
Date: Wed, 09 Mar 2011 12:44:18 +0200
From: cheusov@tut.by
To: gnats-bugs@gnats.netbsd.org
Subject: sysutils/hal: PLIST issue on Linux again [patch]
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:
>Number: 44703
>Category: pkg
>Synopsis: sysutils/hal: PLIST issue on Linux again
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: markd
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 09 10:45:00 +0000 2011
>Closed-Date: Thu Mar 10 19:53:29 +0000 2011
>Last-Modified: Thu Mar 10 19:53:29 +0000 2011
>Originator: Aleksey Cheusov
>Release: Linux 2.6.18-194.32.1.el5xen
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: Linux centos.imb.invention.com 2.6.18-194.32.1.el5xen #1 SMP Wed Jan 5 19:32:33 EST 2011 i686 i686 i386 GNU/Linux
Architecture: i686
>Description:
sysutils/hal fails to build because
=> Checking file-check results for hal-0.5.11nb27
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR: /tmp/obj-pkgsrc/sysutils/hal/work/.destdir/usr/pkg/etc/rc.d/init.d/haldaemon
*** Error code 1
This problem was already fixed in the past.
See http://gnats.netbsd.org/43767
Since revision 1.49 of Makefile it reappeared.
>How-To-Repeat:
Try to build the package on RHEL-based distributions and possibly Fedora.
>Fix:
As far as I can see the only thing that depends on OS-TYPE
is if init.d script is installed. So, it's safe to disable this check.
Maybe markd@ can explain his decision to remove --without-os-type
from CONFIGURE_ARGS.
With the following patch package is built fine on CentOS Linux.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/hal/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile 17 Feb 2011 12:11:57 -0000 1.52
+++ Makefile 9 Mar 2011 10:34:04 -0000
@@ -32,6 +32,7 @@
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-pci-ids=${PREFIX}/share/pciids
CONFIGURE_ARGS+= --with-usb-ids=${PREFIX}/share/usbids
+CONFIGURE_ARGS+= --without-os-type
.include "../../mk/bsd.prefs.mk"
>Release-Note:
>Audit-Trail:
From: "Mark Davies" <markd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44703 CVS commit: pkgsrc/sysutils/hal
Date: Thu, 10 Mar 2011 19:45:03 +0000
Module Name: pkgsrc
Committed By: markd
Date: Thu Mar 10 19:45:03 UTC 2011
Modified Files:
pkgsrc/sysutils/hal: Makefile
Log Message:
Readd --without-os-type configure arg, accidentally dropped when merging
the 0.5.14 changes. PR#44703
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/sysutils/hal/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: markd@NetBSD.org
Responsible-Changed-When: Thu, 10 Mar 2011 19:53:29 +0000
Responsible-Changed-Why:
mine.
State-Changed-From-To: open->closed
State-Changed-By: markd@NetBSD.org
State-Changed-When: Thu, 10 Mar 2011 19:53:29 +0000
State-Changed-Why:
reapplied.
>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.