[FTBFS] gnupg2 ftbfs when writing to $HOME on tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnupg2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently gnupg2 version 2.1.15-1ubuntu7 FTBFS because the opengpg tests try to write into $HOME.
Making check in openpgp
make[3]: Entering directory '/<<PKGBUILDDIR
LC_ALL=C EXEEXT= PATH=..
run-tests.scm version.scm mds.scm decrypt.scm decrypt-dsa.scm sigs.scm sigs-dsa.scm encrypt.scm encrypt-dsa.scm seat.scm clearsig.scm encryptp.scm detach.scm detachm.scm armsigs.scm armencrypt.scm armencryptp.scm signencrypt.scm signencrypt-dsa.scm armsignencrypt.scm armdetach.scm armdetachm.scm genkey1024.scm conventional.scm conventional-
gpg: Fatal: can't create directory '/sbuild-
FAIL: version.scm
gpg: Fatal: can't create directory '/sbuild-
FAIL: mds.scm
gpg: Fatal: can't create directory '/sbuild-
FAIL: decrypt.scm
gpg: Fatal: can't create directory '/sbuild-
One fix is to force GNUPGHOME to point inside the build directory, another option is to upgrade it to a newer release that modified the tests to remove some directory dependencies [1]. The upgrade requires a merge from Debian, creates new packages and changes how gnupg2 interacts with systemd, thus not ideal so close to the release.
tags: | added: artful ftbfs |
Changed in gnupg2 (Ubuntu): | |
status: | New → Fix Committed |
milestone: | none → ubuntu-17.11 |
debdiff that modifies test/opengpg/ Makefile. am to set GNUPGHOME to a directory inside the build dir.