User:Javispedro/OBS notes

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

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

Possibly use dpkg* stuff from devkit.

Aegis manifest
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.

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

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.

Perl LANG issues
Some warning about locale en_US.UTF-8 not being installed. Scratchbox defaults to C locale.