maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Problem with autobuilder - build fails (https://talk.maemo.org/showthread.php?t=91811)

marmistrz 2013-11-17 16:55

Problem with autobuilder - build fails
 
/edit: autobuilder is using debian-squeeze devkit, stock Maemo SDK uses debian-etch. If debian-squeeze is used, such problems occur.

Old post:


Hi,
I lately discovered an optify bug in libicu48. Optify took place after the debs have been created, so it had no effect. I fixed it, but I can't push it to extras. Log: https://garage.maemo.org/builder/fre...log.FAILED.txt
It's important for this package to be updated as it takes a lot of rootfs - 20M iirc.
Locally, in my scratchbox it builds perfectly (tried 2 times).
What should I do to build it in the autobuilder?
Thanks

ginggs 2013-11-17 18:25

Re: Problem with autobuilder - build fails
 
Quote:

Originally Posted by marmistrz (Post 1387091)
I lately discovered an optify bug in libicu48. Optify took place after the debs have been created, so it had no effect. I fixed it, but I can't push it to extras. Log: https://garage.maemo.org/builder/fre...log.FAILED.txt

Code:

dh_shlibdeps -plibicu48-dev   
dpkg-shlibdeps: error: couldn't find library libicutu.so.48 needed by debian/libicu48-dev/usr/bin/genbrk (ELF format: 'elf32-littlearm'; RPATH: '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.

Quote:

Originally Posted by marmistrz (Post 1387091)
Locally, in my scratchbox it builds perfectly (tried 2 times).

Do you perhaps have the previous version of the lib installed in your scratchbox? Try removing that, then maybe you will get the same error.

You may need to add the path to the lib in LDFLAGS or as a parameter to dh_shlibdeps.

freemangordon 2013-11-17 19:45

Re: Problem with autobuilder - build fails
 
marmistrz:

It seems like a problem in autobuilder, SB version there is hathor, while Maemo SDK comes with aphophis (older version)

The former is based on debian-squeeze tha lather - on debian-etch (or vice versa, can't remember exactly which debian is older)

I might look at the issue someday, but for now my recommendation is to upgrade your SB to hathor and fix the package to be compatible with it

marmistrz 2013-11-18 08:09

Re: Problem with autobuilder - build fails
 
Removed older version of libicu48 and build succeeds.
Is it enough to set the components in sb-menu to
Code:

perl, apt-https, doctools, git, qemu, svn, debian-squeeze
?

/edit: after using these components, I managed to reproduce it. But I have no idea how to fix it, because debian/libicu48.shlibs exists.

Maybe a simple fix would be to take (for example) X-Maemo-Autobuilder-Toolchain from .dsc to set up the build environment correctly?
(if X-Maemo-Autobuilder-Toolchain=debian-etch, use debian-etch, if debian-sqeeze - use debian-squeeze. If not specified - use some default - maybe debian-etch, as it's the maemo-sdk one)

Thanks

freemangordon 2013-11-18 09:20

Re: Problem with autobuilder - build fails
 
If you find a way to fix that, please share , I was struggling with that error while trying to build gecko in hathor.

marmistrz 2013-11-18 09:44

Re: Problem with autobuilder - build fails
 
Quote:

Originally Posted by freemangordon (Post 1387222)
If you find a way to fix that, please share , I was struggling with that error while trying to build gecko in hathor.

For me libicu48 builds perfectly with debian-etch and fails with debian-squeeze. Choosing the toolchain for autobuilder would be a fix. (and if both would fail one could try e.g. debian-lenny)


All times are GMT. The time now is 21:44.

vBulletin® Version 3.8.8