[Pkg-electronics-devel] Bug#952313: arduino-builder: FTBFS: failed to initialize build cache at /sbuild-nonexistent/.cache/go-build: mkdir /sbuild-nonexistent: permission denied

Logan Rosen logan at ubuntu.com
Sun Apr 5 23:35:21 BST 2020


Package: arduino-builder
Version: 1.3.25-1
Followup-For: Bug #952313
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Hi,

In Ubuntu, the attached patch was applied to achieve the following:

  * Export a writable home directory to fix FTBFS initializing build cache.

Thanks for considering the patch.

Logan

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal
  APT policy: (500, 'focal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-21-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru arduino-builder-1.3.25/debian/rules arduino-builder-1.3.25/debian/rules
--- arduino-builder-1.3.25/debian/rules	2018-03-29 12:01:11.000000000 -0400
+++ arduino-builder-1.3.25/debian/rules	2020-04-05 18:29:35.000000000 -0400
@@ -2,6 +2,7 @@
 
 # Output every command that modifies files on the build system.
 export DH_VERBOSE = 1
+export HOME = $(CURDIR)
 
 EXCLUDED_TESTS := add_build_board_property_if_missing_test.go \
                   builder_test.go \


More information about the Pkg-electronics-devel mailing list