Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673368 - 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`
Summary: dev-util/cargo-0.30.0 with es_ES.ISO-8859-1 locale - cargo: failed to run cus...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-17 22:13 UTC by Enrique D. Bosch
Modified: 2020-02-22 10:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Log of failed cargo 0.30.0 (cargo-error-build.log,27.24 KB, text/plain)
2018-12-17 22:13 UTC, Enrique D. Bosch
Details

Note You need to log in before you can comment on or make changes to this bug.
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.