[tlbuild] NetBSD help ...

Mojca Miklavec mojca.miklavec.lists at gmail.com
Fri Feb 23 23:07:38 CET 2024


On Tue, 23 Jan 2024 at 14:54, Norbert Preining wrote:
>
> Broken by design :-(

It gets better.

I had a stale VM running NetBSD on Hans' farm for probably a few years
as I didn't really have the joy to figure out how things are supposed
to work there.
I now had to bring some VMs back up and running, update some etc., and
I noticed the lonely NetBSD still sitting there.

I kept digging a bit more and finally managed to find the magic
commands to install some packages.
I even managed to get the buildbot worker running which could
potentially be helpful to build luametatex, for example:
    https://build.contextgarden.net/#/waterfall?tags=os.netbsd

But then I ran sysinst for the sake of installing X11 (sysinst --help
says that you can pass a file with configuration to get it working).
Not that TeX Live build managed to get as far as to complain about missing X11:
    /usr/include/g++/bits/c++locale.h:82:51: error: use of undeclared
identifier 'locale_t'

I installed some X11 sets and returned back.
I noticed that the shell didn't know about any binaries that I
recently installed, so I logged out and logged back in, but I could
suddenly no longer log in at all.
I went to a second shell where I was still logged in (I earlier ran
su, so that I could install some packages). All root commands were
still working fine, but after I typed "exit" from su ...

Oh joy ... installing X11 apparently deleted the only user (other than
root) on the system.

# which gcc
/usr/bin/gcc
# exit
$ ls -l .
total 4
drwxr-xr-x 3 1000 users 512 Feb 23 16:18 app
$ su
su: who are you?
$ whoami
1000

Now I could neither log in using my username nor as root. Luckily I
discovered the third open terminal where I was still logged in as root
and I could create a new user again.

Facepalm indeed.

In the context of discussion concerning OpenBSD ... in contrast to
NetBSD that one seems at least usable.

Mojca

PS: the following is off-topic for this thread. But after I got the
build worker up and running (marginally), it seems that luajittex
fails to build. However that binary has been committed to TeX Live a
few days ago, so it must be just me?

CCLD luajittex
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25
/home/buildbot/texlive/luatex/netbsd-amd64.prg/build/build/libs/luajit/.libs/libtexluajit.a(lj_err.o):
in function `lj_err_unwind_dwarf':
lj_err.c:(.text+0x2a): undefined reference to `_Unwind_GetCFA'
/usr/bin/ld: lj_err.c:(.text+0x166): undefined reference to
`_Unwind_DeleteException'
/usr/bin/ld: lj_err.c:(.text+0x229): undefined reference to `_Unwind_SetGR'
/usr/bin/ld: lj_err.c:(.text+0x254): undefined reference to `_Unwind_SetGR'
/usr/bin/ld: lj_err.c:(.text+0x261): undefined reference to `_Unwind_SetIP'
/usr/bin/ld: /home/buildbot/texlive/luatex/netbsd-amd64.prg/build/build/libs/luajit/.libs/libtexluajit.a(lj_err.o):
in function `lj_err_throw':
lj_err.c:(.text+0x41f): undefined reference to `_Unwind_RaiseException'
clang-16: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake: *** [Makefile:8193: luajittex] Error 1


More information about the tlbuild mailing list.