5.2.1-RELEASE lib/libedit broken? Problems with tr(1) and LANG=de_DE.ISO8859-15

Burkard Meyendriesch bm at malepartus.de
Mon Mar 1 08:01:12 PST 2004


On Mon, 1 Mar 2004 17:08:13 +0300 Andrey Chernov wrote:

> On Mon, Mar 01, 2004 at 02:49:01PM +0100, Burkard Meyendriesch wrote:
> > I just cvsup'ed RELENG_5_2 and found your version 1.48.2.1 of
> > setlocale.c. But this does not solve my problem: I still find
> > illegal non-ASCII characters in /usr/obj/usr/src/lib/libedit/fcns.h
> > which produce my compiling errors:
> > 
> > >>> Rebuilding the temporary build tree
> > >>> stage 1.1: legacy release compatibility shims
> 
> Of course, you'll need to build/install libc _before_ 'make world', tr
> 
> called still use old libc otherwise.
> 
sure. I made:

# cat /usr/sup/src-supfile
*default host=cvsup.uk.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix
src-all

# cvsup -g /usr/sup/src-supfile

# cd /usr/src/lib/libc
# make
# make install

# cd /usr/src/usr.bin/tr
# make
# make install

<reboot of the machine>

# cd /usr/src/lib/libedit
# make
cc -O  -I. -I/usr/src/lib/libedit    -c editline.c
In file included from /usr/src/lib/libedit/chared.h:136,
                 from /usr/src/lib/libedit/el.h:102,
                 from /usr/src/lib/libedit/chared.c:51,
                 from editline.c:4:
fcns.h:4:15: warning: ISO C requires whitespace after the macro name
fcns.h:18:23: warning: ISO C requires whitespace after the macro name
fcns.h:21:23: warning: ISO C requires whitespace after the macro name
fcns.h:24:13: warning: ISO C requires whitespace after the macro name
fcns.h:25:20: warning: ISO C requires whitespace after the macro name
fcns.h:26:30: warning: ISO C requires whitespace after the macro name
fcns.h:27:30: warning: ISO C requires whitespace after the macro name
fcns.h:28:15: warning: ISO C requires whitespace after the macro name
fcns.h:31:14: warning: ISO C requires whitespace after the macro name
fcns.h:32:14: warning: ISO C requires whitespace after the macro name
fcns.h:32:1: warning: "ED_UU" redefined
fcns.h:31:1: warning: this is the location of the previous definition
fcns.h:33:14: warning: ISO C requires whitespace after the macro name
fcns.h:33:1: warning: "ED_UU" redefined
fcns.h:32:1: warning: this is the location of the previous definition
fcns.h:34:14: warning: ISO C requires whitespace after the macro name
fcns.h:34:1: warning: "ED_UU" redefined
fcns.h:33:1: warning: this is the location of the previous definition
fcns.h:35:14: warning: ISO C requires whitespace after the macro name
fcns.h:35:1: warning: "ED_UU" redefined
fcns.h:34:1: warning: this is the location of the previous definition
fcns.h:36:14: warning: ISO C requires whitespace after the macro name
fcns.h:36:1: warning: "ED_UU" redefined
fcns.h:35:1: warning: this is the location of the previous definition
fcns.h:37:14: warning: ISO C requires whitespace after the macro name
fcns.h:37:1: warning: "ED_UU" redefined
fcns.h:36:1: warning: this is the location of the previous definition
fcns.h:38:12: warning: ISO C requires whitespace after the macro name
fcns.h:40:15: warning: ISO C requires whitespace after the macro name
fcns.h:41:15: warning: ISO C requires whitespace after the macro name
fcns.h:41:1: warning: "EM_COP" redefined
fcns.h:40:1: warning: this is the location of the previous definition
fcns.h:55:12: warning: ISO C requires whitespace after the macro name
fcns.h:56:12: warning: ISO C requires whitespace after the macro name
fcns.h:56:1: warning: "EM_" redefined
fcns.h:55:1: warning: this is the location of the previous definition
fcns.h:57:12: warning: ISO C requires whitespace after the macro name
fcns.h:57:1: warning: "EM_" redefined
fcns.h:56:1: warning: this is the location of the previous definition
fcns.h:87:13: warning: ISO C requires whitespace after the macro name
fcns.h:88:13: warning: ISO C requires whitespace after the macro name
fcns.h:88:1: warning: "WI_S" redefined
fcns.h:87:1: warning: this is the location of the previous definition
fcns.h:92:12: warning: ISO C requires whitespace after the macro name
fcns.h:93:12: warning: ISO C requires whitespace after the macro name
fcns.h:93:1: warning: "WI_" redefined
fcns.h:92:1: warning: this is the location of the previous definition
In file included from editline.c:4:
/usr/src/lib/libedit/chared.c: In function `ch_init':
/usr/src/lib/libedit/chared.c:456: error: `ED_UNASSIGNED' undeclared (first use in this function)

.. still the same problem.

Burkard

--
Burkard Meyendriesch
Stevern 2
D-48301 Nottuln
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040301/349ea227/attachment.bin


More information about the freebsd-current mailing list