pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47903: bootstrap bmake: configure: WARNING: cache variable ac_cv_host contains a newline



>Number:         47903
>Category:       pkg
>Synopsis:       bootstrap bmake: configure: WARNING: cache variable ac_cv_host 
>contains a newline
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 11:35:00 +0000 2013
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS omni1 5.11 omnios-8d266aa i86pc i386 i86pc

>Description:
bootstrapping now fails on solaris with:
===> running: (cd /home/richard/src/pkgsrc/devel/bmake && 
/var/tmp/bootstrap/bin/bmake  USE_DESTDIR=no -DPKG_PRESERVE 
MAKECONF=/var/tmp/bootstrap/mk.conf install)
===> Installing dependencies for bmake-20110606nb1
=> Full dependency bootstrap-mk-files-[0-9]*: found bootstrap-mk-files-20120415
===> Overriding tools for bmake-20110606nb1
===> Extracting for bmake-20110606nb1
/bin/cp -R /home/richard/src/pkgsrc/devel/bmake/files 
/var/tmp/bootstrap/wrk/devel/bmake/work/bmake
===> Patching for bmake-20110606nb1
===> Creating toolchain wrappers for bmake-20110606nb1
===> Configuring for bmake-20110606nb1
=> Configuring and building libnbcompat
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... i386-pc-solaris2.11
checking host system type... configure: error: /usr/bin/bash ./config.sub 
-sun-solaris2.11 failed
configure: WARNING: cache variable ac_cv_host contains a newline
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/devel/bmake
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/devel/bmake
===> exited with status 1
aborted.

>How-To-Repeat:
On omnios, with illumos-gcc installed and /opt/gcc-4.4.4/bin at the head of the 
path:

env CC=/opt/gcc-4.4.4/bin/gcc GCCBASE=/opt/gcc-4.4.4 pfexec ./bootstrap 
--abi=64--prefix=/opt/pkg --varbase=/var/opt/pkg --workdir=/var/tmp/bootstrap
>Fix:



Home | Main Index | Thread Index | Old Index