yes, I know koji doesn't support add i386 pkgs when build x86_64. And I modified the kojihub.py to fixed this:
-----------------------
[root@localhost ~]# diff /usr/share/koji-hub/kojihub.py /dist/lab/koji/hub/kojihub.py
1788,1790d1787
<         if arch == 'x86_64':
<             for line in file('/mnt/koji/repos/i386_pkg-needby-x86_64.list','r'):
<                 pkglist.write(line)
=============

But,it have some problems when build some pkgs. I'll try the glibc32.

Thank you very much !

2009/5/8 Bryce <bryce@zeniv.linux.org.uk>
À wrote:
> I'just verify the
> http://kojipkgs.fedoraproject.org/packages/rsh/0.17/54.fc11/data/logs/x86_64/root.log,
> it issue
>
> /usr/bin/yum --installroot
> /var/lib/mock/dist-f11-build-415492-69017/root/  groupinstall build
>
> just install x86_64 pkgs! but my project needed some i386 pkgs! I know
> that rhel and centos
> is needed i386 pkgs also. Why fedora's koji can ? My koji can't ! And
> the previous questions i
> posted is releated to this - I just added a pkglist content needed
> i386 pkgs when create pkglist
> for x86_64 arch.
>
> Did anyone can help me ? Thanks!
>
>
>
> ------------------------------------------------------------------------
>
> --
> Fedora-buildsys-list mailing list
> Fedora-buildsys-list@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
I wonder if you're tripping over the same issues I had some time ago,
you may need glibc32
(http://koji.fedoraproject.org/koji/buildinfo?buildID=1160)

>     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.

Where glibc32 is for x86_64 and glibc64 is for ppc64 if I recall
correctly. A bit long in the tooth but that seems to be still current in
koji best I can tel (course someone will now contradict me...)

Phil
=--=

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list



--
À
msn  lijian.gnu@gmail.com