Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639146 - ~sys-apps/coreutils-8.28: configure: WARNING: invalid host type: (p1.1)
Summary: ~sys-apps/coreutils-8.28: configure: WARNING: invalid host type: (p1.1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-29 09:18 UTC by Michael Haubenwallner (RETIRED)
Modified: 2017-11-29 11:27 UTC (History)
1 user (show)

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


Attachments

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