User:Javispedro/OBS notes

Some stuff & links I need to remember to research about OBS+Harmattan issues

Contents

[edit] AEGIS_HASH_FDS issue

https://bugs.meego.com/show_bug.cgi?id=23952

Is the variable defined under Sbox? Are aegis-*-hook et all patched not to show the prompt?

Possibly use dpkg* stuff from devkit.

[edit] Aegis manifest

https://bugs.meego.com/show_bug.cgi?id=21885

Probably related with the above. aegis-manifest is not run automatically, breaking all apps that rely on automatic manifest generation. Apart from this, dpkg-deb doesn't add the _manifest inside the .deb package, so it has to be done manually inside debian/rules in a hacky way.

This will be fixed if we use dpkg* from devkit.

[edit] Parallelism

OBS used to call dpkg-buildpackage -jN which sets MAKEFLAGS+=-jN . This breaks packages as debian/rules is parallelized. Who did this ... ?

Currently, it is commented out in build.deb . So the current situation is no parallelism at all.

The proper way is to set env

DEB_BUILD_OPTIONS=parallel=N

inside build.deb:build script I see something about sourcing $BUILD_ROOT/$TOPDIR/SOURCES/build.script where one could potentially define an env var. But I suspect there won't be a way to access $DSC_BUILD_JOBS from there.

[edit] Perl LANG issues

Some warning about locale en_US.UTF-8 not being installed. They seem to only appear on my system doing local builds. Scratchbox defaults to C locale anyway so maybe build env could be changed too.