[Mageia-dev] Packaging errors to fix

Michael Scherer misc at zarb.org
Tue Mar 15 14:38:08 CET 2011


Hi,

those who read cooker ml may have seen yesterday my exchange with jeff
johnson, who pointed us a few errors in our packages detected by his
buildbot system. Jeff sent me the html page, as his server is down at
the moment :

http://www.zarb.org/~misc/tmp/stdio.html

As you can see, there is some errors detected by a fresh automated
reinstallation from scratch. I fixed part of them yesterday , those
related to touch and Requires(post) ( I think ).

There is lots of others one to fix.

First, the various /dev/null related problem. I am not sure if we should
assume that /dev/null exist and is working. If we do, maybe we could
make sure it is created, for example as part as filesystem %post ?


2nd, the various group based problem. I have seen them too on various
occasion, they may be related to nscd, but I am not sure. It would be
nice to check.

3rd : dbus. There is a vicious loop between dbus and its own library,
and it seems it lack requires on chkconfig. This part maybe linked to
the 5th point.

4rd texlive. Is this really need to show everything ( this seems to be a
%trigger ) ?

5th :

error: removing glibc-2.12.1-10.mga1.i586
"Requires: /usr/share/locale/lt/LC_MESSAGES" from tsort relations.
It seems that /usr/share/locale/ is unowned. On fedora, it is part of
the basesystem. The question is to find the list of canonical locales.

Solving this one would likely solve a huge part of the loop issue.


6th : /etc/shadow is unowned :
~ $ ssh sisay LC_ALL=C rpm -qf /etc/shadow
file /etc/shadow is not owned by any package
/etc/passwd is in setup. Maybe we should also do it.

We could also clean pam as we do not have much to migrate, as we use tcb
since some years now.

7th : there is lot of loops, some caused by unowned directories  :

error: removing perl-XML-SAX-0.960.0-1.mga1.noarch "Requires(auto):
perl(XML::NamespaceSupport) >= 0.30.0" from tsort relations.
error: removing perl-XML-NamespaceSupport-1.110.0-2.mga1.noarch "Requires: /usr/lib/perl5/vendor_perl/5.12.2/XML" from tsort relations.

Some that are real loop. ( polkit, etc ).
This should IMHO be fixed.

8th : I do not know what is installed exactly, but I think we would all agree that 
it look  like "too much"


Any remark, anybody wanting to work on some part of the correction ?

-- 
Michael Scherer



More information about the Mageia-dev mailing list