Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557372 - app-i18n/man-pages-pl-0.6 collides with sys-apps/shadow-4.2.1-r1
Summary: app-i18n/man-pages-pl-0.6 collides with sys-apps/shadow-4.2.1-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Marcin Kowalski
URL:
Whiteboard:
Keywords:
: 559690 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-12 14:14 UTC by Wojtek Arabczyk
Modified: 2015-09-05 21:28 UTC (History)
4 users (show)

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


Attachments
emerge --info (file_557372.txt,6.70 KB, text/plain)
2015-08-12 14:14 UTC, Wojtek Arabczyk
Details
Fixes the problem, by removing the offending man page. (man-pages-pl.patch,437 bytes, patch)
2015-08-17 13:22 UTC, Maciej Pawlik
Details | Diff
updated ebuild (man-pages-pl-0.6.ebuild,826 bytes, text/plain)
2015-08-31 15:25 UTC, Marcin Kowalski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wojtek Arabczyk 2015-08-12 14:14:17 UTC
Created attachment 408866 [details]
emerge --info

The package app-i18n/man-pages-pl-0.6 fails to merge with a file collision detected:

>>> Failed to install app-i18n/man-pages-pl-0.6

 * Messages for package app-i18n/man-pages-pl-0.6:

(cut the std. message part...)

 *
 * Detected file collision(s):
 *
 * 	/usr/share/man/pl/man1/groups.1.bz2
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * sys-apps/shadow-4.2.1-r1:0::gentoo
 * 	/usr/share/man/pl/man1/groups.1.bz2
 *
 * Package 'app-i18n/man-pages-pl-0.6' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 1 Maciej Pawlik 2015-08-17 13:21:18 UTC
I can confirm that this happens. New manpages-pl package contains man for groups, which collides with shadow's. In earlier versions there was a crude fix, by removing duplicate man pages. See attached patch for similar fix in this version.
Comment 2 Maciej Pawlik 2015-08-17 13:22:04 UTC
Created attachment 409270 [details, diff]
Fixes the problem, by removing the offending man page.
Comment 3 Marek Paśnikowski 2015-08-22 09:37:46 UTC
I saved the patch in:
# pwd
/etc/portage/patches/app-i18n/man-pages-pl-0.6

It should be picked be emerge automatically from that location.
As it does not so, it seems that man-pages-pl package has another problem, which is lack of call for custom patches in the ebuild. I will report that bug later on.

All I have time for right now is to confirm that I also am affected by the file conflict.
Comment 4 Marek Paśnikowski 2015-08-24 10:09:18 UTC
https://bugs.gentoo.org/show_bug.cgi?id=558542

There you go. The proper bug report I promised two days ago about the automatic patching.
Comment 5 Marcin Kowalski 2015-08-31 08:24:38 UTC
Looks ok to me, i'll just test it later today. Sorry for delay.
Comment 6 Marcin Kowalski 2015-08-31 15:25:09 UTC
Created attachment 410712 [details]
updated ebuild

attaching updated ebuild, also with user patch support from #558542
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2015-09-04 06:22:51 UTC
commit 4250008b825166d449d66e2df174a7364db0d4a2
Author: Ian Delaney <idella4@gentoo.org>
Date:   Fri Sep 4 14:18:30 2015 +0800

    app-i18n/man-pages-pl-0.6: fix file collisions with sys-apps/shadow-4.2.1-r1
    
    patch submitted by Marek Paśnikowski, endorsed by maintainer with
    user patch support added, fixes Bugs #557372 #558542
Comment 8 Maciej Piechotka 2015-09-05 21:28:12 UTC
*** Bug 559690 has been marked as a duplicate of this bug. ***