Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2015 08:05:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 203094] Unable to make installworld without disabling tests and setting COMPILER_TYPE=clang
Message-ID:  <bug-203094-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203094

            Bug ID: 203094
           Summary: Unable to make installworld without disabling tests
                    and setting COMPILER_TYPE=clang
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: freebsd-testing@freebsd.org
          Reporter: info@juanmolina.eu

The standard build process works just as normal with a fresh source (September
13th) but fails with make installworld:

=========
mkdir -p /tmp/install.H63Fp2Ty
progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp  date echo
egrep find grep id install   ln lockf make mkdir mtree mv pwd_mkdb  rm sed
services_mkdb sh strip sysctl test true uname wc zic tzsetup   makewhatis; do 
if progpath=`which $prog`; then  echo $progpath;  else  echo "Required tool
$prog not found in PATH." >&2;  exit 1;  fi;  done);  libs=$(ldd -f "%o %p\n"
-f "%o %p\n" $progs 2>/dev/null | sort -u |  while read line; do  set -- $line;
 if [ "$2 $3" != "not found" ]; then  echo $2;  else  echo "Required library $1
not found." >&2;  exit 1;  fi;  done);  cp $libs $progs /tmp/install.H63Fp2Ty
cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.H63Fp2Ty/locale
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64
CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/tmp/install.H63Fp2Ty
 LD_LIBRARY_PATH=/tmp/install.H63Fp2Ty 
PATH_LOCALE=/tmp/install.H63Fp2Ty/locale make -f Makefile.inc1   
__MAKE_SHELL=/tmp/install.H63Fp2Ty/sh reinstall;  MAKEOBJDIRPREFIX=/usr/obj
MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE=
GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/tmp/install.H63Fp2Ty
 LD_LIBRARY_PATH=/tmp/install.H63Fp2Ty 
PATH_LOCALE=/tmp/install.H63Fp2Ty/locale rm -rf /tmp/install.H63Fp2Ty
make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 48: Unable to determine
compiler type for /usr/local/libexec/ccache/world/cc.  Consider setting
COMPILER_TYPE.
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
=========

Setting 'make COMPILER_TYPE=clang installworld' allows advancing further, but
still fails:

=========
install -s -o root -g wheel -m 555   h_memmove
/usr/tests/lib/libc/ssp/h_memmove
install -o root  -g wheel -m 555  ssp_test  /usr/tests/lib/libc/ssp/ssp_test
(cd /usr/src/lib/libc/tests/ssp &&  DEPENDFILE=.depend.h_memset  make -f
/usr/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=  SUBDIR= PROG=h_memset 
install)
install -s -o root -g wheel -m 555   h_memset /usr/tests/lib/libc/ssp/h_memset
install -o root  -g wheel -m 555  ssp_test  /usr/tests/lib/libc/ssp/ssp_test
(cd /usr/src/lib/libc/tests/ssp &&  DEPENDFILE=.depend.h_raw  make -f
/usr/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=  SUBDIR= PROG=h_raw 
install)
install -s -o root -g wheel -m 555   h_raw /usr/tests/lib/libc/ssp/h_raw
install: h_raw: No such file or directory
*** Error code 71

Stop.
make[8]: stopped in /usr/src/lib/libc/tests/ssp
*** Error code 1

Stop.
make[7]: stopped in /usr/src/lib/libc/tests/ssp
*** Error code 1

Stop.
make[6]: stopped in /usr/src/lib/libc/tests
*** Error code 1

Stop.
make[5]: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib
*** Error code 1

Stop.
make[3]: stopped in /usr/src
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
=========

I have to disable installing tests to make it work: 'make COMPILER_TYPE=clang
-DWITHOUT_TESTS installworld'

I use ccache, but I have tested without it and the result is the same.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203094-32464>