Source: sbcl
Version: 2:2.6.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: powerpc ppc64
X-Debbugs-Cc: [email protected]
Hi,
I have modified both debian/control and debian/rules to add a bootstrap profile
to
the sbcl package allowing it to be bootstrapped with
--profile=pkg.sbcl.bootstrap
when using sbuild.
I have verified it to work on ppc64.
Could you please apply this patch so I can rebootstrap sbcl for armhf?
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
diff -Nru debian.orig/control debian/control
--- debian.orig/control 2025-12-29 10:30:38.000000000 -0800
+++ debian/control 2026-01-04 03:59:52.057013387 -0800
@@ -8,8 +8,9 @@
debhelper (>= 12.8~),
# Arch list to keep in sync with debian/rules
clisp [!amd64 !arm64 !armel !armhf !i386 !kfreebsd-amd64
!powerpc !ppc64 !ppc64el !sh4],
+ clisp [amd64 arm64 armel armhf i386 kfreebsd-amd64 powerpc
ppc64 ppc64el !sh4] <pkg.sbcl.bootstrap>,
ecl [sh4],
- sbcl [amd64 arm64 armel armhf i386 kfreebsd-amd64 powerpc ppc64
ppc64el],
+ sbcl [amd64 arm64 armel armhf i386 kfreebsd-amd64 powerpc ppc64
ppc64el] <!pkg.sbcl.bootstrap>,
sbcl-source,
texinfo,
libzstd-dev,
diff -Nru debian.orig/rules debian/rules
--- debian.orig/rules 2025-12-29 10:30:38.000000000 -0800
+++ debian/rules 2026-01-04 04:18:02.170490996 -0800
@@ -9,7 +9,8 @@
# Those lists must be kept in sync with the Build-Depends field.
# As soon as a new arch is bootstrapped, the lists should be updated.
# See https://bugs.debian.org/954031
-ifeq (,$(filter amd64 arm64 armel armhf i386 kfreebsd-amd64 powerpc ppc64
ppc64el, $(DEB_HOST_ARCH)))
+
+ifneq (,$(findstring pkg.sbcl.bootstrap,$(DEB_BUILD_PROFILES)))
ifneq (,$(filter sh4, $(DEB_HOST_ARCH)))
BOOTSTRAPLISP := /usr/bin/ecl --norc
else
@@ -17,9 +18,11 @@
endif
endif
+ifneq (,$(filter amd64 arm64 armel armhf i386 kfreebsd-amd64 powerpc ppc64
ppc64el, $(DEB_HOST_ARCH)))
ifeq (,$(BOOTSTRAPLISP))
BOOTSTRAPLISP := /usr/bin/sbcl --disable-debugger --no-sysinit
--no-userinit
endif
+endif
# Fix architecture detection on ppc64, see #939453
ifeq (ppc64,$(DEB_HOST_ARCH))