Subject: pkg/37074: archivers/rar-bin: target 'clean-depends' goes haywire on Slackware Lunix 10.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <zeurkous@nichten.info>
List: pkgsrc-bugs
Date: 10/07/2007 23:55:00
>Number:         37074
>Category:       pkg
>Synopsis:       archivers/rar-bin: target 'clean-depends' goes haywire on Slackware Lunix 10.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 07 23:55:00 +0000 2007
>Originator:     De Zeurkous
>Release:        Slackware Lunix 10.2
>Organization:
Korax Productions
>Environment:
Linux zeurcomp 2.4.31 #21 Sun Jun 5 19:19:51 PDT 2005 i686 unknown unknown GNU/Lunix
>Description:
When attempting to clean-depends archivers/rar-bin on Slackware Lunix
10.2, it goes haywire:

pkg_path: ``../../emulators/_base'' not found
pkg_path: ``../../emulators/_compat'' not found
test: /usr/pkgsrc/Makefile: unexpected operator
===> Cleaning for digest-20060826
bmake: don't know how to make show-depends-pkgpaths. Stop
bmake: don't know how to make clean. Stop

bmake: stopped in /usr/pkgsrc/CVS
test: stopped: unexpected operator
cd: can't cd to /usr/pkgsrc/archivers/rar-bin/../../bmake:
test: stopped: unexpected operator
===> x11
===> x11/9term

At this point, it has backgrounded and I have to pkill -t "/dev/`tty`" to stop the flood of cleanage that follows. Other targets (except the readme one which I complained about malfunctioning globally and I will send-pr about in a sec) seem to work just fine, though.

This was using branch 2007Q2 updated from CVS minutes ago.

Note: this was previously sent to pkgsrc-users, but this seems to be a more appropriate place. The problem persists in the current CVS tree (that is, again with a delay of a few minutes :^).
>How-To-Repeat:
#!/bin/sh
cd archivers/rar-bin &&
exec make clean-depends
>Fix:
No fix is currently known.