Bug 239489 - sysutils/openzfs-kmod cc: error: no such file or directory: 'ERROR-tried-to-rebuild-during-make-install'
Summary: sysutils/openzfs-kmod cc: error: no such file or directory: 'ERROR-tried-to-r...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kris Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-28 09:48 UTC by Graham Perrin
Modified: 2019-07-28 09:48 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (kmoore)


Attachments
Full log (294.89 KB, application/gzip)
2019-07-28 09:48 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin 2019-07-28 09:48:16 UTC
Created attachment 206108 [details]
Full log

root@momh167-gjp4-8570p:/usr/src # date ; uname -v
Sun Jul 28 10:00:05 BST 2019
FreeBSD 13.0-CURRENT r350027 GENERIC 
root@momh167-gjp4-8570p:/usr/src # make -j2 buildkernel
--- buildkernel ---

…

===>  Building for openzfs-kmod-2019072200_1
(cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/module/ && make -f Makefile.bsd CC=cc )
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h
Warning: Object directory not changed from original /usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/module
cc  -O2 -pipe  -std=gnu99 -fstack-protector-strong -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member   -Qunused-arguments    ERROR-tried-to-rebuild-during-make-install -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/include/os/freebsd/spl/sys/ccompile.h -D__KERNEL__ -DFREEBSD_NAMECACHE -DBUILDING_ZFS -D__BSD_VISIBLE=1 -DHAVE_UIO_ZEROCOPY -DHAVE_KSID -DWITHOUT_NETDUMP -D_SYS_VMEM_H_ -D_MACHINE_ENDIAN_H_ -DKDTRACE_HOOKS -DHAVE_AVX2 -DHAVE_AVX -D__x86_64 -DHAVE_SSE2 -DHAVE_AVX512F -DNDEBUG -DBITS_PER_LONG=64 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/include -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/include/spl -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/include/os/freebsd -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/include/os/freebsd/spl -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/include/os/freebsd/zfs -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include     -MD  -MF.depend.avl.o -MTavl.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member  -Qunused-arguments -mno-aes -mno-avx  -std=iso9899:1999 -c /usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/module/avl/avl.c -o avl.o
cc: error: no such file or directory: 'ERROR-tried-to-rebuild-during-make-install'
*** Error code 1

Stop.
make[5]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/sysutils/openzfs-kmod/work/ZoF-05f627f/module
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/sysutils/openzfs-kmod
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/sysutils/openzfs-kmod
*** [all] Error code 1

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
1 error

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
*** [buildkernel] Error code 2

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

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

make: stopped in /usr/src
1 error

make: stopped in /usr/src
root@momh167-gjp4-8570p:/usr/src # 

----

root@momh167-gjp4-8570p:/usr/src # cat /etc/make.conf
PORTS_MODULES= sysutils/openzfs-kmod graphics/gpu-firmware-kmod graphics/drm-legacy-kmod
DEFAULT_VERSIONS+=samba=4.8
# <https://forums.freebsd.org/threads/share-your-make-conf-and-src-conf.63544/#post-402964>
# WITHOUT_LLVM_TARGET_AARCH64=
# WITHOUT_LLVM_TARGET_ARM=
# WITHOUT_LLVM_TARGET_MIPS=
# WITHOUT_LLVM_TARGET_POWERPC=
# WITHOUT_LLVM_TARGET_SPARC=
# WITHOUT_LLVM_TARGET_X86=
# <https://forums.freebsd.org/threads/share-your-make-conf-and-src-conf.63544/#post-430516>
WITHOUT_LLVM_TARGET_ALL=
root@momh167-gjp4-8570p:/usr/src #