NetBSD Problem Report #51487
From www@NetBSD.org Sun Sep 18 20:25:48 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id B01577A282
for <gnats-bugs@gnats.NetBSD.org>; Sun, 18 Sep 2016 20:25:48 +0000 (UTC)
Message-Id: <20160918202547.127877A2C1@mollari.NetBSD.org>
Date: Sun, 18 Sep 2016 20:25:47 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: pkgtools/pbulk-base broken on Solaris 11
X-Send-Pr-Version: www-1.0
>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
>Last-Modified: Sun Sep 18 20:50:00 +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:
>Audit-Trail:
From: coypu@SDF.ORG
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51487: pkgtools/pbulk-base broken on Solaris 11
Date: Sun, 18 Sep 2016 20:45:20 +0000
> cc1: all warnings being treated as errors
Well there's your problem
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.