[CentOS-devel] apr-devel and httpd-devel packaging problem

Mon Jun 30 09:58:42 UTC 2008
Tim Verhoeven <tim.verhoeven.be at gmail.com>

On Sun, Jun 29, 2008 at 11:57 PM, Ralph Angenendt
<ra+centos at 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 ?

Regards,
Tim

-- 
Tim Verhoeven - tim.verhoeven.be at gmail.com - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)