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#16509 - [glibc] Add 'filesystem' as depend.

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Thursday, 08 October 2009, 03:53 GMT
Last edited by Allan McRae (Allan) - Thursday, 08 October 2009, 05:51 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Can add 'filesystem' as depends of glibc? I request this because recently run this command (via archiso):

pacman -Sy --root=/some/path base base-devel xorg xfce4 ...

then 'filesystem' is installed too later, so some commands from scriptlets fails. Example:

...
(107/349) installing fontconfig
/sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory
...
(132/349) installing pango
sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory

(pango-querymodules:18152): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
...
(167/349) installing filesystem
...


As you can see, needs /etc/ld.so.conf and "passwd/shadow" provided by filesystem. Because is a common practice to omit these "base" packages as depends, I guess that is good idea to add filesystem to glibc.

Opinions?
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 08 October 2009, 05:51 GMT
Reason for closing:  Won't implement
Comment by Allan McRae (Allan) - Thursday, 08 October 2009, 04:15 GMT
And filesystem requires chmod from coreutils on install (see install script) and coreutils depends on glibc...

Note that filesystem install script is solving the issues caused by filesystem not being the first package installed on a system. I'm not sure how we can fix that. Also, "sh" has to be installed to run the install script, which means bash and readline, ncurses, glibc...

Of course, all this works fine once a system is installed. It seems that installing using "pacman --root=/path/to/use" is not a good idea.
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 08 October 2009, 04:24 GMT
oops, true! :( chicken or the egg.

So for now, the workaround is just execute pacman in two stages: one for the base group only, and other for the rest.

Loading...