tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vfork on Oracle Solaris 11.2


I am working on Oracle JRE/JDK 8u45 packages.
I would like to test these packages on Oracle Solaris 11.2,
but 11.2's vfork(2) is deprecated and I cannot compile
sysutils/bsdinstall during pkgsrc bootstrap.

How to resolve my problem?
Should vfork be replaced by fork?

The error message is here.

===> Building for bsdinstall-20130905
gcc -O2  -Werror  -D_PATH_DEVNULL=\"/dev/null\" -DTARGET_STRIP=\"/usr/ccs/bin/strip\" -DHAVE_NBCOMPAT_H=1 -I/usr/tmp/pkgsrc/bs/wrk/sysutils/bsdinstall/work/libnbcompat -c bsdinstall.c
cc1: warnings being treated as errors
bsdinstall.c: In function 'strip':
bsdinstall.c:1038:2: error: 'vfork' is deprecated (declared at /usr/include/unistd.h:531)
bsdinstall.c: In function 'afterinstall':
bsdinstall.c:1077:2: error: 'vfork' is deprecated (declared at /usr/include/unistd.h:531)
*** [bsdinstall.o] Error code 1

PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

Home | Main Index | Thread Index | Old Index