NetBSD Problem Report #54593

From jaapb@kerguelen.org  Wed Oct  2 14:57:13 2019
Return-Path: <jaapb@kerguelen.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 3A5127A1E1
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  2 Oct 2019 14:57:13 +0000 (UTC)
Message-Id: <20191002134021.B394C49612@nuageuses.kerguelen.org>
Date: Wed,  2 Oct 2019 14:40:21 +0100 (BST)
From: jaapb@kerguelen.org
Reply-To: jaapb@kerguelen.org
To: gnats-bugs@NetBSD.org
Subject: lang/polyml fails to compile on NetBSD
X-Send-Pr-Version: 3.95

>Number:         54593
>Category:       pkg
>Synopsis:       lang/polyml fails to compile on NetBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 02 15:00:00 +0000 2019
>Last-Modified:  Tue Oct 29 09:50:01 +0000 2019
>Originator:     Jaap Boender
>Release:        NetBSD 8.1
>Organization:
NetBSD
>Environment:


System: NetBSD nuageuses.kerguelen.org 8.1 NetBSD 8.1 (GENERIC) #0: Fri May 31 08:43:59 UTC 2019 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
When trying to compile lang/polyml, after the C bootstrap, the first proper
polyml phase fails with "Unable to allocate memory".

The transcript looks very much like http://ftpmirror.your.org/pub/pkgsrc/packages/reports/2019Q2/NetBSD-8.0-earmv6hf/20190903.1102/polyml-5.7.1/build.log
>How-To-Repeat:
	cd $PKGSRCDIR/lang/polyml; make
>Fix:
	not known

>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54593: lang/polyml fails to compile on NetBSD
Date: Wed, 2 Oct 2019 16:50:22 +0000

 paxctl +m polyimport makes it run, but making automake do it seems
 hard...

 Also hangs a bit later for me

From: Jaap Boender <jaapb@kerguelen.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54593: lang/polyml fails to compile on NetBSD
Date: Tue, 29 Oct 2019 10:49:32 +0100

 I have now been able to make polyml compile by adding paxctl commands 
 into two of the Makefiles (thanks for the hint!); it's pretty hackish, 
 but it does work.

 I'll commit an update to pkgsrc (there's also a new version out) once 
 I've tested things a little bit more. I'll also submit a bug report to 
 see if upstream can add support so that polyml just compiles as is.

>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.