| Summary: | /devel/glib20 fails to build if WITH_BSD_ICONV is set in /etc/src.conf | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Peter Laursen <peter> |
| Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | peter |
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool) confirmed broken confirmed fixed with submitters change. Please commit ASAP. Sean State Changed From-To: open->closed Ugh, the actual problem is a devel/gettext update that happend at svn r 323088 in ports. Reverting back to previous release of devel/gettext allows .po files to be processed again. I have added pr ports/181076 to get this fixed. After that, we should revisit WITH_ICONV processing |
devel/glib20 fails to build properly if WITH_ICONV="YES" is set in /etc/src.conf The problem lies in the character set specified in the .PO files accompanying glib20. The character set is specified as "UTF-8\n" which the BSD iconv chokes upon. To make the port build, the character set should be specified as "UTF-8". Fix: I added this to the post-patch target of the Makefile in /usr/ports/devel/glib20: @${REINPLACE_CMD} -e 's/UTF-8\\n/UTF-8/gI' ${WRKSRC}/po/*.po This makes the port build properly. It replaces all occurrences of "UTF-8\n" with "UTF-8" How-To-Repeat: cd /usr/ports/devel/glib20 make Port fails when msgfmt is called in the po folder during build