Bug#943905: gnutls28 FTCBFS during guile bindings

Ludovic Courtès ludo at gnu.org
Mon Nov 11 22:15:23 GMT 2019


Hi Andreas,

Apologies for the delay!

The build log at
<http://crossqa.debian.net/build/gnutls28_3.6.10-3_ppc64el_20191031081945.log>
shows two things:

--8<---------------cut here---------------start------------->8---
unset GUILE_LOAD_COMPILED_PATH ; LC_ALL=C			\
GNUTLS_GUILE_EXTENSION_DIR="/<<PKGBUILDDIR>>/b4deb/guile/src"	\
/usr/bin/guild compile --target="powerpc64le-unknown-linux-gnu"				\
  -L "../guile/modules"				\
  -L "../../guile/modules"				\
  -Wformat -Wunbound-variable -Warity-mismatch			\
  -o "modules/gnutls.go" "modules/gnutls.scm" >&$out
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/bin/guild
;;; WARNING: compilation of /usr/bin/guild failed:
;;; failed to create path for auto-compiled file "/usr/bin/guild"
Backtrace:
In ice-9/boot-9.scm:
    705:2 19 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8 18 (_ #(#(#<directory (guile-user) 5587ebf93140>)))
    155:9 17 (_ _)
In srfi/srfi-1.scm:
    640:9 16 (for-each #<procedure 5587ec0fbf80 at scripts/compile.?> ?)
In scripts/compile.scm:
   264:26 15 (_ _)
In system/base/target.scm:
     57:6 14 (with-target _ _)
In system/base/compile.scm:
    152:6 13 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ ?)
     43:4 12 (call-once _)
In ice-9/boot-9.scm:
    841:4 11 (with-throw-handler _ _ _)
In system/base/compile.scm:
    59:11 10 (_)
   155:11  9 (_ #<closed: file 5587ec0ec850>)
   235:18  8 (read-and-compile #<input: gnutls.scm 13> #:from _ #:to ?)
   183:32  7 (compile-fold (#<procedure compile-tree-il (x e opts)>) ?)
In ice-9/boot-9.scm:
   2312:4  6 (save-module-excursion #<procedure 5587ebec70c0 at lang?>)
In language/scheme/compile-tree-il.scm:
    31:15  5 (_)
In ice-9/psyntax.scm:
  1262:36  4 (expand-top-sequence ((eval-when (expand load eval) ?)) ?)
  1209:24  3 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  2 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
In unknown file:
           1 (load-extension "/<<BUILDDIR>>/gnutls28-3.6.1?" ?)
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
In procedure dynamic-link: file: "/<<PKGBUILDDIR>>/b4deb/guile/src/guile-gnutls-v-2", message: "file not found"
make[5]: *** [Makefile:2348: modules/gnutls.go] Error 1
--8<---------------cut here---------------end--------------->8---

The first one is the annoying but harmless “compilation of
/usr/bin/guild failed”.

The second one is the build failure that stems from the fact that it’s
trying to load ‘guile-gnutls-v-2.so’, which is bound to fail when
cross-compiling.

The patches at <https://gitlab.com/gnutls/gnutls/merge_requests/1120>
should address these two issues.  (You should be able to apply them
directly in the Debian package, if needed.)

Feedback welcome!

Thanks,
Ludo’.



More information about the Pkg-gnutls-maint mailing list