Next question: "mach" build problem "Could not update local yum repository"
Marc Wäckerlin
marc.waeckerlin at tech.swisssign.com
Wed Apr 21 14:03:55 BST 2010
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
marc at 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
------------------------------------------------------------------------------------
Thank you
Regards
Marc Wäckerlin
--
SwissSign AG > extreme security & identity
Sägereistrasse 25 > CH - 8152 Glattbrugg > Tel: +41-44/838'36'93
marc.waeckerlin at tech.swisssign.com > http://swisssign.com
Secure Mailbox https://incamail.post.ch/ marc.waeckerlin at swisssign.com
SwissSign, ein Unternehmen der Schweizerischen Post, schützt und beschleunigt Ihre Geschäftsprozesse mit einfachen Lösungen für eindeutige Identifikation, digitale Signatur und sichere Kommunikation
E-Mail Richtlinien: http://marc.waeckerlin.org/computer/internet/email
Bitte korrekt zitieren: mit '>' am Zeilenanfang
More information about the Ubuntu-motu
mailing list