On Wed, 2008-02-06 at 23:02 +0000, Bryce wrote:
Just playing around with a miniature version of koji at home,
building
off my own box (i386/x86_64) using koji-1.2.5
Issue 1. The kernel, because my build host is defined as arch i386,
x86_64 when I pass a kernel build in, it passes "--target i386" which
leads to the usual train wreck of no i386 config
how do I pass in i686 specifically for the kernel?
You need to set the "extra arches" that a package gets built for, in
addition to the arches defined for that tag. Use:
koji set-pkg-arches "i686" dist-foo-build kernel
In Fedora Koji the i386 build builds a kernel-headers package. If
that's not working for you, you can avoid the i386 build altogether by
putting "ExcludeArch: i386" into the spec file.
Issue 2. One of the fun items in xen is that when you're building
the
64bit version there is an odd dependency on pulling in a 32bit
glibc-devel by adding /usr/include/gnu/stubs-32.h to the dependency
list, when building in x86_64 that dependancy cannot get satisfied. How
can I beat the tag into realizing it can pull from the i386 repo to
fulfill that requirement?
Fedora uses the glibc32 and glibc64 packages to provide these
dependencies. A bit of a hack, but it works:
http://cvs.fedoraproject.org/viewcvs/rpms/glibc32/devel/
http://cvs.fedoraproject.org/viewcvs/rpms/glibc64/devel/
Koji won't let you pull i386 packages into a x86_64 build environment,
or vice versa. The build environments are single-arch only.