emerge libedit-20100424.3.0 fail with the following error: gmake[3]: Entering directory `/usr/tmp/portage/dev-libs/libedit-20100424.3.0/work/libedit-20100424-3.0/src' CC chared.lo /bin/bash ../libtool --silent --tag=CC --mode=compile i686-gentoo-freebsd8.0-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=prescott --param l1-cache-size=16 --param l1-cache-line-size=64 -mtune=prescott -c -o chared.lo chared.c In file included from el.h:50, from chared.c:48: chartype.h:52:3: error: #error wchar_t must store ISO 10646 characters gmake[3]: *** [chared.lo] Error 1 gmake[3]: Leaving directory `/usr/tmp/portage/dev-libs/libedit-20100424.3.0/work/libedit-20100424-3.0/src' I've had this problem also on DragonFly and applyed a workaround patch [1], but I don't know this is right way. [1] https://github.com/naota/gentoo-dragonflybsd/raw/a4db6ced0545d1a18c3ba43b17f2d7bc19113fd7/portage-overlay/dev-libs/libedit/files/libedit-20100424.3.0-dragonfly.patch Reproducible: Always
I believe the above patch do the right work. Please apply the patch (but not __DragonFly__, use __FreeBSD__) or PLEASE mask this version! libedit is dependency required by freebsd-bin, which is gentoo/freebsd system package!
(In reply to comment #1) > I believe the above patch do the right work. > > Please apply the patch (but not __DragonFly__, use __FreeBSD__) > > I just tested this patch and it's not enough fo my fbsd-8.0: CC vi.lo /bin/bash ../libtool --silent --tag=CC --mode=compile i686-gentoo-freebsd8.0-gcc -st d=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -march=i686 -mtune=i686 -pipe -c -o vi.lo vi. c vi.c:922:74: error: macro "__weak_reference" requires 2 arguments, but only 1 given vi.c: In function 'get_alias_text': vi.c:922: error: expected declaration specifiers before '__weak_reference' vi.c:927: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token vi.c:957: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token vi.c:1002: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token vi.c:1086: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token vi.c:1136: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token vi.c:922: error: parameter name omitted vi.c:1157: error: expected '{' at end of input
(In reply to comment #1) Built successfully with your ${P}-weak-reference.patch on fbsd-8.0.
(In reply to comment #3) > (In reply to comment #1) > > Built successfully with your ${P}-weak-reference.patch on fbsd-8.0. ah yes, we need the patch too. See this page for the fix. Same bug was solved with the same patch. http://bugs.mysql.com/bug.php?id=42817
Fixed in CVS.