NetBSD Problem Report #59216
From www@netbsd.org Wed Mar 26 11:01:17 2025
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)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 3EB871A9239
for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 Mar 2025 11:01:17 +0000 (UTC)
Message-Id: <20250326110116.261F91A923D@mollari.NetBSD.org>
Date: Wed, 26 Mar 2025 11:01:16 +0000 (UTC)
From: hashikaw@mail.ru
Reply-To: hashikaw@mail.ru
To: gnats-bugs@NetBSD.org
Subject: make tools don't hands environment variable TMPDIR over to nbgmake
X-Send-Pr-Version: www-1.0
>Number: 59216
>Category: toolchain
>Synopsis: make tools don't hands environment variable TMPDIR over to nbgmake
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 26 11:05:00 +0000 2025
>Originator: Kouichi Hashikawa
>Release: NetBSD-current, 10, 9
>Organization:
>Environment:
>Description:
On a machine with small /tmp, run build.sh with
$ TMPDIR=/tmp TMP=/tmp ./build.sh ...options...
then, stop.
...
dependall ===> tools/gcc
echo gcc-12-nb1-20240630 >PREV_GCC
...
/bin/sh /current/netbsd/d/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../move-if-change tmp-automata.cc insn-automata.cc
echo timestamp > s-automata
c++ -fno-PIE -c -O -std=c++11 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE ... ./.deps/insn-automata.TPo insn-automata.cc
insn-automata.cc:184192:1: fatal error: error writing to /tmp//ccWLyypE.s: No space left on device
184192 | }
| ^
compilation terminated.
nbgmake[1]: *** [insn-automata.o] Error 1
I think nbmake don't hand environment variable TMPDIR over to nbgmake.
>How-To-Repeat:
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.49 2026/05/14 01:52:41 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.