Bug 445565

Summary: Mandriva_2009 build fails
Product: [openSUSE] openSUSE.org Reporter: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Component: BuildServiceAssignee: Adrian Schröter <adrian.schroeter>
Status: RESOLVED FIXED QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Normal    
Priority: P5 - None CC: ahz001, bitdealer, cfeck, ilfirin.ms, joop.boonen, lmuelle
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User ZhJd0F0L3x 2008-11-17 07:54:15 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.
Comment 1 Forgotten User ZhJd0F0L3x 2008-11-19 11:49:15 UTC
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 ;-)
Comment 2 Adrian Schröter 2008-11-20 14:59:47 UTC
*** Bug 436046 has been marked as a duplicate of this bug. ***
Comment 3 Adrian Schröter 2008-11-20 15:00:25 UTC
*** Bug 439830 has been marked as a duplicate of this bug. ***
Comment 4 Adrian Schröter 2008-11-20 15:01:53 UTC
*** Bug 442696 has been marked as a duplicate of this bug. ***
Comment 5 Adrian Schröter 2008-11-20 16:04:03 UTC
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.
Comment 6 Stephan Kleine 2009-01-22 02:03:16 UTC
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".
Comment 7 andrew ziem 2009-01-22 06:51:06 UTC
I confirm the workaround

   osc meta -e pkg $PRJ $PKG

Then add this

   <debuginfo>
    <disable repository='Mandriva_2009'/>
  </debuginfo>
Comment 8 Tomáš Chvátal 2017-12-20 09:20:35 UTC
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.