Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 13:38:44 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Antoine Brodin <antoine@FreeBSD.org>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org>
Subject:   Re: svn commit: r348854 - in head/converters/libiconv: . files
Message-ID:  <20140324133844.4ea0806d@kalimero.tijl.coosemans.org>
In-Reply-To: <CAALwa8kN_AQmLZ6EujCe7kp8hm9bhLSjn%2B4UTF3LYCsEsR3v8w@mail.gmail.com>
References:  <201403231326.s2NDQLWK007502@svn.freebsd.org> <CAALwa8kN_AQmLZ6EujCe7kp8hm9bhLSjn%2B4UTF3LYCsEsR3v8w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140324133844.4ea0806d>