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:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 12 18:45:00 +0000 2018
>Closed-Date:    Tue Jan 22 05:55:23 +0000 2019
>Last-Modified:  Tue Jan 22 05:55:23 +0000 2019
>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:

Responsible-Changed-From-To: gnats-admin->pkg-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Mon, 21 Jan 2019 02:08:37 +0000
Responsible-Changed-Why:
gnats-admin isn't supposed to own bugs, not clear how this one happened


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 21 Jan 2019 21:04:59 +0000
State-Changed-Why:
This should have been fixed by -r1.21 of security/nettle/Makefile on
December 13; please try that...


From: John Klos <john@klos.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53781 (security/nettle fails to compile on NetBSD 7.1 on
 amd64)
Date: Tue, 22 Jan 2019 04:34:57 +0000 (UTC)

 > State-Changed-Why:
 > This should have been fixed by -r1.21 of security/nettle/Makefile on
 > December 13; please try that...

 It works. Thank you!

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 22 Jan 2019 05:55:23 +0000
State-Changed-Why:
confirmed fixed, thanks for the quick response :-)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.