NetBSD Problem Report #59626

From www@netbsd.org  Tue Sep  2 15:44:32 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)
	 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 382521A923A
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  2 Sep 2025 15:44:32 +0000 (UTC)
Message-Id: <20250902154430.E39201A923E@mollari.NetBSD.org>
Date: Tue,  2 Sep 2025 15:44:30 +0000 (UTC)
From: jdbaker@consolidated.net
Reply-To: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: compat80-* distfiles missing from all repositories
X-Send-Pr-Version: www-1.0

>Number:         59626
>Notify-List:    manlyphall@manlymail.net, gutteridge@netbsd.org
>Category:       pkg
>Synopsis:       compat80-* distfiles missing from all repositories
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    he
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 02 15:45:00 +0000 2025
>Closed-Date:    Sat Apr 11 15:46:10 +0000 2026
>Last-Modified:  Sat Apr 11 15:46:10 +0000 2026
>Originator:     John D. Baker
>Release:        NetBSD/i386-11.0_BETA, pkgsrc-HEAD (20250902)
>Organization:
>Environment:
NetBSD plex760.technoskunk.fur 11.0_BETA NetBSD 11.0_BETA (PLEX760) #2: Sat Aug 16 21:30:30 CDT 2025  sysop@plex760.technoskunk.fur:/r0/build/netbsd-11/obj/i386/sys/arch/i386/compile/PLEX760 i386

>Description:
The distfiles for the "compat80" package are missing from all
distfile sources.  Namely, the subdirectory "20191014" is missing
and that is where pkgsrc expects to find the distfiles:

An excerpt of 'lintpkgsrc -u':

[...]
Trying [2a04:4e42:26::262]:443 ...
ftp: Can't connect to `2a04:4e42:26::262:443': No route to host
Trying 151.101.161.6:443 ...
Requesting https://cdn.NetBSD.org/pub/pkgsrc/distfiles/LOCAL_PORTS/20191014/compat80-i386-8.0.tar.bz2
ftp: Error retrieving file `404 Not Found'
compat80-i386-8.0.tar.bz2 not fetched
ftp: Can't connect to `169.254.70.85:80': Operation timed out
ftp: Can't connect to `ftp.fr.NetBSD.org:http'
compat80-i386-8.0.tar.bz2 not fetched
Trying [2001:470:a085:999::21]:443 ...
ftp: Can't connect to `2001:470:a085:999::21:443': No route to host
Trying 199.233.217.201:443 ...
Requesting https://ftp.NetBSD.org/pub/pkgsrc/distfiles/LOCAL_PORTS/20191014/compat80-i386-8.0.tar.bz2
ftp: Error retrieving file `404 Not Found'
compat80-i386-8.0.tar.bz2 not fetched
ftp: Can't connect to `169.254.70.85:80': Operation timed out
ftp: Can't connect to `ftp.fr.NetBSD.org:http'
compat80-i386-8.0.tar.bz2 not fetched
Trying [2a04:4e42:26::262]:443 ...
ftp: Can't connect to `2a04:4e42:26::262:443': No route to host
Trying 151.101.161.6:443 ...
Requesting https://cdn.NetBSD.org/pub/pkgsrc/distfiles/20191014/compat80-i386-8.0.tar.bz2
ftp: Error retrieving file `404 Not Found'
compat80-i386-8.0.tar.bz2 not fetched
Trying [2001:470:a085:999::21]:443 ...
ftp: Can't connect to `2001:470:a085:999::21:443': No route to host
Trying 199.233.217.201:443 ...
Requesting https://ftp.NetBSD.org/pub/pkgsrc/distfiles/20191014/compat80-i386-8.0.tar.bz2
ftp: Error retrieving file `404 Not Found'
compat80-i386-8.0.tar.bz2 not fetched
[...]

>How-To-Repeat:
Attempt to fetch dependencies for anything that requires "compat80".
>Fix:
There is a later "compat80-*" in another subdirectory:

  pub/pkgsrc/distfiles/LOCAL_PORTS/20200807/

but using it will required updating the distinfo for the correct
checksum values.

If the intent is to move to "compat90", then these files (and only
"compat90-*" files) are in the

  pub/pkgsrc/distfiles/LOCAL_PORTS/20211116/

subdirectory.

>Release-Note:

>Audit-Trail:
From: "David H. Gutteridge" <gutteridge@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59626 CVS commit: pkgsrc/lang/rust
Date: Thu, 12 Feb 2026 01:43:00 +0000

 Module Name:	pkgsrc
 Committed By:	gutteridge
 Date:		Thu Feb 12 01:43:00 UTC 2026

 Modified Files:
 	pkgsrc/lang/rust: Makefile

 Log Message:
 rust: NetBSD i386 builds no longer need compat80

 Related to (but doesn't entirely address) PR pkg/59626 and
 PR pkg/59833.


 To generate a diff of this commit:
 cvs rdiff -u -r1.354 -r1.355 pkgsrc/lang/rust/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: pkg-manager->he
Responsible-Changed-By: gutteridge@NetBSD.org
Responsible-Changed-When: Thu, 12 Feb 2026 01:56:11 +0000
Responsible-Changed-Why:
he@: you originally created this package, could you please take a look?

From: Havard Eidnes <he@NetBSD.org>
To: gnats-bugs@netbsd.org, gutteridge@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
 jdbaker@consolidated.net, manlyphall@manlymail.net
Subject: Re: pkg/59626 (compat80-* distfiles missing from all repositories)
Date: Thu, 12 Feb 2026 11:23:19 +0100 (CET)

 > he@: you originally created this package [...]

 Well, yes and no.

 I may very well have been the one who last updated the package.

 However, I cannot claim to be the original author of the package.

 > [...], could you please take a look?

 When I fiddled with it the last time I found it a little
 difficult to figure out how to align the various bits to make it
 possible to perform the update.  Sadly, I did not improve that
 particular aspect by creating a suitable README.updating file or
 anything like that.

 I also see in the CVS log that the package is accused of being
 cursed, and that bad things can happen if it's un-installed after
 having been installed.  I vaguely recall that was something I
 thought about when I did the previous update, e.g. when creating
 revision 1.3 of

   emulators/compat_netbsd/INSTALL.ELF

 However, in hindsight, whether that actually cured the curse (it
 would certainly not cure it for already-installed instances) I
 cannot now claim with any amount of certainty.  Possibly it
 didn't.

 It is evident to me that this package and documentation of "how
 to update" and the overall "an overview of this is what the
 update procedure does" needs to be tackled first, and we can then
 hopefully both make it easier for others to perform the update,
 and make it easier to properly fix the "curse" as well.

 That said, I have found my local copy of the computed distfiles
 which used to live in the 20191014/ subdirectory (the checksums
 seem to match with what's in the existing distinfo), and I'm able
 to upload them again to "un-break" the immediate breakage of this
 package.  That may be the shortest path to fixing the immediate
 problem, and then we can tackle the ones which require more
 scrutiny and discussion as a separate thing.

 Regards,

 - H=E5vard

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/59626: compat80-* distfiles missing from all repositories
Date: Thu, 12 Feb 2026 08:30:22 -0600 (CST)

 On Thu, 12 Feb 2026, David H. Gutteridge wrote:

 >  Log Message:
 >  rust: NetBSD i386 builds no longer need compat80

 That may be true in pkgsrc-HEAD, but as of pkgsrc-2025Q4, 'make
 show-all-depends' in ".../pkgsrc/lang/rust" on i386 produces:

 $ make show-all-depends 
 depends:
   pkg   TOOL_DEPENDS=           \
                                 bash-[0-9]*:../../shells/bash \
                                 cmake-[0-9]*:../../devel/cmake \
                                 compat80>=0:../../emulators/compat80 \
                                 cwrappers>=20150314:../../pkgtools/cwrappers \
                                 gmake>=3.81:../../devel/gmake \
                                 gtar-base>=1.13.25:../../archivers/gtar-base \
                                 libtool-base>=2.4.2nb9:../../devel/libtool-base \
                                 mktools-[0-9]*:../../pkgtools/mktools \
                                 perl>=5.0:../../lang/perl5 \
                                 pkgconf-[0-9]*:../../devel/pkgconf \
                                 python313>=3.13:../../lang/python313 \
                                 # end of TOOL_DEPENDS (sorted)
   pkg   BUILD_DEPENDS=          # empty
   pkg   TEST_DEPENDS=           # empty
   pkg   DEPENDS=                \
                                 curl>=7.12.3:../../www/curl \
                                 curl>=7.67.0:../../www/curl \
                                 curl>=8.16.0nb1:../../www/curl \
                                 libatomic-links>=0:../../devel/libatomic-links \
                                 libunwind>=19.1.0:../../lang/libunwind \
                                 llvm>=18.0.0:../../lang/llvm \
                                 llvm>=19.1.0:../../lang/llvm \
                                 llvm>=19.1.7:../../lang/llvm \
                                 # end of DEPENDS (sorted)
   def   _DEPENDS_FILE=          /r0/build/pkgsrc/lang/rust/work/.depends
   def   _RDEPENDS_FILE=         /r0/build/pkgsrc/lang/rust/work/.rdepends

 Note the "compat80" entry under TOOL_DEPENDS.  So, anyone building
 "lang/rust" from source(-ish, due to binary bootstrap kit) is going
 to run into trouble if they don't already have "compat80" installed.

 Also "pkg_info -N rust" in my recently-built package using pkgsrc-2025Q4
 produces:

 $ pkg_info -N rust
 Information for rust-1.90.0:

 Built using:
 libatomic-links-1.1
 curl-8.17.0
 libunwind-19.1.7nb1
 llvm-19.1.7
 digest-20220214
 compat80-8.0
 cmake-4.1.2
 python313-3.13.11
 libtool-base-2.4.7nb1
 mktools-20250213
 bash-5.3.9
 gmake-4.4.1
 gtar-base-1.35
 perl-5.42.0nb1
 pkgconf-2.4.3nb1
 cwrappers-20220403

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "David H. Gutteridge" <david@gutteridge.ca>
To: gnats-bugs@netbsd.org
Cc: he@netbsd.org, jdbaker@consolidated.net, manlyphall@manlymail.net
Subject: Re: pkg/59626: compat80-* distfiles missing from all repositories
Date: Thu, 12 Feb 2026 10:27:27 -0500

 On 2026-02-12 10:05, John D. Baker via gnats wrote:
 > The following reply was made to PR pkg/59626; it has been noted by 
 > GNATS.
 > 
 > From: "John D. Baker" <jdbaker@consolidated.net>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: pkg/59626: compat80-* distfiles missing from all 
 > repositories
 > Date: Thu, 12 Feb 2026 08:30:22 -0600 (CST)
 > 
 > On Thu, 12 Feb 2026, David H. Gutteridge wrote:
 > 
 >>  Log Message:
 >>  rust: NetBSD i386 builds no longer need compat80
 > 
 > That may be true in pkgsrc-HEAD, but as of pkgsrc-2025Q4, 'make
 > show-all-depends' in ".../pkgsrc/lang/rust" on i386 produces:
 > 
 > $ make show-all-depends
 > depends:
 > pkg   TOOL_DEPENDS=           \
 > bash-[0-9]*:../../shells/bash \
 > cmake-[0-9]*:../../devel/cmake \
 > compat80>=0:../../emulators/compat80 \
 > cwrappers>=20150314:../../pkgtools/cwrappers \
 > gmake>=3.81:../../devel/gmake \
 > gtar-base>=1.13.25:../../archivers/gtar-base \
 > libtool-base>=2.4.2nb9:../../devel/libtool-base \
 > mktools-[0-9]*:../../pkgtools/mktools \
 > perl>=5.0:../../lang/perl5 \
 > pkgconf-[0-9]*:../../devel/pkgconf \
 > python313>=3.13:../../lang/python313 \
 > # end of TOOL_DEPENDS (sorted)
 > pkg   BUILD_DEPENDS=          # empty
 > pkg   TEST_DEPENDS=           # empty
 > pkg   DEPENDS=                \
 > curl>=7.12.3:../../www/curl \
 > curl>=7.67.0:../../www/curl \
 > curl>=8.16.0nb1:../../www/curl \
 > libatomic-links>=0:../../devel/libatomic-links \
 > libunwind>=19.1.0:../../lang/libunwind \
 > llvm>=18.0.0:../../lang/llvm \
 > llvm>=19.1.0:../../lang/llvm \
 > llvm>=19.1.7:../../lang/llvm \
 > # end of DEPENDS (sorted)
 > def   _DEPENDS_FILE=          /r0/build/pkgsrc/lang/rust/work/.depends
 > def   _RDEPENDS_FILE=         /r0/build/pkgsrc/lang/rust/work/.rdepends

 Yes. My commit was to HEAD. (All commits originate there before
 possibly being applied to a branch. PRs are not just for the reporter,
 they're also for developers to track the state of things, once filed.)

 > Note the "compat80" entry under TOOL_DEPENDS.  So, anyone building
 > "lang/rust" from source(-ish, due to binary bootstrap kit) is going
 > to run into trouble if they don't already have "compat80" installed.

 This is obvious, yes. Which is why there's other activity on this
 ticket, and why I noted my commit is related to this ticket and another
 one (duplicate) but doesn't resolve them. (This is also why I found 
 these
 tickets in the first place, as it also happened to me earlier this 
 week.)

 > Also "pkg_info -N rust" in my recently-built package using 
 > pkgsrc-2025Q4
 > produces:
 > 
 > $ pkg_info -N rust
 > Information for rust-1.90.0:
 > 
 > Built using:
 > libatomic-links-1.1
 > curl-8.17.0
 > libunwind-19.1.7nb1
 > llvm-19.1.7
 > digest-20220214
 > compat80-8.0
 > cmake-4.1.2
 > python313-3.13.11
 > libtool-base-2.4.7nb1
 > mktools-20250213
 > bash-5.3.9
 > gmake-4.4.1
 > gtar-base-1.35
 > perl-5.42.0nb1
 > pkgconf-2.4.3nb1
 > cwrappers-20220403

 Yes, you're saying the same thing here twice.

State-Changed-From-To: open->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Sat, 11 Apr 2026 15:46:10 +0000
State-Changed-Why:
Immediate issue should be resolved. Broader compat packaging discussion
deserves its own ticket.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

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