Hallo Joachim. Excerpts from Joachim Breitner's message of Qua Mai 26 13:20:21 -0300 2010: (...) > Am Mittwoch, den 26.05.2010, 12:53 -0300 schrieb Marco Túlio Gontijo e > Silva: > > I'm having an issue with haskell-gtk which I already have in other packages, > > but could workaround then. The thing is I can only build haskell-gtk if > > locales is installed. Maybe I'm missing something here, but this was the only > > way I could build it. Do I have to include locales in my Build-Depends:? > > hmm, not before we understand the problem. I haven’t observed it yet... > does it occur in cowbuilder builds for you? Yes, I use pdebuild. I noticed that even with locales-all installed, I get this problem with pdebuild. If I use chroot and dpkg-buildpackage, it works. > What is your LANG setting? When I chroot: # locale LANG=pt_BR.UTF-8 LC_CTYPE="pt_BR.UTF-8" LC_NUMERIC="pt_BR.UTF-8" LC_TIME="pt_BR.UTF-8" LC_COLLATE="pt_BR.UTF-8" LC_MONETARY="pt_BR.UTF-8" LC_MESSAGES="pt_BR.UTF-8" LC_PAPER="pt_BR.UTF-8" LC_NAME="pt_BR.UTF-8" LC_ADDRESS="pt_BR.UTF-8" LC_TELEPHONE="pt_BR.UTF-8" LC_MEASUREMENT="pt_BR.UTF-8" LC_IDENTIFICATION="pt_BR.UTF-8" LC_ALL= With pdebuild: LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C So it seems that it only builds correctly if the locale is set to something UTF-8. > What is the “simplest” package the problem occured with so far? The other times it happened was with warnings being shown with code with utf-8 chars. This is the first time it occurs without an utf-8 char output. So this is the first time I see it happens. It's actually easy to reproduce: With the gtk-0.11.0 source: ghc --make Setup ./Setup configure ./Setup build It outputs: Setup: ./Graphics/UI/Gtk/General/IconTheme.chs: invalid argument Auf Wiedersehen. (...) -- marcot http://wiki.debian.org/MarcoSilva
Attachment:
signature.asc
Description: PGP signature