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

Bug 639146

Summary: ~sys-apps/coreutils-8.28: configure: WARNING: invalid host type: (p1.1)
Product: Gentoo Linux Reporter: Michael Haubenwallner (RETIRED) <haubi>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Haubenwallner (RETIRED) gentoo-dev 2017-11-29 09:18:58 UTC
Starting with coreutils-8.28.ebuild, ${myconf} was converted to shell array.
But this results in:
./configure ... --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin ... --with-packager-version=8.28-r1 (p1.1) ...
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: (p1.1)

Problem is improper quoting at calling econf:

-  econf ${myconf[@]}
+  econf "${myconf[@]}"

Thanks!
/haubi/
Comment 1 Larry the Git Cow gentoo-dev 2017-11-29 11:27:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b30d58eedf3a6375b495e44e8cd43d0a5d1eca

commit 80b30d58eedf3a6375b495e44e8cd43d0a5d1eca
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2017-11-29 11:27:27 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2017-11-29 11:27:38 +0000

    sys-apps/coreutils: Added proper quoting of "myconf" array.
    
    Closes: https://bugs.gentoo.org/639146
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-apps/coreutils/coreutils-8.28-r1.ebuild | 2 +-
 sys-apps/coreutils/coreutils-8.28.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)