editors/openoffice-1.1-devel build fails with UTF-8 locale
Vladimir Chukharev
chu at kemia.me.tut.fi
Thu Jul 7 10:41:55 GMT 2005
I have locale like this:
chu at chu:~ 10:47:33 $ locale
LANG=
LC_CTYPE=ru_RU.UTF-8
LC_COLLATE=ru_RU.UTF-8
LC_TIME=en_US.UTF-8
LC_NUMERIC=ru_RU.UTF-8
LC_MONETARY=ru_RU.UTF-8
LC_MESSAGES=C
LC_ALL=
If I start upgrading openoffice like this
chu at chu:~ 10:47:33 $ CPUTYPE=pentium3 sudo limits -m 220m -d 220m -s 220m nice portupgrade -m BATCH=yes -f editors/openoffice-1.1-devel
the build bails out with the following lines at the end of diagnostics.
...
tr -d "\015" < ../../../examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/Makefile > ../../../unxfbsd.pro/bin/odk645/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/Makefile
rm -f ../../../unxfbsd.pro/bin/odk645/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/regfilter.bas >& /dev/null
tr -d "\015" < ../../../examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/regfilter.bas > ../../../unxfbsd.pro/bin/odk645/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/regfilter.bas
tr: Illegal byte sequence
dmake: Error code 1, while making '../../../unxfbsd.pro/bin/odk645/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/regfilter.bas'
dmake: '../../../unxfbsd.pro/bin/odk645/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/regfilter.bas' removed.
---* RULES.MK *---
ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-1.1-devel/work/odk/examples/DevelopersGuide/OfficeDev
dmake: Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255
Stop in /usr/ports/editors/openoffice-1.1-devel.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade14808.0 make BATCH=yes
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! editors/openoffice-1.1-devel (openoffice-1.1.5.20050705) (missing header)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
If I change the locale like in
CPUTYPE=pentium3 LC_ALL=C sudo limits -m 256m -d 256m -s 256m nice portupgrade -m BATCH=yes -f editors/openoffice-1.1-devel
everything is built OK.
Hope someone knows what this means ;-)
--
V.Chukharev
More information about the freebsd-openoffice
mailing list