Cannot build RHEL5/F18 packages on Fedora 18

Clark Williams clark.williams at gmail.com
Wed Mar 27 15:52:57 UTC 2013


On Wed, 27 Mar 2013 10:33:21 -0500
Michael Cronenworth <mike at cchtml.com> wrote:

> I had to build my first RHEL5 and F18 packages today after upgrading my
> Koji server from Fedora 17 to 18. I cannot build RHEL5 or F18 packages,
> but RHEL6 packages compile fine. All packages built successfully under
> Fedora 17.
> 
> RHEL5 root.log:
> [snip]
> 
> DEBUG util.py:264:  error reading information on service rdisc: Cannot allocate memory
> DEBUG util.py:264:  warning: %post(iputils-20020927-46.el5.i386) scriptlet failed, exit status 1
> DEBUG util.py:264:  Non-fatal POSTIN scriptlet failure in rpm package iputils-20020927-46.el5.i386
> DEBUG util.py:264:  error reading information on service iscsid: Cannot allocate memory
> DEBUG util.py:264:  error reading information on service iscsi: Cannot allocate memory
> DEBUG util.py:264:  warning: %post(iscsi-initiator-utils-6.2.0.872-6.el5.i386) scriptlet failed, exit status 1
> DEBUG util.py:264:  Non-fatal POSTIN scriptlet failure in rpm package iscsi-initiator-utils-6.2.0.872-6.el5.i386
> 
> RHEL5 build.log:
> [snip]
> gcc: error trying to exec 'cc1': execvp: No such file or directory
> 
> F18 build.log:
> [snip]
> collect2: fatal error: cannot find 'ld'
> 
> Is F18's mock broken?
>

Weird, looks like GCC didn't get installed in your RHEL5 chroot and
binutils isn't there on F18. I'm a bit concerned about the Cannot
allocate memory lines in the above debug output though. Anything in the
dmesg output on the host about running low on memory?

Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20130327/f68d610c/attachment.sig>


More information about the buildsys mailing list