Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503162 - dev-libs/libiconv should not block sys-apps/man-pages
Summary: dev-libs/libiconv should not block sys-apps/man-pages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-01 22:27 UTC by René Rhéaume
Modified: 2014-03-27 06:37 UTC (History)
1 user (show)

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


Attachments
libiconv-1.14.ebuild.patch (libiconv-1.14.ebuild.patch,883 bytes, patch)
2014-03-01 22:27 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2014-03-01 22:27:27 UTC
Created attachment 371526 [details, diff]
libiconv-1.14.ebuild.patch

flameeyes, when he was improving the tree, quickly fixed a file collision in libiconv by blocking man-pagescfrom being emerged. However I wanted man-pages on a  uclibc-based system (actually I started this system with a Lilblue stage4) and could not have it.

I changed the libiconv ebuild so the conflicting manual pages are renamed from iconv*.* to libiconv*.* during the install phase. There was also a warning about datarootdir I corrected. I attach here the ebuild patch.
Comment 1 Naohiro Aota gentoo-dev 2014-03-04 21:54:54 UTC
Then there'll be mismatch between C function calling name and man page name. I'm not sure this is a right thing to do...
Comment 2 René Rhéaume 2014-03-06 02:01:19 UTC
Another solution could be done, but requires to commuit man-pages and libiconv ebuilds at the same time. You remove the block in the libiconv ebuild, then, in the man-pages ebuild, in its src_intall phase, you do something like

if ! use elibc_glibc; then
  # remove the iconv man pages to resolve the collision
fi
Comment 3 Naohiro Aota gentoo-dev 2014-03-22 08:15:35 UTC
Adding base-systems to CC list
Comment 4 SpanKY gentoo-dev 2014-03-27 06:37:45 UTC
should be all set now in the tree; thanks for the report!

Commit message: Rename man pages to avoid collisions w/man-pages package with USERLAND=GNU systems
http://sources.gentoo.org/dev-libs/libiconv/libiconv-1.14-r1.ebuild?r1=1.5&r2=1.6