NetBSD Problem Report #55733

From www@netbsd.org  Mon Oct 19 08:26:09 2020
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7CAC81A9217
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 19 Oct 2020 08:26:09 +0000 (UTC)
Message-Id: <20201019082608.9272E1A921F@mollari.NetBSD.org>
Date: Mon, 19 Oct 2020 08:26:08 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: security/openssl does not compile on Solaris 11.4/sparc
X-Send-Pr-Version: www-1.0

>Number:         55733
>Category:       pkg
>Synopsis:       security/openssl does not compile on Solaris 11.4/sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 19 08:30:00 +0000 2020
>Closed-Date:    Mon Jul 19 02:01:44 +0000 2021
>Last-Modified:  Mon Jul 19 02:01:44 +0000 2021
>Originator:     Joern Clausen
>Release:        
>Organization:
Bielefeld University
>Environment:
>Description:
Compilation of security/openssl fails on Solaris 11.4/sparc with

m4  crypto/des/asm/des_enc.m4 > crypto/des/des_enc-sparc.S

m4:crypto/des/asm/des_enc.m4:426 more than 4096 chars of argument text
define(rounds_macro,

! {rounds_macro}
! $1 $2 $3 $4 $5 $6 $7 $8 $9
...
>How-To-Repeat:

>Fix:
--- Makefile    2020/10/19 08:06:17     1.1
+++ Makefile    2020/10/19 08:06:35
@@ -12,6 +12,7 @@
 USE_GCC_RUNTIME=       yes

 USE_TOOLS+=            fgrep gmake makedepend perl
+USE_TOOLS.SunOS+=      gm4
 BUILD_TARGET=          depend all
 TEST_TARGET=           tests


>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/55733 CVS commit: pkgsrc/security/openssl
Date: Sun, 18 Jul 2021 23:11:08 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sun Jul 18 23:11:08 UTC 2021

 Modified Files:
 	pkgsrc/security/openssl: Makefile

 Log Message:
 PR 55733 Joern Clausen: use GNU m4 with security/openssl on Solaris.

 Seems that Solaris's m4 overflows internal limits.


 To generate a diff of this commit:
 cvs rdiff -u -r1.273 -r1.274 pkgsrc/security/openssl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 19 Jul 2021 02:01:44 +0000
State-Changed-Why:
committed, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.