Problems running mock with rawhide build root

2014-02-04 Thread Sergio Pascual
Hi, I'm having problems running mock with a rawhide buildroot.

I get the following error

ERROR: Command failed. See logs for output.
 # /usr/bin/repoquery -c /tmp/tmpQ6Wu7m --installed -a --qf '%{nevra}
%{buildtime} %{size} %{pkgid} %{yumdb_info.from_repo}' 
/var/lib/mock/fedora-rawhide-x86_64/result/installed_pkgs

And in the root.log file

DEBUG util.py:281:  error: cannot open Packages index using db5 -
Permission denied (13)
DEBUG util.py:281:  error: cannot open Packages database in
/var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm
DEBUG util.py:281:  error: cannot open Packages database in
/var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm

Which seems highly suspicious. Is something related with RPM broken in
rawhide?

Regards, Sergio
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Problems running mock with rawhide build root

2014-02-04 Thread Panu Matilainen

On 02/04/2014 02:44 PM, Sergio Pascual wrote:

Hi, I'm having problems running mock with a rawhide buildroot.

I get the following error

ERROR: Command failed. See logs for output.
  # /usr/bin/repoquery -c /tmp/tmpQ6Wu7m --installed -a --qf '%{nevra}
%{buildtime} %{size} %{pkgid} %{yumdb_info.from_repo}' 
/var/lib/mock/fedora-rawhide-x86_64/result/installed_pkgs

And in the root.log file

DEBUG util.py:281:  error: cannot open Packages index using db5 -
Permission denied (13)
DEBUG util.py:281:  error: cannot open Packages database in
/var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm
DEBUG util.py:281:  error: cannot open Packages database in
/var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm

Which seems highly suspicious. Is something related with RPM broken in
rawhide?


Not that I know of, nor am I able to reproduce that.

https://bugzilla.redhat.com/show_bug.cgi?id=982043 has similar symptoms 
as well, but as to what is causing it... Could be some exotic setup, 
also I wouldn't count out SELinux being related one way or another.


- Panu -
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Problems running mock with rawhide build root

2014-02-04 Thread Sergio Pascual
Thank you for pointing me the bug report


2014-02-04 Panu Matilainen pmati...@laiskiainen.org:

 On 02/04/2014 02:44 PM, Sergio Pascual wrote:

 Hi, I'm having problems running mock with a rawhide buildroot.

 I get the following error

 ERROR: Command failed. See logs for output.
   # /usr/bin/repoquery -c /tmp/tmpQ6Wu7m --installed -a --qf '%{nevra}
 %{buildtime} %{size} %{pkgid} %{yumdb_info.from_repo}' 
 /var/lib/mock/fedora-rawhide-x86_64/result/installed_pkgs

 And in the root.log file

 DEBUG util.py:281:  error: cannot open Packages index using db5 -
 Permission denied (13)
 DEBUG util.py:281:  error: cannot open Packages database in
 /var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm
 DEBUG util.py:281:  error: cannot open Packages database in
 /var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm

 Which seems highly suspicious. Is something related with RPM broken in
 rawhide?


 Not that I know of, nor am I able to reproduce that.

 https://bugzilla.redhat.com/show_bug.cgi?id=982043 has similar symptoms
 as well, but as to what is causing it... Could be some exotic setup, also I
 wouldn't count out SELinux being related one way or another.

 - Panu -
 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct