Commit Graph
10 Commits
Author SHA1 Message Date
lotherkandClaude Sonnet 5.5 7e9d92d75f pkg-binaries.sh: a size mismatch means the cached summary is stale -- drop it and the bad file
make release on the MacBook (build/logs/pkg-binaries-amd64.log): 24 packages 'is N bytes, want M'; the
cached pkg_summary.repo.gz was from 2026-11-19.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 09:59:30 +00:00
lotherkandClaude Sonnet 5.5 ca01d56c9d build: the userland builds in a chroot on Makronix; release gains the userland step; set list, mxupgrade, installimage and pins follow
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 22:01:30 +00:00
lotherk 056229500a userland: skip what did not change -- archive, binary packages, host tools
Measured on 2026-11-17 (userland-2026-11-17g.log): three minutes of every
make userland went by before MCDE was looked at, with nothing changed:
- mcde-dist.sh packed the archive again, 16 s (15.7 s of it gzip -9).  Now
  keyed on the source trees and the time; when it does pack, gzip -6
  (6.0 s, 0.9 % more bytes).
- pkg-binaries.sh fetch resolved the closure of 281 packages again (some
  1100 awk passes over the index; nothing was downloaded -- the files are
  from 2026-11-13).  Now keyed on the summary and the wanted list, with every
  file checked by its size: 44 s -> 0 s, measured twice.
- host_tools looked up the TOOL_DEPENDS of 84 package directories, 38 s.
  Now keyed on the list, the pkgsrc pin and mk-host.conf, written only when
  no host tool failed.
Each step writes its time into the log ("userland: [HH:MM:SS] ...").
2026-11-17 17:07:02 +00:00
lotherk c7fdb6957a museum: four vintage machines in QEMU (Makronix Museum group)
IRIX 6.5.29, SunOS 4.1.4, Mac OS 9.2 and Mac OS X 10.4 Tiger as QEMU
machines: /usr/bin/museum (base system, CNCL) links the owner's media,
creates the qcow2 disks, prints the exact command and checks what is
missing; the emulator comes from pkgsrc, offered by the installer as the
new group "Makronix Museum" (kind museum, like games).

Measured 2026-11-16 with QEMU 11.1.2: the Mac OS 9.2.2 CD reaches the
Finder and the Tiger 10.4.6 DVD the language chooser through
`museum install'.  OpenBIOS cannot boot the SunOS 4.1.4 CD (the SS-5 PROM
ss5.bin is required); stock QEMU has no SGI Indy (qemu-sgi-ip22 or MAME
indy_4610).  The operating system media are proprietary and stay with
their owner.

checkflist after installing the program: only the pre-existing missing
makronix-guide-vm.7 remains (another session's file).
2026-11-16 17:02:04 +00:00
lotherkandClaude Sonnet 5.5 73c9de51a6 licence: the CNCL line in every file Makronix wrote (tools, docs, www, mobile, top level)
consmirror.c: the BSD notice is replaced (Makronix's own file).  Files with
changes of other sessions pending are left for their commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 11:50:26 +00:00
lotherkandClaude Opus 5.5 a8e0b1438e Makronix Games: a group sysinst offers (yes by default), installed from the medium
Konrad, 2026-11-13: RetroArch with the emulators already there, ScummVM,
Tux Racer -- as a group in sysinst (his choice over a set tarball: the
packages stay registered for pkg_add -u).
- packages.list: kind games (RetroArch, every libretro core the NetBSD
  project publishes, ScummVM with BASS and FOTAQ, Tux Racer);
  pkglist.sh and pkg-binaries.sh know it.
- cd3.sh: per medium desktop.list and games.list, the files of the
  closure in dependency order that are on that medium; the DVD stage takes
  only what the summary names.
- extras.c: games_ask (all six catalogues), install_from() installs the
  files of desktop.list (and games.list) from the null-mounted medium.
- install-simple.sh answers the question.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:34:37 +00:00
lotherkandClaude Opus 5.5 175e4d29c4 X in the base again: build.sh -x -X xsrc, X11_TYPE=native; unpatched packages as NetBSD binaries
- Makefile: -x -X $(XSRC); build-stamp keys on xsrc/ too; PINS and
  makronix-pins.sh carry xsrc/BASE.
- pkgsrc-cross.mk.conf: X11_TYPE=native (pkgsrc uses the sysroot's /usr/X11R7).
- packages.list: no pkgsrc X any more (the X sets carry server, drivers,
  fonts, clients); built here only the forks of ext/ (MCDE, Motif,
  afpfs-ng) and flex; vim, git, samba, netatalk, sshfs, borg, pulseaudio,
  pavucontrol, cups, firefox, thunderbird and the games (RetroArch with
  all libretro cores, ScummVM with BASS and FOTAQ, Tux Racer) are the
  NetBSD project's binaries (kind fetch).
- pkg-binaries.sh: resolve by PKGPATH (samba4 is samba-4.x), an empty
  queue no longer trips set -u; cd3.sh top.list by PKGPATH as well.
- userland.sh: the host tools of the whole dependency closure.
- AGENTS.md, GOAL.md: the decision and why (measured: "The X-server can
  not be started on display :0").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:14:39 +00:00
lotherkandClaude Sonnet 5.5 efa96ca4f7 One package list: packages.list (kinds set/repo/fetch, @ARCH), read by tools/pkglist.sh; userland.sh detects cross or native and builds all of it; nothing is built in a VM any more
Removed: packages.{amd64,aarch64,binary*}.list, tools/packages.vm.list,
tools/vm-pkgbuild.sh, tools/vm-pkgcollect.sh, tools/vmbuild/, make binaries.
A package that fails no longer stops the others; they are named at the end.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 17:50:29 +00:00
lotherkandClaude Opus 5.5 870676e771 make binaries: the binary packages built in the build VM, as a repository for the media
The project's binaries need X in the base, Makronix has X from pkgsrc.
userland.sh binaries (make binaries; BINARIES=... before the lists name
them) builds packages.binary*.list in the build VM, vm-pkgbuild.sh repo packs
them with their run-time closure and pkg_summary.gz, and the host unpacks the
repository into build/packages/ARCH/All, where tools/cd3.sh takes it from.
The VM's mk.conf gets DEPENDS_TARGET=package-install (every dependency as a
binary package); a dependency installed before gets its package from its
PKGPATH.  vmprep() is the VM preparation that vm() and binaries() share.
The lists name PKGPATHs (still paused); cd3.sh, pkg-binaries.sh and the
tests' wanted() take the last part as the name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:18:20 +00:00
lotherkandClaude Sonnet 5.5 6c714a0ea7 tools, Makefile, package lists: media (CD 2, CD 3), install tests, build VM, source sets, binary packages
make iso now also writes CD 2 (makronix set) and CD 3 (binary packages); make sourcesets/isosrc make the source sets and the DVD with them. tools: cd2.sh cd3.sh, install-simple.sh install-cgd.sh (end-to-end tests on the serial console), vmsh.sh devvm.sh (QEMU sessions, the kept build VM), vm-pkgbuild.sh vm-pkgcollect.sh (native pkgsrc builds), pkg-binaries.sh (the project's binary packages), host-nfs-setup.sh (NFS for the build VM; loopback-only through an nftables rule), makronix-distfiles.sh makronix-pins.sh msrc-stage.sh. Package lists: common, per platform, and binary.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:53:21 +00:00