NetBSD Problem Report #53781

From john@stgeorge.klos.com  Wed Dec 12 18:43:45 2018
Return-Path: <john@stgeorge.klos.com>
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 575047A110
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 12 Dec 2018 18:43:45 +0000 (UTC)
Message-Id: <201812121843.wBCIhfb3015274@stgeorge.klos.com>
Date: Wed, 12 Dec 2018 18:43:41 GMT
From: john@klos.com
Reply-To: john@klos.com
To: gnats-bugs@NetBSD.org
Subject: security/nettle fails to compile on NetBSD 7.1 on amd64
X-Send-Pr-Version: 3.95

>Number:         53781
>Category:       pkg
>Synopsis:       security/nettle fails to compile on NetBSD 7.1 on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 12 18:45:00 +0000 2018
>Last-Modified:  Thu Dec 13 03:04:17 +0000 2018
>Originator:     John Klos
>Release:        NetBSD 7.1_STABLE
>Organization:

>Environment:


System: NetBSD stgeorge.klos.com 7.1_STABLE NetBSD 7.1_STABLE (STGEORGE) #0: Sun Jun 3 15:07:03 UTC 2018 john@stgeorge.klos.com:/usr/release/obj-amd64/sys/arch/amd64/compile/STGEORGE amd64
Architecture: x86_64
Machine: amd64
>Description:

security/nettle fails to compile on NetBSD 7.1 on amd64:

libtool: compile:  gcc -I. -I/usr/pkgsrc/security/nettle/work/.buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -ggdb3 -Wno-pointer-sign -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sec-compute-root.o -MD -MP -MF rsa-sec-compute-root.o.d -c rsa-sec-compute-root.c  -fPIC -DPIC -o .libs/rsa-sec-compute-root.o
rsa-sign-tr.c: In function 'sec_equal':
rsa-sign-tr.c:243:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (size_t i = 0; i < limbs; i++)
   ^
rsa-sign-tr.c:243:3: note: use option -std=c99 or -std=gnu99 to compile your code
gmake[1]: *** [Makefile:260: rsa-sign-tr.o] Error 1

>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.