Need to debug segfault with gcc-4.4 of python-igraph. python-igraph requires igraph-devel, so here's what I tried:
mock -r fedora-devel-x86_64 --install ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-0.5.2-1.fc11.x86_64.rpm INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot [nbecker@nbecker6 devel]$ mock -r fedora-devel-x86_64 --install ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph- devel-0.5.2-1.fc11.x86_64.rpm INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot [nbecker@nbecker6 devel]$ mock -r fedora-devel-x86_64 --install ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph- debuginfo-0.5.2-1.fc11.x86_64.rpm INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot [nbecker@nbecker6 devel]$ mock -r fedora-devel-x86_64 --rebuild --no-clean python-igraph-0.5.2-2.fc12.src.rpm INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start INFO: Start(python-igraph-0.5.2-2.fc12.src.rpm) Config(fedora-rawhide- x86_64) State Changed: init State Changed: lock buildroot Mock Version: 0.9.14 INFO: Mock Version: 0.9.14 INFO: enabled root cache INFO: enabled yum cache State Changed: cleaning yum metadata INFO: enabled ccache State Changed: running yum State Changed: setup ERROR: Exception(python-igraph-0.5.2-2.fc12.src.rpm) Config(fedora-rawhide- x86_64) 0 minutes 4 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-x86_64/result ERROR: Bad build req: No Package Found for igraph-devel = 0.5.2. Exiting.
mock -r fedora-devel-x86_64 --shell INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot mock-chroot> rpm -q igraph rpmdb: Program version 4.7 doesn't match environment version 4.5 error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db3 - (-30971) error: cannot open Packages database in /var/lib/rpm rpmdb: Program version 4.7 doesn't match environment version 4.5 error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages database in /var/lib/rpm package igraph is not installed
On Tue, Apr 28, 2009 at 4:02 PM, Neal Becker ndbecker2@gmail.com wrote:
mock -r fedora-devel-x86_64 --shell INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot mock-chroot> rpm -q igraph rpmdb: Program version 4.7 doesn't match environment version 4.5 error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db3 - (-30971) error: cannot open Packages database in /var/lib/rpm> rpmdb: Program version 4.7 doesn't match environment version 4.5
the buildroot is populated from the outside, using the "host" yum and rpm. For that to work I think you need to upgrade the host's rpm to (not sure if 4.6 is enough, probably yes)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 28 Apr 2009 17:03:34 +0200 Gianluca Sforna giallu@gmail.com wrote:
On Tue, Apr 28, 2009 at 4:02 PM, Neal Becker ndbecker2@gmail.com wrote:
mock -r fedora-devel-x86_64 --shell INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot mock-chroot> rpm -q igraph rpmdb: Program version 4.7 doesn't match environment version 4.5 error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db3 - (-30971) error: cannot open Packages database in /var/lib/rpm> rpmdb: Program version 4.7 doesn't match environment version 4.5
the buildroot is populated from the outside, using the "host" yum and rpm. For that to work I think you need to upgrade the host's rpm to (not sure if 4.6 is enough, probably yes)
Yup, the rpmdb in the chroot is built with the host rpm, not the one installed in the chroot. To query what's in the chroot, try this:
$ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph
(or just print the root path and pass that directly to --root)
Clark
Clark Williams wrote:
...
Yup, the rpmdb in the chroot is built with the host rpm, not the one installed in the chroot. To query what's in the chroot, try this:
$ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph
rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph package igraph is not installed
But why isn't it installed? As I showed, I did: mock -r fedora-devel-x86_64 --install ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --install ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph- devel-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --install ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph- debuginfo-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --rebuild --no-clean python-igraph-0.5.2-2.fc12.src.rpm
Notice I used --no-clean.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 28 Apr 2009 15:04:36 -0400 Neal Becker ndbecker2@gmail.com wrote:
Clark Williams wrote:
...
Yup, the rpmdb in the chroot is built with the host rpm, not the one installed in the chroot. To query what's in the chroot, try this:
$ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph
rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph package igraph is not installed
But why isn't it installed? As I showed, I did:
~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --install ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph- devel-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --install ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph- debuginfo-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --rebuild --no-clean python-igraph-0.5.2-2.fc12.src.rpm
Notice I used --no-clean.
That all looks correct. You might want to verify the rpmdb in the chroot:
$ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -V --all
If that doesn't show any problems (aside from /proc and /sys, which is expected), you might want to check the db with a clean chroot:
$ mock -r fedora-devel-x86_64 --init $ mock -r fedora-devel-x86_64 --install \ ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-0.5.2-1.fc11.x86_64.rpm $ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph
It *should* show igraph in there.
Clark
Neal Becker wrote:
rpmdb: Program version 4.7 doesn't match environment version 4.5
You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Kevin Kofler
"KK" == Kevin Kofler kevin.kofler@chello.at writes:
KK> All the Fedora builders are running a custom build of RPM 4.6 on KK> the EL5 hosts.
There's also a build for F9, but the original post was lacking in a few details so it's tough to say what would help. I still have an F9 build farm and have no trouble building rawhide packages.
- J<
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
rpmdb: Program version 4.7 doesn't match environment version 4.5
You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
I'm not getting the rpmdb errors mentioned in the thread so this might be a different issue, but rather some other missing dependency but also related to rpmlib (on a mock root init for fc11 packages complain about "needs rpmlib(FileDigests) <= 4.6.0-1")
-- Fernando
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
rpmdb: Program version 4.7 doesn't match environment version 4.5
You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
Kevin Kofler
Kevin Kofler kevin.kofler@chello.at writes:
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
These won't install cleanly on an existing CentOS 5.3 builder, net-snmp is older than the one in CentOS updates.
[root@builder1 ~]# rpm -q rpm net-snmp rpm-4.4.2.3-9.el5 net-snmp-5.3.2.2-5.el5 [root@builder1 ~]# yum install rpm Loaded plugins: fastestmirror, priorities, versionlock Loading mirror speeds from cached hostfile Reading version lock configuration Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check --> Processing Dependency: rpm = 4.4.2.3-9.el5 for package: rpm-python --> Processing Dependency: rpm = 4.4.2.3-9.el5 for package: rpm-build --> Processing Dependency: rpm = 4.4.2.3-9.el5 for package: rpm-libs ---> Package rpm.x86_64 0:4.6.0-4.0.mitr.1.el5 set to be updated --> Processing Dependency: liblua-5.1.so()(64bit) for package: rpm --> Running transaction check ---> Package lua.x86_64 0:5.1.2-1.el5 set to be updated ---> Package rpm-python.x86_64 0:4.6.0-4.0.mitr.1.el5 set to be updated ---> Package rpm-libs.x86_64 0:4.6.0-4.0.mitr.1.el5 set to be updated ---> Package rpm-build.x86_64 0:4.6.0-4.0.mitr.1.el5 set to be updated --> Processing Dependency: librpm-4.4.so()(64bit) for package: net-snmp --> Processing Dependency: librpmio-4.4.so()(64bit) for package: net-snmp --> Running transaction check ---> Package net-snmp.x86_64 1:5.3.2.2-5.el5_3.1 set to be updated --> Processing Dependency: net-snmp-libs = 1:5.3.2.2-5.el5_3.1 for package: net-snmp --> Processing Dependency: librpm-4.4.so()(64bit) for package: net-snmp --> Processing Dependency: librpmio-4.4.so()(64bit) for package: net-snmp --> Running transaction check ---> Package net-snmp-libs.x86_64 1:5.3.2.2-5.el5_3.1 set to be updated --> Processing Dependency: librpm-4.4.so()(64bit) for package: net-snmp --> Processing Dependency: librpmio-4.4.so()(64bit) for package: net-snmp --> Finished Dependency Resolution 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from update has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (update) 1:net-snmp-5.3.2.2-5.el5.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (update) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from update has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (update) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (update) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (update)
Kevin Kofler wrote:
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
rpmdb: Program version 4.7 doesn't match environment version 4.5
You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
I'm not able to install the packages at builder-rpms I'm running RHEL5 x86_64 1) upgrade to latest RHEL5 - reboot 2) added /etc/yum.repos.d/builder-rpms.repo: [builder-rpms] name=builder-rpms description=New rpm and yum in order to use mock on el5 to build f11 and later packages baseurl=http://infrastructure.fedoraproject.org/builder-rpms/x86_64/
3) yum upgrade - the only package I was able to successfully upgrade was yum - yum upgrade yum - everything else fails like this: 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 from builder-rpms has depsolving problems --> Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) Error: Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed)
I cannot find popt-devel anywhere in the rhel or epel repos. Do I need to install these rpms manually with rpm rather than with yum?
Kevin Kofler
Rich Megginson wrote:
Kevin Kofler wrote:
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
rpmdb: Program version 4.7 doesn't match environment version 4.5
You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
I'm not able to install the packages at builder-rpms I'm running RHEL5 x86_64
- upgrade to latest RHEL5 - reboot
- added /etc/yum.repos.d/builder-rpms.repo:
[builder-rpms] name=builder-rpms description=New rpm and yum in order to use mock on el5 to build f11 and later packages baseurl=http://infrastructure.fedoraproject.org/builder-rpms/x86_64/
- yum upgrade - the only package I was able to successfully upgrade
was yum - yum upgrade yum - everything else fails like this: 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 from builder-rpms has depsolving problems --> Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) Error: Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed)
I cannot find popt-devel anywhere in the rhel or epel repos. Do I need to install these rpms manually with rpm rather than with yum?
Follow up - this doesn't work either: 1) downloaded all of the builder-rpms to a local directory 2) rpm -Uvh /path/to/builder-rpms/*.rpm error: Failed dependencies: liblua-5.1.so()(64bit) is needed by rpm-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-build-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 popt-devel is needed by rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-libs-4.6.0-4.0.mitr.1.el5.x86_64
Kevin Kofler
On Mon, 2009-06-08 at 11:55 -0600, Rich Megginson wrote:
Kevin Kofler wrote:
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
rpmdb: Program version 4.7 doesn't match environment version 4.5
You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
I'm not able to install the packages at builder-rpms I'm running RHEL5 x86_64
- upgrade to latest RHEL5 - reboot
- added /etc/yum.repos.d/builder-rpms.repo:
[builder-rpms] name=builder-rpms description=New rpm and yum in order to use mock on el5 to build f11 and later packages baseurl=http://infrastructure.fedoraproject.org/builder-rpms/x86_64/
- yum upgrade - the only package I was able to successfully upgrade was
yum - yum upgrade yum - everything else fails like this: 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 from builder-rpms has depsolving problems --> Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) Error: Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed)
I cannot find popt-devel anywhere in the rhel or epel repos. Do I need to install these rpms manually with rpm rather than with yum?
Yup, same here, looks like there's more than just what is in the infrastructure site... I'm currently trying to rebuild locally.
Argh...... -- Fernando
On 06/08/2009 11:48 AM, Fernando Lopez-Lezcano wrote:
On Mon, 2009-06-08 at 11:55 -0600, Rich Megginson wrote:
Kevin Kofler wrote:
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
rpmdb: Program version 4.7 doesn't match environment version 4.5
You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
I'm not able to install the packages at builder-rpms I'm running RHEL5 x86_64
- upgrade to latest RHEL5 - reboot
- added /etc/yum.repos.d/builder-rpms.repo:
[builder-rpms] name=builder-rpms description=New rpm and yum in order to use mock on el5 to build f11 and later packages baseurl=http://infrastructure.fedoraproject.org/builder-rpms/x86_64/
- yum upgrade - the only package I was able to successfully upgrade was
yum - yum upgrade yum - everything else fails like this: 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 from builder-rpms has depsolving problems --> Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) Error: Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed)
I cannot find popt-devel anywhere in the rhel or epel repos. Do I need to install these rpms manually with rpm rather than with yum?
Yup, same here, looks like there's more than just what is in the infrastructure site... I'm currently trying to rebuild locally.
The rebuilt net-snmp is also in the builder repo. Unfortunately, the CentOS repository rebuild compares newer than the one in the builder repo:
Centos: net-snmp-5.3.2.2-5.el5_3.1.x86_64 builder-repo: net-snmp-5.3.2.2-5.el5.fedorabuilder.x86_64
You could probably replace the centos net-snmp with the builder-repo's and then things will be fine... You'll have to use --exclude with yum afterwards, though, or the net-snmp from centos will keep trying to come in.
-Toshio
Toshio Kuratomi wrote:
On 06/08/2009 11:48 AM, Fernando Lopez-Lezcano wrote:
On Mon, 2009-06-08 at 11:55 -0600, Rich Megginson wrote:
Kevin Kofler wrote:
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
> rpmdb: Program version 4.7 doesn't match environment version 4.5 > > You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
I'm not able to install the packages at builder-rpms I'm running RHEL5 x86_64
- upgrade to latest RHEL5 - reboot
- added /etc/yum.repos.d/builder-rpms.repo:
[builder-rpms] name=builder-rpms description=New rpm and yum in order to use mock on el5 to build f11 and later packages baseurl=http://infrastructure.fedoraproject.org/builder-rpms/x86_64/
- yum upgrade - the only package I was able to successfully upgrade was
yum - yum upgrade yum - everything else fails like this: 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 from builder-rpms has depsolving problems --> Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) Error: Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed)
I cannot find popt-devel anywhere in the rhel or epel repos. Do I need to install these rpms manually with rpm rather than with yum?
Yup, same here, looks like there's more than just what is in the infrastructure site... I'm currently trying to rebuild locally.
The rebuilt net-snmp is also in the builder repo. Unfortunately, the CentOS repository rebuild compares newer than the one in the builder repo:
Centos: net-snmp-5.3.2.2-5.el5_3.1.x86_64 builder-repo: net-snmp-5.3.2.2-5.el5.fedorabuilder.x86_64
You could probably replace the centos net-snmp with the builder-repo's and then things will be fine... You'll have to use --exclude with yum afterwards, though, or the net-snmp from centos will keep trying to come in.
Ok, that got me further, but I'm still failing. I had to do rpm --force -Uvh net-snmp*.fedorabuilder.x86_64.rpm
But I'm stuck on rpm - both yum and rpm install are failing: liblua-5.1.so()(64bit) is needed by rpm-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-build-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 popt-devel is needed by rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-libs-4.6.0-4.0.mitr.1.el5.x86_64
-Toshio
On 06/08/2009 02:28 PM, Rich Megginson wrote:
Ok, that got me further, but I'm still failing. I had to do rpm --force -Uvh net-snmp*.fedorabuilder.x86_64.rpm
But I'm stuck on rpm - both yum and rpm install are failing: liblua-5.1.so()(64bit) is needed by rpm-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-build-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 popt-devel is needed by rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-libs-4.6.0-4.0.mitr.1.el5.x86_64
Hmm... The lua package should be available in epel.
lftp download.fedora.redhat.com:/pub/epel/5/x86_64> ls lua-5* -rw-rw-r-- 2 ftp ftp 230809 Jun 16 2007 lua-5.1.2-1.el5.i386.rpm -rw-rw-r-- 1 ftp ftp 230063 Jun 16 2007 lua-5.1.2-1.el5.x86_64.rpm
-Toshio
Toshio Kuratomi wrote:
On 06/08/2009 02:28 PM, Rich Megginson wrote:
Ok, that got me further, but I'm still failing. I had to do rpm --force -Uvh net-snmp*.fedorabuilder.x86_64.rpm
But I'm stuck on rpm - both yum and rpm install are failing: liblua-5.1.so()(64bit) is needed by rpm-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-build-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 popt-devel is needed by rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 liblua-5.1.so()(64bit) is needed by rpm-libs-4.6.0-4.0.mitr.1.el5.x86_64
Hmm... The lua package should be available in epel.
lftp download.fedora.redhat.com:/pub/epel/5/x86_64> ls lua-5* -rw-rw-r-- 2 ftp ftp 230809 Jun 16 2007 lua-5.1.2-1.el5.i386.rpm -rw-rw-r-- 1 ftp ftp 230063 Jun 16 2007 lua-5.1.2-1.el5.x86_64.rpm
-Toshio
Ah, so it is. Thanks! So now my only hurdle is the missing popt-devel - any ideas?
On 06/08/2009 03:15 PM, Rich Megginson wrote:
Ah, so it is. Thanks! So now my only hurdle is the missing popt-devel
- any ideas?
That one looks like a genuine packaging bug. We don't use rpm-devel on the builders so no one saw it.
The header files for popt are in the main popt package in RHEL5/CentOS5 so that's what actually needs to be required in this instance, not popt-devel.
-Toshio
Toshio Kuratomi wrote:
On 06/08/2009 03:15 PM, Rich Megginson wrote:
Ah, so it is. Thanks! So now my only hurdle is the missing popt-devel
- any ideas?
That one looks like a genuine packaging bug. We don't use rpm-devel on the builders so no one saw it.
The header files for popt are in the main popt package in RHEL5/CentOS5 so that's what actually needs to be required in this instance, not popt-devel.
Can I just do rpm --nodeps -Uvh rpm*.rpm?
-Toshio
On 06/09/2009 06:51 AM, Rich Megginson wrote:
Toshio Kuratomi wrote:
The header files for popt are in the main popt package in RHEL5/CentOS5 so that's what actually needs to be required in this instance, not popt-devel.
Can I just do rpm --nodeps -Uvh rpm*.rpm?
That seems like it should work.
-Toshio
Toshio Kuratomi wrote:
On 06/09/2009 06:51 AM, Rich Megginson wrote:
Toshio Kuratomi wrote:
The header files for popt are in the main popt package in RHEL5/CentOS5 so that's what actually needs to be required in this instance, not popt-devel.
Can I just do rpm --nodeps -Uvh rpm*.rpm?
That seems like it should work.
Success!!!!! rpm --nosignature --force --nodeps -Uvh /path/to/builder-rpms/rpm*.rpm
After this, I was able to successfully do mock -r fedora-rawhide-i386 init
Thanks to all who helped!
-Toshio
On Mon, 2009-06-08 at 11:48 -0700, Fernando Lopez-Lezcano wrote:
On Mon, 2009-06-08 at 11:55 -0600, Rich Megginson wrote:
Kevin Kofler wrote:
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
rpmdb: Program version 4.7 doesn't match environment version 4.5
You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
I'm not able to install the packages at builder-rpms I'm running RHEL5 x86_64
- upgrade to latest RHEL5 - reboot
- added /etc/yum.repos.d/builder-rpms.repo:
[builder-rpms] name=builder-rpms description=New rpm and yum in order to use mock on el5 to build f11 and later packages baseurl=http://infrastructure.fedoraproject.org/builder-rpms/x86_64/
- yum upgrade - the only package I was able to successfully upgrade was
yum - yum upgrade yum - everything else fails like this: 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 from builder-rpms has depsolving problems --> Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) Error: Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed)
I cannot find popt-devel anywhere in the rhel or epel repos. Do I need to install these rpms manually with rpm rather than with yum?
Yup, same here, looks like there's more than just what is in the infrastructure site... I'm currently trying to rebuild locally.
I had to:
- change requires in rpm.spec from popt-devel to just popt - build rpm package (for x86_64 and i386) - put it in local repository (net-snmp should not need it, I think that is the point, but just in case) - build net-snmp (merged in spec with latest patch from 5.3) with the new rpm in the build environment, x86_64 - but rpm-libs and rpm-devel require libmagic.so.1 in i386, and that seems to not be available in the 5.3 x86_64 standard repository, so install the i386 file from 5.3.i386 in the x86_64 infrastructure repository - rebuild yum - the result installs in a fully updated 5.3 and a f11 root can be created...
-- Fernando
On Mon, 2009-06-08 at 14:50 -0700, Fernando Lopez-Lezcano wrote:
On Mon, 2009-06-08 at 11:48 -0700, Fernando Lopez-Lezcano wrote:
On Mon, 2009-06-08 at 11:55 -0600, Rich Megginson wrote:
Kevin Kofler wrote:
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
> rpmdb: Program version 4.7 doesn't match environment version 4.5 > You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
I'm not able to install the packages at builder-rpms I'm running RHEL5 x86_64
- upgrade to latest RHEL5 - reboot
- added /etc/yum.repos.d/builder-rpms.repo:
[builder-rpms] name=builder-rpms description=New rpm and yum in order to use mock on el5 to build f11 and later packages baseurl=http://infrastructure.fedoraproject.org/builder-rpms/x86_64/
- yum upgrade - the only package I was able to successfully upgrade was
yum - yum upgrade yum - everything else fails like this: 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 from builder-rpms has depsolving problems --> Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) Error: Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed)
I cannot find popt-devel anywhere in the rhel or epel repos. Do I need to install these rpms manually with rpm rather than with yum?
Yup, same here, looks like there's more than just what is in the infrastructure site... I'm currently trying to rebuild locally.
I had to:
- change requires in rpm.spec from popt-devel to just popt
- build rpm package (for x86_64 and i386)
- put it in local repository (net-snmp should not need it, I think that is the point, but just in case)
- build net-snmp (merged in spec with latest patch from 5.3) with the new rpm in the build environment, x86_64
- but rpm-libs and rpm-devel require libmagic.so.1 in i386, and that seems to not be available in the 5.3 x86_64 standard repository, so install the i386 file from 5.3.i386 in the x86_64 infrastructure repository
- rebuild yum
- the result installs in a fully updated 5.3 and a f11 root can be created...
Nope, sorry, no luck yet. I can use _mach_ to build a f11 chroot but mock is not happy ("cannot open Packages index using db3 - No such file or directory"). Removing all caches seems to help but I only can build a chroot once. I have tried many times and I'm getting confused. It is an old version of mock, maybe that's the reason. Sigh.
-- Fernando
On Mon, 2009-06-08 at 14:50 -0700, Fernando Lopez-Lezcano wrote:
On Mon, 2009-06-08 at 11:48 -0700, Fernando Lopez-Lezcano wrote:
On Mon, 2009-06-08 at 11:55 -0600, Rich Megginson wrote:
Kevin Kofler wrote:
Fernando Lopez-Lezcano wrote:
On Wed, 2009-04-29 at 00:40 +0200, Kevin Kofler wrote:
Neal Becker wrote:
> rpmdb: Program version 4.7 doesn't match environment version 4.5 > You need at least RPM 4.6 on the host systems to build Rawhide packages, that's at least F10 + updates. All the Fedora builders are running a custom build of RPM 4.6 on the EL5 hosts.
Is this available anywhere? My build host is EL5 and I'm finding it impossible to build F11 packages there....
You need these: http://infrastructure.fedoraproject.org/builder-rpms/ and python-hashlib from EPEL.
I'm not able to install the packages at builder-rpms I'm running RHEL5 x86_64
- upgrade to latest RHEL5 - reboot
- added /etc/yum.repos.d/builder-rpms.repo:
[builder-rpms] name=builder-rpms description=New rpm and yum in order to use mock on el5 to build f11 and later packages baseurl=http://infrastructure.fedoraproject.org/builder-rpms/x86_64/
- yum upgrade - the only package I was able to successfully upgrade was
yum - yum upgrade yum - everything else fails like this: 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 from installed has depsolving problems --> Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 from builder-rpms has depsolving problems --> Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpm-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed) Error: Missing Dependency: popt-devel is needed by package rpm-devel-4.6.0-4.0.mitr.1.el5.x86_64 (builder-rpms) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package 1:net-snmp-5.3.2.2-5.el5_3.1.x86_64 (installed)
I cannot find popt-devel anywhere in the rhel or epel repos. Do I need to install these rpms manually with rpm rather than with yum?
Yup, same here, looks like there's more than just what is in the infrastructure site... I'm currently trying to rebuild locally.
I had to:
- change requires in rpm.spec from popt-devel to just popt
- build rpm package (for x86_64 and i386)
- put it in local repository (net-snmp should not need it, I think that is the point, but just in case)
- build net-snmp (merged in spec with latest patch from 5.3) with the new rpm in the build environment, x86_64
- but rpm-libs and rpm-devel require libmagic.so.1 in i386, and that seems to not be available in the 5.3 x86_64 standard repository, so install the i386 file from 5.3.i386 in the x86_64 infrastructure repository
- rebuild yum
- the result installs in a fully updated 5.3 and a f11 root can be created...
Hey, back again...
Doing that I get a system that can successfully build fc11 packages (with the newest mock, and upgraded yum and rpm). But I'm hitting problems with building packages for fc10. Mock is not happy with anything using, say, scons (ie: python using popen). Builds fail.
Appears to be related to:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520916 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524044
My question is: what kernel is being used in the build systems that successfully use mock to build for fc10? The latest from rhel 5.3 seems to exhibit the problem and I have found no workaround so far...
-- Fernando
On Tue, Apr 28, 2009 at 4:02 PM, Neal Becker ndbecker2@gmail.com wrote:
mock -r fedora-devel-x86_64 --shell INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot mock-chroot> rpm -q igraph rpmdb: Program version 4.7 doesn't match environment version 4.5 error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db3 - (-30971) error: cannot open Packages database in /var/lib/rpm rpmdb: Program version 4.7 doesn't match environment version 4.5 error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages database in /var/lib/rpm package igraph is not installed
Seems related to this patch rejected for rpm for RHEL and CENTOS.
https://bugzilla.redhat.com/show_bug.cgi?id=464752
Regards
-- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
devel@lists.stg.fedoraproject.org