pkgsrc-Bugs archive

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

pkg/51594: pkgtools/cwrappers does not compile on Solaris 11.2



>Number:         51594
>Category:       pkg
>Synopsis:       pkgtools/cwrappers does not compile on Solaris 11.2
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 03 09:20:00 +0000 2016
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Building pkgtools/cwrappers on Solaris 11.2 (i86 in this case, but sparc probably will be no difference) fails with

gcc   -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror  -DHAVE_NBCOMPAT_H=1 -I/opt/pkgsrc/pkg-hrz/pkgsrc/pkgtools/cwrappers/work.pkgsrc-sol11i86/libnbcompat -DNEED_MI_VECTOR_HASH -c common.c
common.c: In function 'command_exec':
common.c:337:3: error: 'vfork' is deprecated (declared at /usr/include/unistd.h:531) [-Werror=deprecated-declarations]
   child = vfork();
   ^
cc1: all warnings being treated as errors


>How-To-Repeat:

>Fix:
At the moment "USE_CWRAPPERS=no", but as this change came from someone with a good deal of Solaris heritage, I would expect this OS to be supported.



Home | Main Index | Thread Index | Old Index