[pkg-fso-maint] Openmoko kernel built by Debian

Luca Capello luca at pca.it
Fri Oct 10 00:03:54 UTC 2008


Hi Timo!

On Fri, 10 Oct 2008 01:08:34 +0200, Timo Juhani Lindfors wrote:
> Luca Capello <luca at pca.it> writes:
>>> git clone git://git.debian.org/git/pkg-fso/linux-2.6-openmoko.git
>>>
>>> finally succeeded
>>
>> Which command did you use?  It fails on agricola.d.o [1] with debuild,
>> more on that in the following days [2].
>
> "git clone" succeeded, make did not.  After I copied /proc/config.gz

Actually, you should use one of the various ./defconfig-*, as explained
at [1].  FYI, Debian uses ./defconfig-gta02 (cfr. debian/rules [2]).

> make
>
> finally failed with
>
> kernel/built-in.o: In function `timespec_add_ns':
> /root/debian/debian-linux/linux-2.6-openmoko/include/linux/time.h:174: undefined reference to `__aeabi_uldivmod'
>
> Is this the same failure?

Yes, since now it's "public", I'm writing to the smartphone-kernel
mailing list, please continue there for this specific bug.

>>> but I see no debian/ directory.
>>
>> It's in the debian Git branch [3].
>
> debian-armel:~/debian/debian-linux/linux-2.6-openmoko# git branch
> * stable
[...]
> so 'git checkout origin/debian' is what I want?

`git checkout -b debian origin/debian` is what you need, since you want
to follow the branch.  To understand the difference, try your first
command and read the output ;-)

I changed the HEAD reference to the debian branch, thus every clone
command directly ends up into the debian branch.

>>   $ pdebuild --pbuilder qemubuilder --configfile $CONFIG_QEMUBUILDER
>
> Ah so I should run pdebuild on x86 and it would then start
> qemubuilder?

Exactly.

> I was originally asking if I can just dpkg-buildpackage inside qemu.

You can, which is mostly the same with one "critical" exception: you
need to start QEMU, login, etc. etc., while `pdebuild --pbuilder
qemubuilder` does all this stuff for you :-D

>> But as I said before, please be patient: the kernel got a lower
>> position because we want to upload as many packages as we want to
>> Debian main.
>
> Sure, I was only asking this so that I know I am working with the same
> source and can therefore fix bugs before official packages have them.

Perfect, I was sure you would have understood what I meant.

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://git.openmoko.org/?p=kernel.git;a=summary
[2] http://git.debian.org/?p=pkg-fso/linux-2.6-openmoko.git;a=blob;f=debian/rules;h=09be718b8d2fdc2e0d367352c742f50fada5f33b;hb=refs/heads/debian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20081010/037f2abc/attachment.pgp 


More information about the pkg-fso-maint mailing list