Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 673368

Summary: dev-util/cargo-0.30.0 with es_ES.ISO-8859-1 locale - cargo: failed to run custom build command for `openssl-sys v0.9.36`
Product: Gentoo Linux Reporter: Enrique D. Bosch <presidev>
Component: Current packagesAssignee: Gentoo Rust Project <rust>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log of failed cargo 0.30.0

Description Enrique D. Bosch 2018-12-17 22:13:44 UTC
Created attachment 558078 [details]
Log of failed cargo 0.30.0

Having locale:
LANG=es_ES.ISO-8859-1
LC_CTYPE="es_ES.ISO-8859-1"
LC_NUMERIC="es_ES.ISO-8859-1"
LC_TIME="es_ES.ISO-8859-1"
LC_COLLATE="es_ES.ISO-8859-1"
LC_MONETARY="es_ES.ISO-8859-1"
LC_MESSAGES="es_ES.ISO-8859-1"
LC_PAPER="es_ES.ISO-8859-1"
LC_NAME="es_ES.ISO-8859-1"
LC_ADDRESS="es_ES.ISO-8859-1"
LC_TELEPHONE="es_ES.ISO-8859-1"
LC_MEASUREMENT="es_ES.ISO-8859-1"
LC_IDENTIFICATION="es_ES.ISO-8859-1"
LC_ALL=es_ES.ISO-8859-1

"emerge cargo" fails with error:
error: failed to run custom build command for `openssl-sys v0.9.36`
process didn't exit successfully: `/tmp/portage/dev-util/cargo-0.30.0/work/cargo-0.30.0/target/release/build/openssl-sys-289fa0e97cfedf35/build-script-main` (exit code: 101)

See complete log: cargo-error-build.log

If I install another locale, for example I uncomment "en_US.UTF-8 UTF-8" in /etc/locale.gen
# locale-gen
 * Generating 2 locales (this might take a while) with 4 jobs
 *  (2/2) Generating es_ES.ISO-8859-1 ...        [ ok ]
 *  (1/2) Generating en_US.UTF-8 ...             [ ok ]
 * Generation complete
 * Adding locales to archive ...                 [ ok ]

Then
# LC_ALL=en_US.UTF-8 emerge cargo

compiles as expected
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-02-22 10:20:02 UTC
we no longer have separate cargo, closing.