Thorsten Alteholz: My Debian Activities in December 2024
- astronomical-almanac to add CI, gbp.conf and fix a bug
- libosmo-analog (package prepared by Nathan)
- osmo-tetra (package prepared by Nathan)
- libosmo-sccp
- osmo-libasn1c
cme update dpkg-copyright. This file can contain a comment field that is used for book-keeping.
Here s an example from libuv1:
README.md: comment: - the license from this file is used as a main license and tends to apply expat or CC to all files. Which is wrong. Let's skip this file and let cme retrieve data from files. skip: true
cme edit dpkg. So you should not use them in fill.copyrights.blanks.yml.
It occurred to me that it may be interesting to copy the content of this comment in to debian/copyright file entries. But not in all cases, as some comments make sense in fill.copyright.blanks.yml but not in debian/copyright.
So I ve added a new forwarded-comment parameter in fill.copyright.blanks.yml. The content of this field is copied verbatim in debian/copyright.
This way, you can add comments for book keeping and comments for debian/copyright entries.
For instance:
pan/gui/*: forwarded-comment: some comment about gui comment: this is an example from cme test files
Files: pan/gui/* Copyright: 1989, 1991, Free Software Foundation, Inc. License: GPL-2 Comment: some comment about guiThis new functionality is available in
libconfig-model-dpkg-perl >= 3.008.
All the best
I tailed off on blog posts towards the end of the year; I blame a bunch of travel (personal + business), catching the flu, then December being its usual busy self. Anyway, to try and start off the year a bit better I thought I d do my annual recap of my Free Software activities.
For previous years see 2019, 2020, 2021, 2022 + 2023.


Recently, I'm trying to fix d-i Han-Unification issue for Japanese.
This issue was not fixed for a long time since Debian 9 (stretch).
#1037256 - debian-installer: GUI font for Japanese was incorrectly rendered - Debian Bug report logs
To know about how Han-Unification is harmful for Japanese in some cases, See "Your Code Displays Japanese Wrong". heistak.github.ioWhen building d-i (GUI Installer), you need to build
build_netboot-gtk target.
But note that you need recent master because it has nitpick issue with GNU Make 4.4.x.
bugs.debian.org
After that, need to prepare required packages. See README in details.
apt-get update apt-get install -y myrepos git libgtk2.0-dev fakeroot apt-get build-dep -y debian-installerIt seems that Bug#1037256 will be fixed with supporting compressed font. I don't know how to do it furthermore , but I'm sure that Mr. Cyril Brulebois will handle this issue better. :-) (I thought that creating fake fontconfig cache when building image, then decompress compressed font dynamically might work as just an idea, but it didn't work.) If you would like to tackle fixing d-i issues as a newbie, it might be better to execute "make reallyclean" before rebuilding image not to fall-in pitfalls.
Our Debian User Group met on December 22nd for our last meeting of
2024. I wasn't sure at first it was a good idea, but many people showed up and
it was great!
Here's what we did:
pollo:
etckeeper, mdformat and
python-internetarchivepython-midiutil, antimony, python-pyo, rakarrack, python-pyknon,
soundcraft-utils, cecilia, nasty, gnome-icon-theme-nuovo,
gnome-extra-iconsg, nome-subtitles, timgm6mb-soundfont)
Dear Debian community,
this is bits from DPL for December.
Happy New Year 2025! Wishing everyone health, productivity, and a
successful Debian release later in this year.
Strict ownership of packages
I'm glad my last bits sparked discussions about barriers between
packages and contributors, summarized temporarily in some post on the
debian-devel list. As one participant aptly put it, we need a way
to visibly say, "I'll do the job until someone else steps up".
Based on my experience with the Bug of the Day initiative, simplifying
the process for engaging with packages would significantly help.
Currently we have
Andreas.
Before we proceed, let's emphasize a few things:
As part of their "Defective by Design" anti-DRM campaign, the FSF recently made the following claim:Today, most of the major streaming media platforms utilize the TPM to decrypt media streams, forcefully placing the decryption out of the user's control(from here).
Most of my Debian contributions this month were
sponsored by
Freexian, as well as one direct donation via
Liberapay (thanks!).
OpenSSH
I issued a bookworm
update
with a number of fixes that had accumulated over the last year, especially
fixing GSS-API key exchange which
was
quite
broken in bookworm.
base-passwd
A few months ago, the adduser maintainer started a discussion with me (as
the base-passwd maintainer) and the shadow maintainer about bringing all
three source packages under one team, since they often need to cooperate on
things like user and group names. I agreed, but hadn t got round to doing
anything about it until recently. I ve now officially moved it under team maintenance.
debconf
Gioele Barabucci has been working on eliminating duplicated code between
debconf and cdebconf, ultimately with the goal of migrating to cdebconf
(which I m not sure I m convinced of as a goal, but if we can make
improvements to both packages as part of working towards it then there s no
harm in that). I finally got round to reviewing and merging confmodule
changes in each of
debconf
and
cdebconf.
This caused an installer regression due
to a weirdness in cdebconf-udeb s packaging, which I fixed - sorry about that!
I ve also been dealing with a few patch submissions that had been in my
queue for a long time, but more on that next month if all goes well.
CI issues
I noticed and fixed a problem with Restrictions:
needs-sudo
in autopkgtest.
I fixed broken aptly
images
in the Salsa CI pipeline.
Python team
Last month, I mentioned some progress on
sorting out the multipart vs. python-multipart name conflict in Debian
(#1085728), and said that I thought we d
be able to finish it soon. I was right! We got it all done this month:
intersphinx_mapping
syntax which turned out to
still be in use by many packages in Debian. The fixes for this were
individually trivial, but there were a lot of them:
twisted.internet.defer.returnValue, realized it
was still used in many places in Debian, and went on a PR-filing spree
informed by codesearch to try to reduce
the future impact of such a change on Debian:
make
--shuffle (also see its
author s
explanation).
I fixed associated bugs in cccc (contributed
upstream), groff, and spectemu.
I backported an upstream patch to putty to fix undefined behaviour that
affected use of the small keypad .
I removed groff s Recommends: libpaper1
(#1091375,
#1091376), since it isn t currently all
that useful and was getting in the way of a transition to libpaper2. I
filed an upstream bug suggesting
better integration in this area.
Another short status update of what happened on my side last
month. The larger blocks are the Phosh
0.44 release and landing the
initial Cell Broadcast support in phosh. The rest is all just small
bits of bug, fallout/regression fixing here and there.
phosh
<return> (MR)Recommends: isn't enough for existing installations.--export-dir regression (MR)--toggle (MRvibrate() API to allow e.g.games more haptic control (MR).
This could also be used in browser to implement the vibration API in e.g. Firefox.uscan --download-vesion (MR
Another musical retrospective. If you enjoy this, I also did a 2022 and a
2023 one.
Albums
In 2024, I added 88 new albums to my collection that's a lot!
This year again, I bought the vast majority of my music on Bandcamp. To be
honest, I'm quite distraught by what's become of that website. Although it
stays a wonderful place to buy underground music, Songtradr, the new owner of
the platform, has been shown to be viciously anti-union.
Money continues to ruin the world, I guess.
Concerts
I continued to go to a lot of concerts in 2024 (25!). Over the past 3 years, I
have been going to more and more concerts, and I think I've reached my "peak".
A mean of a concert every two weeks is quite a lot :)
If you also like music and concerts, but find yourself not going to as many as
you would like, the real secret is not to be afraid to go to concerts alone.
Going with friends is always fun, but if I restricted myself to only going to
concerts in a group, I'd barely see a few each year.
Another good advice is to bring a book or something else1 to pass the
time between sets. It can often take 30-45 minutes between sets for the artists
to get their instruments ready, which can get quite boring if you just stand
there and wait.
Anyway, here are the concerts I went to in 2024:
Happy New Year. Spending most of my time in work and family.
Kids are taking my time.
Here are my favourite books and movies that I read and watched throughout 2024.
It wasn't quite the stellar year for books as previous years: few of those books that make you want to recommend and/or buy them for all your friends. In subconscious compensation, perhaps, I reread a few classics (e.g. True Grit, Solaris), and I'm almost finished my second read of War and Peace.
Books
Elif Batuman: Either/Or (2022)
Stella Gibbons: Cold Comfort Farm (1932)
Michel Faber: Under The Skin (2000)
Wallace Stegner: Crossing to Safety (1987)
Gustave Flaubert: Madame Bovary (1857)
Rachel Cusk: Outline (2014)
Sara Gran: The Book of the Most Precious Substance (2022)
Anonymous: The Railway Traveller s Handy Book (1862)
Natalie Hodges: Uncommon Measure: A Journey Through Music, Performance, and the Science of Time (2022)
Gary K. Wolf: Who Censored Roger Rabbit? (1981)
Films Recent releases

https://kde.org/announcements/gear/24.12.0 I hope everyone had a wonderful holiday! Your present from me is shiny new application snaps! There are several new qt6 ports in this release. Please visit https://snapcraft.io/store?q=kde I have also fixed the Krita snap unable to open/save bug. Please test edge! I am continuing work on core24 support and hope to be done before next release. I do look forward to 2025! Begone 2024! If you can help with gas, I still have 3 weeks of treatments to go. Thank you for your continued support. https://gofund.me/573cc38e
_FORTIFY_SOURCE=3 compiler hardening in Arch Linux, for the entire operating system. I wrote lists, tools, patches and my work got me quoted in an Additional Considerations section of the OpenSSF compiler hardening guide for C and C++. There are now more, stricter buffer-overflow checks at runtime that hopefully make your computer harder to exploit in 2025.reproduce.debian.net which is analogous to reproducible.archlinux.org that I also helped create 5 years ago. Reproducing these packages (and allowing anybody else to do the same) proves the binaries have not been backdoored by the build server (or whoever compiled them), and if there s a backdoor, you can likely find it in the source code.
Today I made a new release of my CP/M emulator and I think that maybe now it will run on Microsoft Windows. Unfortunately I cannot test it!
A working CP/M implementation needs to provide facilities for reading input from the console, both reading a complete line of text and individual keystrokes. These input functions need to handle several different types of input:
stty binary to enable/disable echos), but this release adds a more portable solution, based around termbox-go which is the new default, and should allow our emulator to work on Microsoft Windows systems.
We always had the ability to select between a number of different output drivers, and as of this release we can now select between multiple input drivers too - with the new portable option being the default. This has been tested on MacOS X systems, as well as GNU/Linux, but sadly I don't have access to Windows to test that.
Fingers crossed it's all good now though, happy new year!
parted partition editor.
Accessing the content of a partition using a user mounted loop device
This is the easiest procedure and should be tried to first.
Depending if your Linux kernel has support for AHDI partition tables, and the size of the FAT system on the partition, this procedure might not work. In that case, try the procedure using mtools further below.
Attach a disk image called hd80mb.image to a loop device:
$ udisksctl loop-setup --file hd80mb.image
Mapped file hd80mb.image as /dev/loop0
Notice how the kernel detected the partition table:
$ dmesg grep loop0
[160892.151941] loop0: detected capacity change from 0 to 164138
[160892.171061] loop0: AHDI p1 p2 p3 p4
Inspect the block devices created for each partition:
$ lsblk grep loop0
If the partitions are not already mounted by udisks2 under /media/, mount them manually:
$ sudo mount /dev/loop0p1 /mnt/
$ ls /mnt/
SHDRIVER.SYS
When you are finished copying data, unmount the partition, and detach the loop device.
$ sudo umount /mnt
$ udisksctl loop-delete --block-device /dev/loop0
Accessing the content of a partition using mtools and parted
This procedure uses the mtools package and the support for the AHDI partition scheme in the parted partition editor.
Display the partition table, with partitions offsets in bytes:
$ parted st_mint-1.5.img -- unit B print
...
Partition Table: atari
Disk Flags:
Number Start End Size Type File system Flags
1 1024B 133170175B 133169152B primary boot
2 133170176B 266339327B 133169152B primary
3 266339328B 399508479B 133169152B primary
4 399508480B 532676607B 133168128B primary
Set some Atari-friendly mtools options:
$ export MTOOLS_SKIP_CHECK=1
$ export MTOOLS_NO_VFAT=1
List the content of the partition, passing as parameter the offset in bytes of the partition:
For instance here we are interested in the second partition, and the parted output above indicates
that this partition starts at byte offset 133170176 in the disk image.
$ mdir -s -i st_mint-1.5.img@@133170176
Volume in drive : has no label
Directory for ::/
demodata 2024-08-27 11:43
1 file 0 bytes
Directory for ::/demodata
We can also use the command mcopy with a similar syntax to copy data from and to the disk image.
For instance we copy a file named file.zip to the root directory of the second partition:
$ mcopy -s -i st_mint-1.5.img@@133170176 file.zip ::
Recompiling mtools to access large partitions
With disk images having large AHDI partitions (well considered large in 1992 ), you might encounter the error
mdir -s -i cecile-falcon-singlepart-1GB.img@@1024
init: sector size too big
Cannot initialize '::'
This error is caused by the non-standard large logical sectors that the TOS uses for large FAT partitions (see the Atari Hard Disk Filesystem reference on page 41, TOS partitions size)
We can inspect the logical sector size using fsck tools:
$ udiskctl loop-setup --file cecile-falcon-singlepart-1GB.img
$ sudo fsck.fat -Anv /dev/loop0p1
fsck.fat 4.2 (2021-01-31)
...
Media byte 0xf8 (hard disk)
16384 bytes per logical sector
To access the partition, you need to patch mtools, so that it supports a logical sector size of 16384 bytes. For this
you need to change the MAX_SECTOR macro from 8192 to 16384 in msdos.h in the mtools distribution and recompile.
A rebuilt mtools is then able to access the partition:
$ /usr/local/bin/mdir -s -i cecile-falcon-singlepart-1GB.img@@1024
Volume in drive : has no label
Directory for ::/
CECILE SYS 8462 1998-03-27 22:42
NEWDESK INF 804 2024-09-09 9:23
2 files 9 266 bytes
1 072 463 872 bytes free
As I was tired of long build times, so I convinced my boss to buy me a Lenovo Legion pro 7. The reason is: this laptop has an AMD Ryzen 9 7945HX that has 16 cores (32 threads). This reduces a lot the time I have to just wait for my laptop to compile, or run unit tests, especially for big packages like Ceph, OpenVSwitch, and so on.
When buying it, I knew it would not be a good fit for Debian, as this type of laptop is aimed at gaming, and the support under Linux is rather bad. I wish Lenovo had other policies, but that is the way it is: if you re a Linux user, you re not suppose to be needing a big CPU, apparently.
Anyways, I slowly have been able to fix all issues over this year. In this blog post I ll explain how I fixed all problems, in the hope it can be useful to others. And I ll explain what the src:lenovolegionlinux package (that I now maintain in Debian) does.
Video
The laptop comes with an nVidia RTX-4080 and a Radeon. I quickly tried the radeon, but couldn t make it work with an external monitor. So I gave up on it, disabled it, and now I m using the proprietary nVidia driver from non-free. I don t like it: the nVidia card drains too much power, and I don t care at all 3D acceleration. I would have prefer an intel board, but no choice: all laptops with this kind of CPU comes with gamer s 3D card. Anyways, apart from the power issue, it works out well.
Fan control
This sounds like a non-issue, but it is a huge one. Indeed, if not controlling the fan, it is impossible to get the full potential of the CPUs that are otherwise throttling. One may end up using the laptop at a few hundred MHz instead of 5GHz+. More on this later.
Sound
It took me a really long time to figure out what to do. Indeed, while the sound card works out of the box, the issue was that my laptop came with a TI (Texas Instrument) speaker firmware that isn t on by default. I suppose the purpose is to save on power when it isn t in use. Anyways, to have sound working, one need in Debian, to run at least kernel 6.10, which means for me, running the Bookworm backport, so that there s a kernel module for the speakers. But that s not it. The speakers also need a proprietary firmware in /lib/firmware/TAS2XXX38*.bin. I was able to find that in the ti.com forum. As I tried so many packages, I wouldn t be able to tell which one was the correct one. Once that was done, the firmware needs to be initialized through the i2c interface. I could find a script that did that, which I pushed in my lenovolegionlinux package (see below).
WiFi
WiFi worked out of the box for me, just it wouldn t wake up if I closed the laptop lead. This fixed it for me in /etc/modprobe.d/rtw8852be.conf:
options rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=yNext.