ports/91381: building www/cssed fails.
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
Fri Jan 6 08:50:06 UTC 2006
>Number: 91381
>Category: ports
>Synopsis: building www/cssed fails.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 06 08:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Tsurutani Naoki
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 5.4-STABLE FreeBSD 5.4-STABLE #11: Mon Dec 26 11:23:23 JST 2005 turutani at polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386
>Description:
building www/cssed fails with the following messages:
if c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../scintilla/include -I../../scintilla/gtk -I../../scintilla/src -D_REENTRANT -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -DGTK_IS_2_2 -DGTK_ATLEAST_2_4 -DGTK_ATLEAST_2_6 -I/usr/local/include -DGTK -DGTK2 -DSCI_LEXER -O -pipe -MT ScintillaGTK.o -MD -MP -MF ".deps/ScintillaGTK.Tpo" -c -o ScintillaGTK.o ScintillaGTK.cxx; then mv -f ".deps/ScintillaGTK.Tpo" ".deps/ScintillaGTK.Po"; else rm -f ".deps/ScintillaGTK.Tpo"; exit 1; fi
ScintillaGTK.cxx: In function `int MakeAccent(int, int)':
ScintillaGTK.cxx:1183: error: missing terminating " character
*** Error code 1
Stop in /usr/local/work/usr/ports/www/cssed/work/cssed-0.4.0/scintilla/gtk.
*** Error code 1
Stop in /usr/local/work/usr/ports/www/cssed/work/cssed-0.4.0/scintilla.
*** Error code 1
Stop in /usr/local/work/usr/ports/www/cssed/work/cssed-0.4.0.
*** Error code 1
Stop in /usr/local/work/usr/ports/www/cssed/work/cssed-0.4.0.
*** Error code 1
Stop in /usr/ports/www/cssed.
This is caused by irregal replace by "tr".
"tr" is used in www/cssed/Makefile through "TR" variable normally defined
in ports/Mk/bsd.port.mk.
"tr" obeys locale settings, therefore, with LANG=ja_JP.eucJP, "tr -d '\r'"
returns bad results.
>How-To-Repeat:
Building under environmental variable LANG other than "C".
>Fix:
To work properly for all the ports, setting "TR?= LANG=C /usr/bin/tr" in
ports/Mk/bsd.port.mk is better way.
But simply to avoid only this trouble, edit Makefile instead.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list