NetBSD Problem Report #40230
From tron@zhadum.org.uk Fri Dec 19 18:26:56 2008
Return-Path: <tron@zhadum.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id C902863B8BD
for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Dec 2008 18:26:55 +0000 (UTC)
Message-Id: <200812191826.mBJIQosA011259@colwyn.zhadum.org.uk>
Date: Fri, 19 Dec 2008 18:26:50 GMT
From: tron@zhadum.org.uk
Reply-To: tron@zhadum.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: "libvolume_id" doesn't build under Mac OS X
X-Send-Pr-Version: 3.95
>Number: 40230
>Category: pkg
>Synopsis: "libvolume_id" doesn't build under Mac OS X
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: jmcneill
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 19 18:30:00 +0000 2008
>Closed-Date: Sun Dec 28 13:45:38 +0000 2008
>Last-Modified: Sun Dec 28 13:45:38 +0000 2008
>Originator: Matthias Scheler
>Release: Darwin 9.6.0
>Organization:
Matthias Scheler http://zhadum.org.uk/
>Environment:
System: Darwin excalibur.zhadum.org.uk 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:39:01 PST 2008; root:xnu-1228.9.59~1/RELEASE_PPC Power Macintosh
Architecture: Power Macintosh
Machine: powerpc
>Description:
The "libvolume_id" package doesn't build under Mac OS X which breaks the
build of the "hal" package:
root@excalibur:/usr/pkgsrc/devel/libvolume_id#bmake
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Building for libvolume_id-0.81.0
CC ext.o
In file included from ext.c:27:
util.h:33:20: error: endian.h: No such file or directory
util.h:34:22: error: byteswap.h: No such file or directory
gnumake: *** [ext.o] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/devel/libvolume_id
*** Error code 1
>How-To-Repeat:
cd pkgsrc/sysutils/hal
bmake install
>Fix:
None known.
>Release-Note:
>Audit-Trail:
From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40230 CVS commit: pkgsrc/sysutils/hal
Date: Fri, 19 Dec 2008 23:13:24 +0000 (UTC)
Module Name: pkgsrc
Committed By: jmcneill
Date: Fri Dec 19 23:13:24 UTC 2008
Modified Files:
pkgsrc/sysutils/hal: Makefile
Log Message:
PR# pkg/40230: "libvolume_id" doesn't build under Mac OS X
HAL uses the dummy backend on OSX, so no need to pull in libvolume_id.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 pkgsrc/sysutils/hal/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/40230 CVS commit: pkgsrc/sysutils/hal
Date: Sat, 20 Dec 2008 11:26:46 +0000
On Fri, Dec 19, 2008 at 11:15:03PM +0000, Jared D. McNeill wrote:
> Module Name: pkgsrc
> Committed By: jmcneill
> Date: Fri Dec 19 23:13:24 UTC 2008
>
> Modified Files:
> pkgsrc/sysutils/hal: Makefile
>
> Log Message:
> PR# pkg/40230: "libvolume_id" doesn't build under Mac OS X
>
> HAL uses the dummy backend on OSX, so no need to pull in libvolume_id.
Building the "hal" package now breaks at "policykit":
checking for pam_start in -lpam... no
configure: error: Could not find pam/pam-devel, please install the needed packages.
*** Error code 1
Stop.
bmake: stopped in /share/src/NetBSD-current/pkgsrc/security/policykit
It uses a weird linker option called "--as-needed":
configure:24053: gcc -o conftest -pipe -O2 -I/usr/pkg/include -I/usr/include -Wa
ll -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wc
ast-align -Wsign-compare -Wformat -Wformat-security -no-cpp-precomp -isystem /us
r/include -I/usr/pkg/include -I/usr/include -Wl,--as-needed -L/usr/pkg/lib -L/us
r/lib conftest.c -lpam >&5
ld: unknown option: --as-needed
collect2: ld returned 1 exit status
configure:24060: $? = 1
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40230 CVS commit: pkgsrc/security/policykit
Date: Sat, 20 Dec 2008 19:44:00 +0000 (UTC)
Module Name: pkgsrc
Committed By: jmcneill
Date: Sat Dec 20 19:44:00 UTC 2008
Modified Files:
pkgsrc/security/policykit: Makefile distinfo
pkgsrc/security/policykit/patches: patch-aa
Added Files:
pkgsrc/security/policykit/patches: patch-ak patch-al
Log Message:
PR# pkg/40230: "libvolume_id" doesn't build under Mac OS X
Fix PolicyKit build on OSX.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/security/policykit/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/security/policykit/distinfo
cvs rdiff -r1.2 -r1.3 pkgsrc/security/policykit/patches/patch-aa
cvs rdiff -r0 -r1.1 pkgsrc/security/policykit/patches/patch-ak \
pkgsrc/security/policykit/patches/patch-al
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40230 CVS commit: pkgsrc/sysutils/hal
Date: Sat, 20 Dec 2008 21:11:05 +0000 (UTC)
Module Name: pkgsrc
Committed By: jmcneill
Date: Sat Dec 20 21:11:05 UTC 2008
Modified Files:
pkgsrc/sysutils/hal: Makefile PLIST distinfo
pkgsrc/sysutils/hal/patches: patch-aa patch-ab patch-ac patch-na
Log Message:
PR# pkg/40230: "libvolume_id" doesn't build under Mac OS X
Fix HAL build on OS X. Tested on 10.5.6 powerpc.
To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 pkgsrc/sysutils/hal/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/hal/PLIST
cvs rdiff -r1.7 -r1.8 pkgsrc/sysutils/hal/distinfo
cvs rdiff -r1.3 -r1.4 pkgsrc/sysutils/hal/patches/patch-aa
cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/hal/patches/patch-ab \
pkgsrc/sysutils/hal/patches/patch-ac pkgsrc/sysutils/hal/patches/patch-na
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40230 CVS commit: pkgsrc/sysutils/hal
Date: Sun, 28 Dec 2008 12:43:27 +0000 (UTC)
Module Name: pkgsrc
Committed By: jmcneill
Date: Sun Dec 28 12:43:27 UTC 2008
Modified Files:
pkgsrc/sysutils/hal: Makefile
Log Message:
Re-apply PR# pkg/40230 workaround from r1.25 lost in r1.27.
To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 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->jmcneill
Responsible-Changed-By: tron@NetBSD.org
Responsible-Changed-When: Sun, 28 Dec 2008 13:45:38 +0000
Responsible-Changed-Why:
Jared D. McNeil fixed it.
State-Changed-From-To: open->closed
State-Changed-By: tron@NetBSD.org
State-Changed-When: Sun, 28 Dec 2008 13:45:38 +0000
State-Changed-Why:
The "hal" package and all its dependencies build fine under Mac OS 10.5.6 now.
Thanks a lot.
>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.