Prefer libiconv for iconv (#44335)
`glibc` and `musl` provide a basic implementation of `iconv` (`iconv`, `iconv_open`, `iconv_close`), but in practice the installation may be missing the character encoding methods to make them usable. On Fedora for example, users need to ```yum install glibc-gconv-extra``` to get the character encodings that `gettext` requires during configure, namely EUC-JP. Users may not have permissions to install the missing parts of glibc. Since Spack can install `libiconv`, it is simpler to use that by default.
This commit is contained in:
		| @@ -1,19 +0,0 @@ | ||||
| # ------------------------------------------------------------------------- | ||||
| # This file controls default concretization preferences for Spack. | ||||
| # | ||||
| # Settings here are versioned with Spack and are intended to provide | ||||
| # sensible defaults out of the box. Spack maintainers should edit this | ||||
| # file to keep it current. | ||||
| # | ||||
| # Users can override these settings by editing the following files. | ||||
| # | ||||
| # Per-spack-instance settings (overrides defaults): | ||||
| #   $SPACK_ROOT/etc/spack/packages.yaml | ||||
| # | ||||
| # Per-user settings (overrides default and site settings): | ||||
| #   ~/.spack/packages.yaml | ||||
| # ------------------------------------------------------------------------- | ||||
| packages: | ||||
|   all: | ||||
|     providers: | ||||
|       iconv: [glibc, musl, libiconv] | ||||
| @@ -1,19 +0,0 @@ | ||||
| # ------------------------------------------------------------------------- | ||||
| # This file controls default concretization preferences for Spack. | ||||
| # | ||||
| # Settings here are versioned with Spack and are intended to provide | ||||
| # sensible defaults out of the box. Spack maintainers should edit this | ||||
| # file to keep it current. | ||||
| # | ||||
| # Users can override these settings by editing the following files. | ||||
| # | ||||
| # Per-spack-instance settings (overrides defaults): | ||||
| #   $SPACK_ROOT/etc/spack/packages.yaml | ||||
| # | ||||
| # Per-user settings (overrides default and site settings): | ||||
| #   ~/.spack/packages.yaml | ||||
| # ------------------------------------------------------------------------- | ||||
| packages: | ||||
|   all: | ||||
|     providers: | ||||
|       iconv: [glibc, musl, libiconv] | ||||
		Reference in New Issue
	
	Block a user
	 Harmen Stoppels
					Harmen Stoppels