pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/59365 (binary pkg repo wrong)
Synopsis: binary pkg repo wrong
State-Changed-From-To: closed->open
State-Changed-By: riastradh%NetBSD.org@localhost
State-Changed-When: Wed, 07 May 2025 21:18:23 +0000
State-Changed-Why:
Nope, this is a real problem on our end:
$ curl -fsSL https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/earmv7hf/10.0_2025Q1/All/pkg_summary.bz2 | bunzip2 -c | awk -F= '/PKGNAME=/ { pkg = $2 } /MACHINE_ARCH=x86/ { print pkg, $2 }'
tex-epstopdf-2.33 x86_64
tex-gettitlestring-1.6 x86_64
tex-glyphlist-2016 x86_64
tex-js-misc-2014 x86_64
tex-js-misc-doc-2014 x86_64
tex-garuda-c90-2021 x86_64
tex-jsclasses-20230224 x86_64
tex-jablantile-2014 x86_64
tex-greek-inputenc-1.9 x86_64
tex-jadetex-doc-3.13.70002 x86_64
tex-graphics-def-2022.64487nb1 x86_64
tex-japanese-mathformulas-1.0.2 x86_64
The .pkgcache file is all screwed up, e.g.:
pkgcache_begin NetBSD/earmv7hf/10.0/All/irssi-icb-0.17.tgz
ABI=
BUILD_DATE=2024-08-22 02:27:24 +0000
BUILD_HOST=NetBSD cluster026 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug 4 15:30:37 UTC 2022 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
and for some reason we derive pkg_summary from .pkgcache in a cron job
on ftp.n.o instead of just using pkg_info -X.
And the cron job is complaining into the void of packages-cron@ where
nobody pays attention because it's too noisy (e.g., from 2025-05-05,
Monday):
Making sure binary package cache file is up to date...
Missing cache file. /ftp/pub/pkgsrc/packages/NetBSD/aarch64/10.0_2025Q1/All/.pkgcache will be generated.
mv: rename /home/pkgmastr/tmp/mkreadme/pkg-cache.18815/.pkgcache to /ftp/pub/pkgsrc/packages/NetBSD/aarch64/10.0_2025Q1/All/.pkgcache: Permission denied
********** WARNING **********
move of /home/pkgmastr/tmp/mkreadme/pkg-cache.18815/.pkgcache to /ftp/pub/pkgsrc/packages/NetBSD/aarch64/10.0_2025Q1/All/.pkgcache failed!
Perhaps you do not have write permissions to /ftp/pub/pkgsrc/packages/NetBSD/aarch64/10.0_2025Q1/All?
This directory will be dropped from the master cache file.
********** WARNING **********
Missing cache file. /ftp/pub/pkgsrc/packages/NetBSD/aarch64/9.0_2025Q1/All/.pkgcache will be generated.
Missing cache file. /ftp/pub/pkgsrc/packages/NetBSD/earmv6hf/10.0_2025Q1/All/.pkgcache will be generated.
Missing cache file. /ftp/pub/pkgsrc/packages/NetBSD/earmv6hf/9.0_2025Q1/All/.pkgcache will be generated.
Missing cache file. /ftp/pub/pkgsrc/packages/NetBSD/earmv7hf/10.0_2025Q1/All/.pkgcache will be generated.
pkg_info: can't find package `/ftp/pub/pkgsrc/packages/NetBSD/earmv7hf/10.0_2025Q1/All/ipa_sdb-1.1.1.tgz', skipped
pkg_info: can't find package `/ftp/pub/pkgsrc/packages/NetBSD/earmv7hf/10.0_2025Q1/All/ipa_sdb-1.1.1.tgz', skipped
pkg_info: can't find package `/ftp/pub/pkgsrc/packages/NetBSD/earmv7hf/10.0_2025Q1/All/ipcheck-0.233nb8.tgz', skipped
But curiously these are all different packages that have issues in the
pkg_summary file, the .pkgcache file, and the packages-cron@ warnings!
So I have no idea what's really going on here but whatever it is it's a
right proper snafu.
Home |
Main Index |
Thread Index |
Old Index