On Wed, 2010-04-21 at 15:03 +0200, Marc Wäckerlin wrote:
> Hi Thomas
> 
> I installed Fedora 10 i386 chroot (the latest fedora that works, see my 
> previous mail):
>   mach -r fedora-10-i386-fedora setup base
> 
> The I tried to compile an example spec:
>   mach -r fedora-10-i386-base build /home/marc/svn/libxml-cxx/libxml-cxx.spec
> 
> This ends in an error message. Well, it is quite certain that the spec-file 
> is not yet perfect, but the error message does not seem to be related to 
> something in the spec file.
> 
> What's the problem?
> 
> This is the output:
> ------------------------------------------------------------------------------------
> No definition for packages found for fedora-10-i386-base
> m...@dev0002:~/downloads$ mach -r fedora-10-i386-fedora build 
> /home/marc/svn/libxml-cxx/libxml-cxx.spec
> Installing package set 'build' .........................
> Making snapshot ...
> Building .src.rpm from libxml-cxx.spec
> Using /home/marc/svn/libxml-cxx/libxml-cxx-1.0.43.tar.gz
> Creating .src.rpm ....
> Rebuilding generated .src.rpm's:
> - 
> /var/tmp/mach/tmp/fedora-10-i386-fedora/libxml-cxx-1.0.43-1/libxml-cxx-1.0.43-1.src.rpm
> Getting 
> /var/tmp/mach/tmp/fedora-10-i386-fedora/libxml-cxx-1.0.43-1/libxml-cxx-1.0.43-1.src.rpm
>  ...
> Building source rpm libxml-cxx-1.0.43-1.src.rpm
> ERROR: createrepo 
> /var/lib/mach/roots/fedora-10-i386-fedora/usr/src/rpm/RPMS.mach-local failed
> Traceback (most recent call last):
>   File "/usr/bin/mach", line 2500, in <module>
>     main (config, sys.argv[1:])
>   File "/usr/bin/mach", line 2469, in main
>     output = Root.__dict__[command] (root, args[1:])
>   File "/usr/bin/mach", line 992, in build
>     self.rebuild (options + srpms)
>   File "/usr/bin/mach", line 1266, in rebuild
>     self.update_local_repo ()
>   File "/usr/bin/mach", line 1062, in update_local_repo
>     create_sources_list (self.config, srcs)
>   File "/usr/bin/mach", line 2206, in create_sources_list
>     raise Exception, "Could not update local yum repository"
> Exception: Could not update local yum repository
> ------------------------------------------------------------------------------------

Run with -d, see what createrepo invocation it does, and try and run it
by hand to see if that tells you more.

Possibly do a full clean of the chroot and try again.

Thomas

> 
> Thank you
> Regards
> Marc Wäckerlin


-- 
I only talk when you are sleeping
That's when I tell you everything
And I imagine that somehow you're going to hear me
--
GStreamer - bringing multimedia to your desktop
http://gstreamer.freedesktop.org/



-- 
Ubuntu-motu mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to