Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2016 10:56:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 206191] german/hunspell: Does not build, when LANG=de_DE.UTF-8
Message-ID:  <bug-206191-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206191

            Bug ID: 206191
           Summary: german/hunspell: Does not build, when LANG=3Dde_DE.UTF-8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: office@FreeBSD.org
          Reporter: rhurlin@gwdg.de
             Flags: maintainer-feedback?(office@FreeBSD.org)
          Assignee: office@FreeBSD.org

Created attachment 165492
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165492&action=
=3Dedit
patch to make the build of german/hunspell independend from locale settings

I am not able to build german/hunspell for some time now:


[..snip..]
cat hunspell-capmain-plus_de_CH.tmp.unfiltered-list.tmp | ( sed -f
./bin/dic2iso | aspell --encoding=3Diso8859-1 --lang=3Dde_CH
--local-data-dir=3D./aspell expand ) >
hunspell-capmain-plus_de_CH.tmp.unfiltered-list-expanded.tmp
sed -f ./bin/dic2iso <
hunspell-capmain-plus_de_CH.tmp.unfiltered-list-expanded.tmp |sed "s/qq//g"=
 |
nl | hunspell `hunspell -h 2>&1 | grep -q "hunspell \\-i" && echo "-i latin=
1"`
-d hunspell/de_CH_small -L > hunspell-capmain-plus_de_CH.tmp.unknown.tmp
error: line 1: missing or bad word count in the dic file
Hash Manager Error : 4
sed "s/^ *\([0-9]*\)\t.*$/\1/" hunspell-capmain-plus_de_CH.tmp.unknown.tmp >
hunspell-capmain-plus_de_CH.tmp.list-unknown-lines.tmp
./bin/extractlines.pl hunspell-capmain-plus_de_CH.tmp.list-unknown-lines.tmp
hunspell-capmain-plus_de_CH.tmp.unfiltered-list.tmp >
hunspell-capmain-plus_de_CH.tmp.tmp
./bin/hunspell-capmain hunspell-capmain-plus_de_CH.tmp.tmp | sed -f
./bin/iso2dic > hunspell-capmain-plus_de_CH.tmp
sed: 3: ./bin/iso2dic: RE error: illegal byte sequence
+ INFILE=3Dhunspell-capmain-plus_de_CH.tmp.tmp
+ test -z hunspell-capmain-plus_de_CH.tmp.tmp
+ grep $'^[A-Z\304\326\334\311]' hunspell-capmain-plus_de_CH.tmp.tmp
+ grep -v -- --x
+ ./bin/myspellfixprefix.pl
+ ./bin/lcfirst.pl
+ sed 's:$:/ozm: ; s:/\(.*\)/:/\1: ; s:--x::'
+ echo
Makefile:341: die Regel f=C3=BCr Ziel =E2=80=9Ehunspell-capmain-plus_de_CH.=
tmp=E2=80=9C scheiterte
gmake[2]: *** [hunspell-capmain-plus_de_CH.tmp] Fehler 1
gmake[2]: Verzeichnis =E2=80=9E/usr/ports/german/hunspell/work/igerman98-20=
151222=E2=80=9C wird
verlassen
=3D=3D=3D> Compilation failed unexpectedly.


This error was reported some years ago in a mail[1] and as bug #175423, but
seems not definitely solved?

As far as I can see, it is a problem with the locale environment, especially
with some LANG=3D settings, for example with LANG=3Dde_DE.UTF-8. Probably, =
it
occurs on from the latest UTF changes in base?

If I unset LANG=3D or set it to LANG=3DC, all builts fine. The appended pat=
ch
solved the problem for at least my german locale settings.

My boxes run a very recent FreeBSD 11.0-CURRENT amd64.


[1] http://lists.freebsd.org/pipermail/freebsd-office/2011-August/000084.ht=
ml

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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