From amdmi3@amdmi3.ru  Tue Apr 17 22:15:31 2007
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3B27016A400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Apr 2007 22:15:31 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from cp65.agava.net (cp65.agava.net [89.108.66.215])
	by mx1.freebsd.org (Postfix) with ESMTP id C55E513C457
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Apr 2007 22:15:30 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from clamav by cp65.agava.net with drweb-scanned (Exim 4.44 (FreeBSD))
	id 1HdvxQ-000MKs-Da
	for FreeBSD-gnats-submit@freebsd.org; Wed, 18 Apr 2007 02:15:28 +0400
Received: from [213.148.29.33] (helo=nexii.panopticon)
	by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.44 (FreeBSD))
	id 1HdvxQ-000MKc-AE
	for FreeBSD-gnats-submit@freebsd.org; Wed, 18 Apr 2007 02:15:28 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.2])
	by nexii.panopticon (Postfix) with ESMTP id 8F4951703E
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Apr 2007 02:14:30 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id DB7964075; Wed, 18 Apr 2007 02:15:37 +0400 (MSD)
Message-Id: <20070417221537.DB7964075@hades.panopticon>
Date: Wed, 18 Apr 2007 02:15:37 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reply-To: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: audio/musicpd: multiple hidden dependencies
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ports@mark.reidel.info

>Number:         111795
>Category:       ports
>Synopsis:       audio/musicpd: multiple hidden dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 17 22:20:13 GMT 2007
>Closed-Date:    Fri Jun 22 06:45:49 GMT 2007
>Last-Modified:  Fri Jun 22 06:50:10 GMT 2007
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
audio/musicpd has multiple hidden dependencies on some libraries:

% cat /var/db/ports/musicpd/options 
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for musicpd-0.12.1_1
_OPTIONS_READ=musicpd-0.12.1_1
WITH_FLAC=true
WITH_VORBIS=true
WITH_WAV=true
WITHOUT_AAC=true
WITHOUT_MUSEPACK=true
WITH_MOD=true
WITH_ICONV=true
WITH_ID3TAG=true
WITHOUT_IPV6=true
% pkg_info -r musicpd-0.12.1_1
Information for musicpd-0.12.1_1:

Depends on:
Dependency: pkg-config-0.21
Dependency: libogg-1.1.3,3
Dependency: libvorbis-1.1.2,3
Dependency: libmikmod-3.1.11_2
Dependency: libmad-0.15.1b_2
Dependency: libiconv-1.9.2_2
Dependency: libaudiofile-0.2.6
Dependency: flac-1.1.2_1
% ldd /usr/local/bin/mpd
/usr/local/bin/mpd:
        libshout.so.5 => /usr/local/lib/libshout.so.5 (0x2809e000)
        libtheora.so.2 => /usr/local/lib/libtheora.so.2 (0x280ac000)
        libspeex.so.1 => /usr/local/lib/libspeex.so.1 (0x280dd000)
        libpthread.so.2 => /lib/libpthread.so.2 (0x280fd000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28124000)
        libid3tag.so.0 => /usr/local/lib/libid3tag.so.0 (0x28212000)
        libz.so.3 => /lib/libz.so.3 (0x28225000)
        libmad.so.2 => /usr/local/lib/libmad.so.2 (0x28235000)
        libvorbisfile.so.4 => /usr/local/lib/libvorbisfile.so.4 (0x2824b000)
        libvorbisenc.so.2 => /usr/local/lib/libvorbisenc.so.2 (0x28252000)
        libvorbis.so.3 => /usr/local/lib/libvorbis.so.3 (0x28350000)
        libOggFLAC.so.3 => /usr/local/lib/libOggFLAC.so.3 (0x28377000)
        libogg.so.5 => /usr/local/lib/libogg.so.5 (0x28388000)
        libFLAC.so.7 => /usr/local/lib/libFLAC.so.7 (0x2838d000)
        libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x283bc000)
        libm.so.4 => /lib/libm.so.4 (0x283e3000)
        libmikmod.so.2 => /usr/local/lib/libmikmod.so.2 (0x283f9000)
        libc.so.6 => /lib/libc.so.6 (0x2843b000)
        libgcc_s.so.1 => /usr/local/lib/gcc-4.0.4/libgcc_s.so.1 (0x2851d000)

There are at least those hidden dependencies:

audio/libshout2 (libshout.so.5 and thus libtheora.so.2, libspeex.so.1)
lang/gcc40 (libgcc_s.so.1) (wtf?!)
audio/libid3tag (libid3tag.so.0)

>How-To-Repeat:
>Fix:
* OPTION should be added for libshout2 (and corresponding --without should be added to CONFIGURE_ARGS when it's off)
* LIB_DEPEND should be appended with libid3tag when corresponding option is on
* dunno how to deal with libgcc_s.so.1

sorry, no time to make a patch atm

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Apr 17 22:20:22 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111795 

From: Mark Daniel Reidel <ports@mark.reidel.info>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/111795: audio/musicpd: multiple hidden dependencies
Date: Wed, 18 Apr 2007 01:24:22 +0200

 Hi there!
 The port just got updated and fixes all addressed things except the gcc
 which I have _never_ heard of. I compiled it with stock GCC3 on 6-STABLE
 and it doesn't pull in or use GCC4.
 
 	- Mark

From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/111795: audio/musicpd: multiple hidden dependencies
Date: Wed, 18 Apr 2007 08:14:19 +0400

 * Mark Daniel Reidel (ports@mark.reidel.info) wrote:
 >  The port just got updated and fixes all addressed things except the gcc
 >  which I have _never_ heard of. I compiled it with stock GCC3 on 6-STABLE
 >  and it doesn't pull in or use GCC4.
 It still has no dependency on audio/libid3tag, though it seem to no
 longer link against libshout.
 
 It doesn't pull or use gcc4 (I'm compiling it with stock gcc3 as
 well), though it somehow links against this libgcc_s.so.1 when
 lang/gcc40 is installed. Would you like full build log?
 
 -- 
 Best regards,
   Dmitry Marakasov               mailto:amdmi3@amdmi3.ru
 
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Thu Jun 21 06:52:43 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111795 
State-Changed-From-To: feedback->closed 
State-Changed-By: rafan 
State-Changed-When: Fri Jun 22 06:45:46 UTC 2007 
State-Changed-Why:  
missing dependency libid3tag is added. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111795 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/111795: commit references a PR
Date: Fri, 22 Jun 2007 06:45:43 +0000 (UTC)

 rafan       2007-06-22 06:45:35 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/musicpd        Makefile 
   Log:
   - Add missing dependency when ID3TAG knob is on
   
   PR:           ports/111795
   Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
   Approved by:  Mark Daniel Reidel <ports at mark.reidel.info> (maintainer, implicit)
   
   Revision  Changes    Path
   1.25      +1 -0      ports/audio/musicpd/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
