From owner-freebsd-ports Mon Sep 23 16:30:44 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E50437B401; Mon, 23 Sep 2002 16:30:42 -0700 (PDT) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BD7D43E75; Mon, 23 Sep 2002 16:30:41 -0700 (PDT) (envelope-from alane@wwweasel.geeksrus.net) Received: from wwweasel.geeksrus.net (alane@localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.6/8.12.6) with ESMTP id g8NNUEHL039181; Mon, 23 Sep 2002 19:30:14 -0400 (EDT) (envelope-from alane@wwweasel.geeksrus.net) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.12.6/8.12.6/Submit) id g8NNUEa1039166; Mon, 23 Sep 2002 19:30:14 -0400 (EDT) (envelope-from alane) Date: Mon, 23 Sep 2002 19:30:13 -0400 From: AlanE To: Tilman Linneweh Cc: FreeBSD Ports List , FreeBSD Port Mgr Subject: Re: cvs commit: ports/audio/xmms-kde Makefile distinfo pkg-plist Message-ID: <20020923233013.GA94228@wwweasel.geeksrus.net> Reply-To: alane@geeksrus.net References: <200209202250.g8KMokS1023043@freefall.freebsd.org> <20020923170152.GA84709@huckfinn.arved.de> <20020923180905.GA95386@wwweasel.geeksrus.net> <20020923234551.2f68ce39.tilman@arved.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020923234551.2f68ce39.tilman@arved.de> X-message-flag: Magic 8-Ball says "Outlook not so good." I'll ask it about Exchange next. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Sep 23, 2002 at 11:45:51PM +0200, Tilman Linneweh wrote: >* AlanE [Mon, 23 Sep 2002 14:09:05 -0400]: > >> >Since this was my PR, I'd like to ask what you want say about libmikmod. >> >The libmikmod dependency is deriving from the xmms-dependency, so I >> >can't see the problem with this port. Please clarify. >> >> xmms doesn't *have* a dependency on libmikmod; in fact, nothing on my >> system does, yet xmms-kde ends up with one. > >Hm..I think I understand. You had defined WITHOUT_MIKMOD somewhere at >xmms buildtime? > >>From xmms Makefile: >.if !defined(WITHOUT_MIKMOD) >LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod >INPUT_PLUGINS+= mikmod >PLIST_SUB+= MIKMODPLUGIN:="" >.else >CONFIGURE_ARGS+= --disable-mikmod >PLIST_SUB+= MIKMODPLUGIN:="@comment " >.endif > >And while installing xmms-kde, WITHOUT_MIKMOD was not defined? >Or do you suspect a general problem with registering optional dependencies? No, -DWITHOUT_MIKMOD is defined for all audio/* ports in /usr/local/etc/pkgtools.conf. There is a general problem. If it had not been defined during install, then the install would have forced it to be installed as a dependency, and that is not the case. Since pkgdb -F would have caught *any* port with a dependency on it (since it is not there), and xmms-kde was the only one, I have not analyzed the problem any further, but I have two pieces of software, unrelated, that exhibit false dependencies. I have not checked whether the dependencies are in the build packages as well ... just a minute ... yes, the package of xmms has a dependency of libmikmod-esound, even though the installed port from which the package was made does not. I think I've found a nasty bug. Possibly in ports/Mk/*, possibly in pkg_create. I must investigate further. Eeewwwww. >> similar situation with mplayer: it ends up with a dependency on libsvga, >> despite the fact that it isn't installed and nothing else has a >> dependency on it. >> >> Very weird indeed. >> >> [alane@wwweasel:~]$ pkg_info -r -x xmms-1 >> Information for xmms-1.2.7_2: >> >> Depends on: >> Dependency: pkgconfig-0.12.0 >> Dependency: libxml-1.8.17_1 >> Dependency: libogg-1.0,3 >> Dependency: libvorbis-1.0,3 >> Dependency: libiconv-1.8_1 >> Dependency: imake-4.2.0_1 >> Dependency: freetype2-2.1.2 >> Dependency: glib-1.2.10_7 >> Dependency: expat-1.95.5 >> Dependency: XFree86-libraries-4.2.1_1 >> Dependency: gettext-0.11.5_1 >> Dependency: gtk-1.2.10_8 Cc: to portmgr. Whatever this is, it is NOT nice. -- Alan Eldridge Unix/C(++) IT Pro, 20 yrs, seeking new employment. (http://wwweasel.geeksrus.net/~alane/resume.txt) KDE, KDE-FreeBSD Teams (http://www.kde.org, http://freebsd.kde.org/) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message