Your message dated Sat, 13 Apr 2024 15:27:05 -0700
with message-id <87edb83nly.fsf@wireframe>
and subject line Re: Bug#1064998: guile-lib: broken package when cross building
has caused the Debian Bug report #1064998,
regarding guile-lib: broken package when cross building
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 ow...@bugs.debian.org
immediately.)
--
1064998: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064998
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: guile-lib
Version: 0.2.7-4
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
guile-lib actually does cross build, but we still track it as cross
build failure, because the resulting package contains a build
architecture multiarch tuple and that trips post-build sanity checks.
The root cause of the failure lies in the way the ccache directory is
determined. There are actually several ways this is being done during
configure - some of which work correctly - and ultimately, the last
attempt using GUILE_SITE_CCACHE_DIR gets to set the value wrongly.
Surprisingly, there already is a more complete and working
implementation GUILE_SITE_DIR and simply reusing that makes it compute
the ccache directory correctly. Is the attached patch acceptable?
Helmut
--- guile-lib-0.2.7.orig/m4/guile-ext.m4
+++ guile-lib-0.2.7/m4/guile-ext.m4
@@ -63,12 +63,4 @@
# The variable is marked for substitution, as by @code{AC_SUBST}.
#
AC_DEFUN([GUILE_SITE_CCACHE_DIR],
- [AC_REQUIRE([GUILE_PROGS])
- AC_MSG_CHECKING(for Guile site ccache directory)
- GUILE_SITE_CCACHE=`$GUILE -c "(display (%site-ccache-dir))"`
- if test "$GUILE_SITE_CCACHE" = ""; then
- AC_MSG_FAILURE(site ccache dir not found)
- fi
- AC_MSG_RESULT($GUILE_SITE_CCACHE)
- AC_SUBST(GUILE_SITE_CCACHE)
- ])
+ [AC_REQUIRE([GUILE_SITE_DIR])])
--- End Message ---
--- Begin Message ---
Version: 0.2.8-1
On 2024-03-03, David Pirotte wrote:
>> Forwarding this upstream, originally submitted in the Debian bug
>> tracking system at:
>
>> https://bugs.debian.org/1064998
>> ...
>
>> Would the guile-lib developers consider merging this? Are there any
>> use-cases where this is inappropriate?
>
> Certainly! Thanks for the report, it somehow did skip my attention
> when i worked on this (a long long time ago ...), that calling
> GUILE_SITE_DIR also defines GUILE_SITE_CCACHE
>
> I'll fix this for the next release.
Appears to be fixed in 0.2.8, which was uploaded to Debian recently:
https://crossqa.debian.net/build/guile-lib_0.2.8-1_armhf_20240413110703.log
guile-lib (0.2.8-1) unstable; urgency=medium
[ Debian Janitor ]
* Set upstream metadata fields: Bug-Submit (from ./configure),
Repository, Repository-Browse.
* Drop unnecessary dependency on dh-autoreconf.
[ Vagrant Cascadian ]
* debian/upstream/metadata: Fix Bug-Submit entry.
* debian/source/lintian-overrides: Update to new lintian syntax.
* debian/control: Update Standards Version to 4.6.2.
* debian/copyright: Update for 0.2.8.
* debian/source/lintian-overrides: Remove unused overrides.
* debian/control: Update Standards-Version to 4.7.0.
* debian/rules: Avoid installing empty .info file.
-- Vagrant Cascadian <vagr...@debian.org> Fri, 12 Apr 2024 16:54:32 -0700
live well,
vagrant
signature.asc
Description: PGP signature
--- End Message ---