Upgrading FreeBSD/i386 from stable/9 r286222 to stable/10 r286278

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Tue Aug 4 10:49:41 UTC 2015


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.      |
+-------------------------------+------------------------------------+


More information about the freebsd-stable mailing list