Arch Linux

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#14824 - [fakeroot] missing dependency

Attached to Project: Arch Linux
Opened by Baho Utot (baho-utot) - Monday, 25 May 2009, 11:50 GMT
Last edited by Allan McRae (Allan) - Wednesday, 17 June 2009, 12:35 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I filed this bug report because Allan told me to :)
See his reponse to my email on arch-general :)

fakeroot is missing a dependency acording to namcap

namcap fakeroot-1.12.2-2-i686.pkg.tar.gz
> fakeroot E: Dependency detected and not included (bash) from files
> ['usr/bin/fakeroot']
> fakeroot W: Dependency included but already satisfied (glibc)
> fakeroot W: Dependency included and not needed (filesystem)
> fakeroot W: Dependency included and not needed (grep)
> fakeroot W: Dependency included and not needed (sed)


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 17 June 2009, 12:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  fakeroot 1.12.3-1
Comment by Andreas Radke (AndyRTR) - Monday, 25 May 2009, 18:50 GMT
Bash is a core base category package. We usually don't add 'base' deps. So I'm for "won't fix".
Comment by Greg (dolby) - Monday, 25 May 2009, 20:44 GMT
Maybe fakeroot could depend on sh instead. As in the future the sh link might change.
The same could be with all other packages containg sh scripts. Right now namap will report a dependency on bash instead of sh.
Comment by Allan McRae (Allan) - Tuesday, 26 May 2009, 01:17 GMT
  • Field changed: Severity (Medium → Very Low)
I'm for fixing. If this package does not depend on "sh" then its install script may fail to execute during an initial install if pacman happens to order it before bash.
Comment by Henning Garus (garns) - Wednesday, 27 May 2009, 00:20 GMT
Doesn't pacman use the sh on the install cd, or whereever you install from? Considering you booted into the system used for the install some type of shell should be around. Otherwise which sh would be used to execute bash.install? Granted pacman will still install bash successfully without /bin/sh as bash.install does only run install-info. However before you add sh as a depend to fakeroot you should add it to filesystem.
Comment by Allan McRae (Allan) - Wednesday, 27 May 2009, 03:02 GMT
On installing, pacman uses the sh in the child system, not the parent (e.g. install CD). bash.install will work (as sh is on the system by the time post_install is called), but for the dependancies of bash (readline, glibc, ncurses, kernel-headers and tzdata), pre/post install do not work...

Anyway, I'm of the opinion that any packages in core (in particular those in base and base-devel) should have their actual deps listed and not assume that all of base is installed.

Loading...