GNU bug report logs -
#75425
[PATCH] gnu: appimage-type2-runtime: Fix cross-compiling.
Previous Next
Reported by: Brian Kubisiak <brian <at> kubisiak.com>
Date: Tue, 7 Jan 2025 22:08:01 UTC
Severity: normal
Tags: patch
Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#75425: [PATCH] gnu: appimage-type2-runtime: Fix cross-compiling.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 75425 <at> debbugs.gnu.org.
--
75425: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75425
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Brian Kubisiak <brian <at> kubisiak.com> writes:
> * gnu/packages/appimage.scm (appimage-type2-runtime)[arguments]<#:make-flags>: Use
> CC-FOR-TARGET and add "-Wno-int-conversion".
>
> Change-Id: I5dd9c6cb81e30713f17d474e9a5e11817db7158e
> ---
> gnu/packages/appimage.scm | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/appimage.scm b/gnu/packages/appimage.scm
> index 1d0caada46..620628c053 100644
> --- a/gnu/packages/appimage.scm
> +++ b/gnu/packages/appimage.scm
> @@ -49,11 +49,13 @@ (define-public appimage-type2-runtime
> (list
> #:make-flags
> #~(list "-Csrc/runtime" "runtime-fuse3"
> + (string-append "CC=" #$(cc-for-target))
> (string-append
> "CFLAGS=" "-I" #$(this-package-input "fuse") "/include/fuse/"
> " -DGIT_COMMIT='\"" "guix-" #$version "\"'"
> " -D_FILE_OFFSET_BITS=64"
> - " -static"))
> + " -static"
> + " -Wno-int-conversion"))
> #:modules
> `((guix build gnu-build-system)
> (guix build utils)
>
> base-commit: a76f2d5927c86e4a76a1d3b49c1a37054612f6c0
> prerequisite-patch-id: b7500f0446826469bbf2f858e044cc3e0eae98c5
pushed, closing.
And fix squashfuse-for-appimage's name, indentation.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
* gnu/packages/appimage.scm (appimage-type2-runtime)[arguments]<#:make-flags>: Use
CC-FOR-TARGET and add "-Wno-int-conversion".
Change-Id: I5dd9c6cb81e30713f17d474e9a5e11817db7158e
---
gnu/packages/appimage.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/appimage.scm b/gnu/packages/appimage.scm
index 1d0caada46..620628c053 100644
--- a/gnu/packages/appimage.scm
+++ b/gnu/packages/appimage.scm
@@ -49,11 +49,13 @@ (define-public appimage-type2-runtime
(list
#:make-flags
#~(list "-Csrc/runtime" "runtime-fuse3"
+ (string-append "CC=" #$(cc-for-target))
(string-append
"CFLAGS=" "-I" #$(this-package-input "fuse") "/include/fuse/"
" -DGIT_COMMIT='\"" "guix-" #$version "\"'"
" -D_FILE_OFFSET_BITS=64"
- " -static"))
+ " -static"
+ " -Wno-int-conversion"))
#:modules
`((guix build gnu-build-system)
(guix build utils)
base-commit: a76f2d5927c86e4a76a1d3b49c1a37054612f6c0
prerequisite-patch-id: b7500f0446826469bbf2f858e044cc3e0eae98c5
--
2.46.0
This bug report was last modified 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.