It seems koji-web is the least of my worries.
I cannot get Fedora 15 or RHEL5 packages to build in my, once working, koji instance. I can queue the package build and yum downloads the build-deps, but when the build starts I get messages such as:
Fedora 15 builds: collect2: cannot find 'ld'
RHEL5 builds: gcc: error trying to exec 'cc1': execvp: Permission denied
Note: The Koji builder has SELinux in permissive mode at the moment.
I am fixing to revert the package update I applied, but before I do I am going to attach the list of updates I applied in hope someone sees a possible update I can downgrade.
Thanks, Michael
Michael Cronenworth píše v Po 26. 09. 2011 v 17:16 -0500:
It seems koji-web is the least of my worries.
I cannot get Fedora 15 or RHEL5 packages to build in my, once working, koji instance. I can queue the package build and yum downloads the build-deps, but when the build starts I get messages such as:
Fedora 15 builds: collect2: cannot find 'ld'
RHEL5 builds: gcc: error trying to exec 'cc1': execvp: Permission denied
Note: The Koji builder has SELinux in permissive mode at the moment.
I am fixing to revert the package update I applied, but before I do I am going to attach the list of updates I applied in hope someone sees a possible update I can downgrade.
Two things I would try first - updating mock to 1.1.15 and check if the build (e.g. running ./configure) will work after manual chroot into the buildroot.
Dan
On 09/27/2011 01:47 AM, Dan Horák wrote:
Two things I would try first - updating mock to 1.1.15 and check if the build (e.g. running ./configure) will work after manual chroot into the buildroot.
I upgraded mock, and I was able to build a RHEL6 package successfully, but Fedora 15 and RHEL5 packages still fail in the same way. It's not making much sense.
The package I am compiling does not use autotools (plain Makefiles), but I will try manual chrooting and see what happens.
I had to manually build the RPMs on VMs of F15 and RHEL5 for now.
On 09/27/2011 02:11 AM, Michael Cronenworth wrote:
I upgraded mock, and I was able to build a RHEL6 package successfully, but Fedora 15 and RHEL5 packages still fail in the same way. It's not making much sense.
I should note I also tried downgrading mock to 1.1.10, which is the last version I had installed that worked fine. Package building still fails for F15 and RHEL5. It must be one of those python updates I applied, shouldn't it?
Does the error I see in koji-web have anything to do with this?
Dan Horák wrote:
manual chroot into the buildroot.
When I manually inspect the buildroot I can see it is no longer being built right and depending on the version of mock I see two different outputs. The "/usr/bin/ld" symbolic link is never being created as the alternatives directory is not being built correctly.
This is from a Fedora 15 build:
mock 1.1.15 [snip yum install list] DEBUG util.py:250: Transaction Summary DEBUG util.py:250: ================================================================================ DEBUG util.py:250: Install 124 Package(s) DEBUG util.py:250: Total download size: 95 M DEBUG util.py:250: Installed size: 95 M DEBUG util.py:250: warning: /etc/hosts created as /etc/hosts.rpmnew DEBUG util.py:250: admindir /var/lib/alternatives invalid DEBUG util.py:250: admindir /var/lib/alternatives invalid DEBUG util.py:250: admindir /var/lib/alternatives invalid DEBUG util.py:250: admindir /var/lib/alternatives invalid DEBUG util.py:250: admindir /var/lib/alternatives invalid DEBUG util.py:250: admindir /var/lib/alternatives invalid DEBUG util.py:250: Installed: [snip installed package list]
mock 1.1.10 [snip yum install list] DEBUG util.py:250: Transaction Summary DEBUG util.py:250: ================================================================================ DEBUG util.py:250: Install 124 Package(s) DEBUG util.py:250: Total download size: 95 M DEBUG util.py:250: Installed size: 95 M DEBUG util.py:250: warning: /etc/hosts created as /etc/hosts.rpmnew DEBUG util.py:250: altdir /etc/alternatives invalid DEBUG util.py:250: altdir /etc/alternatives invalid DEBUG util.py:250: altdir /etc/alternatives invalid DEBUG util.py:250: altdir /etc/alternatives invalid DEBUG util.py:250: altdir /etc/alternatives invalid DEBUG util.py:250: altdir /etc/alternatives invalid DEBUG util.py:250: Installed: [snip installed package list]
Michael Cronenworth wrote:
DEBUG util.py:250: admindir /var/lib/alternatives invalid DEBUG util.py:250: altdir /etc/alternatives invalid
From looking at the source code of "alternatives" this error is printed when the /etc/alternatives (altdir) or /var/lib/alternatives (admindir) directories don't exist.
When I inspect the buildroots of mock 1.1.15 and 1.1.10 tasks the directories are both there in each buildroot.
I'm going to start downgrading packages that I upgraded. I see no other solution.
Besides the package update I had enabled 64-bit inodes (XFS filesystem).
I believe this is what is causing koji and koji-web to act up, but I won't be able to go back to 32-bit inodes for about 6 hours.
buildsys@lists.fedoraproject.org