Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-11-14 Thread Anoop C S
@pmatilai Do I have to make an additional request to get the backport done into 
stable branch?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-438627069___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-10-01 Thread Panu Matilainen
Buildsystems aside, the issue itself is rather obvious. Fixed in 
33276849b143f73776811a1fd0f92d9972a43207, thanks for the report!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-425908126___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-10-01 Thread Panu Matilainen
Closed #541 via 33276849b143f73776811a1fd0f92d9972a43207.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#event-1876700275___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-20 Thread Jeff Johnson
FWIW, %_dbpath should be explicitly passed into the rpm query invocation in 
%requres_eq, principle of least surprise.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-423311576___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-20 Thread Jeff Johnson
And there is no --root with rpmbuild

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-423309266___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-20 Thread ニール・ゴンパ
Well, the way obs-build does it requires it to know exactly the correct way to 
unpack and manually set up enough for rpm itself, then it uses it going forward.

Mock's variant of this feature bootstraps using outer rpm enough to run target 
system's package manager to then build a new chroot for that.

Both methods work to solve "that" problem. But if you're not poking the rpmdb, 
you don't really need to bother with it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-423194544___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-20 Thread Michael Schroeder
(And that's why SUSE's build script doesn't use the "outer" rpm for 
bootstrapping. IMHO the only sane way to do it.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-423192044___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-20 Thread ニール・ゴンパ
The problem is definitely obvious in cases where you've bootstrapped a SLE11 or 
RHEL5 system using Fedora or openSUSE. In those cases, the inner rpm is 
completely useless, since the rpmdb is in the newer format rather than the 
older one.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-423190011___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-20 Thread Michael Schroeder
But the rpmdb tends to be in the buildroot as well - you don't want to mess 
with the system's rpmdb...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-423143006___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-20 Thread Panu Matilainen
Well, chroot build environments typically get populated with the rpm on the 
outside of the buildroot. There's no guarantee that the rpm/rpmbuild *in* the 
buildroot is capable of accessing the rpmdb at all.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-423132866___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-20 Thread Michael Schroeder
I don't get your chroot argument. The macro only makes sense if it's called 
from rpmbuild, it's purpose is the generate a requires matching an installed 
rpm.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541#issuecomment-423122415___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

2018-09-19 Thread Anoop C S
Raising this issue based on [1] on Fedora:

> The reason is %requires_eq macro is buggy:

> #LC_ALL="C" echo 'libldb' | xargs -r rpm -q --qf 'Requires: %{name} = 
> %{epoch}:%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is 
> not"
balíček libldb není nainstalován

> While correct command is:

> #echo 'libldb' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %{name} = 
> %{epoch}:%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is 
> not"

> The LC_ALL redefintion must be moved to the "xargs" command.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1597701

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint