Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34070 - [busybox] unnecessary dependencies because of .INSTALL script

Attached to Project: Community Packages
Opened by Andrii Melnykov (zoidberg_md) - Thursday, 28 February 2013, 10:02 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 04 March 2013, 12:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

mkdir ss
pacstrap -dc /ss busybox

Expected behaviour:

pacstrap /mnt busybox installs a very minimal system containing busybox and its dependencies.

Actual behaviour:

pacstrap /mnt busybox fails:

(1/1) upgrading busybox [########################################] 100%
/tmp/alpm_lSgKJN/.INSTALL: line 11: cat: command not found
/tmp/alpm_lSgKJN/.INSTALL: line 11: chmod: command not found
/tmp/alpm_lSgKJN/.INSTALL: line 12: rm: command not found
error: command failed to execute correctly

Proposed fixes:
- add coreutils, grep and sed to optional dependencies (if they are only needed to patch /etc/shells) or to dependencies (if it doesn't make sense to install
busybox without grep/sed which I doubt)
- detect necessary tools in .INSTALL script and output warnings that work should be done by hand instead of outright installation failure.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 04 March 2013, 12:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  changed "cat" to "busybox cat", etc

Loading...