NetBSD Problem Report #52575
From www@NetBSD.org Wed Sep 27 14:44:15 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id ACB1D7A167
for <gnats-bugs@gnats.NetBSD.org>; Wed, 27 Sep 2017 14:44:15 +0000 (UTC)
Message-Id: <20170927144414.777CB7A281@mollari.NetBSD.org>
Date: Wed, 27 Sep 2017 14:44:14 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: audacious-plugins fails packaging w/o "jack" option
X-Send-Pr-Version: www-1.0
>Number: 52575
>Category: pkg
>Synopsis: audacious-plugins fails packaging w/o "jack" option
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 27 14:45:00 +0000 2017
>Closed-Date: Sat Sep 30 16:03:56 +0000 2017
>Last-Modified: Wed Oct 04 15:40:00 +0000 2017
>Originator: John D. Baker
>Release: NetBSD/amd64-8.0_BETA, pkgsrc-2017Q3
>Organization:
>Environment:
NetBSD x3650.technoskunk.fur 8.0_BETA NetBSD 8.0_BETA (RACKMOUNT) #101: Mon Sep 25 17:23:48 CDT 2017 sysop@x3650.technoskunk.fur:/r1/build/netbsd-8/obj/amd64/sys/arch/amd64/compile/RACKMOUNT amd64
>Description:
By default, "audio/audacious-plugins" enables the option for "jack",
causing "audio/jack" and its dependencies (notably "databases/db4")
to be built.
In my preferred set of packages, "audio/audacious-plugins" is the only
package to require "jack", so I'd rather disable it.
Setting "PKG_DEFAULT_OPTIONS+=-jack" and rebuilding "audacious-plugins"
fails packaging with:
[...]
=> Automatic manual page handling
pkg_create: can't stat `/tmp/pkgsrc/audio/audacious-plugins/work/.destdir/usr/pkg/lib/audacious/Effect/resample.so'
pkg_create: can't stat `/tmp/pkgsrc/audio/audacious-plugins/work/.destdir/usr/pkg/lib/audacious/Effect/speed-pitch.so'
=> Creating binary package /tmp/pkgsrc/audio/audacious-plugins/work/.packages/audacious-plugins-3.5.2nb14.tgz
pkg_create: can't stat `/tmp/pkgsrc/audio/audacious-plugins/work/.destdir/usr/pkg/lib/audacious/Effect/resample.so'
pkg_create: can't stat `/tmp/pkgsrc/audio/audacious-plugins/work/.destdir/usr/pkg/lib/audacious/Effect/speed-pitch.so'
pkg_create: lstat failed for file lib/audacious/Effect/resample.so: No such file or directory
[...]
Investigation thus far shows that they are omitted from the list of
effects plugins when "--disable-jack" is used ("-jack" in PKG_OPTIONS).
So far, I have not figured out why disabling "jack" support causes
these libraries to be omitted.
>How-To-Repeat:
Set "PKG_DEFAULT_OPTIONS+=-jack" or "PKG_OPTIONS.audacious-plugins+=-jack"
and attempt to "make package" or other operation which creates a binary
package of "audacious-plugins".
>Fix:
>Release-Note:
>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52575: audacious-plugins fails packaging w/o "jack" option
Date: Wed, 27 Sep 2017 10:21:04 -0500 (CDT)
Attempting to force the issue by adding:
.if "${PKGPATH}" == "audio/audacious-plugins"
CONFIGURE_ARGS+= --enable-resample
CONFIGURE_ARGS+= --enable-speedpitch
.endif
to "/etc/mk.conf", causes configuration to fail because it claims not
to detect "libsamplerate":
[...]
checking for SAMPLERATE... no
configure: error: Cannot find libsamplerate development files, but compilation of resample effect plugin has been explicitly requested; please install libsamplerate dev files and run configure again
*** Error code 1
Stop.
make[1]: stopped in /x/pkgsrc/audio/audacious-plugins
*** Error code 1
Stop.
make: stopped in /x/pkgsrc/audio/audacious-plugins
"libsamplerate" is installed (dependency of "audacious" and "sox" as
well as "jack").
The following patch allows it to work properly:
+Index: audio/audacious-plugins/Makefile
+===================================================================
+RCS file: /cvsroot/pkgsrc/audio/audacious-plugins/Makefile,v
+retrieving revision 1.73
+diff -u -p -r1.73 Makefile
+--- audio/audacious-plugins/Makefile 8 Sep 2017 02:38:36 -0000 1.73
++++ audio/audacious-plugins/Makefile 27 Sep 2017 15:17:59 -0000
+@@ -84,6 +84,7 @@ PLIST.oss= yes
+ .include "../../audio/libmpcdec/buildlink3.mk"
+ .include "../../audio/libsndfile/buildlink3.mk"
+ .include "../../audio/libvorbis/buildlink3.mk"
++.include "../../audio/libsamplerate/buildlink3.mk"
+ .include "../../audio/mpg123/buildlink3.mk"
+ .include "../../audio/taglib/buildlink3.mk"
+ .include "../../audio/wavpack/buildlink3.mk"
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52575: audacious-plugins fails packaging w/o "jack" option
Date: Wed, 27 Sep 2017 10:31:42 -0500 (CDT)
On Wed, 27 Sep 2017, John D. Baker wrote:
> The following patch allows it to work properly:
I noticed that the bl3 includes are sorted alphabetically, so a more
aesthetically-pleasing patch would be:
+Index: audio/audacious-plugins/Makefile
+===================================================================
+RCS file: /cvsroot/pkgsrc/audio/audacious-plugins/Makefile,v
+retrieving revision 1.73
+diff -u -p -r1.73 Makefile
+--- audio/audacious-plugins/Makefile 8 Sep 2017 02:38:36 -0000 1.73
++++ audio/audacious-plugins/Makefile 27 Sep 2017 15:28:06 -0000
+@@ -82,6 +82,7 @@ PLIST.oss= yes
+ .include "../../audio/libcddb/buildlink3.mk"
+ .include "../../audio/libmad/buildlink3.mk"
+ .include "../../audio/libmpcdec/buildlink3.mk"
++.include "../../audio/libsamplerate/buildlink3.mk"
+ .include "../../audio/libsndfile/buildlink3.mk"
+ .include "../../audio/libvorbis/buildlink3.mk"
+ .include "../../audio/mpg123/buildlink3.mk"
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 30 Sep 2017 16:03:56 +0000
State-Changed-Why:
Added the bl3.mk, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52575 CVS commit: pkgsrc/audio/audacious-plugins
Date: Sat, 30 Sep 2017 16:03:34 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Sat Sep 30 16:03:34 UTC 2017
Modified Files:
pkgsrc/audio/audacious-plugins: Makefile
Log Message:
audacious-plugins: Add libsamplerate bl3.mk
Fixes build without Jack.
From PR 52575 by John D. Baker.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 pkgsrc/audio/audacious-plugins/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52575 (audacious-plugins fails packaging w/o "jack" option)
Date: Sat, 30 Sep 2017 12:40:27 -0500 (CDT)
On Sat, 30 Sep 2017, wiz@NetBSD.org wrote:
> State-Changed-From-To: open->closed
> State-Changed-By: wiz@NetBSD.org
> State-Changed-When: Sat, 30 Sep 2017 16:03:56 +0000
> State-Changed-Why:
> Added the bl3.mk, thanks!
Pull up to pkgsrc-2017Q3 please?
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: "S.P.Zeidler" <spz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52575 CVS commit: [pkgsrc-2017Q3] pkgsrc/audio/audacious-plugins
Date: Wed, 4 Oct 2017 15:39:51 +0000
Module Name: pkgsrc
Committed By: spz
Date: Wed Oct 4 15:39:51 UTC 2017
Modified Files:
pkgsrc/audio/audacious-plugins [pkgsrc-2017Q3]: Makefile PLIST
Log Message:
Pullup ticket #5561 - requested by wiz
audio/audacious-plugins: build fix
Revisions pulled up:
- audio/audacious-plugins/Makefile 1.75-1.76
- audio/audacious-plugins/PLIST 1.13
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: wiz
Date: Sat Sep 30 16:03:34 UTC 2017
Modified Files:
pkgsrc/audio/audacious-plugins: Makefile
Log Message:
audacious-plugins: Add libsamplerate bl3.mk
Fixes build without Jack.
From PR 52575 by John D. Baker.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 pkgsrc/audio/audacious-plugins/Makefile
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: wiz
Date: Wed Oct 4 11:29:37 UTC 2017
Modified Files:
pkgsrc/audio/audacious-plugins: Makefile PLIST
Log Message:
audacious-plugins: add gdbus-codegen as build dependency
When it is found, the mpris2 plugin is built, which lead to "random"
PLIST problems. Depend on it to always build it.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/audio/audacious-plugins/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/audacious-plugins/PLIST
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.73.4.1 pkgsrc/audio/audacious-plugins/Makefile
cvs rdiff -u -r1.12 -r1.12.26.1 pkgsrc/audio/audacious-plugins/PLIST
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.