NetBSD Problem Report #56037

From www@netbsd.org  Thu Mar  4 20:53:44 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 9BFF71A921F
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  4 Mar 2021 20:53:44 +0000 (UTC)
Message-Id: <20210304205343.B5EC11A924E@mollari.NetBSD.org>
Date: Thu,  4 Mar 2021 20:53:43 +0000 (UTC)
From: mdehling@gmail.com
Reply-To: mdehling@gmail.com
To: gnats-bugs@NetBSD.org
Subject: security/openssl fails to compile on Solaris 10u7 w/ SunStudio 12u1
X-Send-Pr-Version: www-1.0

>Number:         56037
>Category:       pkg
>Synopsis:       security/openssl fails to compile on Solaris 10u7 w/ SunStudio 12u1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 04 20:55:00 +0000 2021
>Originator:     Malte Dehling
>Release:        pkgsrc-2020Q4
>Organization:
>Environment:
SunOS deuterium 5.10 Generic_139555-08 sun4u sparc sun4u
cc: Sun C 5.10 SunOS_sparc 2009/06/03
>Description:
Compilation fails with the following error message:

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

>How-To-Repeat:

>Fix:
As a workaround, you can simply add `-B8192` as an option to m4 and run the command by hand, then continue the pkgsrc build.

I'm not sure whether there is a way to pass this option through the pkgsrc framework, so I don't have a patch.

Another option might be to add devel/m4 as a dependency on Solaris?  I haven't tried this, but I assume GNU m4 doesn't have the same limitation.

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.