Mailinglist Archive: opensuse-buildservice (131 mails)

< Previous Next >
Re: [opensuse-buildservice] how to deal with osc build?
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Sat, 30 Dec 2006 10:35:57 +0100
  • Message-id: <20061230093557.GA8852@xxxxxxx>
On Sat, Dec 30, 2006 at 09:48:33AM +0100, Richard Bos wrote:
> According to this email
> http://lists.opensuse.org/opensuse-buildservice/2006-09/msg00133.html it is
> possible to execute:
> $ osc build Fedora_Extras_5 i586 *spec
>
> But when I try that I get:
> $ osc build Fedora_Extras_5 i586 /var/tmp/gramps/gramps.spec
> Getting buildinfo from server
> Traceback (most recent call last):
> File "/usr/bin/osc", line 7, in <module>
> commandline.main()
> File "/usr/lib/python2.5/site-packages/osc/commandline.py", line 1050, in
> main
> cmd(args)
> File "/usr/lib/python2.5/site-packages/osc/commandline.py", line 768, in
> buildinfo
> package = store_read_package(wd)
> File "/usr/lib/python2.5/site-packages/osc/core.py", line 1280, in
> store_read_package
> p = open(os.path.join(dir, store, '_package')).readlines()[0].strip()
> IOError: [Errno 2] No such file or directory: './.osc/_package'
> wrong repo/arch?
>
> What is the error?
> Is the packagecachedir (/var/tmp/osbuild-packagecache) missing?
> Is the build-root missing (/var/tmp/build-root-%(repo)s-%(arch)s)?
> Is the repo not good, if not what is not good?
>
> I have the packages on a DVD that came Januari 2007 issue of linuxformat.
> I execute osc in: /media/LXFDVD88A/Fedora/RPMS
>
> Is this http://lists.opensuse.org/opensuse-buildservice/2006-09/msg00133.html
> information available on the opensuse wiki?

You need to build in the current directory, which should be a buildsystem checkout.
(Local modifications are fine.)

Ciao, Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
References