User:Javispedro/OBS notes
javispedro (Talk | contribs) (New page: 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 devk...) |
javispedro (Talk | contribs) (→Parallelism) |
||
Line 17: | Line 17: | ||
OBS used to call dpkg-buildpackage -jN which sets MAKEFLAGS+=-jN . This breaks packages as debian/rules is parallelized. Who did this ... ? | 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 | The proper way is to set env |
Revision as of 17:41, 17 August 2012
Some stuff & links I need to remember to research about OBS+Harmattan issues
Contents |
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 ... ?
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.
Perl LANG issues
Some warning about locale en_US.UTF-8 not being installed. Scratchbox defaults to C locale.