Subject: bug#72878: closed (Re: [bug#72878] [PATCH] gnu: qcoro-qt: Build with -fPIC)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 06 Sep 2024 14:53:02 +0000

Your bug report

#72878: [PATCH] gnu: plasma-nm: Fix build on aarch64

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 [email-masked].

-- 
72878: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72878
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#72878] [PATCH] gnu: qcoro-qt: Build with -fPIC
From: Zheng Junjie <[email-masked]>
To: Doğan Çeçen <[email-masked]>
Cc: [email-masked], 宋文武 <[email-masked]>, Maxim Cournoyer <[email-masked]>
Date: Fri, 06 Sep 2024 22:52:01 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Doğan Çeçen <[email-masked]> writes:

> * gnu/packages/qt.scm (qcoro-qt5, qcoro-qt6)[arguments]: Adjust
>   configure-flags to add -fPIC to CMAKE_CXX_FLAGS.
>
> Change-Id: I5ed2ee18cec120b282863ce6a5f6b6b149059515
> ---
>  gnu/packages/qt.scm | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
> index b99ce365d7..635fc37639 100644
> --- a/gnu/packages/qt.scm
> +++ b/gnu/packages/qt.scm
> @@ -153,10 +153,11 @@ (define-public qcoro-qt5
>      (build-system qt-build-system)
>      (arguments
>       (list #:configure-flags
> -           #~(list (string-append "-DUSE_QT_VERSION="
> +           #~(list "-DCMAKE_CXX_FLAGS=-fPIC"
> +                   (string-append "-DUSE_QT_VERSION="
>                                    #$(version-major
> -                                     (package-version
> -                                      (this-package-input "qtbase")))))))
> +                                      (package-version
> +                                        (this-package-input "qtbase")))))))
>      (native-inputs (list dbus))         ;for tests
>      (inputs (list qtbase-5 qtdeclarative-5 qtwebsockets-5))
>      (home-page "https://qcoro.dvratil.cz/")
> @@ -169,6 +170,7 @@ (define-public qcoro-qt6
>    (package
>      (inherit qcoro-qt5)
>      (name "qcoro-qt6")
> +    (synopsis "C++ Coroutine Library for Qt6")

split it on new commit

>      (inputs (modify-inputs (package-inputs qcoro-qt5)
>                (replace "qtbase" qtbase)
>                (replace "qtdeclarative" qtdeclarative)
>
> base-commit: ad7211cfe0cba1b7a97308c0fec941c807c1c1e5

push, close.

Subject: [PATCH] gnu: plasma-nm: Fix build on aarch64
From: Doğan Çeçen <[email-masked]>
To: [email-masked]
Cc: Doğan Çeçen <[email-masked]>
Date: Thu, 29 Aug 2024 18:37:00 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/qt.scm (qtcoro-qt6): pass -fPIC explicitly

Change-Id: Ifb26600945548d84df2cc70318781d87253af476
---
 gnu/packages/qt.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index a91bebf358..974af2a342 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -153,10 +153,11 @@ (define-public qcoro-qt5
     (build-system qt-build-system)
     (arguments
      (list #:configure-flags
-           #~(list (string-append "-DUSE_QT_VERSION="
+           #~(list "-DCMAKE_CXX_FLAGS=-fPIC"
+                   (string-append "-DUSE_QT_VERSION="
                                   #$(version-major
-                                     (package-version
-                                      (this-package-input "qtbase")))))))
+                                      (package-version
+                                        (this-package-input "qtbase")))))))
     (native-inputs (list dbus))         ;for tests
     (inputs (list qtbase-5 qtdeclarative-5 qtwebsockets-5))
     (home-page "https://qcoro.dvratil.cz/")
@@ -169,6 +170,7 @@ (define-public qcoro-qt6
   (package
     (inherit qcoro-qt5)
     (name "qcoro-qt6")
+    (synopsis "C++ Coroutine Library for Qt6")
     (inputs (modify-inputs (package-inputs qcoro-qt5)
               (replace "qtbase" qtbase)
               (replace "qtdeclarative" qtdeclarative)

base-commit: d5312370b46ace47e138d84e1bb28e5651cee94b
-- 
2.45.2