Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2020 19:37:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 246618] textproc/py-sphinx: fails to build under QEMU_EMULATING after r534966
Message-ID:  <bug-246618-21822-lCb07Ss1Xa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246618-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246618-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246618

--- Comment #3 from Danilo G. Baio <dbaio@freebsd.org> ---
On our ref machines (ref[11|12|13]-aarch64.freebsd.org), that doesn't happen.

I can simulate that on poudriere as you suggested (QEMU env).

But see how it's odd:

root@12-aarch64-default:~ # locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

root@12-aarch64-default:/tmp # tar -zxf
/portdistfiles/python/Sphinx-3.0.3.tar.gz
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Error exit delayed from previous errors.
root@12-aarch64-default:/tmp # echo $?
1

root@12-aarch64-default:/tmp # setenv LANG en_US.UTF-8
root@12-aarch64-default:/tmp # setenv LC_ALL en_US.UTF-8
root@12-aarch64-default:/tmp # setenv MM_CHARSET UTF-8
root@12-aarch64-default:/tmp # locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=en_US.UTF-8

root@12-aarch64-default:/tmp # tar -zxf
/portdistfiles/python/Sphinx-3.0.3.tar.gz
root@12-aarch64-default:/tmp # echo $?
0

There are some workarounds here.

But I think we should link this with a PR for bsdtar.

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

help

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