Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658348 - Lack of iconv blocks dev-perl/libintl-perl
Summary: Lack of iconv blocks dev-perl/libintl-perl
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal blocker (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-17 23:47 UTC by Michał Dec
Modified: 2018-06-18 06:22 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dec 2018-06-17 23:47:27 UTC
Emerging dev-perl/libintl-perl on Gentoo FreeBSD will always fail, because dev-libs/libiconv is blocked in GFBSD. However, sys-freebsd/freebsd-lib supplies an alternative libkiconv that works fine as a drop-in replacement for libiconv, at least for dev-perl/libintl-perl.

Being unable to do this makes it difficult to update said package.

Possible solutions:
1. Have sys-freebsd/freebsd-lib do this after the ebuild is compiled:
ln -s /usr/lib/libkiconv.so /lib/libiconv.so
(less work, maybe some breakage)

2. Patch dev-perl/libintl-perl to link against kiconv instead of iconv on Gentoo FreeBSD.
(more work, no breakage)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-06-18 06:22:06 UTC
Please attach some logs/output as to the problem you're seeing.

What you're describing doesn't make sense.  I can install this package without any problem on amd64-fbsd.  It does not depend on dev-libs/libiconv but on virtual/libiconv which has correct dependencies for FreeBSD.

Also, it doesn't need to link to iconv or kiconv because FreeBSD has iconv routines built-in in -lc.

In other words, this looks like either a seriously misconfigured system, or a guess made without actually testing it.