Re: [opensuse] Re: [opensuse-factory] using suse build service -- supposedly easy -- doesn't work at all (can't even checkout a package or see avail distros)
Per Jessen wrote:
Linda Walsh wrote:
Per Jessen wrote:
could you summarize what it is you're trying to do, please? It's not really very clear from the above. Any of the examples from the wiki...
When someone earlier suggested I build a product using osc, that wouldn't work either.
I asked a similar question at some point - this page was really helpful:
http://lizards.opensuse.org/2009/06/20/opensuse-factory-fixing-packages/
That's where I started .... and the process doesn't work... I got past the zipper d/l install of osc, Then with the next command: osc branch openSUSE:Factory knock Server returned an error: HTTP Error 404: Not Found (after it brought up vim to have me write my 'purpose'...) The rest is dependent on on that step.... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le lundi 04 juillet 2011, à 00:23 -0700, Linda Walsh a écrit :
osc branch openSUSE:Factory knock Server returned an error: HTTP Error 404: Not Found
(after it brought up vim to have me write my 'purpose'...)
Can you try on the web interface: 1) Go to https://build.opensuse.org/package/show?package=knock&project=openSUSE%3AFactory 2) Login 3) Click "Branch package" Cheers, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Vincent Untz wrote:
Le lundi 04 juillet 2011, à 00:23 -0700, Linda Walsh a écrit :
osc branch openSUSE:Factory knock Server returned an error: HTTP Error 404: Not Found
(after it brought up vim to have me write my 'purpose'...)
Can you try on the web interface:
1) Go to https://build.opensuse.org/package/show?package=knock&project=openSUSE%3AFactory 2) Login 3) Click "Branch package"
---- That worked, but it didn't do anything for the command line. I have a feeling now, that my params are wrong in my .oscrc Specifically, 1) the apiurl --- i've tried 'https://api.opensuse.org' (as listed in the file), as well as 'https://build.opensuse.org'. Is there some other URL I'm supposed to use? and 2) the buildroot. ... How do I tell to checkout & branch files to my local machine rather than some remote dir somewhere? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 07/07/11 10:47, Linda Walsh wrote:
Vincent Untz wrote:
Le lundi 04 juillet 2011, à 00:23 -0700, Linda Walsh a écrit :
osc branch openSUSE:Factory knock Server returned an error: HTTP Error 404: Not Found
(after it brought up vim to have me write my 'purpose'...)
Can you try on the web interface:
1) Go to
https://build.opensuse.org/package/show?package=knock&project=openSUSE%3AFactory 2) Login 3) Click "Branch package"
---- That worked, but it didn't do anything for the command line.
I have a feeling now, that my params are wrong in my .oscrc
Specifically, 1) the apiurl --- i've tried 'https://api.opensuse.org' (as listed in the file), as well as 'https://build.opensuse.org'. Is there some other URL I'm supposed to use?
Assuming you wanted to connect the OBS, that should stay the default, https://api.opensuse.org. If you had a wrong api url, it would explain the 404s you were getting earlier.
and 2) the buildroot.
The default of this is /var/tmp/buildroot. It should make a difference where this is as long as it is accessible and writeable by you.
...
How do I tell to checkout & branch files to my local machine rather than some remote dir somewhere?
Looking on the OBS, it doesn't look like you've successfully branched the package yet. What's your username? Try 'osc bco openSUSE:Factory knock' again, what's the output (with the correct apiurl)? Regards, Tejas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Tejas Guruswamy wrote:
the buildroot.
The default of this is /var/tmp/buildroot. It should make a difference where this is as long as it is accessible and writeable by you.
Yeah, but my /var/tmp only has about 5G free (it's only 7.8G total). So I put it in a dir on /home...I knew the default, but my /var/tmp only has 5G/7.8G free, 'sides, my fastest would be /home, (or a few others on the same physical volume) (my /home has 100's of gig free) -- to free up space on my /usr partition (15G), I moved 'share' to /home/share, and use a -bind in my fstab to dup it onto /usr/share. (meaning that broken 'bash' scripts in /etc/profile.d
Looking on the OBS, it doesn't look like you've successfully branched the package yet. What's your username?
On the website, after I branched it, I 'returned' my branch (deleted it), since I was just using that from the wiki example. Before I deleted it, I tried to list the branches and dists from the command line and still got the 404's. (I was using the correct api addr to begin with, just that with things not working, I tried "build...", soon as I figured out that wasn't right, I switched it back to what it was previously. (api.opensuse.org).. My non-comment params are: [general] apiurl = https://api.opensuse.org packagecachedir = /home/packages/OSbuild/packagecache su-wrapper = sudo build-root = /home/packages/OSbuild/buildroot/ build-uid = caller extra-pkgs = gvim vim gdb strace build-platform=x86_64 plaintext_passwd = 0 [https://api.opensuse.org] user=LAwalsh passx=myencryptedpw
Try 'osc bco openSUSE:Factory knock' again, what's the output (with the correct apiurl)?
osc bco openSUSE:Factory knock Traceback (most recent call last): File "/usr/bin/osc", line 21, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 50, in run return prg.main() File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 309, in main return self.cmd(args) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 332, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 448, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1178, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 2344, in do_branch force=opts.force) File "/usr/lib/python2.7/site-packages/osc/core.py", line 4031, in branch_pkg msg = msg.split('<summary>')[1] IndexError: list index out of range
--- Well, it's different! But somehow I still don't think that's right... Also tried:
osc co openSUSE:Factory knock Server returned an error: HTTP Error 404: Not Found Error getting meta for project 'openSUSE:Factory' package 'knock'
--- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Linda Walsh wrote:
Per Jessen wrote:
Linda Walsh wrote:
Per Jessen wrote:
could you summarize what it is you're trying to do, please? It's not really very clear from the above. Any of the examples from the wiki...
When someone earlier suggested I build a product using osc, that wouldn't work either.
I asked a similar question at some point - this page was really helpful:
http://lizards.opensuse.org/2009/06/20/opensuse-factory-fixing-packages/
That's where I started .... and the process doesn't work...
Ah.
I got past the zipper d/l install of osc, Then with the next command:
osc branch openSUSE:Factory knock Server returned an error: HTTP Error 404: Not Found
(after it brought up vim to have me write my 'purpose'...)
The rest is dependent on on that step....
Yup - I would ask further questions on the -packaging list. I did the following: ~/workspace> osc bco knock defaulting to openSUSE:Factory/knock Note: The branch has been created of a different project, network:utilities, which is the primary location of where development for that package takes place. That's also where you would normally make changes against. A direct branch of the specified package can be forced with the --nodevelproject option. A home:pjessen:branches:network:utilities A home:pjessen:branches:network:utilities/knock A home:pjessen:branches:network:utilities/knock/knock-0.5-include.patch A home:pjessen:branches:network:utilities/knock/knock-0.5.patch A home:pjessen:branches:network:utilities/knock/knock-0.5.tar.bz2 A home:pjessen:branches:network:utilities/knock/knock.changes A home:pjessen:branches:network:utilities/knock/knock.spec A home:pjessen:branches:network:utilities/knock/knockd.conf A home:pjessen:branches:network:utilities/knock/knockd.init A home:pjessen:branches:network:utilities/knock/knockd.sysconfig At revision 3e36fb5419f3c74f4d6bd5f0fdfabfe5. Note: You can use "osc delete" or "osc submitpac" when done. /Per -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (4)
-
Linda Walsh
-
Per Jessen
-
Tejas Guruswamy
-
Vincent Untz