#1202 Issues building in plague
Closed: Fixed None Opened 15 years ago by rayvd.

I'm having troubles building several python packages in plague. No idea if this is related to yesterday's outage or not:

The latter is a known good package (pymssql) which hasn't been changed in a very long time and should build perfectly. pyodbc is recently updated but builds fine in a local mock environment.

Both are reporting dependency errors on python with something along the lines of the following:

{{{
# /usr/bin/yum --installroot /var/lib/mock/fedora-5-ppc-epel-c02fd9339640920144f7a6e652d7a422d0ef43c4/root/ install 'python-devel >= 2.4' 'freetds-devel >= 0.63'
python-devel-2.4.3-19.el5.ppc from rhel5-base has depsolving problems
--> Missing Dependency: python = 2.4.3-19.el5 is needed by package python-devel-2.4.3-19.el5.ppc (rhel5-base)
Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package python-devel-2.4.3-19.el5.ppc (rhel5-base)
}}}

Of note is that -19 is not the current version of Python in my EL install, -21 is. Other jobs on plague seem to have completed correctly overnight, however none of them were python packages.

Hoping someone can take a look at this -- obviously not super critical ATM. Thanks!


there seems to be an issue with the repos we use to populate the buidlroots. a newer python is installed in the --init process. so yum rightly so says there is no python to install.

Working on fixing

Just a ping on this -- this still appears to be an issue ([http://buildsys.fedoraproject.org/logs/fedora-5-epel/1580-pyodbc-2.1.4-4.el5/ log).

I guess if the switch to koji is close this doesn't matter. :)

we won't block anything even if we'll move to koji.
we're still working on a fix.

Just in case it helps, here's a case where the same package built successfully on EL-4 and failed on EL-5:

http://buildsys.fedoraproject.org/logs/fedora-4-epel/1803-puppet-0.24.8-1.el4/ (passed)
http://buildsys.fedoraproject.org/logs/fedora-5-epel/1802-puppet-0.24.8-1.el5/ (failed)

Puppet was last built successfully on both EL branches on December 16, using the same versioned ruby BRs.

Replying to [comment:1 ausil]:

Working on fixing

Ping. It's more than a month from this message and problem still present.

as a work around remove the versioned BuildRequires.

Replying to [comment:9 ausil]:

as a work around remove the versioned BuildRequires.

OK, at least this works for me.
Thank you.

This appears to work for me as well. I guess you don't really need versioned !BuildRequires anyways if you have versioned Requires.

Replying to [comment:11 rayvd]:

This appears to work for me as well. I guess you don't really need versioned !BuildRequires anyways if you have versioned Requires.

I think it's not a good idea. When building an package, it can say what's wrong at build time and it avoids packages, which are built OK, but doesn't work.

If this will be approved as real solution, this should go into fedora packaging guidelines.

I didn't feel like maintaining two versions of my .spec file for EPEL and Fedora so I just updated the Fedora .spec's to match. Maybe not best practice but only way I can get this stuff updated in EPEL currently.

Could a situation arise where mock would be able to pull in a different version of the
!BuildRequires packages than were specified in Requires? I wouldn't think so unless the packages themselves are fouled up...

a new yum has been deployed on the builders that resolves the versioned BuildRequires resolving.

Login to comment on this ticket.

Metadata