NetBSD Problem Report #48369
From www@NetBSD.org Thu Nov 7 06:25:08 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id D553EA6186
for <gnats-bugs@gnats.NetBSD.org>; Thu, 7 Nov 2013 06:25:08 +0000 (UTC)
Message-Id: <20131107062507.6F83CA618D@mollari.NetBSD.org>
Date: Thu, 7 Nov 2013 06:25:07 +0000 (UTC)
From: nathanialsloss@yahoo.com.au
Reply-To: nathanialsloss@yahoo.com.au
To: gnats-bugs@NetBSD.org
Subject: sysutils/k3b cannot rip audio tracks
X-Send-Pr-Version: www-1.0
>Number: 48369
>Category: pkg
>Synopsis: sysutils/k3b cannot rip audio tracks
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: markd
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 07 06:30:00 +0000 2013
>Closed-Date: Sun Nov 10 01:46:35 +0000 2013
>Last-Modified: Sun Nov 10 01:46:35 +0000 2013
>Originator: Nat Sloss
>Release: pkgsrc-2013Q2
>Organization:
>Environment:
NetBSD beast 6.1.1_PATCH NetBSD 6.1.1_PATCH (PCIPAE) #13: Sat Nov 2 18:07:05 EST 2013 build@test:/usr/src/sys/arch/i386/compile/obj/PCIPAE i386
>Description:
If you attempt to rip audio tracks from an audio cd it does not work and a message appears saying that libcdparanoia cannot be found.
The problem arises because it is hard coded to load libcdda_*.so.0 where as the versions available in pkgsrc 2003Q2 are libcdda*.so.1
>How-To-Repeat:
Refer to above
>Fix:
Apply this patch:
--- /dev/null 2013-11-07 16:48:24.000000000 +1100
+++ pkgsrc/sysutils/k3b/patches/patch-libk3b_tools_k3bcdparanoialib.cpp 2013-11-07 16:35:51.000000000 +1100
@@ -0,0 +1,41 @@
+$NetBSD$
+
+--- libk3b/tools/k3bcdparanoialib.cpp.orig 2011-01-15 20:47:29.000000000 +0000
++++ libk3b/tools/k3bcdparanoialib.cpp
+@@ -69,7 +69,7 @@ typedef short int int16_t;
+ #define LIBCDIO_PARANOIA "cdio_paranoia.dll"
+ #else
+ #define LIBCDIO_CDDA "libcdio_cdda.so"
+-#define LIBCDIO_PARANOIA "libcdio_paranoia.so.0"
++#define LIBCDIO_PARANOIA "libcdio_paranoia.so"
+ #endif
+
+ static bool s_haveLibCdio = false;
+@@ -532,11 +532,11 @@ K3b::CdparanoiaLib* K3b::CdparanoiaLib::
+ if( s_libInterface == 0 ) {
+ s_haveLibCdio = false;
+ #ifndef Q_OS_WIN32
+- s_libInterface = dlopen( "libcdda_interface.so.0", RTLD_NOW|RTLD_GLOBAL );
++ s_libInterface = dlopen( "libcdda_interface.so", RTLD_NOW|RTLD_GLOBAL );
+
+ // try the redhat & Co. location
+ if( s_libInterface == 0 )
+- s_libInterface = dlopen( "cdda/libcdda_interface.so.0", RTLD_NOW|RTLD_GLOBAL );
++ s_libInterface = dlopen( "cdda/libcdda_interface.so", RTLD_NOW|RTLD_GLOBAL );
+ #endif
+ // try the new cdio lib
+ if( s_libInterface == 0 ) {
+@@ -550,11 +550,11 @@ K3b::CdparanoiaLib* K3b::CdparanoiaLib::
+ }
+
+ #ifndef Q_OS_WIN32
+- s_libParanoia = dlopen( "libcdda_paranoia.so.0", RTLD_NOW );
++ s_libParanoia = dlopen( "libcdda_paranoia.so", RTLD_NOW );
+
+ // try the redhat & Co. location
+ if( s_libParanoia == 0 )
+- s_libParanoia = dlopen( "cdda/libcdda_paranoia.so.0", RTLD_NOW );
++ s_libParanoia = dlopen( "cdda/libcdda_paranoia.so", RTLD_NOW );
+ #endif
+ // try the new cdio lib
+ if( s_haveLibCdio && s_libParanoia == 0 )
Regards,
Nat
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 07 Nov 2013 06:42:36 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "Mark Davies" <markd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48369 CVS commit: pkgsrc/sysutils/k3b
Date: Sat, 9 Nov 2013 22:20:36 +0000
Module Name: pkgsrc
Committed By: markd
Date: Sat Nov 9 22:20:36 UTC 2013
Modified Files:
pkgsrc/sysutils/k3b: Makefile distinfo
Added Files:
pkgsrc/sysutils/k3b/patches: patch-libk3b_tools_k3bcdparanoialib.cpp
Log Message:
Allow newer versions of libraries to be found.
Also fix problem where by k3b wont rip the first track when it is not
alphabetically the first track to be ripped.
Fixes PR pkg/48369 and pkg/48371. Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/sysutils/k3b/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/sysutils/k3b/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/k3b/patches/patch-libk3b_tools_k3bcdparanoialib.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: markd@NetBSD.org
State-Changed-When: Sun, 10 Nov 2013 01:46:35 +0000
State-Changed-Why:
patch applied. 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.