NetBSD Problem Report #24577
Received: (qmail 5635 invoked by uid 605); 27 Feb 2004 15:10:00 -0000
Message-Id: <20040227150958.9950F11154@narn.netbsd.org>
Date: Fri, 27 Feb 2004 15:09:58 +0000 (UTC)
From: dotz@irc.pl
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: dotz@irc.pl
To: gnats-bugs@gnats.NetBSD.org
Subject: audio/libao has wrong settings for Linux
X-Send-Pr-Version: www-1.0
>Number: 24577
>Category: pkg
>Synopsis: audio/libao has wrong settings for Linux
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: minskim
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 27 15:10:00 +0000 2004
>Closed-Date: Mon Mar 15 19:13:20 +0000 2004
>Last-Modified: Mon Mar 15 19:13:20 +0000 2004
>Originator: Michal Pasternak
>Release:
>Organization:
>Environment:
Slackware 9.1
>Description:
libsun is not built on Linux.
See "Fix"
>How-To-Repeat:
Obvious
>Fix:
Apply this patch:
[PLEASE NOTE: This situation could occur only on Slackware Linux. As
I've seen reed@ doing some linux things, it could be good if he could
test this patch on some other, than slackware "distro" of this wonderful
GNU/kernel + tools]
cvs diff: Diffing .
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/audio/libao/Makefile.common,v
retrieving revision 1.10
diff -u -r1.10 Makefile.common
--- Makefile.common 14 Feb 2004 18:26:27 -0000 1.10
+++ Makefile.common 27 Feb 2004 15:05:54 -0000
@@ -24,6 +24,9 @@
.elif ${OPSYS} == "SunOS"
PLIST_SUBST+= LIBOSS="@comment "
PLIST_SUBST+= LIBSUN=""
+.elif ${OPSYS} == "Linux"
+PLIST_SUBST+= LIBOSS=""
+PLIST_SUBST+= LIBSUN="@comment "
.else
PLIST_SUBST+= LIBOSS=""
PLIST_SUBST+= LIBSUN=""
>Release-Note:
>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: dotz@irc.pl
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/24577: audio/libao has wrong settings for Linux
Date: Fri, 27 Feb 2004 08:59:10 -0800 (PST)
> +.elif ${OPSYS} == "Linux"
> +PLIST_SUBST+= LIBOSS=""
> +PLIST_SUBST+= LIBSUN="@comment "
I never noticed this (although I have used this package on several Linux
boxes). I will look again soon and let you know.
Jeremy C. Reed
http://www.reedmedia.net/
From: Min Sik Kim <minskim@NetBSD.org>
To: "Jeremy C. Reed" <reed@reedmedia.net>
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/24577: audio/libao has wrong settings for Linux
Date: Mon, 15 Mar 2004 12:14:42 -0600
--Signature=_Mon__15_Mar_2004_12_14_42_-0600_aWJvIzfu7xgmrbOl
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
* Jeremy C. Reed:
> > +.elif ${OPSYS} == "Linux"
> > +PLIST_SUBST+= LIBOSS=""
> > +PLIST_SUBST+= LIBSUN="@comment "
>
> I never noticed this (although I have used this package on several
> Linux boxes). I will look again soon and let you know.
I had the same problem. The configure script checks the availability
of sys/audioio.h. libsun.* are built only when the header is found.
On Linux 2.4, it is available only on sparc{,64}.
Jeremy, could you check your Linux boxes and see if this is the case?
If you confirm, I'd like to commit the following change.
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/audio/libao/Makefile.common,v
retrieving revision 1.10
diff -u -r1.10 Makefile.common
--- Makefile.common 14 Feb 2004 18:26:27 -0000 1.10
+++ Makefile.common 15 Mar 2004 18:00:14 -0000
@@ -24,6 +24,9 @@
.elif ${OPSYS} == "SunOS"
PLIST_SUBST+= LIBOSS="@comment "
PLIST_SUBST+= LIBSUN=""
+.elif ${OPSYS} == "Linux" && empty(MACHINE_PLATFORM:MLinux-*-sparc*)
+PLIST_SUBST+= LIBOSS=""
+PLIST_SUBST+= LIBSUN="@comment "
.else
PLIST_SUBST+= LIBOSS=""
PLIST_SUBST+= LIBSUN=""
--
Min Sik Kim
--Signature=_Mon__15_Mar_2004_12_14_42_-0600_aWJvIzfu7xgmrbOl
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iQEVAwUBQFXykvQsKR/Zi7L+AQJIoggAj5tBroYtrTW1HhvCEyK9oHZtLOarmvks
RvW1P9PsXP4eBWEC134h/vlCD/rZvPkVArr6+lDbW4JsdV7OrG/elZChpkIdoC8S
ekapSz2/eOanFJQq9beDexDyZViA0U2bC3RbNtvM1iIEWvsORel7+7uc6/IYqsWi
Dw+4GBj7ftQwQM0rUcu47gEyg7c+6eFTJX32+8ffUXSuxPh8KHQMe9TbLfixUlIg
DMxD292OOkGPhPmrOTqafn+u+/MogVmdbPqZFh4JTbT9zWV9kGECtSC9jeaR/K7/
FIvVqkny4PU3zSyJ0W/PjsvVRhYDxO9b7ZJtTYkAhFeUWEofZVsRhA==
=pKs0
-----END PGP SIGNATURE-----
--Signature=_Mon__15_Mar_2004_12_14_42_-0600_aWJvIzfu7xgmrbOl--
State-Changed-From-To: open->analyzed
State-Changed-By: minskim
State-Changed-When: Mon Mar 15 18:18:56 UTC 2004
State-Changed-Why:
The culprit was identified.
Responsible-Changed-From-To: pkg-manager->minskim
Responsible-Changed-By: minskim
Responsible-Changed-When: Mon Mar 15 18:18:56 UTC 2004
Responsible-Changed-Why:
I'm handling this.
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: Min Sik Kim <minskim@NetBSD.org>
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/24577: audio/libao has wrong settings for Linux
Date: Mon, 15 Mar 2004 10:32:59 -0800 (PST)
On Mon, 15 Mar 2004, Min Sik Kim wrote:
> I had the same problem. The configure script checks the availability
> of sys/audioio.h. libsun.* are built only when the header is found.
> On Linux 2.4, it is available only on sparc{,64}.
>
> Jeremy, could you check your Linux boxes and see if this is the case?
===> Registering installation for libao-0.8.4
pkg_create: can't stat `/usr/lib/ao/plugins-2/libsun.a'
pkg_create: can't stat `/usr/lib/ao/plugins-2/libsun.la'
pkg_create: can't stat `/usr/lib/ao/plugins-2/libsun.so'
pkg_create: can't stat `/usr/man/man5/libao.conf.5'
I do not have the sys/audioio.h header. (This is a i686.)
> If you confirm, I'd like to commit the following change.
Okay. Thanks.
The man page problem:
/bin/sh ./mkinstalldirs /usr/share/man/man5
install -c -o root -g root -m 444 ./libao.conf.5 /usr/share/man/man5/libao.conf.5
Makefile.in uses:
mandir = @MANDIR@
man5dir = $(mandir)/man5
Makefile has:
datadir = ${prefix}/share
mandir = $(datadir)/man
This is because I use /usr as my LOCALBASE. configure has:
if test "$prefix" = "/usr"; then
MANDIR='$(datadir)/man'
else
MANDIR='$(prefix)/man'
fi
Jeremy C. Reed
http://www.reedmedia.net/
From: Min Sik Kim <minskim@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24577 CVS commit: pkgsrc/audio/libao
Date: Mon, 15 Mar 2004 19:10:21 +0000 (UTC)
Module Name: pkgsrc
Committed By: minskim
Date: Mon Mar 15 19:10:21 UTC 2004
Modified Files:
pkgsrc/audio/libao: Makefile.common
Log Message:
Fix PLIST on Linux; libsun.* are not installed except on Linux/sparc.
Closes PR pkg/24577. OK'ed by reed@.
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 pkgsrc/audio/libao/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: analyzed->closed
State-Changed-By: minskim
State-Changed-When: Mon Mar 15 19:12:03 UTC 2004
State-Changed-Why:
Fixed. Thanks.
>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.