Bugzilla – Bug 445565
Mandriva_2009 build fails
Last modified: 2017-12-20 09:20:35 UTC
Project is home:seife, package umtsmon. Mandriva_2009 i586 and x86_64 fails to build. Famous last words: ----------------------------------------------------------------- ----- building umtsmon.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- su: incorrect password System halted.
I chrooted into the set up build root: root@stoetzler:/# su - abuild su: incorrect password I noticed that /etc/shadow had no entry for abuild, so I just duplicated the entry for root: sed '/^root:/ { p;s/^\(root\)\(:.*\)/abuild\2/; }' -i /etc/shadow root@stoetzler:/# su abuild abuild@stoetzler:/> So the fix probably needs to go somewhere into the builsystem initialization for Mandriva 2009 Hope this helps ;-)
*** Bug 436046 has been marked as a duplicate of this bug. ***
*** Bug 439830 has been marked as a duplicate of this bug. ***
*** Bug 442696 has been marked as a duplicate of this bug. ***
Okay, it is IMHO a bug that this does not work without shadow entries. However, I have added a workaround for this to the build script. This helps us to pass this step, but it still fails at a later step. Now the Mandriva binaries seems to have problems with older kernels (cp -a on sym links fails due to missing syscalls). We will solve this later, when we update our build farm to SLE 11.
This now changed so builds fail if debuginfo is enabled. A workaround is to disable debuginfo for Mandriva 2009 builds because there it seems to be enabled by default. The strange thing is that it apparently still inserts @debug_package if one disables debuginfo project wide for Mandriva 2009. I had to explicitly disabled debuginfo per package. An example where that happens is "security:openvas:[UN]STABLE".
I confirm the workaround osc meta -e pkg $PRJ $PKG Then add this <debuginfo> <disable repository='Mandriva_2009'/> </debuginfo>
As we no longer list mandriva in OBS and I tried to use Mageia 6 (lets consider it the child of mandriva) it builds as expected we can close this as fixed.