Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294549 - sys-boot/grub-1.97*: collision when installing with USE="multislot"
Summary: sys-boot/grub-1.97*: collision when installing with USE="multislot"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 322009 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-25 08:58 UTC by Benedikt Reinartz
Modified: 2010-06-02 07:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the ebuild (grub.patch,390 bytes, patch)
2009-11-25 09:00 UTC, Benedikt Reinartz
Details | Diff
Build log for the failure. (build.log-1.98,1.60 MB, text/plain)
2010-06-02 07:30 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Reinartz 2009-11-25 08:58:50 UTC
When installing grub-2 with multislot enabled and having installed grub-legacy before, the man-page for grub-install (then grub2-install) is not renamed and thus the collision protection gets sad.

Reproducible: Always

Steps to Reproduce:
1. Install grub-legacy
2. Try to install grub-2 with USE=multislot

Actual Results:  
>>> Installing (1 of 1) sys-boot/grub-1.97.1
 * QA Notice: Expected SLOT='0', got '2'

 * checking 173 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/share/man/man8/grub-install.8.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-boot/grub-0.97-r9
 *      /usr/share/man/man8/grub-install.8.bz2
 * 
 * Package 'sys-boot/grub-1.97.1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Failed to install sys-boot/grub-1.97.1, Log file:

>>>  '/var/tmp/portage/sys-boot/grub-1.97.1/temp/build.log'
Comment 1 Benedikt Reinartz 2009-11-25 09:00:00 UTC
Created attachment 211128 [details, diff]
Patch for the ebuild

The patch for the ebuild adds lines to move the manual page where it belongs.
Comment 2 SpanKY gentoo-dev 2010-01-10 05:55:49 UTC
post a full build log as an attachment.  i see no grub-install(8) man page in grub-1.97+.
Comment 3 Benedikt Reinartz 2010-01-10 10:18:27 UTC
Hmm, now it works ...

Sorry for the noise.
Comment 4 Chris Slycord 2010-05-27 19:16:13 UTC
I was able to reproduce this.

Steps to reproduce:
1) Install =sys-boot/grub-0.97-r9
2) Install =sys-boot/grub-1.98 with USE="multislot"

Alternate similar steps to reproduce:
1) If =sys-boot/grub-0.97-r9 is installed, unmerge it
2) Install =sys-boot/grub-1.98 with USE="multislot"
3) Install =sys-boot/grub-0.97-r9

* package sys-boot/grub-0.97-r9 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/share/man/man8/grub-install.8.bz2
 * 	/sbin/grub-set-default
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-boot/grub-1.98
 * 	/sbin/grub-set-default
 * 	/usr/share/man/man8/grub-install.8.bz2
 * 
 * Package 'sys-boot/grub-0.97-r9' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

And I currently only have grub-1.98 installed and there IS a grub-install(8) man page and portageq shows that grub-1.98 is the owner of both of the files mentioned.
Comment 5 SpanKY gentoo-dev 2010-06-02 07:09:24 UTC
*** Bug 322009 has been marked as a duplicate of this bug. ***
Comment 6 Chris Slycord 2010-06-02 07:30:32 UTC
Created attachment 233815 [details]
Build log for the failure.