Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Scratchbox package versions on autobuilder?

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


anderson.lizardo at openbossa

Nov 25, 2009, 2:46 PM

Post #1 of 8 (733 views)
Permalink
Scratchbox package versions on autobuilder?

Hi,

Could someone with access to the autobuilder machine send to me the
output of "dpkg -l scratchbox*" ? I'm getting a build error that I'm
unable to reproduce on my own installation:

http://pastebin.com/m4f98186

(This is armel.build.log.FAILED.txt pasted into pastebin because the
log may disappear anytime soon).

The problem seems to be related to some QEMU bug, but I'm not sure.

Thanks in advance :)
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


marcell.lengyel at nokia

Nov 26, 2009, 12:23 AM

Post #2 of 8 (696 views)
Permalink
Re: Scratchbox package versions on autobuilder? [In reply to]

>
> Hi,
>
> Could someone with access to the autobuilder machine send to me the
> output of "dpkg -l scratchbox*" ? I'm getting a build error that I'm
> unable to reproduce on my own installation:

marcell [at] corsol:~$ dpkg -l scratchbox*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii scratchbox-cor 1.0.16 Scratchbox base system
un scratchbox-dev <none> (no description available)
ii scratchbox-dev 1.0.10 APT HTTPS devkit for Scratchbox
ii scratchbox-dev 1.0.9 CPU transparency methods
ii scratchbox-dev 1.0.16-1.optif Debian tools for Scratchbox
ii scratchbox-dev 1.0.13 Doctools for Scratchbox
ii scratchbox-dev 1.0.1 Git for Scratchbox
ii scratchbox-dev 1.0.3 Maemo 3 devkit for Scratchbox
ii scratchbox-dev 1.0.4 Perl modules for Scratchbox
ii scratchbox-dev 0.10.0-0sb5 Qemu scratchbox devkit
ii scratchbox-dev 1.0 Subversion devkit for Scratchbox
ii scratchbox-lib 1.0.16 Scratchbox libraries
ii scratchbox-too 1.0.7.2 cs2005q3.2-glibc2.5-arm compiler for Scratch
ii scratchbox-too 1.0.7 cs2005q3.2-glibc2.5-i386 compiler for Scratc
ii scratchbox-too 1.0.12-10 cs2007q3-glibc2.5-arm7 compiler for Scratchb
ii scratchbox-too 1.0.12-8 cs2007q3-glibc2.5-i486 compiler for Scratchb
ii scratchbox-too 1.0.16 Scratchbox host-gcc toolchain

Does the i386 build goes fine for you and failing only on ARMEL?
I guickly checked the log you pasted and this line looks to be the root cause to me:

gnueabi/bin/ld: warning: libglib-2.0.so.0, needed by /opt/qt4-maemo5/lib/libQtCore.so, not found

BR,

Marcell
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


hald at icandy

Nov 26, 2009, 1:40 AM

Post #3 of 8 (696 views)
Permalink
Re: Scratchbox package versions on autobuilder? [In reply to]

Anderson Lizardo wrote:
> Hi,
>
> Could someone with access to the autobuilder machine send to me the
> output of "dpkg -l scratchbox*" ? I'm getting a build error that I'm
> unable to reproduce on my own installation:
>
> http://pastebin.com/m4f98186

Do you have glib included in your build-depends? It looks like it´s
missing...

Cheers!
Conny

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


anderson.lizardo at openbossa

Nov 26, 2009, 2:52 AM

Post #4 of 8 (697 views)
Permalink
Re: Scratchbox package versions on autobuilder? [In reply to]

On Thu, Nov 26, 2009 at 5:40 AM, Cornelius Hald <hald [at] icandy> wrote:
> Anderson Lizardo wrote:
>>
>> Hi,
>>
>> Could someone with access to the autobuilder machine send to me the
>> output of "dpkg -l scratchbox*" ? I'm getting a build error that I'm
>> unable to reproduce on my own installation:
>>
>> http://pastebin.com/m4f98186
>
> Do you have glib included in your build-depends? It looks like it´s
> missing...

It is not in build-depends, because it does not depend on it (but Qt
does). On the other hand, you can see the package is installed (I even
added some debug messages between "XXXXXXXXXXX" lines to make sure of
that).

The problem does not happen on a cleanly created ARMEL target I create
locally, but only on the autobuilder.

Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


anderson.lizardo at openbossa

Nov 26, 2009, 2:57 AM

Post #5 of 8 (686 views)
Permalink
Re: Scratchbox package versions on autobuilder? [In reply to]

On Thu, Nov 26, 2009 at 4:23 AM, Marcell Lengyel
<marcell.lengyel [at] nokia> wrote:
>>
>> Hi,
>>
>> Could someone with access to the autobuilder machine send to me the
>> output of "dpkg -l scratchbox*" ? I'm getting a build error that I'm
>> unable to reproduce on my own installation:
>
> marcell [at] corsol:~$ dpkg -l scratchbox*
> [...]

Ok, comparing the version list I see I have some more up-to-date
Scratchbox packages (because I use the "stable" repository from
scratchbox and not the maemo5-sdk one). I will try the same versions
above and see if I can reproduce the problem. If so, I'll open a bug
report on scratchbox.

>
> Does the i386 build goes fine for you and failing only on ARMEL?
> I guickly checked the log you pasted and this line looks to be the root cause to me:
>
> gnueabi/bin/ld: warning: libglib-2.0.so.0, needed by /opt/qt4-maemo5/lib/libQtCore.so, not found

Yes, this error is misleading. My application depends only on Qt,
which in turn depends on glib. But even with libglib installed by Qt,
the linker does not seem to find it (it is in /usr/lib). I'm not sure
yet if this problem happens only on ARMEL target , because the X86
build does not occur if the ARMEL one fails. I'll see If I can
reproduce it locally, because the waiting for the autobuilder queue is
too boring :)

Thanks for your help!
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


anderson.lizardo at openbossa

Nov 26, 2009, 4:52 AM

Post #6 of 8 (697 views)
Permalink
Re: Scratchbox package versions on autobuilder? [In reply to]

On Thu, Nov 26, 2009 at 4:23 AM, Marcell Lengyel
<marcell.lengyel [at] nokia> wrote:
>>
>> Hi,
>>
>> Could someone with access to the autobuilder machine send to me the
>> output of "dpkg -l scratchbox*" ? I'm getting a build error that I'm
>> unable to reproduce on my own installation:
>
> ii  scratchbox-too 1.0.12-10      cs2007q3-glibc2.5-arm7 compiler for Scratchb

Ok I found the issue. It is related to the
scratchbox-toolchain-cs2007q3-glibc2.5-arm7 version.

Mine (which works) is 1.0.12-12
autobuilder one (which breaks my build) is 1.0.12-10

After downgrading the version here, I could reproduce the bug.

I'll open a bug report (with a simple test case) for this on
bugs.maemo.org. I'll also test x86.

Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


marcell.lengyel at nokia

Nov 26, 2009, 11:19 PM

Post #7 of 8 (674 views)
Permalink
Re: Scratchbox package versions on autobuilder? [In reply to]

> Mine (which works) is 1.0.12-12
> autobuilder one (which breaks my build) is 1.0.12-10

I have upgraded the toolchain on the autobuilder machine. Please try again.

/Marcell
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


anderson.lizardo at openbossa

Nov 27, 2009, 4:02 AM

Post #8 of 8 (666 views)
Permalink
Re: Scratchbox package versions on autobuilder? [In reply to]

On Fri, Nov 27, 2009 at 3:19 AM, Marcell Lengyel
<marcell.lengyel [at] nokia> wrote:
>> Mine (which works) is 1.0.12-12
>> autobuilder one (which breaks my build) is 1.0.12-10
>
> I have upgraded the toolchain on the autobuilder machine. Please try again.

Wow, that was fast :) I was even preparing a bug report to actually
update the autobuilders.

Fortunately, I found a workaround which allowed me to upload my
packages even on the older toolchain. On a next upload I'll try
removing the workaround and see what happens:

For those interested, the issue with the older version is that it
didn't like manipulation of the RPATH using the -rpath parameter for
the linker. It seemed to remove the /usr/lib directory from the
library path when using the parameter.

My workaround consisted on also adding /usr/lib using -rpath, so I had :

-Wl,-rpath,/custom/dir:/usr/lib

The 1.0.12-12 fixed this problem.

Thanks,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.