* Stephan Kleine [18. Dec 2008]: > That part surprised me a bit since it is actually very easy to > reproduce if you use the build service as I explained before. But > perhaps you missed it, so let me explain it once more: > > 1. Go to https://build.opensuse.org/ and create an account (I didn't > receive a single spam / advertisement mail in all those years so it is > safe). > > 2. Go to http://download.opensuse.org/repositories/openSUSE:/Tools/ > and add the appropriate subdirectory as a repository and install > "osc". > > 3. Run "osc co home:bitshuffler:openvas:unstable openvas-libraries" to > get the project files > > 4. Run "cd home\:bitshuffler\:openvas\:unstable/openvas-libraries/" to > get into the proper subdirectory > > 5. Run e.g. "osc build openSUSE_11.1 i586 openvas-libraries.spec" to > build it for openSUSE 11.1 & i586 arch which will download all needed > packages and install them into a chroot so your normal system will not > be touched in any way. > > Total spent time <5 minutes (if you don't count the time needed for > downloading packages).
Well, that is what I tried, but I was unable to use osc the way you described it. I am using an Debian Etch test system and got up to step 5, but then osc downloads 3 or 4 packages and fails with "Error: No more mirrors to try." This happens with a number of different packages, subsequent calls to osc download 3 or 4 other packages and then fail the same way. Once it runs out of files to download (or so I guess) it fails with a python error and refuses to launch. Osc indeed sounds like a useful tool and I would love to use it to debug the issue, but I simply don't have the time to debug the issues osc seems to have with its own build system. If there is an easy fix for the osc issues I described above, please do let me know and I will gladly use it. Thanks! Regards, Michael P.S.: The python error thrown by osc yields the following traceback: Verifying integrity of cached packages Traceback (most recent call last): File "/usr/bin/osc", line 12, in ? r = babysitter.run(osccli) File "/usr/lib/python2.4/site-packages/osc/babysitter.py", line 40, in run return prg.main() File "/usr/lib/python2.4/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib/python2.4/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.4/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.4/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.4/site-packages/osc/commandline.py", line 1937, in do_build return osc.build.main(opts, args) File "/usr/lib/python2.4/site-packages/osc/build.py", line 390, in main verify_pacs([ i.fullfilename for i in bi.deps ]) File "/usr/lib/python2.4/site-packages/osc/fetch.py", line 150, in verify_pacs stderr=subprocess.STDOUT, close_fds=True).stdout File "/usr/lib/python2.4/subprocess.py", line 543, in __init__ errread, errwrite) File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory -- Michael Wiegand | OpenPGP key: D7D049EC | http://www.intevation.de/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org http://lists.wald.intevation.org/mailman/listinfo/openvas-devel