Trond Endrestøl
2015-Aug-04 10:49 UTC
Upgrading FreeBSD/i386 from stable/9 r286222 to stable/10 r286278
Has anyone successfully built stable/10 while running stable/9? I'm subject to PR 194899. Isn't /usr/src/sys/sys considered during make depend, only /usr/include/sys, in that regard? I worked around the capsicum bug by manually copying these files to /usr/include/sys: sys/sys/capsicum.h sys/sys/capability.h sys/sys/caprights.h Afterwards, I replaced /usr/include/sys/capability.h with the one from stable/9. Now make buildworld dies with: ===> lib/libc (obj,depend,all,install) gcc -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -DSYSCALL_COMPAT -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/gen/strtofflags.c -o strtofflags.o /usr/src/lib/libc/gen/strtofflags.c:65: error: 'UF_ARCHIVE' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:67: error: 'UF_HIDDEN' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:75: error: 'UF_OFFLINE' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:78: error: 'UF_READONLY' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:82: error: 'UF_REPARSE' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:84: error: 'UF_SPARSE' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:86: error: 'UF_SYSTEM' undeclared here (not in a function) *** Error code 1 Maybe I should consider building a newer stable/9 or an earlier stable/10. Any pointers? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+
Trond Endrestøl
2015-Aug-04 19:51 UTC
Upgrading FreeBSD/i386 from stable/9 r286222 to stable/10 r286278
On Tue, 4 Aug 2015 12:49+0200, Trond Endrest?l wrote:> Has anyone successfully built stable/10 while running stable/9? > > I'm subject to PR 194899. Isn't /usr/src/sys/sys considered during > make depend, only /usr/include/sys, in that regard?False alarm, sorry. Building stable/10 using clang from stable/9 solved my problem. E.g. in /etc/src.conf: CC=clang CXX=clang++ CPP=clang-cpp NO_WERRORWERROR -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+
Thomas Mueller
2015-Aug-05 08:29 UTC
Upgrading FreeBSD/i386 from stable/9 r286222 to stable/10 r286278
from Trond EndrestM-CM-8l:> Has anyone successfully built stable/10 while running stable/9?I was successful in the early days of stable/10, also head/11 shortly after the source tree branch. After a hard drive with FreeBSD 9.2-STABLE developed errors, I used a USB-stick installation of FreeBSD 9.2-STABLE, including subversion. I built FreeBSD stable/10 and head/11 using gcc, but used llvm/clang for subsequent updates. Tom