svn commit: r348854 - in head/converters/libiconv: . files

Tijl Coosemans tijl at FreeBSD.org
Mon Mar 24 12:38:51 UTC 2014


On Mon, 24 Mar 2014 07:45:21 +0100 Antoine Brodin wrote:
> Not sure if it's this change or not,  but there are some new failures
> related to "locale_charset" that weren't here 24 hours ago on FreeBSD
> 9.1:

Yes, I was primarily focusing on hiding aliases_lookup and aliases2_lookup
but now locale_charset is also hidden in libiconv.  This means ports need
to link with libcharset (also part of converters/libiconv) or use
nl_langinfo from libc.

> lang/mono:
> 
>   CCLD   test-eglib
> /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 25.
> ...
> /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 25.
> ../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function
> `monoeg_g_get_charset':
> /wrkdirs/usr/ports/lang/mono/work/mono-3.2.8/eglib/src/gunicode.c:223:
> undefined reference to `locale_charset'
> /wrkdirs/usr/ports/lang/mono/work/mono-3.2.8/eglib/src/gunicode.c:223:
> undefined reference to `locale_charset'
> /wrkdirs/usr/ports/lang/mono/work/mono-3.2.8/eglib/src/gunicode.c:223:
> undefined reference to `locale_charset'
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> gmake[4]: *** [test-eglib] Error 1

Fixed in r348949.

> lang/ghc:
> 
> ===>  Configuring for ghc-7.6.3_3
> configure: loading site script /usr/ports/Templates/config.site
> checking for path to top of build tree...
> /wrkdirs/usr/ports/lang/ghc/work/ghc-7.4.1-boot/utils/ghc-pwd/dist-install/build/tmp/ghc-pwd:
> Undefined symbol "locale_charset"
> configure: error: cannot determine current directory
> *** [pre-configure] Error code 1

This is more complicated.  The port already detects libcharset correctly,
but it uses a bootstrap package of itself that expects locale_charset
in libiconv.  Currently trying to fix it with LD_PRELOAD=libcharset.so.


More information about the svn-ports-head mailing list