Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #400503

Bug#1117417: php-crypt-gpg: FTBFS: The 'homedir' "/sbuild-nonexistent/.gnupg" is not readable or does not exist and cannot be created.

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1117417: php-crypt-gpg: FTBFS: The 'homedir' "/sbuild-nonexistent/.gnupg" is not readable or does not exist and cannot be created.
Date 2025-10-05 19:40 +0200
Message-ID <LCASg-2YSH-51@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: src:php-crypt-gpg
Version: 1.6.11-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:php-crypt-gpg, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=phppear --with phppear
   dh_auto_clean -O--buildsystem=phppear
	rm -f ./Crypt_GPG-1.6.11/package.xml
   dh_autoreconf_clean -O--buildsystem=phppear
   dh_clean -O--buildsystem=phppear
 debian/rules binary
dh binary --buildsystem=phppear --with phppear
   dh_update_autotools_config -O--buildsystem=phppear
   dh_autoreconf -O--buildsystem=phppear
   dh_auto_configure -O--buildsystem=phppear
	cp package.xml ./Crypt_GPG-1.6.11/package.xml
	sed -i -e s/md5sum=\"\[^\"\]\*\"// -e s/sha1sum=\"\[^\"\]\*\"// ./Crypt_GPG-1.6.11/package.xml
   dh_auto_build -O--buildsystem=phppear
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# without --process-isolation there is a weird race condition
# causing the tests to fails GnuPG when can't use /run/user/ID as
# socket directory (for instance because it's not there) and uses
# its homedir as fallback -- removing the GNUPGHOME between each
# test seems to cause problems when it contains the agent socket
phpunit --include-path Crypt_GPG-*/ Crypt_GPG-*/tests \
	--process-isolation --exclude-group write
PHPUnit 12.4.0 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.11

........................................................S......  63 / 296 ( 21%)
..........................D........D...................E....... 126 / 296 ( 42%)
...............................SSSSSSSSDD........DD............ 189 / 296 ( 63%)
............................................................... 252 / 296 ( 85%)
............................................                    296 / 296 (100%)PHP Warning:  file_put_contents(/usr/bin/.phpunit.result.cache): Failed to open stream: Permission denied in /usr/share/php/PHPUnit/Runner/ResultCache/DefaultResultCache.php on line 153


Time: 01:53.804, Memory: 10.00 MB

There was 1 error:

1) GeneralTest::testSetEngine
Crypt_GPG_FileException: The 'homedir' "/sbuild-nonexistent/.gnupg" is not readable or does not exist and cannot be created. This can happen if 'homedir' is not specified in the Crypt_GPG options, Crypt_GPG is run as the web user, and the web user has no home directory.

/<<PKGBUILDDIR>>/Crypt_GPG-1.6.11/Crypt/GPG/Engine.php:497
/<<PKGBUILDDIR>>/Crypt_GPG-1.6.11/Crypt/GPGAbstract.php:256
/<<PKGBUILDDIR>>/Crypt_GPG-1.6.11/tests/GeneralTest.php:149

ERRORS!
Tests: 296, Assertions: 937, Errors: 1, Deprecations: 1, PHPUnit Deprecations: 4, Skipped: 9.
make[1]: *** [debian/rules:11: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1117417: php-crypt-gpg: FTBFS: The 'homedir' "/sbuild-nonexistent/.gnupg" is not readable or does not exist and cannot be created. Santiago Vila <sanvila@debian.org> - 2025-10-05 19:40 +0200
  Bug#1117417: marked as done (php-crypt-gpg: FTBFS: The 'homedir'  "/sbuild-nonexistent/.gnupg" is not readable or does not exist and cannot  be created.) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-10-18 02:10 +0200

csiph-web