NetBSD Problem Report #58967
From www@netbsd.org Tue Jan 7 03:29:49 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 E08511A9238
for <gnats-bugs@gnats.NetBSD.org>; Tue, 7 Jan 2025 03:29:48 +0000 (UTC)
Message-Id: <20250107032947.769661A923B@mollari.NetBSD.org>
Date: Tue, 7 Jan 2025 03:29:47 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: sysutils/podman fails to build on netbsd-9
X-Send-Pr-Version: www-1.0
>Number: 58967
>Category: pkg
>Synopsis: sysutils/podman fails to build on netbsd-9
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 07 03:30:00 +0000 2025
>Last-Modified: Tue Jan 07 04:20:01 +0000 2025
>Originator: Taylor R Campbell
>Release: netbsd-9, pkgsrc-2024Q4
>Organization:
The EnvBSD Podmanagement
>Environment:
>Description:
===> Building for podman-5.0.3nb4
env: unknown option -- u
Usage: env [-i] [name=value ...] [command]
env: unknown option -- u
Usage: env [-i] [name=value ...] [command]
Makefile:190: *** Required variable NATIVE_GOOS value is undefined, whitespace, or empty. Stop.
>How-To-Repeat:
build sysutils/podman
>Fix:
Yes, please!
Probably need to patch the makefile to avoid the neologism of `env -u', e.g. by using shell `unset' instead.
>Audit-Trail:
From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/58967 CVS commit: pkgsrc/sysutils/podman
Date: Tue, 7 Jan 2025 04:17:20 +0000
Module Name: pkgsrc
Committed By: riastradh
Date: Tue Jan 7 04:17:20 UTC 2025
Modified Files:
pkgsrc/sysutils/podman: distinfo
Added Files:
pkgsrc/sysutils/podman/patches: patch-Makefile
Log Message:
sysutils/podman: Patch away `env -u' in Makefile.
No functional change intended to the build product; this only fixes
the build on hosts where it wouldn't build before.
PR pkg/58967: sysutils/podman fails to build on netbsd-9
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/sysutils/podman/distinfo
cvs rdiff -u -r0 -r1.5 pkgsrc/sysutils/podman/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(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-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.