NetBSD Problem Report #33189
From root@atlas.ipv6.stack.nl Tue Apr 4 08:11:13 2006
Return-Path: <root@atlas.ipv6.stack.nl>
Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140])
by narn.netbsd.org (Postfix) with ESMTP id A4A8163B8A7
for <gnats-bugs@gnats.NetBSD.org>; Tue, 4 Apr 2006 08:11:12 +0000 (UTC)
Message-Id: <20060404081128.1932142@atlas.ipv6.stack.nl>
Date: Tue, 4 Apr 2006 10:11:28 +0200 (CEST)
From: martijnb@atlas.ipv6.stack.nl
Reply-To: martijnb@atlas.ipv6.stack.nl
To: gnats-bugs@netbsd.org
Subject: devel/clisp fails to build for amd64 (And probably alpha)
X-Send-Pr-Version: 3.95
>Number: 33189
>Category: pkg
>Synopsis: devel/clisp fails to build for amd64 (And probably alpha)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 04 08:15:01 +0000 2006
>Closed-Date: Tue Apr 04 19:13:02 +0000 2006
>Last-Modified: Wed May 24 17:00:03 +0000 2006
>Originator: martijnb@atlas.ipv6.stack.nl
>Release: NetBSD 3.99.17
>Organization:
>Environment:
System: NetBSD atlas.ipv6.stack.nl 3.99.17 NetBSD 3.99.17 (ATLAS) #2: Tue Mar 21 19:50:15 CET 2006 martijnb@atlas.ipv6.stack.nl:/usr/obj/sys/arch/amd64/compile/ATLAS amd64
Architecture: x86_64
Machine: amd64
>Description:
devel/clisp fails to build for amd64. After its initial build, it'll
die:
[...]
cp -p cfgunix.lisp config.lisp
chmod +w config.lisp
echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp
./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)"
Cannot map memory to address 0x4000000000000 .
[spvw_mmap.d:359] errno = EFBIG: File too large.
./lisp.run: Not enough memory for Lisp.
*** Error code 1
>How-To-Repeat:
build clisp on an amd64 and watch it fail.
>Fix:
Some googling revealed that disabling mmap support should help. This
was also suggested for alpha. See the diff.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/clisp/Makefile,v
retrieving revision 1.51
diff -r1.51 Makefile
30a31,37
>
> # (ab)use MODULES to disable mmap too, as this will automagically fix the
> # makemake call
> .if ${MACHINE_ARCH:Malpha} || ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mx86_64}
> MODULES+= --disable-mmap
> .endif
>
31a39
>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Tue, 04 Apr 2006 19:13:02 +0000
State-Changed-Why:
Similar patch committed -- thank you!
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/33189 CVS commit: pkgsrc/lang/clisp
Date: Tue, 4 Apr 2006 19:12:10 +0000 (UTC)
Module Name: pkgsrc
Committed By: wiz
Date: Tue Apr 4 19:12:10 UTC 2006
Modified Files:
pkgsrc/lang/clisp: Makefile
Log Message:
Fix build on amd64. Add same workaround for other 64-bit platforms.
Remove outdated comment.
From Martijn in PR 33189.
To generate a diff of this commit:
cvs rdiff -r1.51 -r1.52 pkgsrc/lang/clisp/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/33189 CVS commit: [pkgsrc-2006Q1] pkgsrc/lang/clisp
Date: Wed, 24 May 2006 16:55:00 +0000 (UTC)
Module Name: pkgsrc
Committed By: ghen
Date: Wed May 24 16:55:00 UTC 2006
Modified Files:
pkgsrc/lang/clisp [pkgsrc-2006Q1]: Makefile distinfo
pkgsrc/lang/clisp/patches [pkgsrc-2006Q1]: patch-aa
Added Files:
pkgsrc/lang/clisp/patches [pkgsrc-2006Q1]: patch-ab patch-ac patch-ad
patch-ae patch-af patch-ag
Log Message:
Pullup ticket 1670 - requested by joerg
build and other fixes for clisp
Revisions pulled up:
- pkgsrc/lang/clisp/Makefile 1.52, 1.54
- pkgsrc/lang/clisp/distinfo 1.12
- pkgsrc/lang/clisp/patches/patch-aa 1.13
- pkgsrc/lang/clisp/patches/patch-ab 1.9
- pkgsrc/lang/clisp/patches/patch-ac 1.7
- pkgsrc/lang/clisp/patches/patch-ad 1.7
- pkgsrc/lang/clisp/patches/patch-ae 1.7
- pkgsrc/lang/clisp/patches/patch-af 1.6
- pkgsrc/lang/clisp/patches/patch-ag 1.4
Module Name: pkgsrc
Committed By: wiz
Date: Tue Apr 4 19:12:10 UTC 2006
Modified Files:
pkgsrc/lang/clisp: Makefile
Log Message:
Fix build on amd64. Add same workaround for other 64-bit platforms.
Remove outdated comment.
From Martijn in PR 33189.
---
Module Name: pkgsrc
Committed By: joerg
Date: Wed May 10 18:26:34 UTC 2006
Modified Files:
pkgsrc/lang/clisp: Makefile distinfo
pkgsrc/lang/clisp/patches: patch-aa
Added Files:
pkgsrc/lang/clisp/patches: patch-ab patch-ac patch-ad patch-ae patch-af
patch-ag
Log Message:
Readd the various pieces for DragonFly. Explicitly disable mmap,
it currently doesn't work.
To generate a diff of this commit:
cvs rdiff -r1.51 -r1.51.2.1 pkgsrc/lang/clisp/Makefile
cvs rdiff -r1.11 -r1.11.2.1 pkgsrc/lang/clisp/distinfo
cvs rdiff -r1.12 -r1.12.2.1 pkgsrc/lang/clisp/patches/patch-aa
cvs rdiff -r0 -r1.8.2.1 pkgsrc/lang/clisp/patches/patch-ab
cvs rdiff -r0 -r1.6.16.1 pkgsrc/lang/clisp/patches/patch-ac \
pkgsrc/lang/clisp/patches/patch-ad pkgsrc/lang/clisp/patches/patch-ae
cvs rdiff -r0 -r1.5.16.1 pkgsrc/lang/clisp/patches/patch-af
cvs rdiff -r0 -r1.3.16.1 pkgsrc/lang/clisp/patches/patch-ag
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.