On 02/27/20 16:50, Till Wegmüller wrote:
The Problem is zlogin explicitly sets LANG=C

Otherwise it can be set in /etc/default/init which works well with ssh.

Greetings
Till

I set it in .bash_profile for user I use there. Also works.

Many thanks.

On 27.02.20 16:48, Predrag Zecevic - Unix Systems Administrator wrote:
On 02/27/20 16:43, Till Wegmüller wrote:
Hi

The Problem is that you Zone doe not use a UTF-8 locale. It will be the
same with any package that includes files with non ASCII characters.
This has popped up some months ago already. And is expected although
IMHO stupid behaviour of Python3 (And Ruby and Perl for that matter)

The fix is simple. Always run "export LANG="en_US.UTF-8" before you
install packages.


Greetings
Till
Hi Till,

Yes! That has "fixed" it. I am not sure where this info has to be
published or even added to skeleton files...

Regards.


On 27.02.20 16:39, Predrag Zecevic - Unix Systems Administrator wrote:
On 02/27/20 16:34, Predrag Zecevic - Unix Systems Administrator wrote:
Hi all,

I have tried to install golang in /hipster (updated today) zone:

:; pfexec pkg install developer/golang-112
              Packages to install:  1
              Mediators to change:  1
          Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                PKGS         FILES    XFER
(MB)   SPEED
Completed                                1/1     9101/9101
139.7/139.7      --

PHASE                                          ITEMS
Installing new actions                     7693/9117Action install
failed for
'usr/lib/golang/1.12/test/fixedbugs/issue27836.dir/\xc4foo.go'
(pkg://openindiana.org/developer/golang-112):
     UnicodeEncodeError: 'ascii' codec can't encode character '\xc4' in
position 51: ordinal not in range(128)

The Boot Environment zbe-263 failed to be updated. A snapshot was
taken before the failed attempt and is mounted here /tmp/tmpvfqi85fv.
Use 'beadm unmount zbe-264' and then 'beadm activate zbe-264' if you
wish to boot to this BE.
pkg: An unexpected error happened during install: 'ascii' codec can't
encode character '\xc4' in position 51: ordinal not in range(128)


GZ runs:
:; uname -rosv
SunOS 5.11 illumos-d4990cfc1b illumos

:; pkg info developer/golang-112
                Name: developer/golang-112
             Summary: The Go Programming Language
            Category: Development/Other Languages
               State: Installed
           Publisher: openindiana.org
             Version: 1.12.13
              Branch: 2019.0.0.0
      Packaging Date: Thu Nov 21 07:39:50 2019
Last Install Time: Fri Sep 20 06:42:02 2019
    Last Update Time: Mon Nov 25 09:13:23 2019
                Size: 385.77 MB
                FMRI:
pkg://openindiana.org/developer/golang-112@1.12.13-2019.0.0.0:20191121T073950Z


         Project URL: https://golang.org/
          Source URL:
https://storage.googleapis.com/golang/go1.12.13.src.tar.gz


I am asking here first, maybe solution is simple?

Regards.

FYI: same problem with golang-113:
...

Action install failed for
'usr/lib/golang/1.13/test/fixedbugs/issue27836.dir/\xc4foo.go'
(pkg://openindiana.org/developer/golang-113):
    UnicodeEncodeError: 'ascii' codec can't encode character '\xc4' in
position 51: ordinal not in range(128)
...

Regards.

P.S: I see golang-114 is coming...

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss



_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zece...@2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to