Subject: pkg/27307: net/mldonkey attemts to install what was not built - and fails
To: None <gnats-bugs@gnats.NetBSD.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: pkgsrc-bugs
Date: 10/19/2004 21:58:20
>Number:         27307
>Category:       pkg
>Synopsis:       net/mldonkey attemts to install what was not built - and fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 19 20:13:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>Release:        NetBSD 2.0_RC1
>Organization:
Falling Raindrops
>Environment:
	
	
System: NetBSD pizza.causeuse.org 2.0_RC1 NetBSD 2.0_RC1 (PIZZA) #11: Fri Sep 24 21:33:23 CEST 2004 hauke@pizza.causeuse.org:/var/obj/netbsd-builds/2_0/sparc/obj/sys/arch/sparc/compile/PIZZA sparc
Architecture: sparc
Machine: sparc
>Description:

Attempting to install mldonkey fails with 

[hauke@pizza] /<3%net/mldonkey # make install
===> *** No /usr/src/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Installing for mldonkey-2.5.21nb1
cd /usr/src/pkgsrc/net/mldonkey/work &&  install -c -o root -g wheel -m 555 mldonkey.sh /usr/pkg/bin/mldonkey
cd /usr/src/pkgsrc/net/mldonkey/work/mldonkey-2.5.21 &&  install -d -o root -g wheel -m 755 /usr/pkg/libexec/mldonkey &&  install -c -s -o root -g wheel -m 555 mlchat /usr/pkg/libexec/mldonkey &&  install -c -s -o root -g wheel -m 555 mlguistarter /usr/pkg/libexec/mldonkey &&  install -c -s -o root -g wheel -m 555 mlgui /usr/pkg/libexec/mldonkey &&  install -c -s -o root -g wheel -m 555 mlim /usr/pkg/libexec/mldonkey &&  install -c -s -o root -g wheel -m 555 mlnet /usr/pkg/libexec/mldonkey &&  install -c -s -o root -g wheel -m 555 mlnet+gui /usr/pkg/libexec/mldonkey
install: mlchat: stat: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/src/pkgsrc/net/mldonkey
*** Error code 1

Stop.
make: stopped in /usr/src/pkgsrc/net/mldonkey
*** Error code 1

Stop.
make: stopped in /usr/src/pkgsrc/net/mldonkey
*** Error code 1

Stop.
make: stopped in /usr/src/pkgsrc/net/mldonkey
[hauke@pizza] /<3%net/mldonkey # find . -name mlstat -print
[hauke@pizza] /<3%net/mldonkey # 

After removing the corresponding line from the pkg Makefile, the
install fails on the next unavailable binary. Looks like the pkg
definition and what's built are out of sync.

>How-To-Repeat:
	Build net/mldonkey from -current pkgsrc. Try to install it.

>Fix:
	Yes, please.
>Release-Note:
>Audit-Trail:
>Unformatted: