Re: Error building x11/nvidia-driver kernel module _at_r284408

From: Rainer Hurling <rhurlin_at_gwdg.de>
Date: Mon, 15 Jun 2015 22:27:50 +0200
Am 15.06.2015 um 22:07 schrieb David Wolfskill:
> On Mon, Jun 15, 2015 at 11:33:47AM -0700, Simon J. Gerraty wrote:
>> Garrett Cooper <yaneurabeya_at_gmail.com> wrote:
>>>> Now that "vanilla" head _at_284408 builds (& boots):
>>
>>
>> I fixed this the other day - just realized I haven't committed it.
>>
>>>> make[6]: don't know how to make /common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src/machine. Stop
>>>>
> 
> OK; following up: I see Simon committed r284420; after hand-appling that
> (1-line fix); I performed:
> 
> make -DNOCLEAN -j16 buildkernel
> make installkernel
> ... [mergemaster &c...]
> make installworld
> ...
> make delete-old
> 
> for each of head/amd64 & head/i386 on my laptop; since /etc/src.conf is:
> 
> KERNCONF=CANARY
> PORTS_MODULES=x11/nvidia-driver
> PORTS_MODULES+=multimedia/cuse4bsd-kmod
> PORTS_MODULES+=emulators/virtualbox-ose-kmod
> WITHOUT_DEBUG_FILES=1
> IWN_DEBUG=1
> IEEE80211_DEBUG=1
> 
> the above process also built kernel modules for x11/nvidia-driver,
> multimedia/cuse4bsd-kmod, and emulators/virtualbox-ose-kmod.
> 
> Each was successful:
> 
> FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #95  r284408M/284408:1100077: Mon Jun 15 06:09:41 PDT 2015     root_at_g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  amd64
> 
> FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #30  r284408M/284408:1100077: Mon Jun 15 07:25:43 PDT 2015     root_at_g1-254.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386
> 
> Peace,
> david
> 

I just tried r284421 and get another error. My '/etc/src.conf' includes
'WITH_LLDB=1':


[..snip..]
--- usr.bin.all__D ---
--- all_subdir_clang ---
--- all_subdir_lldb ---
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [lldb] Error code 1

make[5]: stopped in /usr/src/usr.bin/clang/lldb
.CURDIR='/usr/src/usr.bin/clang/lldb'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/usr.bin/clang/lldb'
.TARGETS='all'
DESTDIR='/usr/obj/usr/src/tmp'
LD_LIBRARY_PATH='/usr/local/grass/lib'
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH=''
MAKE_VERSION='20150606'
SRCTOP='/usr/src'
OBJTOP=''
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk
/etc/make.conf /usr/src/share/mk/local.sys.mk
/usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/share/mk/bsd.cpu.mk
/usr/src/usr.bin/clang/lldb/Makefile /usr/src/share/mk/bsd.own.mk
/usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.compiler.mk
/usr/src/usr.bin/clang/clang.prog.mk /usr/src/lib/clang/clang.build.mk
/usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.prog.mk
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk
/usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk
/usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.files.mk
/usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.links.mk
/usr/src/share/mk/bsd.man.mk /usr/src/share/mk/bsd.dep.mk
/usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk
/usr/src/share/mk/bsd.sys.mk /usr/obj/usr/src/usr.bin/clang/lldb/.depend'
.PATH='. /usr/src/usr.bin/clang/lldb
/usr/src/usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver'
1 error

make[5]: stopped in /usr/src/usr.bin/clang/lldb
.CURDIR='/usr/src/usr.bin/clang/lldb'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/usr.bin/clang/lldb'
.TARGETS='all'
DESTDIR='/usr/obj/usr/src/tmp'
LD_LIBRARY_PATH='/usr/local/grass/lib'
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH=''
MAKE_VERSION='20150606'
SRCTOP='/usr/src'
OBJTOP=''
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk
/etc/make.conf /usr/src/share/mk/local.sys.mk
/usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/share/mk/bsd.cpu.mk
/usr/src/usr.bin/clang/lldb/Makefile /usr/src/share/mk/bsd.own.mk
/usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.compiler.mk
/usr/src/usr.bin/clang/clang.prog.mk /usr/src/lib/clang/clang.build.mk
/usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.prog.mk
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk
/usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk
/usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.files.mk
/usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.links.mk
/usr/src/share/mk/bsd.man.mk /usr/src/share/mk/bsd.dep.mk
/usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk
/usr/src/share/mk/bsd.sys.mk /usr/obj/usr/src/usr.bin/clang/lldb/.depend'
.PATH='. /usr/src/usr.bin/clang/lldb
/usr/src/usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver'
*** [all_subdir_lldb] Error code 2

make[4]: stopped in /usr/src/usr.bin/clang
.CURDIR='/usr/src/usr.bin/clang'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/usr.bin/clang'
.TARGETS='all'
DESTDIR='/usr/obj/usr/src/tmp'
LD_LIBRARY_PATH='/usr/local/grass/lib'
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH=''
MAKE_VERSION='20150606'
SRCTOP='/usr/src'
OBJTOP=''
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk
/etc/make.conf /usr/src/share/mk/local.sys.mk
/usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/share/mk/bsd.cpu.mk
/usr/src/usr.bin/clang/Makefile /usr/src/share/mk/src.opts.mk
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk
/usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.subdir.mk
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk
/usr/src/usr.bin/clang/../Makefile.inc'
.PATH='. /usr/src/usr.bin/clang'
[..snip..]
Received on Mon Jun 15 2015 - 18:28:12 UTC

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