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


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

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

Started bySantiago Vila <sanvila@debian.org>
First post2025-10-05 19:40 +0200
Last post2025-10-18 02:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  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

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

FromSantiago Vila <sanvila@debian.org>
Date2025-10-05 19:40 +0200
SubjectBug#1117417: php-crypt-gpg: FTBFS: The 'homedir' "/sbuild-nonexistent/.gnupg" is not readable or does not exist and cannot be created.
Message-ID<LCASg-2YSH-51@gated-at.bofh.it>
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
--------------------------------------------------------------------------------

[toc] | [next] | [standalone]


#402151 — 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.)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-10-18 02:10 +0200
SubjectBug#1117417: marked as done (php-crypt-gpg: FTBFS: The 'homedir' "/sbuild-nonexistent/.gnupg" is not readable or does not exist and cannot be created.)
Message-ID<LH2Gd-5ZnC-13@gated-at.bofh.it>
In reply to#400503

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 18 Oct 2025 00:05:45 +0000
with message-id <E1v9uS9-009RSl-2B@fasolo.debian.org>
and subject line Bug#1117417: fixed in php-crypt-gpg 1.6.11-2
has caused the Debian Bug report #1117417,
regarding php-crypt-gpg: FTBFS: The 'homedir' "/sbuild-nonexistent/.gnupg" is not readable or does not exist and cannot be created.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1117417: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117417
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web