[opensuse-packaging] Need help with OBS-project
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
Hello geeckos! I created a little project because I want to getting around with OBS. So, I tried to create a standard-Kernel-package of linux 2.6.32.29. I created the project: Project home:openLHAG:kernel, Package kernel-default and then I wanted to load up the source code.... I downloaded the tar.bz2-file from kernel.org, and tried to upload it to OBS. But the uploading-screen doesn?t go away. It still stays after a few minutes. Am I just too impatiant or is this a general issue? I?m really green to OBS and package creating, so I really need your help :) Thank you very much in advance kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/2b23ead4e919c8310a4fb6fbd00a959c.jpg?s=120&d=mm&r=g)
On Monday 21 February 2011 16:58:15 Kim Leyendecker wrote:
Hello geeckos!
I created a little project because I want to getting around with OBS. So, I tried to create a standard-Kernel-package of linux 2.6.32.29. I created the project:
Project home:openLHAG:kernel, Package kernel-default
and then I wanted to load up the source code.... I downloaded the tar.bz2-file from kernel.org, and tried to upload it to OBS. But the uploading-screen doesn?t go away. It still stays after a few minutes. Am I just too impatiant or is this a general issue?
Several issues with that. First of all, the web server behind the webui is not capable of streaming uploads. Therefore, uploading such a big tarball takes time. As a solution, you should use the command line client (osc) to upload files. But why do you create a new kernel package from scratch? I'd say you could save a lot of work by branching from one of the already existing packages (like for example, in the project Kernel:HEAD). This way, collaboration will be much easier in the long run.
I?m really green to OBS and package creating, so I really need your help :)
Thank you very much in advance kdl
-- Mit freundlichen Grüßen, Sascha Peilicke http://saschpe.wordpress.com
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
Am 21.02.2011 17:14, schrieb Sascha Peilicke:
But why do you create a new kernel package from scratch? I'd say you could save a lot of work by branching from one of the already existing packages (like for example, in the project Kernel:HEAD). This way, collaboration will be much easier in the long run. Then I will try this way!
thank you very much kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
Am Montag, 21. Februar 2011, 17:14:46 schrieb Sascha Peilicke:
On Monday 21 February 2011 16:58:15 Kim Leyendecker wrote:
Hello geeckos!
I created a little project because I want to getting around with OBS. So, I tried to create a standard-Kernel-package of linux 2.6.32.29. I created the project:
Project home:openLHAG:kernel, Package kernel-default
and then I wanted to load up the source code.... I downloaded the tar.bz2-file from kernel.org, and tried to upload it to OBS. But the uploading-screen doesn?t go away. It still stays after a few minutes. Am I just too impatiant or is this a general issue?
Several issues with that. First of all, the web server behind the webui is not capable of streaming uploads. Therefore, uploading such a big tarball takes time.
The webui function should use the source service. So it should happen quite fast and the download should happen in the background ...
As a solution, you should use the command line client (osc) to upload files. But why do you create a new kernel package from scratch? I'd say you could save a lot of work by branching from one of the already existing packages (like for example, in the project Kernel:HEAD). This way, collaboration will be much easier in the long run.
true ... -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
true ...
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de So.... I branced from Kernel:HEAD. The next step would be to build a
Am 21.02.2011 17:17, schrieb Adrian Schröter: package, right? And here´s (another) looking stupid question of me: How can I build a package? I don´t see a "build"-button as in SUSE Studio, and there isn´t anything what´s looks like build or building. So, where and how can I build a package? thanks kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
Am Montag, 21. Februar 2011, 17:24:09 schrieb Kim Leyendecker:
true ...
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de So.... I branced from Kernel:HEAD. The next step would be to build a
Am 21.02.2011 17:17, schrieb Adrian Schröter: package, right? And here´s (another) looking stupid question of me:
How can I build a package? I don´t see a "build"-button as in SUSE Studio, and there isn´t anything what´s looks like build or building. So, where and how can I build a package?
OBS is calculating via the dependencies and code changes if a package needs to get built. However, you can disable builds via flags on the repository tabs. For debugging, you can always do a local build using "osc build" on your workstation. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
Am 21.02.2011 17:31, schrieb Adrian Schröter:
OBS is calculating via the dependencies and code changes if a package needs to get built.
However, you can disable builds via flags on the repository tabs.
For debugging, you can always do a local build using "osc build" on your workstation. Okay, thank you for this information. So, OBS will create a package now or later, because I branched from Kernel:HEAD and changed the my branched project? This looks really magic :)
thanks for help! kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
Am 21.02.2011 17:31, schrieb Adrian Schröter:
OBS is calculating via the dependencies and code changes if a package needs to get built.
However, you can disable builds via flags on the repository tabs.
For debugging, you can always do a local build using "osc build" on your workstation.
Oh, yes, I clicked on "overview" and the building status says, that it´s building now! thanks kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
Hm.... Now, OBS had built the packages and all are broken.... I tried to build for SLE 9/10/11/11 SP1, openSUSE 11.2, 11.3, 11.4 and Factory. The logfile of the SLE 11 SP1 package says following: <status code="400"> <summary>remote error: kernel-default no logfile</summary> </status> I don´t know, what that means... Can you help me one more time? thanks kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
Am Montag, 21. Februar 2011, 21:06:54 schrieb Kim Leyendecker:
Hm.... Now, OBS had built the packages and all are broken....
I tried to build for SLE 9/10/11/11 SP1, openSUSE 11.2, 11.3, 11.4 and Factory. The logfile of the SLE 11 SP1 package says following:
<status code="400"> <summary>remote error: kernel-default no logfile</summary> </status>
I don´t know, what that means... Can you help me one more time?
I believe this is actually a bug of the repserver when the job is in signing state (Fixed now in git). Please reload after some time and expect a real logfile. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
Am 21.02.2011 21:22, schrieb Adrian Schröter:
I believe this is actually a bug of the repserver when the job is in signing state (Fixed now in git).
Please reload after some time and expect a real logfile.
bye adrian
Okay, I willt try today again. Thank you again! kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
Am 22.02.2011 14:18, schrieb Kim Leyendecker:
Okay, I willt try today again. Thank you again! Yes, it´s build for 11.2, 11.3 & 11.4... It all works but I can´t download it, because their isn´t a directory on the server
http://www.download.opensuse.org/repositories/openLHAG: I think and hope, that this will be there soon, if not, I have to ask again kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
Am Dienstag, 22. Februar 2011, 14:35:24 schrieb Kim Leyendecker:
Am 22.02.2011 14:18, schrieb Kim Leyendecker:
Okay, I willt try today again. Thank you again! Yes, it´s build for 11.2, 11.3 & 11.4... It all works but I can´t download it, because their isn´t a directory on the server
http://www.download.opensuse.org/repositories/openLHAG: I think and hope, that this will be there soon, if not, I have to ask again
that is wrong place, better follow the links in build.opensuse.org. They should also the status of each repo, if it got published already or not. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/3b5c1ab02cfd08a642a79ca38e3fb928.jpg?s=120&d=mm&r=g)
Am 22.02.2011 14:40, schrieb Adrian Schröter:
that is wrong place, better follow the links in build.opensuse.org. They should also the status of each repo, if it got published already or not.
bye adrian Hm, okay. Is there any page on the german or english wiki, that explains elementary things about the OBS?
thanks kdl -- Kim Leyendecker (kimleyendecker@hotmail.de) openSUSE Ambassador powered by openSUSE 11.4 RC1 | KDE 4.6 | Kernel-desktop 2.6.37-20.1 | using Tumbleweed openSUSE Profilname: openLHAG (OpenLHAG) Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/25bbc96d9c53647354cb724e744b2222.jpg?s=120&d=mm&r=g)
On Mon, Feb 21, 2011 at 10:58 AM, Kim Leyendecker <kimleyendecker@hotmail.de> wrote:
Hello geeckos!
I created a little project because I want to getting around with OBS. So, I tried to create a standard-Kernel-package of linux 2.6.32.29. I created the project:
Project home:openLHAG:kernel, Package kernel-default
and then I wanted to load up the source code.... I downloaded the tar.bz2-file from kernel.org, and tried to upload it to OBS. But the uploading-screen doesn?t go away. It still stays after a few minutes. Am I just too impatiant or is this a general issue?
I?m really green to OBS and package creating, so I really need your help :)
Thank you very much in advance kdl
Kim, I'm not expert on kernel builds in OBS, but I'm pretty sure you need to handle it differently than you are. OBS knows a lot about kernel builds and it expects things to be done a very specific way. You first need to create a kernel-source package If you want to branch from the 11.3 kernel as an example it would be: osc linkpac openSUSE:11.3 kernel-source home:$login Or I'm sure there are lots of other ways. Then you need to link that package to the various compiled packages. Note that the names are very important, so don't change them is how I understand it: for p in kernel-{default,desktop,pae,xen,vanilla,syms}; do osc linkpac -C copy home:$login kernel-source home:$login $p done Obviously $login needs to be replaced as appropriate. And if its in a devel project, then all of home:$login needs to be replaced. Once you get that going, their are special ways to apply patches, but I've never done that. Thanks Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Greg Freemyer
-
Kim Leyendecker
-
Sascha Peilicke