Re: Unable to build world w/o clang on 11

From: Chris H <bsd-lists_at_bsdforge.com>
Date: Mon, 10 Nov 2014 18:37:35 -0800
On Mon, 10 Nov 2014 16:54:52 -0800 "Chris H" <bsd-lists_at_bsdforge.com> wrote

> Greetings,
>  I'm attempting to build/install world/kernel on a fresh
> install of 11 on bare metal, from the bootonly iso from
> 10-26. I understand that clang is the default for 10+.
> But had hoped to install it from ports *after* kernel/world.
> I used what I *thought* was the correct direction to do this:
> src.conf(5)
> WITH_GCC=true
> WITH_GCC_BOOTSTRAP=true
> WITH_GNUCXX=true
> WITHOUT_CLANG_BOOTSTRAP=true
> WITHOUT_CLANG=true
> WITHOUT_CLANG_IS_CC=true
> 
> But after attempting to 'make -j6 buildworld'. It failed. So while
> still in /usr/src, I make clean, cd /usr/obj, and chflags -R noschg *,
> then rm -rf *, followed by cd /usr/src, and make buildworld.
> This too fails. I inadvertently clobbered the output I had intended
> to post along with this message. But I remember it being during the
> CC of rescue. If that helps any.
> 
> Thank you for all your time, and consideration.
> 
> --Chris
Additional attempts, and information, in an attempt to buildworld
without clang.

FreeBSD dev FreeBSD 11.0-CURRENT #0 r273635: Sat Oct 25 14:23:40 UTC 2014
root_at_grind.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Path: /usr/src
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 274349
Node Kind: directory
Schedule: normal
Last Changed Author: emaste
Last Changed Rev: 274349
Last Changed Date: 2014-11-10 10:20:46 -0800 (Mon, 10 Nov 2014)

Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: svn://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 372406
Node Kind: directory
Schedule: normal
Last Changed Author: pawel
Last Changed Rev: 372406
Last Changed Date: 2014-11-10 09:25:04 -0800 (Mon, 10 Nov 2014)


src.conf ONLY contains:
WITHOUT_CLANG_BOOTSTRAP=true
WITHOUT_CLANG=true
WITHOUT_CLANG_IS_CC=true


make -j6 buildworld fails with the following:

--- cddl/lib__L ---
--- ddt.So ---
cc  -fpic -DPIC  -O2 -pipe  
-I/usr/src/cddl/lib/libzpool/../../../sys/cddl/comp
at/opensolaris -I/usr/src/cddl/lib/libzpool/../../compat/opensolaris/include
-I/
usr/src/cddl/lib/libzpool/../../compat/opensolaris/lib/libumem
-I/usr/src/cddl/l
ib/libzpool/../../contrib/opensolaris/lib/libzpool/common
-I/usr/src/cddl/lib/li
bzpool/../../../sys/cddl/contrib/opensolaris/uts/common/sys
-I/usr/src/cddl/lib/
libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
-I/usr/src/cddl
/lib/libzpool/../../../sys/cddl/contrib/opensolaris/common/zfs
-I/usr/src/cddl/l
ib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common
-I/usr/src/cddl/lib
/libzpool/../../contrib/opensolaris/head
-I/usr/src/cddl/lib/libzpool/../../lib/
libumem -I/usr/src/cddl/lib/libzpool/../../contrib/opensolaris/lib/libnvpair
-DW
ANTS_MUTEX_OWNED -I/usr/src/cddl/lib/libzpool/../../../lib/libpthread/thread
-I/
usr/src/cddl/lib/libzpool/../../../lib/libpthread/sys
-I/usr/src/cddl/lib/libzpo
ol/../../../lib/libthr/arch/amd64/include -g -DDEBUG=1 -DNEED_SOLARIS_BOOLEAN
-s
td=iso9899:1999 -fstack-protector -Wno-pointer-sign -Wno-unknown-pragmas
-Wno-em
pty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-tautological-compa
re -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-co
nversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter
-Wno-parenthes
es -Qunused-arguments -c
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/op
ensolaris/uts/common/fs/zfs/ddt.c -o ddt.So
--- lib__L ---
In file included from /usr/src/lib/libdpv/dialog_util.c:43:
In file included from /usr/src/lib/libdpv/dialog_util.h:34:
/usr/src/lib/libdpv/dialogrc.h:34:10: fatal error: 'figpar.h' file not found
#include <figpar.h>
         ^
1 error generated.
/usr/src/lib/libdpv/dialogrc.c:34:10: fatal error: 'figpar.h' file not found
#include <figpar.h>
         ^
--- depend_subdir_libedit ---
===> lib/libedit (depend)
--- depend_subdir_libdpv ---
1 error generated.
/usr/src/lib/libdpv/dprompt.c:40:10: fatal error: 'string_m.h' file not found
#include <string_m.h>
         ^
1 error generated.
--- depend_subdir_libedit ---
--- common.h ---
sh /usr/src/lib/libedit/makelist -h /usr/src/lib/libedit/common.c > common.h
--- depend_subdir_libdpv ---
/usr/src/lib/libdpv/dpv.c:42:10: fatal error: 'string_m.h' file not found
#include <string_m.h>
         ^
1 error generated.
--- depend_subdir_libedit ---
--- emacs.h ---
sh /usr/src/lib/libedit/makelist -h /usr/src/lib/libedit/emacs.c > emacs.h
--- kerberos5/lib__L ---
--- gss_oid.So ---
--- lib__L ---
--- depend_subdir_libdpv ---
In file included from /usr/src/lib/libdpv/status.c:36:
In file included from /usr/src/lib/libdpv/dialog_util.h:34:
/usr/src/lib/libdpv/dialogrc.h:34:10: fatal error: 'figpar.h' file not found
#include <figpar.h>
         ^
1 error generated.
--- kerberos5/lib__L ---
cc  -fpic -DPIC  -O2 -pipe  
-I/usr/src/kerberos5/lib/libgssapi_ntlm/../../../cr
ypto/heimdal/lib/gssapi
-I/usr/src/kerberos5/lib/libgssapi_ntlm/../../../crypto/
heimdal/lib/gssapi/gssapi
-I/usr/src/kerberos5/lib/libgssapi_ntlm/../../../crypt
o/heimdal/lib/gssapi/ntlm
-I/usr/src/kerberos5/lib/libgssapi_ntlm/../../../crypt
o/heimdal/lib/krb5
-I/usr/src/kerberos5/lib/libgssapi_ntlm/../../../crypto/heimd
al/lib/ntlm -DHAVE_CONFIG_H
-I/usr/src/kerberos5/lib/libgssapi_ntlm/../../includ
e -std=gnu99 -fstack-protector   -Qunused-arguments -c
/usr/src/kerberos5/lib/li
bgssapi_ntlm/../libgssapi_krb5/gss_oid.c -o gss_oid.So
--- lib__L ---
mkdep: compile failed
--- depend_subdir_libedit ---
--- help.h ---
--- depend_subdir_libdpv ---
*** [.depend] Error code 1

make[5]: stopped in /usr/src/lib/libdpv
1 error

make[5]: stopped in /usr/src/lib/libdpv
*** [depend_subdir_libdpv] Error code 2

make[4]: stopped in /usr/src/lib
--- depend_subdir_libedit ---
sh /usr/src/lib/libedit/makelist -bh /usr/src/lib/libedit/vi.c
/usr/src/lib/libe
dit/emacs.c /usr/src/lib/libedit/common.c > help.h
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/lib/libedit
*** [depend_subdir_libedit] Error code 2

make[4]: stopped in /usr/src/lib
2 errors

make[4]: stopped in /usr/src/lib
--- kerberos5/lib__L ---
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/kerberos5/lib/libgssapi_ntlm
*** [_sub.all] Error code 2

make[4]: stopped in /usr/src/kerberos5/lib
1 error

make[4]: stopped in /usr/src/kerberos5/lib
--- cddl/lib__L ---
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/cddl/lib/libzpool
*** [_sub.all] Error code 2

make[4]: stopped in /usr/src/cddl/lib
1 error

make[4]: stopped in /usr/src/cddl/lib
A failure has been detected in another branch of the parallel make

make[3]: stopped in /usr/src
*** [libraries] Error code 2

make[2]: stopped in /usr/src
1 error

make[2]: stopped in /usr/src
*** [_libraries] Error code 2

make[1]: stopped in /usr/src
1 error

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

make: stopped in /usr/src
1 error

make: stopped in /usr/src


This time, with the above cited src.conf, but without -j

# make buildworld fails with the following:

s > ncurses_def.h
rm -f .depend
CC='cc  ' mkdep -f .depend -a    -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I.
-I/
usr/obj/usr/src/lib/ncurses/menuw/../ncursesw
-I/usr/src/lib/ncurses/menuw/../nc
ursesw -I/usr/src/lib/ncurses/menuw/../ncurses
-I/usr/src/lib/ncurses/menuw/../.
/../contrib/ncurses/include
-I/usr/src/lib/ncurses/menuw/../../../contrib/ncurs
es/ncurses -DNDEBUG -DHAVE_CONFIG_H
-I/usr/src/lib/ncurses/menuw/../../../contri
b/ncurses/menu -std=gnu99  
/usr/src/lib/ncurses/menuw/../../../contrib/ncurses/
menu/m_attribs.c
/usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_curs
or.c /usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_driver.c
/usr/sr
c/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_format.c
/usr/src/lib/ncurse
s/menuw/../../../contrib/ncurses/menu/m_global.c
/usr/src/lib/ncurses/menuw/../.
/../contrib/ncurses/menu/m_hook.c
/usr/src/lib/ncurses/menuw/../../../contrib/n
curses/menu/m_item_cur.c
/usr/src/lib/ncurses/menuw/../../../contrib/ncurses/men
u/m_item_nam.c
/usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_item_n
ew.c /usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_item_opt.c
/usr/
src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_item_top.c
/usr/src/lib/nc
urses/menuw/../../../contrib/ncurses/menu/m_item_use.c
/usr/src/lib/ncurses/menu
w/../../../contrib/ncurses/menu/m_item_val.c
/usr/src/lib/ncurses/menuw/../../..
/contrib/ncurses/menu/m_item_vis.c
/usr/src/lib/ncurses/menuw/../../../contrib/n
curses/menu/m_items.c
/usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m
_new.c /usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_opts.c
/usr/sr
c/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_pad.c
/usr/src/lib/ncurses/m
enuw/../../../contrib/ncurses/menu/m_pattern.c
/usr/src/lib/ncurses/menuw/../../
./contrib/ncurses/menu/m_post.c
/usr/src/lib/ncurses/menuw/../../../contrib/ncu
rses/menu/m_req_name.c
/usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/
m_scale.c /usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_spacing.c
/
usr/src/lib/ncurses/menuw/../../../contrib/ncurses/menu/m_sub.c
/usr/src/lib/ncu
rses/menuw/../../../contrib/ncurses/menu/m_userptr.c
/usr/src/lib/ncurses/menuw/
./../../contrib/ncurses/menu/m_win.c
echo libmenuw.so.5: /usr/obj/usr/src/tmp/usr/lib/libncursesw.a >> .depend
===> lib/ncurses/panelw (depend)
AWK=awk sh
/usr/src/lib/ncurses/panelw/../../../contrib/ncurses/include/MKncurse
s_def.sh 
/usr/src/lib/ncurses/panelw/../../../contrib/ncurses/include/ncurses_d
efs > ncurses_def.h
rm -f .depend
CC='cc  ' mkdep -f .depend -a    -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I.
-I/
usr/obj/usr/src/lib/ncurses/panelw/../ncursesw
-I/usr/src/lib/ncurses/panelw/../
ncursesw -I/usr/src/lib/ncurses/panelw/../ncurses
-I/usr/src/lib/ncurses/panelw/
./../../contrib/ncurses/include
-I/usr/src/lib/ncurses/panelw/../../../contrib/
ncurses/ncurses -DNDEBUG -DHAVE_CONFIG_H
-I/usr/src/lib/ncurses/panelw/../../../
contrib/ncurses/panel -std=gnu99  
/usr/src/lib/ncurses/panelw/../../../contrib/
ncurses/panel/p_above.c
/usr/src/lib/ncurses/panelw/../../../contrib/ncurses/pan
el/p_below.c
/usr/src/lib/ncurses/panelw/../../../contrib/ncurses/panel/p_bottom
c /usr/src/lib/ncurses/panelw/../../../contrib/ncurses/panel/p_delete.c
/usr/sr
c/lib/ncurses/panelw/../../../contrib/ncurses/panel/p_hidden.c
/usr/src/lib/ncur
ses/panelw/../../../contrib/ncurses/panel/p_hide.c
/usr/src/lib/ncurses/panelw/.
/../../contrib/ncurses/panel/p_move.c
/usr/src/lib/ncurses/panelw/../../../cont
rib/ncurses/panel/p_new.c
/usr/src/lib/ncurses/panelw/../../../contrib/ncurses/p
anel/p_replace.c
/usr/src/lib/ncurses/panelw/../../../contrib/ncurses/panel/p_sh
ow.c /usr/src/lib/ncurses/panelw/../../../contrib/ncurses/panel/p_top.c
/usr/src
/lib/ncurses/panelw/../../../contrib/ncurses/panel/p_update.c
/usr/src/lib/ncurs
es/panelw/../../../contrib/ncurses/panel/p_user.c
/usr/src/lib/ncurses/panelw/..
/../../contrib/ncurses/panel/p_win.c
/usr/src/lib/ncurses/panelw/../../../contri
b/ncurses/panel/panel.c
echo libpanelw.so.5: /usr/obj/usr/src/tmp/usr/lib/libncursesw.a >> .depend
===> lib/libdpv (depend)
rm -f .depend
CC='cc  ' mkdep -f .depend -a    -I/usr/src/lib/libdpv -std=gnu99  
/usr/src/lib
/libdpv/dialog_util.c /usr/src/lib/libdpv/dialogrc.c
/usr/src/lib/libdpv/dprompt
c /usr/src/lib/libdpv/dpv.c /usr/src/lib/libdpv/status.c
/usr/src/lib/libdpv/ut
il.c
In file included from /usr/src/lib/libdpv/dialog_util.c:43:
In file included from /usr/src/lib/libdpv/dialog_util.h:34:
/usr/src/lib/libdpv/dialogrc.h:34:10: fatal error: 'figpar.h' file not found
#include <figpar.h>
         ^
1 error generated.
/usr/src/lib/libdpv/dialogrc.c:34:10: fatal error: 'figpar.h' file not found
#include <figpar.h>
         ^
1 error generated.
/usr/src/lib/libdpv/dprompt.c:40:10: fatal error: 'string_m.h' file not found
#include <string_m.h>
         ^
1 error generated.
/usr/src/lib/libdpv/dpv.c:42:10: fatal error: 'string_m.h' file not found
#include <string_m.h>
         ^
1 error generated.
In file included from /usr/src/lib/libdpv/status.c:36:
In file included from /usr/src/lib/libdpv/dialog_util.h:34:
/usr/src/lib/libdpv/dialogrc.h:34:10: fatal error: 'figpar.h' file not found
#include <figpar.h>
         ^
1 error generated.
mkdep: compile failed
*** Error code 1

Stop.
make[5]: stopped in /usr/src/lib/libdpv
*** 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


So is there no other support for building world, except with clang.
Or am I just doing it all wrong?

Thank you for al your time, and consideration.

--Chris

> 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Tue Nov 11 2014 - 01:37:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:53 UTC