[Bug 577774] New: bs: removal of packages with name-clash BRPMs causes project breakdown
http://bugzilla.novell.com/show_bug.cgi?id=577774 http://bugzilla.novell.com/show_bug.cgi?id=577774#c0 Summary: bs: removal of packages with name-clash BRPMs causes project breakdown Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: adrian@novell.com Found By: Beta-Customer Blocker: --- Steps to reproduce: 1. osc importsrcpkg -c binutils.src.rpm It is important to use .src.rpm, or to otherwise make sure there is only one spec file in the package after import. 2. osc linkpac this:project binutils this:project cross-x86_64-binutils 3. Let it build. Because cross is just linked, and the binutils package is missing cross-x86_64-binutils.spec, the build system will fall back to calling rpmbuild binutils.spec instead (verified by looking at the output of ps(1). Thus, both binutils and cross-x86_64-binutils will generate a binutils.rpm. I can imagine that other steps are possible to produce such a scenario, such as two totally independent packages (without linkpac) but which still happen to result in the same binary rpm filename afterwards. 4. One of (binutils, cross-x86_64-binutils) will finish later than the other. The exact package can be found by looking at :full/binutils.rpm and comparing the inode number against binutils/binutils.rpm and cross-x86_64-binutils/binutils.rpm. Let's assume for now that :full/binutils.rpm is hardlinked to cross-x86_64-binutils/binutils.rpm. 5. Developer decides to remove the cross-x86_64-binutils package. :full/binutils.rpm will be removed, leading to a case where no binutils is available anymore, and the scheduler will kill off all packages in the project with "nothing provides binutils". This assuming the project has no parent project where binutils would be available and sourced from. There is no way to trigger a rebuild binutils, because well, you need binutils to build binutils, thus the "breakdown". The only way to fix this is to manually rehardlink files in :full, which requires appropriate privileges which are not always available. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577774 http://bugzilla.novell.com/show_bug.cgi?id=577774#c1 --- Comment #1 from Jan Engelhardt <jengelh@medozas.de> 2010-02-07 02:53:28 UTC --- *** Bug 577764 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=577764 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577774 http://bugzilla.novell.com/show_bug.cgi?id=577774#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |matz@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577774 http://bugzilla.novell.com/show_bug.cgi?id=577774#c2 Michael Matz <matz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|matz@novell.com |adrian@novell.com --- Comment #2 from Michael Matz <matz@novell.com> 2010-02-08 12:24:06 UTC --- Buildservice incapabilities --> not me. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577774 http://bugzilla.novell.com/show_bug.cgi?id=577774#c Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@novell.com |mls@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577774 http://bugzilla.novell.com/show_bug.cgi?id=577774#c Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com