GNU bug report logs - #67068
[PATCH] gnu: odt2txt: fix cross-compilation.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Sat, 11 Nov 2023 10:13:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Subject: bug#67068: closed (Re: [bug#67068] [PATCH] gnu: odt2txt: fix
 cross-compilation.)
Date: Sat, 25 Nov 2023 13:38:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#67068: [PATCH] gnu: odt2txt: fix cross-compilation.

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 67068 <at> debbugs.gnu.org.

-- 
67068: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67068
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 67068-done <at> debbugs.gnu.org
Subject: Re: [bug#67068] [PATCH] gnu: odt2txt: fix cross-compilation.
Date: Sat, 25 Nov 2023 14:36:48 +0100
> * gnu/packages/textutils.scm (odt2txt): fix cross-compilation.

Applied, thanks,

Mathieu

[Message part 3 (message/rfc822, inline)]
From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: odt2txt: fix cross-compilation.
Date: Sat, 11 Nov 2023 18:10:37 +0800
* gnu/packages/textutils.scm (odt2txt): fix cross-compilation.
[arguments]: use Gexp and CC-FOR-TARGET.

Change-Id: I0a81e601813da0e4b2accaf835e3ea774b742df8
---
 gnu/packages/textutils.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 801d8fd8ad..ea182b1925 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1130,13 +1130,13 @@ (define-public odt2txt
           "0im3kzvhxkjlx57w6h13mc9584c74ma1dyymgvpq2y61av3gc35v"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f ; no make check
-       #:make-flags (list "CC=gcc"
-                          (string-append "DESTDIR=" (assoc-ref %outputs "out")))
-       #:phases
-       (modify-phases %standard-phases
-         ;; no configure script
-         (delete 'configure))))
+     (list #:tests? #f ; no make check
+           #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+                                (string-append "DESTDIR=" #$output))
+           #:phases
+           #~(modify-phases %standard-phases
+               ;; no configure script
+               (delete 'configure))))
     (inputs
      (list zlib))
     (home-page "https://github.com/dstosberg/odt2txt/")

base-commit: 61c527227ceebdad8da2d52214b253a48323cbb9
prerequisite-patch-id: 9528fcde2e87f38657ffead2353e813067c3f0f1
-- 
2.41.0




This bug report was last modified 1 year and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.