GNU bug report logs -
#36477
Add Guix System cross-compilation support
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Mathieu Othacehe <m.othacehe <at> gmail.com> 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 (application/pgp-signature, inline)]
This bug report was last modified 5 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.