I'd like to thank the entire Debian community for choosing me to represent them as the next Debian Project Leader.
I would also like to thank Mehdi for his tireless service and wish him all the best for the future. It is an honour to be elected as the DPL and I am humbled that you would place your faith and trust in me.
You can read my platform here.
Like each month, here comes a report about the work of paid contributors to Debian LTS.
Individual reports
In March, about 190 work hours have been dispatched among 14 paid contributors. Their reports are available:
Antoine Beaupr did 19 hours (out of 14.75h allocated + 10 remaining hours, thus keeping 5.75 extra hours for April).
Balint Reczey did nothing (out of 14.75 hours allocated + 2.5 hours remaining) and gave back all his unused hours. He took on a new job and will stop his work as LTS paid contributor.
Evolution of the situation
The number of sponsored hours has been unchanged but will likely decrease slightly next month as one sponsor will not renew his support (because they have switched to CentOS).
The security tracker currently lists 52 packages with a known CVE and the dla-needed.txt file 40. The number of open issues continued its slight increase not worrisome yet but we need to keep an eye on this situation.
Thanks to our sponsors
New sponsors are in bold.
Reviews of unreproducible packages
27 package reviews have been added, 14 have been updated and 17 have been removed in this week,
adding to our knowledge about identified issues.
Weekly QA work
During our reproducibility testing, FTBFS bugs have been detected and reported by:
Here's what happened in the Reproducible Builds effort between Sunday March 26 and Saturday April 1 2017:
Media coverage
Sylvain Beucler wrote a follow-up post Practical basics of reproducible builds
2,
which like last weeks
article
is about his experiences making software build reproducibly.
Reproducible work in other projects
Colin Watson started writing a
patch
to make launchpad store .buildinfo files. (It's not yet deployed.)
Toolchain development and fixes
Ximin Luo continued to work on BUILD_PATH_PREFIX_MAP patches for GCC
6 and
dpkg.
Packages reviewed and fixed, and bugs filed
Chris Lamb:
Reviews of unreproducible packages
49 package reviews have been added, 25 have been updated and 42 have been removed in this week,
adding to our knowledge about identified issues.
1 issue type has been updated:
Weekly QA work
During our reproducibility testing, FTBFS bugs have been detected and reported by:
Chris Lamb (4)
Mattia Rizzolo (1)
diffoscope development
diffoscope 81 was uploaded to experimental by Chris Lamb. It included
contributions
from:
Chris Lamb
Correct meaningless "1234-content" metadata when introspecting files
within archives. This was a regression since #854723 due to the use of
auto-incrementing on-disk filenames. (Closes: #858223)
Ximin Luo
Improve ISO9660/DOS/MBR check.
reprotest development
reprotest development continued in git, including
contributions
from:
Ximin Luo:
Preserve directory structure when copying artifacts.
buildinfo.debian.net development
buildinfo.debian.net development continued in git, including
contributions
from:
Chris Lamb:
Tidy rejection of supported formats.
Don't parse "Format:" header as the source package version.
reproducible-website development
Holger switched reproducible-builds.org and www.reproducible-builds.org to
letsencrypt certificates.
Misc.
This week's edition was written by Ximin Luo and Holger Levsen & reviewed by a
bunch of Reproducible Builds folks on IRC & the mailing lists.
Use deb.debian.org over httpredir.debian.org. (commit)
Made a number of improvements to travis.debian.net, my hosted service for projects that host their Debian packaging on GitHub to use the Travis CI continuous integration platform to test builds on every code change) travis.debian.net, including:
Correctly detecting the distribution to build with for some tags. (commit)
Use Lintian from the backports repository where appropriate. (#44)
Don't build upstream/ branches even if they contain .travis.yml files. (commit)
Fixed an issue in django-staticfiles-dotd, my Django staticfiles adaptor to concatentate .d-style directories, where some .d directories were being skipped. This was caused by modifying the contents of a Python list during iteration. (#3)
Performed some miscelleanous cleanups in django12factor, a Django utility to make projects adhere better to the 12-factor web-application philosophy. (#58)
Submitted a pull request for Doomsday-Engine, a portable, enhanced source port of Doom, Heretic and Hexen, to make the build reproducible (#16)
Created a pull request for gdata-python-client (a Python client library for Google APIs) to make the build reproducible. (#56)
Authored a pull request for the MochaJS JavaScript test framework to make the build reproducible. (#2727)
Filed a pull request against vine, a Python promises library, to avoid non-determinstic default keyword argument appearing in the documentation. (#12)
Filed an issue for the Redis key-value database addressing build failures on the MIPS architecture. (#3874)
Submitted a bug report against xdotool a tool to automate window and keyboard interactions reporting a crash when searching after binding an action with behave. (#169)
Reviewed a pull request from Dan Palmer for django-email-from-template, a library to send emails in Django generated entirely from the templating system, which intends to add an option to send mails upon transaction commit.
Reproducible builds
Whilst anyone can inspect the source code of free software for malicious flaws, most software is distributed pre-compiled to end users.
The motivation behind the Reproducible Builds effort is to permit verification that no flaws have been introduced either maliciously or accidentally 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.
I have generously been awarded a grant from the Core Infrastructure Initiative to fund my work in this area.
This month I:
Submitted the following patches to fix reproducibility-related toolchain issues within Debian:
3:3.2.8-2 Avoid conflict between RuntimeDirectory and tmpfiles.d(5) both attempting to create /run/redis with differing permissions. (#856116)
3:3.2.8-3 Revert the creation of a /usr/bin/redis-check-rdb to /usr/bin/redis-server symlink to avoid a dangling symlink if only the redis-tools package is installed. (#858519)
gunicorn19.7.0-1 & 19.7.1-1 New upstream releases.
cpio (2.12+dfsg-4) Add missing autoconf to Build-Depends (#855572)
pygoocanvas (0.14.1-1.2) Make the build reproducible (#828222), add docbook-xml to Build-Depends (#628813), re-add demo files (#450577), and update URL in debian/copyright (#693270).
Welcome to the 100th issue of this weekly news! We hope you have been enjoying our posts and would love to receive some feedback via our mailing list!
Anyway, here's what happened in the Reproducible Builds effort between Sunday March 19 and Saturday March 25 2017:
Reproducible Builds Hackathon Hamburg 2017
The Reproducible Builds Hamburg Hackathon
2017 (or
RB-HH-2017 for short) is a 3-day hacking event taking place May 5th-7th in the CCC Hamburg
Hackerspace inside Frappant, as collective art space located witin a
historical monument in Hamburg, Germany. The event is open to everyone and
we still have some free seats. If you wish to attend, please register your
interest as soon as possible.
Media coverage
Matthew Garrett published a blog post announcing the Shim review process. One interesting detail in the current recommendations is that they expect the builds to be "bit-for-bit" reproducible assuming the same toolchain and gnu-efi. This currently does not extend to the randomly generated embedded certificate though they also plan to address that soon.
Vagrant Cascadian presented Verifying Software Freedom with Reproducible Builds at
Libreplanet2017 in Boston on March 25th.
Ximin Luo, Vagrant Cascadian and Valerie Young held a workshop called You,
too, can write reproducible software! at
Libreplanet2017 in Boston on March 25th.
Packages reviewed and fixed, and bugs filed
Chris Lamb:
Reviews of unreproducible packages
30 package reviews have been added, 13 have been updated and 2 have been removed in this week,
adding to our knowledge about identified issues.
Weekly QA work
During our reproducibility testing, FTBFS bugs have been detected and reported by:
It's that time of year again for the Debian Project: the elections of
its Project Leader!
The Project Leader position is described in
the Debian Constitution.
Two Debian Developers run this year to become Project Leader:
Mehdi Dogguy,
who has held the office for the last year,
and Chris Lamb.
We are in the middle of the campaigning period that will last until
the end of April 1st. The candidates and Debian contributors
are already engaging in debates and discussions on
the debian-vote mailing list.
The voting period starts on April 2nd, and during the following two
weeks, Debian Developers can vote to choose the person
that will fit that role for one year.
The results will be published on April 16th
with the term for new the project leader starting the following day.
Verifying Software Freedom with Reproducible Builds will be presented
by Vagrant Cascadian at
Libreplanet2017 in Boston, March
25th.
You, too, can write reproducible software! workshop by Ximin Luo,
Vagrant Cascadian and Valerie Young at
Libreplanet2017 in Boston, March
25th.
Reproducible Builds Hackathon Hamburg 2017
The Reproducible Builds Hamburg Hackathon
2017, or
RB-HH-2017 for short is a 3 day hacking event taking place May 5th-7th in the CCC Hamburg
Hackerspace located inside Frappant, as collective art space located in a
historical monument in Hamburg, Germany.
The aim of the hackathon is to spent some days working on Reproducible Builds
in every distribution and project. The event is open to anybody interested on
working on Reproducible Builds issues, with or without prior experience!
Accomodation is available and travel sponsorship may be available by agreement.
Please register your interest as soon as possible.
Reproducible Builds Summit Berlin 2016
This is just a quick note, that all the pads we've
written during the
Berlin summit in December
2016 are now online
(thanks to Holger), nicely complementing the report by Aspiration
Tech.
Request For Comments for new specification: BUILD_PATH_PREFIX_MAP
Ximin Luo posted a draft
version of our
BUILD_PATH_PREFIX_MAP specification for passing build-time paths between
high-level and low-level build tools. This is meant to help eliminate
irreproducibility caused by different paths being used at build time. At the
time of writing, this affects an estimated 15-20% of 25000 Debian packages.
This is a continuation of an older proposal SOURCE_PREFIX_MAP, which has been
updated based on feedback on our patches from GCC upstream, attendees of our
Berlin 2016 summit, and participants on our mailing list. Thanks to everyone
that contributed!
The specification also contains runnable source code examples and test cases;
see our git
repo.
Please comment on this draft ASAP - we plan to release version 1.0 of this in a
few weeks.
Toolchain changes
#857632 apt: ignore the currently running kernel if attempting a reproducible build (Chris Lamb)
#857803 shadow: Make the sp_lstchg shadow field reproducible. (Chris Lamb)
#857892 fontconfig: please make the cache files reproducible (Chris Lamb)
Packages reviewed and fixed, and bugs filed
Chris Lamb:
Reviews of unreproducible packages
5 package reviews have been added, 274 have been updated and 800 have been
removed in this week, adding to our knowledge about identified
issues.
1 issue type has been added:
Weekly QA work
During our reproducibility testing, FTBFS bugs have been detected and reported
by:
Chris Lamb (5)
Mattia Rizzolo (1)
diffoscope development
diffoscope 79 and 80 were uploaded to experimental by Chris Lamb. It included
contributions
from:
Chris Lamb:
Ensure that we really are using ImageMagick. (Closes: #857940)
Extract SquashFS images in one go rather than per-file, speeding up (eg.)
Tails ISO comparison by ~10x.
Support newer versions of cbfstool to avoid test failures.
(Closes: #856446)
Skip icc test that varies on endian if the Debian-specific patch is not
present. (Closes: #856447)
Compare GIF images using gifbuild. (Closes: #857610)
Various other code quality, build and UI improvements.
Maria Glukhova:
Improve AndroidManifest.xml comparison for APK files. (Closes: #850758)
strip-nondeterminism development
strip-nondeterminism 0.032-1 was uploaded to unstable by Chris Lamb. It
included
contributions
from:
Chris Lamb:
Fix a possible endless loop while stripping ar files due to trusting the
file's file size data. Thanks to Tobias Stoeckmann for the report, patch
and testcase. (Closes: #857975)
Add support for testing files we should reject.
tests.reproducible-builds.org
The challenge for 100% reproducible BSD continues: currently it's 99.6%
for FreeBSD and 98.1% for
NetBSD. In both cases this
is just for their base system, without any ports built yet.
Some more tuning was done on IRC notifications by Holger.
For testing Debian, diffoscope from experimental is now used, if available.
(Holger too)
Updated PyPI version check for diffoscope (Chris Lamb)
Misc.
This week's edition was written by Ximin Luo, Holger Levsen and Chris Lamb &
reviewed by a bunch of Reproducible Builds folks on IRC & the mailing lists.
Like each month, here comes a report about the work of paid contributors to Debian LTS.
Individual reports
In January, about 154 work hours have been dispatched among 13 paid contributors. Their reports are available:
Antoine Beaupr did 3 hours (out of 13h allocated, thus keeping 10 extra hours for March).
Balint Reczey did 13 hours (out of 13 hours allocated + 1.25 hours remaining, thus keeping 1.25 hours for March).
Ben Hutchings did 19 hours (out of 13 hours allocated + 15.25 hours remaining, he gave back the remaining hours to the pool).
Evolution of the situation
The number of sponsored hours increased slightly thanks to Bearstech and LiHAS joining us.
The security tracker currently lists 45 packages with a known CVE and the dla-needed.txt file 39. The number of open issues continued its slight increase, this time it could be explained by the fact that many contributors did not spend all the hours allocated (for various reasons). There s nothing worrisome at this point.
Thanks to our sponsors
New sponsors are in bold.
Verifying Software Freedom with Reproducible Builds will be presented
by Vagrant Cascadian at
Libreplanet2017 in Boston, March
25th.
You, too, can write reproducible software! workshop by Ximin Luo,
Vagrant Cascadian and Valerie Young at
Libreplanet2017 in Boston, March
25th.
Reproducible Builds Hackathon Hamburg
The Reproducible Builds Hamburg Hackathon 2017, or RB-HH-2017 for short, is a 3 day hacking event taking place in the CCC Hamburg Hackerspace located inside the Frappant, which is collective art space located in a historical monument in Hamburg, Germany.
The aim of the hackathon is to spent some days working on Reproducible Builds in every distribution and project. The event is open to anybody interested on working on Reproducible Builds issues in any distro or project, with or without prio experience!
Packages filed
Chris Lamb:
Guillem Jover uploaded dpkg 1.18.23 to unstable, declaring .buildinfo format 1.0 as "stable".
Jams McCoy uploaded devscripts 2.17.2 to unstable addingd support for .buildinfo files to the debsign utility via patches from Ximin Luo and Guillem Jover.
Reviews of unreproducible packages
39 package reviews have been added, 7 have been updated and 9 have been removed in this week,
adding to our knowledge about identified issues.
2 issue types have been added:
Hans-Christoph Steiner gave a progress report on testing F-Droid: we now have a complete vagrant workflow working in nested KVM! So we can provision a new KVM guest, then package it using vagrant box all inside of a KVM guest (which is a profitbricks build node). So we finally have a working setup on jenkins.debian.net. Next up is fixing bugs in our libvirt snapshoting support.
Then Hans-Christoph was also able to enable building of all F-Droid apps in our setup, though this is still work in progress
Daniel Shahaf spotted a subtile error in our FreeBSD sudoers configuration and as a result the FreeBSD reproducibility results are back.
Holger once again adjusted the Debian armhf scheduling frequency, to cope with the ever increasing amount of armhf builds.
Mattia spotted a refactoring error which resulted in no maintenance mails for a week.
Holger also spent some time on improving IRC notifications further, though there is still some improvements to be made.
Misc.
This week's edition was written by Chris Lamb, Holger Levsen, Vagrant Cascadian & reviewed by a bunch of Reproducible Builds folks on IRC & the mailing lists.
Reviews of unreproducible packages
60 package reviews have been added, 8 have been updated and 13 have been
removed in this week, adding to our knowledge about identified
issues.
1 issue type has been added:
Holger Levsen adjusted the Debian builders scheduling frequency, mostly to adopt to armhf having become faster due to the two new nodes.
Misc.
This week's edition was written by Ximin Luo, Chris Lamb, Holger Levsen & reviewed by a bunch of
Reproducible Builds folks on IRC & the mailing lists.
Here is my monthly update covering what I have been doing in the free software world (previous month):
Submitted a number of pull requests to the Django web development framework:
Add a --mode=unified option to the "diffsettings" management command. (#8113)
Fix a crash in setup_test_environment() if ALLOWED_HOSTS is a tuple. (#8101)
Use Python 3 "shebangs" now that the master branch is Python 3 only. (#8105)
URL namespacing warning should consider nested namespaces. (#8102)
Created an experimental patch against the Python interpreter in order to find reproducibility-related assumptions in dict handling in arbitrary Python code. (#29431)
Filed two issues against dh-virtualenv, a tool to package Python virtualenv environments in Debian packages:
Fix "upgrage-pip" typo in usage documentation. (#195)
Missing DH_UPGRADE_SETUPTOOLS equivalent for dh_virtualenv (#196)
Reviewed and merged a pull request by @jheld for django-slack (my library to easily post messages to the Slack group-messaging utility) to support per-message backends and channels. (#63)
Created a pull request for django-two-factor-auth, a complete Two-Factor Authentication (2FA) framework for projects using the Django web development framework to drop use of the @lazy_property decorator to ensure compatibility with Django 1.11. (#195)
Filed, triaged and eventually merged a change from @evgeni to fix an autopkgtest-related issue in travis.debian.net, my hosted service for projects that host their Debian packaging on GitHub to use the Travis CI continuous integration platform to test builds on every code change) travis.debian.net. (#41)
Submitted a pull request against social-core a library to allow Python applications to authenticate against third-party web services such as Facebook, Twitter, etc. to use the more-readable X if Y else Z construction over Y and X or Z. (#44)
Filed an issue against freezegun (a tool to make it easier to write Python tests involving times) to report that dateutils was missing from requirements.txt. (#173)
Submitted a pull request against the Hypothesis "QuickCheck"-like testing framework to make the build reproducible. (#440)
Fixed an issue reported by @davidak in trydiffoscope (a web-based version of the diffoscope in-depth and content-aware diff utility) where the maximum upload size was incorrectly calculated. (#22)
Created a pull request for the Mars Simulation Project to remove some embedded timestamps from the changelog.gz and mars-sim.1.gz files in order to make the build reproducible. (#24)
Filed a bug against the cpio archiving utility to report that the testsuite fails when run in the UTC +1300 timezone. (Thread)
Submitted a pull request against the "pnmixer" system-tray volume mixer in order to make the build reproducible. (#153)
Sent a patch to Testfixtures (a collection of helpers and mock objects that are useful when writing Python unit tests or doctests) to make the build reproducible. (#56)
Whilst anyone can inspect the source code of free software for malicious flaws, most software is distributed pre-compiled to end users.
The motivation behind the Reproducible Builds effort is to permit verification that no flaws have been introduced either maliciously or accidentally 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.
(I have been awarded a grant from the Core Infrastructure Initiative to fund my work in this area.)
This month I:
Issued DLA 817-1 for libphp-phpmailer, correcting a local file disclosure vulnerability where insufficient parsing of HTML messages could potentially be used by attacker to read a local file.
Issued DLA 826-1 for wireshark which fixes a denial of service vulnerability in wireshark, where a malformed NATO Ground Moving Target Indicator Format ("STANAG 4607") capture file could cause a memory exhausion/infinite loop.
Uploads
python-django (1:1.11~beta1-1) New upstream beta release.
Thanks to Ed Maste, FreeBSD base system reached 99.6% too, after he'd seen the news about NetBSD. This too has been achieved using non-default settings and is to be considered merely as a "hey we can do that too" (though Ed is slightly sad they missed 100%). The real plan is still to achieve 100% reproducibility with default settings.
Reviews of unreproducible packages
9 package reviews have been added, 3 have been updated and 1 has been removed in this week,
adding to our knowledge about identified issues.
Weekly QA work
During our reproducibility testing, the following FTBFS bugs have been detected and
reported by:
Chris Lamb (4)
diffoscope development
diffoscope is our in-depth and content-aware diff
utility that can locate and diagnose reproducibility issues.
diffoscope 77 was unblocked by the release team for stretch.
Mattia Rizzolo uploaded 77~bpo8+1 to jessie-backports.
buildinfo.debian.net development
buildinfo.debian.net is our experiment into how to
process, store and distribute .buildinfo files after the Debian archive
software has processed them.
Ed Maste made the upcoming FreeBSD release almost 100% reproducible (see above).
Holger Levsen added the number of configured and running builder jobs to the performance stats page.
Holger Levsen improved the scheduler, so that untested packages and versions are tried sooner.
Holger added logging for submitting .buildinfo files to buildinfo.debian.net and added notification about this failure.
Holger also made some minor improvements to the generated HTML.
Misc.
This week's edition was written by Chris Lamb, Ed Maste & Levsen and reviewed by a bunch of Reproducible Builds folks on IRC & the mailing lists.
Here's what happened in the Reproducible
Builds effort between Sunday
February 12 and Saturday February 18 2017:
Upcoming Events
The Reproducible Build
Zoo
will be presented by Vagrant Cascadian at the Embedded Linux Conference in
Portland, Oregon, February 22nd.
Introduction to Reproducible
Builds
will be presented by Vagrant Cascadian at Scale15x in Pasadena, California,
March 5th.
Toolchain development and fixes
Ximin Luo posted a preliminary
spec
for BUILD_PATH_PREFIX_MAP, bringing together work and research from previous
weeks.
Ximin refactored and consolidated much of our existing documentation on both
SOURCE_DATE_EPOCH and BUILD_PATH_PREFIX_MAP into one unified page,
Standard Environment
Variables,
with extended discussion on related solutions and how these all fit into
people's ideas of what reproducible builds should look like in the long term.
The specific pages for each variable still remain, at Timestamps
Proposal and
Build Path
Proposal, only
without content that was previously duplicated on both pages.
Ximin filed #855282 against devscripts for debsign(1) to
support buildinfo files, and wrote an initial series of
patches
for it with some further additions from Guillem Jover.
Packages reviewed and fixed, and bugs filed
Chris Lamb:
Reviews of unreproducible packages
35 package reviews have been added, 1 have been updated and 17 have been
removed in this week, adding to our knowledge about identified
issues.
1 issue type has been added:
When extracting archives, try to keep directory sizes small
strip-nondeterminism development
strip-nondeterminism 0.031-1 was uploaded to unstable by Chris Lamb. It included contributions from:
Chris Lamb:
Make the tests less brittle, by not testing for stat(2) blksize and blocks.
#854937
strip-nondeterminism 0.031-1~bpo8+1 was uploaded to jessie-backports by Mattia.
tests.reproducible-builds.org
Vagrant Cascadian and Holger Levsen set up two new armhf nodes, p64b and p64c
running on pine64 boards with an arm64 kernel and armhf userland. This
introduces kernel variations to armhf. New setup & maintenance jobs were set
up too, plus 6 new builder jobs for armhf.
Misc.
This week's edition was written by Ximin Luo & reviewed by a bunch of
Reproducible Builds folks on IRC & the mailing lists.
Reviews of unreproducible packages
83 package reviews have been added, 8 have been updated and 32 have been removed in this week,
adding to our knowledge about identified issues.
5 issue types have been added:
Like each month, here comes a report about the work of paid contributors to Debian LTS.
Individual reports
In January, about 159 work hours have been dispatched among 13 paid contributors. Their reports are available:
Evolution of the situation
The number of sponsored hours increased slightly thanks to Exonet joining us.
The security tracker currently lists 37 packages with a known CVE and the dla-needed.txt file 36. The situation is roughly similar to last month even though the number of open issues increased slightly.
Thanks to our sponsors
New sponsors are in bold.
Here's what happened in the Reproducible
Builds effort between Sunday
January 29 and Saturday February 4 2017:
Media coverage
Dennis Gilmore and Holger Levsen presented "Reproducible Builds and Fedora"
(Video,
Slides)
at Devconf.cz on February 27th 2017.
On February 1st,
stretch/armhf
reached 90% reproducible packages in our test framework, so that now all four
tested architectures are 90% reproducible in stretch. Yay! For armhf this
means 22472 reproducible source packages (in main); for amd64, arm64 and i386
these figures are 23363, 23062 and 22607 respectively.
Chris Lamb appeared on the Changelog
podcast to talk about reproducible builds:
Holger Levsen pitched Reproducible Builds and our need for a
logo in the "Open Source Design"
room at FOSDEM 2017
(Video,
09:36 - 12:00).
Upcoming Events
The Reproducible Build
Zoo
will be presented by Vagrant Cascadian at the Embedded Linux Conference in
Portland, Oregon, February 22nd.
Verifying Software Freedom with Reproducible Builds will be
presented by Vagrant Cascadian at
Libreplanet2017 in Boston,
March 25th-26th.
Reproducible work in other projects
We learned that the "slightly more secure" Heads
firmware (a Coreboot payload) is now
reproducibly built regardless of host system or build
directory.
A picture says more than a thousand words:
Docker started preliminary work
on making image builds reproducible.
Toolchain development and fixes
Ximin Luo continued to write code and test
cases for the
BUILD_PATH_PREFIX_MAP environment variable. He also did extensive research on
cross-platform and cross-language issues with enviroment variables, filesystem
paths, and character encodings, and started preparing a draft specification
document to describe all of this.
Chris Lamb asked CPython to implement an environment variable
PYTHONREVERSEDICTKEYORDER to add an
an option to reverse iteration order of items in a dict. However this was
rejected because they are planning to formally fix this order in the next
language version.
Bernhard Wiedemann and Florian Festi added
support for our
SOURCE_DATE_EPOCH environment variable, to the RPM Package Manager.
James McCoy uploaded devscripts 2.17.1 with a change from Guillem
Jover for dscverify(1), adding support for .buildinfo files. (Closes: #852801)
Piotr O arowski uploaded dh-python 2.20170125 with a change from Chris
Lamb for a patch to fix #835805.
Chris Lamb added documentation to diffoscope, strip-nondeterminism, disorderfs,
reprotest and trydiffoscope about uploading signed tarballs when releasing. He
also added a link to these on our website's tools
page.
Packages reviewed and bugs filed
Bugs filed:
Reviews of unreproducible packages
83 package reviews have been added, 86 have been updated and 276 have been
removed in this week, adding to our knowledge about identified
issues.
2 issue types have been updated:
Weekly QA work
During our reproducibility testing, the following FTBFS bugs have been detected
and reported by:
Chris Lamb (6)
diffoscope development
Work on the next version (71) continued in git this week:
Mattia Rizzolo:
Override a lintian warning.
Chris Lamb:
Update and consolidate documentation
Many test additions and improvements
Various code quality and software architecture improvements
anthraxx:
Update arch package, cdrkit -> cdrtools.
reproducible-website development
Daniel Shahaf added more notes on our "How to chair a
meeting"
document.
tests.reproducible-builds.org
Holger unblacklisted pspp and tiledarray. If you think
further packages should also be unblacklisted (possibly only on some
architectures), please tell us.
Misc.
This week's edition was written by Ximin Luo, Holger Levsen and Chris Lamb &
reviewed by a bunch of Reproducible Builds folks on IRC & the mailing lists.
Whilst I am an avid podcast listener, this was actually my first appearance on one. It was an curious and somewhat disconcerting feeling to be "just" talking to Adam and Jerod in the moment yet knowing all the time that anything and everything I said would be distributed more widely in the future.
Here is my monthly update covering what I have been doing in the free software world (previous month):
Created github-sync, a tool to mirror arbitrary repositories onto GitHub.
Submitted two pull requests to the word-wrap Chrome browser extension that adds the ability to wrap text via the right-click context menu:
Support dynamically-added <textarea> elements in "rich" Javascript applications such as mail clients, etc. (#2)
Avoid an error message if no "editable" has been selected yet. (#1)
Submitted a pull request to wordwarvi (a "retro-styled old school side-scrolling shooter") to ensure the build is reproducible. (#5)
Filed a pull request with the yard Ruby documentation tool to ensure the generated output is reproducible. (#1048)
Made some improvements to travis.debian.net, my hosted service for projects that host their Debian packaging on GitHub to use the Travis CI continuous integration platform to test builds on every code change:
Merged a pull request from Evgeni Golov to allow for skipped tests. (#39)
Merged a pull request from jwilk for python-fadvise my Python interface to the posix_fadvise(2) interface to predeclare an pattern for accessing data. (#6)
Filed an issue against the redis key-value database regarding build failures on non-x86 architectures. (#3768)
Reproducible builds
Whilst anyone can inspect the source code of free software for malicious flaws, most software is distributed pre-compiled to end users.
The motivation behind the Reproducible Builds effort is to permit verification that no flaws have been introduced either maliciously or accidentally 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.
(I have previously been awarded a grant from the Core Infrastructure Initiative to fund my work in this area.)
This month I:
Presented Reproducible Builds: Two years in the trenches at linux.conf.au, Hobart, Australia. (YouTube)
Recorded an episode of the Changelog podcast on Reproducible Builds. It is scheduled to go live in early February.
Submitted the following patches to fix reproducibility-related toolchain issues within Debian:
Correctly escape value of href="" elements (re. #849411).
Tests:
Prevent FTBFS by loading fixtures as UTF-8 in case surrounding terminal is not Unicode-aware. (Closes: #852926).
Skip tests if binutils can't handle the object file format. (Closes: #851588).
Actually compare the output of text/ReST/Markdown formats to fixtures.
Add tests for: Comparing two empty directories, HTML output, image.ICOImageFile, --html-dir, --text-color & no arguments (beyond the filenames) emits the text output.
Profiling:
Count the number of calls, not just the total time.
Skip as much profiling overhead when not enabled for a ~2% speedup.
Misc:
Alias an expensive Config() lookup for a 10% optimisation.
Avoid expensive regex creation until we actually need it, speeding up diff parsing by 2X.
Use Pythonic logging functions based on __name__, etc.
Drop milliseconds from logging output.
buildinfo.debian.net
buildinfo.debian.net is my experiment into how to process, store and distribute .buildinfo files after the Debian archive software has processed them.
Store files directly onto S3.
Drop big unique_together index to save disk space.
Show SHA256 checksums where space permits.
Debian LTS
This month I have been paid to work 12.75 hours on Debian Long Term Support (LTS). In that time I did the following:
"Frontdesk" duties, triaging CVEs, etc.
Issued DLA 773-1 for python-crypto fixing a vulnerability where calling AES.new with an invalid parameter could crash the Python interpreter.
Issued DLA 777-1 for libvncserver addressing two heap-based buffer overflow attacks based on invalid FramebufferUpdate data.
Issued DLA 778-1 for pcsc-lite correcting a use-after-free vulnerability.
Issued DLA 795-1 for hesiod which fixed a weak SUID check as well as removed the hard-coding of a fallback domain if the configuration file could not be found.
Issued DLA 810-1 for libarchive fixing a heap buffer overflow.
1:1.11~alpha1-1 New upstream experimental release.
gunicorn (19.6.0-10) Moved debian/README.Debian to debian/NEWS so that the recent important changes will be displayed to users when upgrading to stretch.
3:3.2.6-2 & 4:4.0-rc2-2 Tidy patches and rename RunTimeDirectory to RuntimeDirectory in .service files. (Closes: #850534)
3:3.2.6-3 Remove a duplicate redis-server binary by symlinking /usr/bin/redis-check-rdb. This was found by the dedup service.
3:3.2.6-4 Expand the documentation in redis-server.service and redis-sentinel.service regarding the default hardening options and how, in most installations, they can be increased.
3:3.2.6-5, 3:3.2.6-6, 4:4.0-rc2-3 & 4:4.0-rc2-4 Add taskset calls to try and avoid build failures due to parallelism in upstream test suite.
Always set SOURCE_DATE_EPOCH in dpkg-buildpackage and dpkg-source. Use the current date if the changelog does not have one. Closes: #849081
Add initial support for DEB_BUILD_OPTIONS to dpkg-genbuildinfo. This will make it possible to enable or disable specific features that should be recorded in the .buildinfo file. For now only all and path are supported. Closes: #848705
Include .buildinfo files also for source-only uploads in dpkg-genchanges. Closes: #846164
Add support for signed .buildinfo files to dpkg-buildpackage. Add new -ui and --unsigned-buildinfo options. Closes: #843925
Make dpkg-buildpackage --unsigned-changes not sign .buildinfo either. This breaks the expectations of users and tools, because there was no way previously to request no signing at all. Closes: #852822
Packages reviewed and fixed, and bugs filed
Chris Lamb:
Reviews of unreproducible packages
17 package reviews have been added, 4 have been updated and 6 have been removed in this week,
adding to our knowledge about identified issues.
2 issue types have been added:
h01ger experimented with reusing SSH control connections but stopped that experiment when we ran into more network issues than before. To be continued, as we're having 10k SSH connections per day and saving 2 seconds each time would sum up, especially on the Jenkins host itself.
h01ger made the scheduler run 3 times a day, 2.5h after dinstall runs, instead of every 3h as before.
h01ger also unblacklisted xmds2, sofia-sip and ck - if you think other packages should be unblacklisted (maybe only on some architectures), please do tell us.
Misc.
This week's edition was written by Chris Lamb and Holger Levsen & reviewed by a bunch of Reproducible Builds folks on IRC & the mailing lists.