how init mock ? there are need some packages about i386 for build x86_64 packages !

2009-05-05 Thread 李建
hello,everybody!

I've setup koji server , but i'm doubt how to set repo when some packages on
x86_64 need packages on i386 . when i run command on x86_64 system:
--
# koji build gtes-11 audit-1.7.7-6.el5_3.2.src.rpm --scratch


the root.log have erros :

--
DEBUG util.py:280:  Executing command: /usr/bin/yum --installroot
/var/lib/mock/gtes-11-build-13-15/root/  groupinstall build
DEBUG util.py:256:  Error: Missing Dependency: libgcc_s.so.1 is needed
by package gcc
DEBUG util.py:319:  Child returncode was: 1
DEBUG backend.py:542:  umount -n /var/lib/mock/gtes-11-build-13-15/root/proc
=

In my project , libgcc_s.so.1 is a file of libgcc-4.1.2-42.i386 。how to add
the repo info about libgcc-4.1.2-42.i386 on x86_64 system enviroment ?

Thanks!

-- 
Jian Lee
msn  lijian@gmail.com
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Re: how init mock ? there are need some packages about i386 for build x86_64 packages !

2009-05-05 Thread Steve Traylen
2009/5/5 李建 :
> hello,everybody!
>
> I've setup koji server , but i'm doubt how to set repo when some packages on
> x86_64 need packages on i386 . when i run command on x86_64 system:
> --
> # koji build gtes-11 audit-1.7.7-6.el5_3.2.src.rpm --scratch
> 
>
> the root.log have erros :
>
> --
> DEBUG util.py:280:  Executing command: /usr/bin/yum --installroot
> /var/lib/mock/gtes-11-build-13-15/root/  groupinstall build
> DEBUG util.py:256:  Error: Missing Dependency: libgcc_s.so.1 is needed by
> package gcc
>
> DEBUG util.py:319:  Child returncode was: 1
> DEBUG backend.py:542:  umount -n /var/lib/mock/gtes-11-build-13-15/root/proc
> =
>
> In my project , libgcc_s.so.1 is a file of libgcc-4.1.2-42.i386 。how to add
> the repo info about libgcc-4.1.2-42.i386 on x86_64 system enviroment ?

Sounds like you want to add an external repository?
http://fedoraproject.org/wiki/Koji/ExternalRepoServerBootstrap
Steve

>
> Thanks!
>
> --
> Jian Lee
> msn  lijian@gmail.com
>
>
> --
> Fedora-buildsys-list mailing list
> Fedora-buildsys-list@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
>



-- 
Steve Traylen

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


Re: how init mock ? there are need some packages about i386 for build x86_64 packages !

2009-05-05 Thread 李建
Thank you very much !

Nearly,I need an external repository . But i just want the mock can use
pkglist of i386 when build a package in x86_64 enviroment.
the default contents in /var/lib/mock/gtes-11-build-18-15/root/etc/yum.conf
are:
-
[main]
cachedir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1

# repos

[build]
name=build
baseurl=file:///mnt/koji/repos/gtes-11-build/15/x86_64
==

The first idea , I want the koji can auto add some contents follow when
build a package of x86_64 :
--
[addon]
name=addon
baseurl=file:///mnt/koji/repos/gtes-11-build/15/i386
==

I'll modify the code tomorrow and try again , Now get off work :)


2009/5/5 Steve Traylen 

> 2009/5/5 李建 :
> > hello,everybody!
> >
> > I've setup koji server , but i'm doubt how to set repo when some packages
> on
> > x86_64 need packages on i386 . when i run command on x86_64 system:
> > --
> > # koji build gtes-11 audit-1.7.7-6.el5_3.2.src.rpm --scratch
> > 
> >
> > the root.log have erros :
> >
> > --
> > DEBUG util.py:280:  Executing command: /usr/bin/yum --installroot
> > /var/lib/mock/gtes-11-build-13-15/root/  groupinstall build
> > DEBUG util.py:256:  Error: Missing Dependency: libgcc_s.so.1 is needed by
> > package gcc
> >
> > DEBUG util.py:319:  Child returncode was: 1
> > DEBUG backend.py:542:  umount -n
> /var/lib/mock/gtes-11-build-13-15/root/proc
> > =
> >
> > In my project , libgcc_s.so.1 is a file of libgcc-4.1.2-42.i386 。how to
> add
> > the repo info about libgcc-4.1.2-42.i386 on x86_64 system enviroment ?
>
> Sounds like you want to add an external repository?
> http://fedoraproject.org/wiki/Koji/ExternalRepoServerBootstrap
> Steve
>
> >
> > Thanks!
> >
> > --
> > Jian Lee
> > msn  lijian@gmail.com
> >
> >
> > --
> > Fedora-buildsys-list mailing list
> > Fedora-buildsys-list@redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
> >
>
>
>
> --
> Steve Traylen
>
> --
> Fedora-buildsys-list mailing list
> Fedora-buildsys-list@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
>



-- 
李建
msn  lijian@gmail.com
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list