<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=124.171.25.84</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=124.171.25.84"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/124.171.25.84"/>
	<updated>2026-04-22T07:13:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Build/Install_OBS&amp;diff=23570</id>
		<title>Mer/Build/Install OBS</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Build/Install_OBS&amp;diff=23570"/>
		<updated>2009-10-25T09:57:02Z</updated>

		<summary type="html">&lt;p&gt;124.171.25.84: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing OBS tools locally ==&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need an [https://secure-www.novell.com/selfreg/jsp/createOpenSuseAccount.jsp?target=http://www.opensuse.org account with Novell]&lt;br /&gt;
&lt;br /&gt;
You must then visit your [https://build.opensuse.org/project/list_my project list] and click : &amp;quot;Let me build my packages&amp;quot;&lt;br /&gt;
&lt;br /&gt;
(Could someone confirm the step above... it only appears when you create a new account)&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
Assuming a Debian Lenny/5.0 development box locally:&lt;br /&gt;
&lt;br /&gt;
To get the OBS tools repository add the following line:&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/openSUSE:/Tools/Debian_5.0/ /&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to a new file called:&lt;br /&gt;
 /etc/apt/sources.list.d/obs.list&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install osc build qemu&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
Assuming an Ubuntu9.04 development box locally:&lt;br /&gt;
&lt;br /&gt;
To get the OBS tools repository add the following line:&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_9.04/ /&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to a new file called:&lt;br /&gt;
 /etc/apt/sources.list.d/obs.list&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install osc build&lt;br /&gt;
&lt;br /&gt;
Now edit &amp;lt;code&amp;gt;/etc/apt/sources.list.d/obs.list&amp;lt;/code&amp;gt; and comment that line out.&lt;br /&gt;
&lt;br /&gt;
Note there is a problem in Ubuntu9.04 osc as of 25 May &#039;09... to fix it, do this as root:&lt;br /&gt;
  cd /usr/lib/python2.6/dist-packages/&lt;br /&gt;
  ln -s ../site-packages/osc* .&lt;br /&gt;
&lt;br /&gt;
Ubuntu qemu isn&#039;t up to it so we need the Debian one:&lt;br /&gt;
&lt;br /&gt;
Add the following lines:&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/openSUSE:/Tools/Debian_5.0/ /&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://ftp.debian.org/debian/&amp;lt;/nowiki&amp;gt; stable main&lt;br /&gt;
to a new file called:&lt;br /&gt;
 /etc/apt/sources.list.d/debian5_qemu.list&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install qemu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now remove that file: &lt;br /&gt;
 &amp;lt;code&amp;gt;rm /etc/apt/sources.list.d/debian5_qemu.list&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and run&lt;br /&gt;
 apt-get update&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting ====&lt;br /&gt;
&lt;br /&gt;
If you get the following error when adding one of these repos&lt;br /&gt;
 W: GPG error: http://ftp.debian.org stable Release: The following signatures couldn&#039;t be verified because the public key is not available: NO_PUBKEY &#039;&#039;SOMEKEY&#039;&#039;&lt;br /&gt;
Then run the command&lt;br /&gt;
 gpg --keyserver pgpkeys.mit.edu --recv-key &#039;&#039;SOMEKEY&#039;&#039; &amp;amp;&amp;amp; gpg -a --export  &#039;&#039;SOMEKEY&#039;&#039; | sudo apt-key add -&lt;br /&gt;
replacing &#039;&#039;SOMEKEY&#039;&#039; with the complained about key&lt;br /&gt;
&lt;br /&gt;
=== Other distributions ===&lt;br /&gt;
You can find openSuse build tools for various distributions at&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/&lt;br /&gt;
&lt;br /&gt;
=== All OSes ===&lt;br /&gt;
Now, as a normal user, run&lt;br /&gt;
 osc&lt;br /&gt;
and enter novell.com username/passwd when prompted (note these are stored in cleartext in the config file). Note this isn&#039;t supposed to do anything (it prints out the osc help) but it stores your name/pw for future use.&lt;br /&gt;
&lt;br /&gt;
Go and [https://build.opensuse.org login].&lt;br /&gt;
&lt;br /&gt;
Make sure you click the &amp;quot;let me build packages&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
There is a link to &#039;Home Project&#039; on the left, follow this and enter a description.&lt;br /&gt;
&lt;br /&gt;
Note that if, in the future, qemu fails to work you may need to setup the associations for arm binaries by running:&lt;br /&gt;
  qemu-binfmt-conf.sh&lt;br /&gt;
&lt;br /&gt;
=== Local osc setup ===&lt;br /&gt;
Create a local build path.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p ~/maemo/Mer/obs&lt;br /&gt;
&lt;br /&gt;
All references below with (yourusername) should of course be replaced with the login name on your local machine.&lt;br /&gt;
&lt;br /&gt;
You can now check some settings in your ~/.oscrc :&lt;br /&gt;
&lt;br /&gt;
This is the OBS builder we&#039;re using... maybe we&#039;ll use a maemo.org instance one day?&lt;br /&gt;
 apiurl = &amp;lt;nowiki&amp;gt;https://api.opensuse.org&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This specifies where all the cached binary packages are held to create a chroot build environment. Around 300MB.&lt;br /&gt;
 packagecachedir = /home/(yourusername)/maemo/Mer/obs/.pkg-cache/&lt;br /&gt;
&lt;br /&gt;
This specifies the default location where a complete chroot build will be installed. This will be a minimal OS install - allow 400MB minimum.  Replace (yourusername) with your current login name&lt;br /&gt;
 build-root = /home/(yourusername)/maemo/Mer/obs/build-%(repo)s-%(arch)s&lt;br /&gt;
&lt;br /&gt;
The next section is credentials for access control to the builder.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[https://api.opensuse.org]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 user = &amp;lt;username&amp;gt;&lt;br /&gt;
 pass = &amp;lt;password&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mer]]&lt;/div&gt;</summary>
		<author><name>124.171.25.84</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Build/Install_OBS&amp;diff=23571</id>
		<title>Mer/Build/Install OBS</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Build/Install_OBS&amp;diff=23571"/>
		<updated>2009-10-25T09:51:29Z</updated>

		<summary type="html">&lt;p&gt;124.171.25.84: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing OBS tools locally ==&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need an [https://secure-www.novell.com/selfreg/jsp/createOpenSuseAccount.jsp?target=http://www.opensuse.org account with Novell]&lt;br /&gt;
&lt;br /&gt;
You must then visit your [https://build.opensuse.org/project/list_my project list] and click : &amp;quot;Let me build my packages&amp;quot;&lt;br /&gt;
&lt;br /&gt;
(Could someone confirm the step above... it only appears when you create a new account)&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
Assuming a Debian Lenny/5.0 development box locally:&lt;br /&gt;
&lt;br /&gt;
To get the OBS tools repository add the following line:&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/openSUSE:/Tools/Debian_5.0/ /&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to a new file called:&lt;br /&gt;
 /etc/apt/sources.list.d/obs.list&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install osc build qemu&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
Assuming an Ubuntu9.04 development box locally:&lt;br /&gt;
&lt;br /&gt;
To get the OBS tools repository add the following line:&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_9.04/ /&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to a new file called:&lt;br /&gt;
 /etc/apt/sources.list.d/obs.list&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install osc build&lt;br /&gt;
&lt;br /&gt;
Now edit &amp;lt;code&amp;gt;/etc/apt/sources.list.d/obs.list&amp;lt;/code&amp;gt; and comment that line out.&lt;br /&gt;
&lt;br /&gt;
Note there is a problem in Ubuntu9.04 osc as of 25 May &#039;09... to fix it, do this as root:&lt;br /&gt;
  cd /usr/lib/python2.6/dist-packages/&lt;br /&gt;
  ln -s ../site-packages/osc* .&lt;br /&gt;
&lt;br /&gt;
Ubuntu qemu isn&#039;t up to it so we need the Debian one:&lt;br /&gt;
&lt;br /&gt;
Add the following lines:&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/openSUSE:/Tools/Debian_5.0/ /&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://ftp.debian.org/debian/&amp;lt;/nowiki&amp;gt; stable main&lt;br /&gt;
to a new file called:&lt;br /&gt;
 /etc/apt/sources.list.d/debian5_qemu.list&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install qemu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now remove that file: &lt;br /&gt;
 &amp;lt;code&amp;gt;rm /etc/apt/sources.list.d/debian5_qemu.list&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and run&lt;br /&gt;
 apt-get update&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting ====&lt;br /&gt;
&lt;br /&gt;
If you get the following error when adding one of these repos&lt;br /&gt;
 W: GPG error: http://ftp.debian.org stable Release: The following signatures couldn&#039;t be verified because the public key is not available: NO_PUBKEY &#039;&#039;SOMEKEY&#039;&#039;&lt;br /&gt;
Then run the command&lt;br /&gt;
 gpg --keyserver pgpkeys.mit.edu --recv-key &#039;&#039;SOMEKEY&#039;&#039; &amp;amp;&amp;amp; gpg -a --export  &#039;&#039;SOMEKEY&#039;&#039; | sudo apt-key add -&lt;br /&gt;
replacing &#039;&#039;SOMEKEY&#039;&#039; with the complained about key&lt;br /&gt;
&lt;br /&gt;
NOTE: On Ubuntu 9.04 (jaunty) in python2.6, you will probably need to do the following to make osc run without errors (it&#039;s a quick hack):&lt;br /&gt;
 &amp;lt;code&amp;gt;ln -s /usr/lib/python2.6/site-packages/osc /usr/lib/python2.6/dist-packages/osc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other distributions ===&lt;br /&gt;
You can find openSuse build tools for various distributions at&lt;br /&gt;
http://download.opensuse.org/repositories/openSUSE:/Tools/&lt;br /&gt;
&lt;br /&gt;
=== All OSes ===&lt;br /&gt;
Now, as a normal user, run&lt;br /&gt;
 osc&lt;br /&gt;
and enter novell.com username/passwd when prompted (note these are stored in cleartext in the config file). Note this isn&#039;t supposed to do anything (it prints out the osc help) but it stores your name/pw for future use.&lt;br /&gt;
&lt;br /&gt;
Go and [https://build.opensuse.org login].&lt;br /&gt;
&lt;br /&gt;
Make sure you click the &amp;quot;let me build packages&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
There is a link to &#039;Home Project&#039; on the left, follow this and enter a description.&lt;br /&gt;
&lt;br /&gt;
Note that if, in the future, qemu fails to work you may need to setup the associations for arm binaries by running:&lt;br /&gt;
  qemu-binfmt-conf.sh&lt;br /&gt;
&lt;br /&gt;
=== Local osc setup ===&lt;br /&gt;
Create a local build path.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p ~/maemo/Mer/obs&lt;br /&gt;
&lt;br /&gt;
All references below with (yourusername) should of course be replaced with the login name on your local machine.&lt;br /&gt;
&lt;br /&gt;
You can now check some settings in your ~/.oscrc :&lt;br /&gt;
&lt;br /&gt;
This is the OBS builder we&#039;re using... maybe we&#039;ll use a maemo.org instance one day?&lt;br /&gt;
 apiurl = &amp;lt;nowiki&amp;gt;https://api.opensuse.org&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This specifies where all the cached binary packages are held to create a chroot build environment. Around 300MB.&lt;br /&gt;
 packagecachedir = /home/(yourusername)/maemo/Mer/obs/.pkg-cache/&lt;br /&gt;
&lt;br /&gt;
This specifies the default location where a complete chroot build will be installed. This will be a minimal OS install - allow 400MB minimum.  Replace (yourusername) with your current login name&lt;br /&gt;
 build-root = /home/(yourusername)/maemo/Mer/obs/build-%(repo)s-%(arch)s&lt;br /&gt;
&lt;br /&gt;
The next section is credentials for access control to the builder.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[https://api.opensuse.org]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 user = &amp;lt;username&amp;gt;&lt;br /&gt;
 pass = &amp;lt;password&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mer]]&lt;/div&gt;</summary>
		<author><name>124.171.25.84</name></author>
	</entry>
</feed>