Bug 445565 - Mandriva_2009 build fails
Summary: Mandriva_2009 build fails
Status: RESOLVED FIXED
: 436046 439830 442696 (view as bug list)
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal with 1 vote (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-17 07:54 UTC by Forgotten User ZhJd0F0L3x
Modified: 2017-12-20 09:20 UTC (History)
6 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.