Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ports/145661: [patch] audio/xmms2 : compilation error when configured to use audio/mpg123

1 view
Skip to first unread message

Oliver Wegner

unread,
Apr 12, 2010, 2:49:54 PM4/12/10
to FreeBSD-gn...@freebsd.org, oli...@skriptepedia.de

>Number: 145661
>Category: ports
>Synopsis: [patch] audio/xmms2 : compilation error when configured to use audio/mpg123
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 12 19:30:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Oliver Wegner
>Release: FreeBSD 8.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD freebsd.oliver.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 ro...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
building xmms2 (Versions in Makefile say: PORTVERSION=0.6 , PORTREVISION=4) with
option MPG123 fails with the following error (ports are from csup):

[root@freebsd /usr/ports/audio/xmms2]# FORCE_PKG_REGISTER=1 make
...
Error: shared library "mpg123.20" does not exist
*** Error code 1

inspecting libmpg123 (that has been built in the very same process from the very same
source tree (csup) ):

[root@freebsd /usr/ports/audio/xmms2]# ls -la /usr/local/lib/libmpg123.*
-rwxr-xr-x 1 root wheel 968 Apr 12 19:59 /usr/local/lib/libmpg123.la
lrwxr-xr-x 1 root wheel 15 Apr 12 19:59 /usr/local/lib/libmpg123.so -> libmpg123.so.22
-rwxr-xr-x 1 root wheel 264134 Apr 12 19:59 /usr/local/lib/libmpg123.so.22

while the xmms2 Makefile still refers to libmpg123.so.20:

[root@freebsd /usr/ports/audio/xmms2]# cat Makefile|grep mpg123
LIB_DEPENDS+= mpg123.20:${PORTSDIR}/audio/mpg123

Adjusting the Makefile to use libmpg123.so.22 fixes this (see fix below).

>How-To-Repeat:
see above

>Fix:
--- Makefile.org 2010-04-12 18:20:12.000000000 +0200
+++ Makefile 2010-04-12 20:08:16.000000000 +0200
@@ -234,7 +234,7 @@
.endif

.if !defined(WITHOUT_MPG123)
-LIB_DEPENDS+= mpg123.20:${PORTSDIR}/audio/mpg123
+LIB_DEPENDS+= mpg123.22:${PORTSDIR}/audio/mpg123
PLIST_SUB+= MPG123=""
.else
EXCLUDE+= --without-plugins="mpg123"

>Release-Note:
>Audit-Trail:
>Unformatted:

0 new messages