Chris Lamb: Free software activities in July 2020
Here is my monthly update covering what I have been doing in the free and open source software world during July 2020 (previous month):
- Opened a pull request to make the build reproducible in PyERFA, a set of Python bindings for various astronomy-related utilities (#45), as well as one for PeachPy assembler to make the output of
codecode/x86_64.pyreproducible (#108).
- As part of being on the board of directors of the Open Source Initiative and Software in the Public Interest I attended their respective monthly meetings and participated in various licensing and other discussions occurring on the internet, as well as the usual internal discussions regarding logistics and policy etc. This month, it was SPI's Annual General Meeting and the OSI has been running a number of remote strategy sessions for the board.
-
Fixed an issue in my tickle-me-email library that implements Getting Things Done (GTD)-like behaviours in IMAP inboxes to ensure that all messages have a unique
Message-Idheader. [...] - Reviewed and merged even more changes by Pavel Dolecek into my Strava Enhancement Suite, a Chrome extension to improve the user experience on the Strava athletic tracker.
-
Updated travis.debian.net, my hosted service for projects that host their Debian packaging on GitHub, to use the Travis CI continuous integration platform) to fix a compatibility issue with the latest version of
mk-build-deps. [...][...]
-
Update the regular expression to search for all the released versions in a
.changesfile. [...] -
Avoid false-positives when matching
sensible-utilsutilities such asi3-sensible-pager. (#966022) -
Rename the
send-patchtag topatch-not-forwarded-upstream. [...] - Drop reminders from 26 tags that false-positives should be reported to Lintian as this is implicit in all our tags. [...]
Reproducible Builds One of the original promises of open source software is that distributed peer review and transparency of process results in enhanced end-user security. However, whilst anyone may inspect the source code of free and open source software for malicious flaws, almost all software today is distributed as pre-compiled binaries. This allows nefarious third-parties to compromise systems by injecting malicious code into ostensibly secure software during the various compilation and distribution processes. The motivation behind the Reproducible Builds effort is to ensure no flaws have been introduced during this compilation process by promising identical results are always generated from a given source, thus allowing multiple third-parties to come to a consensus on whether a build was compromised. The project is proud to be a member project of the Software Freedom Conservancy. Conservancy acts as a corporate umbrella allowing projects to operate as non-profit initiatives without managing their own corporate structure. If you like the work of the Conservancy or the Reproducible Builds project, please consider becoming an official supporter. This month, I:
-
Opened pull requests to make the build reproducible in pyerfa (#45) as well as one for PeachPy to make the output of
codecode/x86_64.pyreproducible (#108). -
In Debian:
- Submitted the following patches to fix reproducibility-related toolchain issues within Debian:
- I also submitted 13 patches to fix specific reproducibility issues in flit, gmap, jskeus, libtpms, logilab-common, mrbayes, numpydoc, pyerfa, python-cooler, python-peachpy, python-pyxs, sratom & weather-util.
-
When investigating packages, I discovered and reported that
dolfinxwas running its test suite even when thenocheckbuild profile was set. (#965946) - Kept isdebianreproducibleyet.com up to date. [...]
- Categorised a large number of packages and issues in the Reproducible Builds 'notes' repository.
- Drafted, published and publicised our monthly report.
- Updated the main Reproducible Builds website and documentation to drop a number of unused Javascript files [...][...][...] and added unminified versions of Bootstrap and jQuery [...] and fixed a number of broken URLs [...][...].
- strip-nondeterminism is our tool to remove specific non-deterministic results from a completed build. This month, I made sure that we did not install the internal handler documentation generated from Perl POD documents [...] and fixed a trivial typo [...].
diffoscope Elsewhere in our tooling, I made the following changes to diffoscope, including preparing and uploading versions
150, 151, 152, 153 & 154 to Debian:
-
New features:
- Add support for flash-optimised F2FS filesystems. (#207)
- Don't require
zipnote(1)to determine differences in a.zipfile as we can uselibarchive. [...] - Allow
--profileas a synonym for--profile=-, ie. write profiling data to standard output. [...] - Increase the minimum length of the output of
strings(1)to eight characters to avoid unnecessary diff noise. [...] - Drop some legacy argument styles:
--exclude-directory-metadataand--no-exclude-directory-metadatahave been replaced with--exclude-directory-metadata= yes,no. [...]
-
Bug fixes:
- Pass the absolute path when extracting members from SquashFS images as we run the command with working directory in a temporary directory. (#189)
- Correct adding a comment when we cannot extract a filesystem due to missing libguestfs module. [...]
- Don't crash when listing entries in archives if they don't have a listed size such as hardlinks in ISO images. (#188)
-
Output improvements:
- Strip off the file offset prefix from
xxd(1)and show bytes in groups of 4. [...] - Don't emit
javap not found in pathif it is available in the path but it did not result in an actual difference. [...] - Fix
... not available in pathmessages when looking for Java decompilers that used the Python class name instead of the command. [...]
- Strip off the file offset prefix from
-
Logging improvements:
- Add a bit more debugging info when launching libguestfs. [...]
- Reduce the
--debuglog noise by truncating thehas_some_contentmessages. [...] - Fix the
compare_fileslog message when the file does not have a literal name. [...]
-
Codebase improvements:
- Rewrite and rename
exit_if_paths_do_not_existto not check files multiple times. [...][...] - Add an
add_commenthelper method; don't mess with our internal list directly. [...] - Replace some simple usages of
str.formatwith Python 'f-strings' [...] and make it easier to navigate to themain.pyentry point [...]. - In the RData comparator, always explicitly return
Nonein the failure case as we return a non-Nonevalue in the success one. [...] - Tidy some imports [...][...][...] and don't alias a variable when we don't end up using. [...]
- Clarify the use of a separate
NullChangesquasi-file to represent missing data in the Debian package comparator [...] and clarify use of a 'null' diff in order to remember an exit code. [...]
- Rewrite and rename
- Misc:
Debian In Debian, I made the following uploads this month:
-
Redis (
6.0.6-1) New upstream release. -
Django:
2.2.14-1New upstream bugfix release.3.1~rc1-1New upstream release candidate.
-
lastpass-cli(1.3.3-4) Fix a build failure under GCC 10. (#957416)
Debian LTS This month I have worked 18 hours on Debian Long Term Support (LTS) and 12 for the Extended LTS project. This included:
- Frontdesk duties, including responding to user/developer questions, reviewing packages, participating in mailing list discussions, offering comments on our survey and attended our IRC contributor meeting. I also made some changes to tools after the move from the Debian version supported [...].
-
Investigated and triaged
atril,ceph,cimg,ffmpeg,golang-github-seccomp-libseccomp-golang,gosa,http-parser,jruby,json-c,jupyter-notebook,keystone,ksh,libjpeg-turbo,libopenmpt,libpam-radius-auth,log4net,mailman,milkytracker,mupdf,pillow,poppler,puma,python-rtslib-fb,roundcube,ruby-zip,salt,slirp,sqlite3,transmission&wordpress. -
Issued DLA 2273-1 for
shiro, first to fix a path-traversal issue where a specially-crafted request could cause an authentication bypass (CVE-2020-1957) and then to fix an encoding issue introduced in the handling of the previous CVE-2020-1957 path-traversal issue which itself could have also caused an authentication bypass (CVE-2020-11989). -
Issued DLA 2274-1 to fix a possible signature verification issue in the fwupd firmware update tool as the return value of
gpgme_op_verify_resultwas not being checked. - Issued DLA 2299-1 and ELA 252-1 in order to prevent a privilege escalation vulnerability discovered in Net-SNMP, a set of tools for collecting and organising information about devices on computer networks.
-
Issued DLA 2300-1 as it was discovered that there was an issue where
kdepim-runtimewould default to using unencrypted POP3 communication despite the user interface indicating that encryption was in use.

At DebConf 17 in Montreal, I gave a talk about Ayatana Indicators [1] and the project's goal to continue the by then already dropped out of maintenance Ubuntu Indicators in a separate upstream project, detached from Ubuntu and its Ubuntu'isms.
Stalling
The whole Ayatana Indicators project received a bit of a show stopper by the fact that the IDO (Indicator Display Object) rendering was not working in vanilla GTK-3 without a certain patch [2] that only Ubuntu has in their GTK-3 package. Addressing GTK developers upstream some years back (after GTK 3.22 had already gone into long term maintenance mode) and asking for a late patch acceptance did not work out (as already assumed). Ayatana Indicators stalled at a level of 90% actually working fine, but those nice and shiny special widgets, like the calendar widget, the audio volume slider widgets, switch widgets, etc. could not be rendered appropriately in GTK based desktop environments (e.g. via MATE Indicator Applet) on other distros than Ubuntu.
I never really had the guts to sit down without a defined ending and find a patch / solution to this nasty problem. Ayatana Indicators stalled as a whole. I kept it alive and defended its code base against various GLib and what-not deprecations and kept it in Debian, but the software was actually partially broken / dysfunctional.
Taking the Dog for a Walk and then It Became all Light+Love
Several days back, I received a mail from Robert Tari [3]. I was outside on a hike with our dog and thought, ah well, let's check emails... I couldn't believe what I read then, 15 seconds later. I could in fact, hardly breathe...
I have known Robert from earlier email exchanges. Robert maintains various "little" upstream projects, like e.g. Caja Rename, Odio, Unity Mail, etc. that I have looked into earlier regarding Debian packaging. Robert is also a Manjaro contributor and he has been working on bringing Ayatana Indicators to Manjaro MATE. In the early days, without knowing Robert, I even forked one of his projects (indicator-notification) and turned it into an Ayatana Indicator.
Robert and I also exchanged some emails about Ayatana Indicators already a couple of weeks ago. I got the sense of him maybe being up to something already then. Oh, yeah!!!
It turned out that Robert and I share the same "love" for the Ubuntu Indicators concept [4]. From his email, it became clear that Robert had spent the last 1-2 weeks drowned in the Ayatana IDO and libayatana-indicator code and worked him self through the bowels of it in order to understand the code concept of Indicators to its very depth.
When emerging back from his journey, he presented me (or rather: the world) a patch [5] against libayatana-indicator that makes it possible to render IDO objects even if a vanilla GTK-3 is installed on the system. This patch is a game changer for Indicator lovers.
When Robert sent me his mail pointing me to this patch, I think, over the past five years, I have never felt more excited (except from the exact moment of getting married to my wife two-to-three years ago) than during that moment when my brain tried to process his email. "Like a kid on Christmas Eve...", Robert wrote in one of his later mails to me. Indeed, like a "kid on Christmas Eve", Robert.
Try It Out
As a proof of all this to the Debian people, I have just done the first release of
Joys of sshfs slave mode.
When I want to have parts of my source tree on remote, I use sshfs slave mode, combined with emacs tramp things look very much integrated.
sshfs interface only has obnoxious -o slave option which makes it talk to stdin/stdout, which needs to be connected to sftp-server from the local host. Using dpipe from vde2 seems to be a popular method to run the tool.
Something like:
dpipe /usr/lib/openssh/sftp-server = ssh hostname sshfs :/directory/to/be/shared ~/mnt/src -o slave
I wish I can limit the visibility from sftp-server but maybe that's okay.




This is part of a series of posts on compiling a custom version of Qt5 in order
to develop for both amd64 and a Raspberry Pi.
More details about the project can be found 








