Tim Verhoeven wrote:
On Sun, Jun 29, 2008 at 11:57 PM, Ralph Angenendt ra+centos@br-online.de wrote:
Morning,
we seem to have a packaging problem with httpd-devel.x86_64 and apr-devel.x86_64.
If you install httpd-devel on an x86_64 machine, apr-devel is required by this package.
It then goes on to install apr-devel - but the i386 version.
Because of this apxs dies with:
cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201.
See http://bugs.centos.org/view.php?id=2934
apr-devel.x86_64 does not provide apr-devel in a 64 bit version *and* httpd-devel does not require apr-devel in a 64bit version.
This way only the i386 version gets installed, while pkg-config on a 64bit machine will look in /usr/lib64/pkgconfig for the apr-1.pc package.
Same goes for the 64bit apr-util-devel package.
Can someone look into the RHEL 5.2 packages to see if that is an upstream problem?
Strange thing: The Requires and Provides are the same in 5.1 - but there the x86_64 versions of apr-devel and apr-util-devel get installed when you install httpd-devel.x86_64 - and not the i386 versions.
I've tested this on both a RHEL5.2 and a C5.2 install. I did "yum install httpd-devel.x86_64" on both installs and in both cases it only installed x86_64 versions of the deps . Here is part of the yum output on RHEL :
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: httpd-devel x86_64 2.2.3-11.el5_1.3 rhel-server-media 147 k Installing for dependencies: apr-devel x86_64 1.2.7-11 rhel-server-media 243 k apr-util-devel x86_64 1.2.7-7.el5 rhel-server-media 54 k cyrus-sasl-devel x86_64 2.1.22-4 rhel-server-media 1.4 M db4-devel x86_64 4.3.29-9.fc6 rhel-server-media 2.1 M expat-devel x86_64 1.95.8-8.2.1 rhel-server-media 126 k gcc x86_64 4.1.2-42.el5 rhel-server-media 5.3 M glibc-devel x86_64 2.5-24 rhel-server-media 2.4 M glibc-headers x86_64 2.5-24 rhel-server-media 601 k kernel-headers x86_64 2.6.18-92.el5 rhel-server-media 879 k libgomp x86_64 4.1.2-42.el5 rhel-server-media 83 k openldap-devel x86_64 2.3.27-8.el5_1.3 rhel-server-media 1.6 M
and on C :
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: httpd-devel x86_64 2.2.3-11.el5_1.centos.3 base 147 k Installing for dependencies: apr-devel x86_64 1.2.7-11 base 242 k apr-util-devel x86_64 1.2.7-7.el5 base 54 k cyrus-sasl-devel x86_64 2.1.22-4 base 1.4 M db4-devel x86_64 4.3.29-9.fc6 base 2.1 M expat-devel x86_64 1.95.8-8.2.1 base 127 k gcc x86_64 4.1.2-42.el5 base 5.3 M glibc-devel x86_64 2.5-24 base 2.4 M glibc-headers x86_64 2.5-24 base 602 k kernel-headers x86_64 2.6.18-92.1.6.el5 updates 880 k libgomp x86_64 4.1.2-42.el5 base 83 k openldap-devel x86_64 2.3.27-8.el5_1.3 base 1.6 M
Maybe it is a local thing ?
Tim,
Maybe you have i386 excluded from your repo file (I do as well). I think this is a yum issue, and it is meeting the requirement with the wrong package because it can. This issue is caused because the i386 devel packages are in the tree ... are they supposed to be?
But I don't think we can fix it except to ask redhat to do it, if apr-devel.i386 is in the upstream repo that is.
OK ... I just checked in RHN and apr-devel-1.2.7-11.i386 is in the x86_64.
Thanks, Johnny Hughes