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:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 04 20:55:00 +0000 2021
>Last-Modified:  Thu Aug 15 16:34:38 +0000 2024
>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.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 15 Aug 2024 16:34:38 +0000
Responsible-Changed-Why:
Solaris issue


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.