pkgsrc-Bugs archive

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

pkg/51487: pkgtools/pbulk-base broken on Solaris 11



>Number:         51487
>Category:       pkg
>Synopsis:       pkgtools/pbulk-base broken on Solaris 11
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 18 20:30:01 +0000 2016
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
>Organization:
>Environment:
SunOS 5.11 11.2 sun4u sparc SUNW,SPARC-Enterprise
>Description:
 
gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror  -Wno-clobbered -DHAVE_NBCOMPAT_H=1 -I/tmp/obj-pbulk/pkgtools/pbulk-base/work/libnbcompat -c exec.c
exec.c: In function 'fork_chdir_exec':
exec.c:58:2: error: 'vfork' is deprecated (declared at /usr/include/unistd.h:531) [-Werror=deprecated-declarations]
  if ((child = vfork()) != 0) {
  ^
cc1: all warnings being treated as errors


>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/lto-wrapper
Target: sparc-sun-solaris2.11
Configured with: /export/home/hudson/workspace/nightly-update/build/sparc/components/gcc48/gcc-4.8.2/configure CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++ --prefix=/usr/gcc/4.8 --mandir=/usr/gcc/4.8/share/man --bindir=/usr/gcc/4.8/bin --libdir=/usr/gcc/4.8/lib --sbindir=/usr/gcc/4.8/sbin --infodir=/usr/gcc/4.8/share/info --libexecdir=/usr/gcc/4.8/lib --enable-languages=c,c++,fortran,objc --enable-shared --with-gmp-include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --with-ld=/usr/bin/ld --without-gnu-as --with-as=/usr/bin/as CFLAGS='-g -O2  -mtune=ultrasparc -mcpu=ultrasparc -mno-unaligned-doubles' CXXFLAGS='-g -O2 -mtune=ultrasparc -mcpu=ultrasparc -mno-unaligned-doubles'
Thread model: posix
gcc version 4.8.2 (GCC) 

>How-To-Repeat:
cd pkgsrc/mk/pbulk
sh pbulk.sh

$CC set to use GCC
>Fix:



Home | Main Index | Thread Index | Old Index