NetBSD Problem Report #56439
From www@netbsd.org Mon Oct 4 23:24:36 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 1A4BB1A921F
for <gnats-bugs@gnats.NetBSD.org>; Mon, 4 Oct 2021 23:24:36 +0000 (UTC)
Message-Id: <20211004232434.56E851A9239@mollari.NetBSD.org>
Date: Mon, 4 Oct 2021 23:24:34 +0000 (UTC)
From: hiroshi-hakoyama@nagano.ac.jp
Reply-To: hiroshi-hakoyama@nagano.ac.jp
To: gnats-bugs@NetBSD.org
Subject: digest-20210929 cannot build on Solaris 10 with gcc 5.5.0
X-Send-Pr-Version: www-1.0
>Number: 56439
>Category: pkg
>Synopsis: digest-20210929 cannot build on Solaris 10 with gcc 5.5.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 04 23:25:00 +0000 2021
>Closed-Date: Thu Oct 07 14:51:04 +0000 2021
>Last-Modified: Thu Oct 07 14:51:04 +0000 2021
>Originator: Hiroshi Hakoyama
>Release: pkgsrc current
>Organization:
Institute of Freshwater Biology, Nagano University
>Environment:
SunOS ec21 5.10 Generic_147147-26 sun4u sparc SUNW,Sun-Blade-1000
>Description:
# cd /usr/pkgsrc/pkgtools/digest
# make
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for digest-20210929
gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"sparc-sun-solaris2.10\" -DVERSION=\"20210929\" -O3 -mcpu=ultrasparc3 -mtune=ultrasparc3 -D_FORTIFY_SOURCE=2 -c blake2s.c -o blake2s.o
In file included from /usr/include/sys/int_types.h:34:0,
from /usr/include/sys/stdint.h:17,
from /usr/include/stdint.h:17,
from /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include/stdint.h:9,
from blake2s.c:30:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/sys/feature_tests.h:346:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
#error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
^
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest/work/digest-20210929
*** Error code 1
Stop.
bmake[1]: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest
>How-To-Repeat:
# cd /usr/pkgsrc/pkgtools/digest
# make
>Fix:
unknown
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Tue, 05 Oct 2021 08:21:59 +0000
Responsible-Changed-Why:
A SunOS problem, presumably.
From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/56439 CVS commit: pkgsrc/pkgtools/digest/files
Date: Tue, 5 Oct 2021 15:38:48 +0000
Module Name: pkgsrc
Committed By: nia
Date: Tue Oct 5 15:38:48 UTC 2021
Modified Files:
pkgsrc/pkgtools/digest/files: blake2s.c configure
Log Message:
digest: Remove _POSIX_C_SOURCE. PR pkg/56439
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/pkgtools/digest/files/blake2s.c
cvs rdiff -u -r1.25 -r1.26 pkgsrc/pkgtools/digest/files/configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: nia@NetBSD.org
State-Changed-When: Thu, 07 Oct 2021 13:27:36 +0000
State-Changed-Why:
Is this fixed?
From: Hiroshi Hakoyama <hiroshi-hakoyama@nagano.ac.jp>
To: gnats-bugs@netbsd.org
Cc: solaris-pkg-people@netbsd.org,
pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org,
"nia@netbsd.org" <nia@NetBSD.org>
Subject: Re: pkg/56439 (digest-20210929 cannot build on Solaris 10 with gcc
5.5.0)
Date: Thu, 7 Oct 2021 23:32:31 +0900
yes. fixed. thank you very much.
Hiroshi Hakoyama
> 2021/10/07 22:27=E3=80=81nia@netbsd.org <nia@NetBSD.org>=E3=81=AE=E3=83=A1=
=E3=83=BC=E3=83=AB:
>=20
> Synopsis: digest-20210929 cannot build on Solaris 10 with gcc 5.5.0
>=20
> State-Changed-From-To: open->feedback
> State-Changed-By: nia@NetBSD.org
> State-Changed-When: Thu, 07 Oct 2021 13:27:36 +0000
> State-Changed-Why:
> Is this fixed?
>=20
>=20
>=20
State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 07 Oct 2021 14:51:04 +0000
State-Changed-Why:
Confirmed fixed, thanks for the feedback!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.