Re: rpm 5.4.10 for testing in th-test

2012-09-13 Thread Jan Rękorajski
On Wed, 12 Sep 2012, Jeffrey Johnson wrote: But this isn't the time/pace to discuss relative merits of user/group management … the rpmdsCompare needs to be extended to include the namespace in the comparison. Would something like this do the job (works-for-me)? Or is it too simplified? ---

Re: rpm 5.4.10 for testing in th-test

2012-09-13 Thread Jeffrey Johnson
On Sep 13, 2012, at 7:28 AM, Jan Rękorajski wrote: On Wed, 12 Sep 2012, Jeffrey Johnson wrote: But this isn't the time/pace to discuss relative merits of user/group management … the rpmdsCompare needs to be extended to include the namespace in the comparison. Would something like this

Re: rpm 5.4.10 for testing in th-test

2012-09-12 Thread Jeffrey Johnson
On Sep 12, 2012, at 2:56 AM, Jacek Konieczny jaj...@jajcus.net wrote: On Tue, Sep 11, 2012 at 11:06:45PM -0400, Jeffrey Johnson wrote: There's no well defined semantic for Provides: group(mpd) even if PLD has adopted some convention afaik. The Provides: group(mpd) is just a

Re: rpm 5.4.10 for testing in th-test

2012-09-11 Thread Jan Rękorajski
On Tue, 11 Sep 2012, Artur Frysiak wrote: On Tue, Sep 11, 2012 at 7:29 AM, Jan Rękorajski bagg...@pld-linux.org wrote: On Mon, 10 Sep 2012, Artur Frysiak wrote: $ LC_ALL=C sudo rpm -Uhv systemd-187-4.x86_64.rpm systemd-libs-187-4.x86_64.rpm systemd-units-187-4.x86_64.rpm

Re: rpm 5.4.10 for testing in th-test

2012-09-11 Thread Jeffrey Johnson
On Sep 11, 2012, at 6:58 AM, Jan Rękorajski bagg...@pld-linux.org wrote: $ rpm -q rpm rpm-5.4.10-0.12.x86_64 The problem comes from mpd and stunnel have Provides user(%{name}) and group(%{name}), and rpm mixes RPMNS_TYPE_USER/RPMNS_TYPE_GROUP namespace deps with RPMNS_TYPE_VERSION(?)

Re: rpm 5.4.10 for testing in th-test

2012-09-11 Thread Jan Rękorajski
On Tue, 11 Sep 2012, Jeffrey Johnson wrote: On Sep 11, 2012, at 6:58 AM, Jan Rękorajski bagg...@pld-linux.org wrote: $ rpm -q rpm rpm-5.4.10-0.12.x86_64 The problem comes from mpd and stunnel have Provides user(%{name}) and group(%{name}), and rpm mixes

Re: rpm 5.4.10 for testing in th-test

2012-09-11 Thread Jan Rękorajski
On Tue, 11 Sep 2012, Jeffrey Johnson wrote: On Sep 11, 2012, at 2:29 PM, Jan Rękorajski bagg...@pld-linux.org wrote: On Tue, 11 Sep 2012, Jeffrey Johnson wrote: On Sep 11, 2012, at 6:58 AM, Jan Rękorajski bagg...@pld-linux.org wrote: $ rpm -q rpm rpm-5.4.10-0.12.x86_64

Re: rpm 5.4.10 for testing in th-test

2012-09-11 Thread Jeffrey Johnson
On Sep 11, 2012, at 4:49 PM, Jan Rękorajski bagg...@pld-linux.org wrote: No, it's this piece of code in rpmlib lib/depends.c:~1450: Got it … mi = rpmtsInitIterator(ts, RPMTAG_PROVIDENAME, Name, 0); (void) rpmmiPrune(mi, ts-removedPackages,

Re: rpm 5.4.10 for testing in th-test

2012-09-11 Thread Jan Rękorajski
On Tue, 11 Sep 2012, Jeffrey Johnson wrote: On Sep 11, 2012, at 4:49 PM, Jan Rękorajski bagg...@pld-linux.org wrote: No, it's this piece of code in rpmlib lib/depends.c:~1450: Got it … mi = rpmtsInitIterator(ts, RPMTAG_PROVIDENAME, Name, 0); (void)

Re: rpm 5.4.10 for testing in th-test

2012-09-11 Thread Jeffrey Johnson
On Sep 11, 2012, at 5:22 PM, Jan Rękorajski bagg...@pld-linux.org wrote: Any idea why the code above isn't being traversed? I'm missing something here, any help appreciated. dep in question is of the TYPE_VERSION here, comes from package being installed and it is 'mpd 0.16.5-4'

Re: rpm 5.4.10 for testing in th-test

2012-09-11 Thread Jan Rękorajski
On Tue, 11 Sep 2012, Jeffrey Johnson wrote: On Sep 11, 2012, at 5:22 PM, Jan Rękorajski bagg...@pld-linux.org wrote: Any idea why the code above isn't being traversed? I'm missing something here, any help appreciated. dep in question is of the TYPE_VERSION here, comes from

Re: rpm 5.4.10 for testing in th-test

2012-09-10 Thread Jan Rękorajski
On Mon, 10 Sep 2012, Jan Rękorajski wrote: On Sun, 09 Sep 2012, Jeffrey Johnson wrote: On Sep 9, 2012, at 3:57 PM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: Looks it's not a ldconfig optimization that's the problem, just that scriplets with only '-p /sbin/ldconfig'

Re: rpm 5.4.10 for testing in th-test

2012-09-10 Thread Jeffrey Johnson
On Sep 10, 2012, at 1:48 AM, Jan Rękorajski wrote: On Sun, 09 Sep 2012, Jeffrey Johnson wrote: On Sep 9, 2012, at 3:57 PM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: Looks it's not a ldconfig optimization that's the problem, just that scriplets with only '-p /sbin/ldconfig'

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jan Rękorajski
On Fri, 07 Sep 2012, Jeffrey Johnson wrote: On Sep 7, 2012, at 4:37 PM, Jan Rękorajski bagg...@pld-linux.org wrote: I'm getting the following message repeated many times when (un)installing packages: == warning: tag 1029 type(0x1) != implicit type(0x20002) The data type field in

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jeffrey Johnson
On Sep 9, 2012, at 7:46 AM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: On Fri, 07 Sep 2012, Jeffrey Johnson wrote: On Sep 7, 2012, at 4:37 PM, Jan Rękorajski bagg...@pld-linux.org wrote: I'm getting the following message repeated many times when (un)installing packages: ==

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jan Rękorajski
On Sun, 09 Sep 2012, Jeffrey Johnson wrote: On Sep 9, 2012, at 7:46 AM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: On Fri, 07 Sep 2012, Jeffrey Johnson wrote: On Sep 7, 2012, at 4:37 PM, Jan Rękorajski bagg...@pld-linux.org wrote: I'm getting the following message repeated

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jeffrey Johnson
On Sep 9, 2012, at 1:08 PM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: This warning shows up when processing rpm files or database created by our old rpm 4.5. Reinstall all the packages removes the need for the filtering. RPMTAG_FILESTATES is populated/generated while installing As

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jan Rękorajski
On Sun, 09 Sep 2012, Jeffrey Johnson wrote: On Sep 9, 2012, at 7:46 AM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: %post -p /sbin/ldconfig I see that other scripts are run because they fail when ldconfig is not run for some of the packages in transaction set. Repeatable

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jan Rękorajski
On Sun, 09 Sep 2012, Jeffrey Johnson wrote: On Sep 9, 2012, at 1:08 PM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: This warning shows up when processing rpm files or database created by our old rpm 4.5. Reinstall all the packages removes the need for the filtering.

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jeffrey Johnson
On Sep 9, 2012, at 3:57 PM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: On Sun, 09 Sep 2012, Jeffrey Johnson wrote: On Sep 9, 2012, at 7:46 AM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: %post -p /sbin/ldconfig I see that other scripts are run because they fail when ldconfig

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jeffrey Johnson
On Sep 9, 2012, at 3:59 PM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: Any hints what should we expect? Package spec files with localization will build, but only the C locale will display. As RPM_I18NSTRING_TYPE is phased out, all the code will be ripped out as well, including the

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jeffrey Johnson
On Sep 9, 2012, at 3:57 PM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: Looks it's not a ldconfig optimization that's the problem, just that scriplets with only '-p /sbin/ldconfig' interpreter and empty body are not run. Function runInstScript() in lib/psm.c exits on 'headerGet(fi-,

Re: rpm 5.4.10 for testing in th-test

2012-09-09 Thread Jan Rękorajski
On Sun, 09 Sep 2012, Jeffrey Johnson wrote: On Sep 9, 2012, at 3:57 PM, Jan Rękorajski bagg...@sith.mimuw.edu.pl wrote: Looks it's not a ldconfig optimization that's the problem, just that scriplets with only '-p /sbin/ldconfig' interpreter and empty body are not run. Function

Re: rpm 5.4.10 for testing in th-test

2012-09-07 Thread Jan Rękorajski
On Fri, 07 Sep 2012, Jeffrey Johnson wrote: On Sep 7, 2012, at 7:15 AM, Jan Rękorajski bagg...@pld-linux.org wrote: Instalation instructions: 0) backup rpm database in /var/lib/rpm 1) rpm -Fvh rpm* (obviously) 2) run /usr/lib/rpm/bin/dbconvert 3) run rpm --rebuilddb That's

Re: rpm 5.4.10 for testing in th-test

2012-09-07 Thread Jeffrey Johnson
On Sep 7, 2012, at 4:37 PM, Jan Rękorajski bagg...@pld-linux.org wrote: On Fri, 07 Sep 2012, Jeffrey Johnson wrote: On Sep 7, 2012, at 7:15 AM, Jan Rękorajski bagg...@pld-linux.org wrote: Instalation instructions: 0) backup rpm database in /var/lib/rpm 1) rpm -Fvh rpm* (obviously)