NetBSD Problem Report #58769
From www@netbsd.org Mon Oct 21 20:25:59 2024
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)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 978B11A923D
for <gnats-bugs@gnats.NetBSD.org>; Mon, 21 Oct 2024 20:25:59 +0000 (UTC)
Message-Id: <20241021202558.66BB21A923E@mollari.NetBSD.org>
Date: Mon, 21 Oct 2024 20:25:58 +0000 (UTC)
From: als@thangorodrim.ch
Reply-To: als@thangorodrim.ch
To: gnats-bugs@NetBSD.org
Subject: "Software requirements" for pkgsrc on Linux misses awk as system-provided dependency
X-Send-Pr-Version: www-1.0
>Number: 58769
>Category: pkg
>Synopsis: "Software requirements" for pkgsrc on Linux misses awk as system-provided dependency
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 21 20:30:01 +0000 2024
>Closed-Date: Tue Oct 22 11:56:59 +0000 2024
>Last-Modified: Tue Oct 22 11:56:59 +0000 2024
>Originator: Alexander Schreiber
>Release:
>Organization:
not much ...
>Environment:
>Description:
The pkgsrc corner of the NetBSD wiki, page "how to use pkgsrc on linux"
available at: https://wiki.netbsd.org/pkgsrc/how_to_use_pkgsrc_on_linux/
mentions several dependencies for using pkgsrc on Linux that have to be
provided by the host OS, such as gcc. I've just set up pkgsrc on a freshly
installed minimum install of Debian Bookworm, installed all the listed
dependencies and still pkgsrc broke in weird ways. Turns out, the Debian
minimal install (just "ssh server" and "standard system utilities" selected) does
not in included a version of awk these days ...
>How-To-Repeat:
- Install Debian Bookworm (e.g. amd64 version in a VM):
- in the "Software selection" screen of the installer, only select
- "ssh server"
- "standard system utilities"
- finish the installation
- fetch pkgsrc by appropriate means
- run bootstrap
- try to install pkgtools/digest, see it fail with " -F not found"
errors in the exection
- add awk: "apt install gawk"
- retry installing pkgtools/digest, see it succeed
>Fix:
Add awk to the list of "Software requirements" on "how to use pkgsrc on linux
" at https://wiki.netbsd.org/pkgsrc/how_to_use_pkgsrc_on_linux/
>Release-Note:
>Audit-Trail:
From: Harold Gutch <logix@foobar.franken.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/58769: "Software requirements" for pkgsrc on Linux misses awk as system-provided dependency
Date: Tue, 22 Oct 2024 07:48:28 +0200
Hi,
I suppose there is a silent assumption on the underlying system being
POSIX compatible (implying the availability of awk), I guess this
could be made a bit more explicit in the wiki. But then, listing
specific known common issues like this one here sounds like a good
idea too.
Harold
From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/58769 CVS commit: pkgsrc/bootstrap
Date: Tue, 22 Oct 2024 11:54:54 +0000
Module Name: pkgsrc
Committed By: nia
Date: Tue Oct 22 11:54:54 UTC 2024
Modified Files:
pkgsrc/bootstrap: README.Linux
Log Message:
update dependency list for linux bootstrap (PR pkg/58769)
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/bootstrap/README.Linux
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Tue, 22 Oct 2024 11:56:59 +0000
State-Changed-Why:
done
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 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.