Summary: | app-crypt/shash failed with config.sub on powerpc64le-unknow-linux-gnu | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leno Hou <lenohou> |
Component: | Eclasses | Assignee: | Sven Wegener <swegener> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lenohou |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | This is the patch fixs the problem with config.sub |
Description
Leno Hou
2016-04-07 09:46:28 UTC
Created attachment 429820 [details, diff]
This is the patch fixs the problem with config.sub
Hello, We're compiling stage3 for ppc64le now. And this is due to we're using the deprecated config.sub in stash-0.2.6 package. So maybe we can use the gnuconfig package 's config.sub as reference. CHOST="powerpc64le-unknown-linux-gnu" so when can't use the config.sub in shash as below #/bin/bash ./config.sub powerpc64le-unknown-linux-gnu Invalid configuration `powerpc64le-unknown-linux-gnu': machine `powerpc64le-unknown' not recognized shash config.sub was fixed by updating config.sub with /usr/share/gnuconfig/config.sub >>> Emerging (1 of 1) app-crypt/shash-0.2.6-r2::gentoo * shash-0.2.6.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] /var/tmp/portage/app-crypt/shash-0.2.6-r2/temp/environment: line 58: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) >>> Unpacking source... >>> Unpacking shash-0.2.6.tar.gz to /var/tmp/portage/app-crypt/shash-0.2.6-r2/work >>> Source unpacked in /var/tmp/portage/app-crypt/shash-0.2.6-r2/work /var/tmp/portage/app-crypt/shash-0.2.6-r2/temp/environment: line 58: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) >>> Preparing source in /var/tmp/portage/app-crypt/shash-0.2.6-r2/work/shash-0.2.6 ... * Applying 0.2.6-manpage-fixes.patch ... [ ok ] * Applying shash-0.2.6-binary-files.patch ... [ ok ] >>> Source prepared. /var/tmp/portage/app-crypt/shash-0.2.6-r2/temp/environment: line 58: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) >>> Configuring source in /var/tmp/portage/app-crypt/shash-0.2.6-r2/work/shash-0.2.6 ... * econf: updating shash-0.2.6/config.sub with /usr/share/gnuconfig/config.sub * econf: updating shash-0.2.6/config.guess with /usr/share/gnuconfig/config.guess |