[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH 21/31] gnu: mit-krb5: Fix cross-compilation.
From: |
Marius Bakke |
Subject: |
[bug#36477] [PATCH 21/31] gnu: mit-krb5: Fix cross-compilation. |
Date: |
Mon, 08 Jul 2019 20:13:34 +0200 |
User-agent: |
Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) |
Mathieu Othacehe <address@hidden> writes:
> * gnu/packages/kerberos.scm (mit-krb5)[arguments]: Disable tests when
> cross-compiling. Add cross-compilation specific configure-flags and
> make-flags. Search for perl in native-inputs or inputs.
[...]
> @@ -68,9 +69,23 @@
> ("perl" ,perl)))
> (arguments
> `(;; XXX: On 32-bit systems, 'kdb5_util' hangs on an fcntl/F_SETLKW call
> - ;; while running the tests in 'src/tests'.
> - #:tests? ,(string=? (%current-system) "x86_64-linux")
> + ;; while running the tests in 'src/tests'. Also disable tests when
> + ;; cross-compiling.
> + #:tests? ,(and (not (%current-target-system))
> + (string=? (%current-system) "x86_64-linux"))
>
> + #:configure-flags
> + (list ,@(if (%current-target-system)
> + '("krb5_cv_attr_constructor_destructor=yes"
> + "ac_cv_func_regcomp=yes"
> + "ac_cv_printf_positional=yes"
> + "ac_cv_file__etc_environment=yes"
> + "ac_cv_file__etc_TIMEZONE=no")
> + '()))
Have you checked whether these (strange!) configure flags are needed
with the newer version on 'core-updates'?
I have a slight preference for not passing #:make-flags etc at all in
the normal context. E.g.
,@(if (%current-target-system)
`(#:configure-flags ...)
'())
...but no strong opinion.
signature.asc
Description: PGP signature
[bug#36477] [PATCH 17/31] gnu: texinfo-5: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 28/31] gnu: mkfontdir: Fix aarch64 cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 27/31] gnu: pkg-config: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 29/31] gnu: alsa-utils: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
[bug#36477] [PATCH 31/31] gnu: glibc-utf8-locales: Fix cross-compilation., Mathieu Othacehe, 2019/07/08