[opensuse-buildservice] I can't configure OBS to use SH4 cross compilation
Hi, all! I have an OBS instance configured properly, I can compile packages to pre-configured build targets. Now, I want to configure my OBS to cross compile to SH4 architectures, I see a check button at the bottom of repositories configuration, so I think it's possible. So I read related wiki articles[1, 2], but always I get the same error: ** error saving project: unknown architecture: 'sh4' ** My idea is: 1. Create a new build target for SH4 architectures, like it's written in [2]. 2. Use debian SH4 port[3] as distribution packages. 3. SH4 Cross compilation into my own OBS What I'm doing is: 1. Adding sh4 architecture to OBS_SCHEDULER_ARCHITECTURES variable at /etc/sysconfig/obs-server file. 2. Executing: # osc -A http://localhost:81 meta -e prj debian-sh4 Adding the following repository section to XML file: <repository name="standard"> <arch>sh4</arch> </repository> But always I get the error that I mentioned before. Can anyone point me out to the right direction in this issue? [1] http://en.opensuse.org/openSUSE:Build_Service_Concept_CrossDevelopment [2] http://en.opensuse.org/openSUSE:Build_Service_adding_build_targets [3] http://ftp.debian-ports.org/debian/pool-sh4/ --- Regards, Francisco Javier Cuadrado -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 03 September 2010 11:52:56 Francisco Javier Cuadrado wrote:
Hi, all!
I have an OBS instance configured properly, I can compile packages to pre-configured build targets.
Now, I want to configure my OBS to cross compile to SH4 architectures, I see a check button at the bottom of repositories configuration, so I think it's possible. So I read related wiki articles[1, 2], but always I get the same error:
** error saving project: unknown architecture: 'sh4' **
sh4 was missing in the database. This is fixed now in the migrations, so version 2.0.95 will have this solved. But this means also that you are the first one who tries sh4 with OBS ;) bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
You need a fully working qemu-sh4 (user-mode) on the worker hosts. Best, Jan-Simon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello, again!
2010/9/3 Adrian Schröter
On Friday 03 September 2010 11:52:56 Francisco Javier Cuadrado wrote:
Hi, all!
I have an OBS instance configured properly, I can compile packages to pre-configured build targets.
Now, I want to configure my OBS to cross compile to SH4 architectures, I see a check button at the bottom of repositories configuration, so I think it's possible. So I read related wiki articles[1, 2], but always I get the same error:
** error saving project: unknown architecture: 'sh4' **
sh4 was missing in the database. This is fixed now in the migrations, so version 2.0.95 will have this solved.
So I've reported a bug without knowing it, great! :P I imagine that version 2.0.95 will be released into openSUSE.org:Tools repository, so I can update my OBS using zypper.
But this means also that you are the first one who tries sh4 with OBS ;)
I'm glad to be the first. ;)
bye adrian
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 03 September 2010 17:19:03 Francisco Javier Cuadrado wrote:
Hello, again!
2010/9/3 Adrian Schröter
: On Friday 03 September 2010 11:52:56 Francisco Javier Cuadrado wrote:
Hi, all!
I have an OBS instance configured properly, I can compile packages to pre-configured build targets.
Now, I want to configure my OBS to cross compile to SH4 architectures, I see a check button at the bottom of repositories configuration, so I think it's possible. So I read related wiki articles[1, 2], but always I get the same error:
** error saving project: unknown architecture: 'sh4' **
sh4 was missing in the database. This is fixed now in the migrations, so version 2.0.95 will have this solved.
So I've reported a bug without knowing it, great! :P
I imagine that version 2.0.95 will be released into openSUSE.org:Tools repository, so I can update my OBS using zypper.
It is released in openSUSE:Tools:Unstable, since it is an alpha version. 2.0.96 is available there, just update and run "rake db:migrate" as mentioned in README.Updaters file. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, again!
2010/9/7 Adrian Schröter
On Friday 03 September 2010 17:19:03 Francisco Javier Cuadrado wrote:
Hello, again!
2010/9/3 Adrian Schröter
: On Friday 03 September 2010 11:52:56 Francisco Javier Cuadrado wrote:
Hi, all!
I have an OBS instance configured properly, I can compile packages to pre-configured build targets.
Now, I want to configure my OBS to cross compile to SH4 architectures, I see a check button at the bottom of repositories configuration, so I think it's possible. So I read related wiki articles[1, 2], but always I get the same error:
** error saving project: unknown architecture: 'sh4' **
sh4 was missing in the database. This is fixed now in the migrations, so version 2.0.95 will have this solved.
So I've reported a bug without knowing it, great! :P
I imagine that version 2.0.95 will be released into openSUSE.org:Tools repository, so I can update my OBS using zypper.
It is released in openSUSE:Tools:Unstable, since it is an alpha version.
2.0.96 is available there, just update and run "rake db:migrate" as mentioned in README.Updaters file.
Now, I'm using unstable version and I can configure SH4 without problem, but I can't compile any package. Like I said, I did: 1. Create a crossbuild project, using "download on demand" with debian SH4 repository, like it's explained into OBS wiki. 2. Upload a package to that project. But in that project there isn't a build target, so my package can't compile. Can anyone help me? Besides, I had some doubts about how OBS cross compilation works: - Someone told that my machine should have qemu-sh4 support, but I don't know how can I do that? Only I have to install qemu-svn package and OBS manage everything for me, or I have to configure something? - If I have a cross compiler (in my case sh4 gcc cross compiler), how can I configure OBS to use that cross compiler? Regards.
bye adrian
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Francisco Javier Cuadrado
-
Jan-Simon Möller