unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Andre Batista <nandre@riseup.net>
Cc: 42037@debbugs.gnu.org
Subject: [bug#42037] [PATCH 0/3] gnu: lxqt-build-tools: Update to 0.7.0.
Date: Thu, 25 Jun 2020 12:28:49 +0200	[thread overview]
Message-ID: <87lfkbsala.fsf@gnu.org> (raw)
In-Reply-To: <20200624195250.GA20387@andel> (Andre Batista's message of "Wed,  24 Jun 2020 16:52:50 -0300")

Hi,

Andre Batista <nandre@riseup.net> skribis:

> This patch series fixes recent build problems when building
> lxqt-config by updating this package and its dependencies.

After applying the patches, “guix build lxqt” fails:

--8<---------------cut here---------------start------------->8---
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h:428:35: error: no matching function for call to ‘QConcatenable<char [14]>::appendTo(const char [14], Q
Char*&)’
         QConcatenable<A>::appendTo(p.a, out);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h:318:24: note: candidate: static void QConcatenable<const char [N]>::appendTo(const char*, char*&) [wit
h int N = 14]
     static inline void appendTo(const char a[N], char *&out)
                        ^~~~~~~~
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h:318:24: note:   no known conversion for argument 2 from ‘QChar*’ to ‘char*&’
exporting path `/gnu/store/x5jzmg1q7ivk5jaqqvr16q2iq5w4yr3l-libexif-0.6.22'
make[2]: *** [CMakeFiles/compton-conf.dir/build.make:213: CMakeFiles/compton-conf.dir/compton-conf.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstring.h:2079:0,
                 from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qobject.h:47,
                 from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtWidgets/qwidget.h:45,
                 from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtWidgets/qdialog.h:44,
                 from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtWidgets/QDialog:1,
                 from /tmp/guix-build-compton-conf-0.14.1.drv-0/compton-conf-0.14.1/maindialog.h:24,
                 from /tmp/guix-build-compton-conf-0.14.1.drv-0/compton-conf-0.14.1/maindialog.cpp:21:
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h: In instantiation of ‘static void QConcatenable<QStringBuilder<A, B> >::appendTo(const type&, T*&) [with T = QChar; A = char [25]; B = QString; QConcatenable<QStringBuilder<A, B> >::type = QStringBuilder<char [25], QString>]’:
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h:118:56:   required from ‘T QStringBuilder<A, B>::convertTo() const [with T = QString; A = char [25]; B = QString]’
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h:131:61:   required from ‘QStringBuilder<A, B>::operator QStringBuilder<A, B>::ConvertTo() const [with A = char [25]; B = QString; QStringBuilder<A, B>::ConvertTo = QString]’
/tmp/guix-build-compton-conf-0.14.1.drv-0/compton-conf-0.14.1/maindialog.cpp:174:57:   required from here
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h:428:35: error: no matching function for call to ‘QConcatenable<char [25]>::appendTo(const char [25], QChar*&)’
         QConcatenable<A>::appendTo(p.a, out);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h:318:24: note: candidate: static void QConcatenable<const char [N]>::appendTo(const char*, char*&) [with int N = 25]
     static inline void appendTo(const char a[N], char *&out)
                        ^~~~~~~~
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/qstringbuilder.h:318:24: note:   no known conversion for argument 2 from ‘QChar*’ to ‘char*&’
make[2]: *** [CMakeFiles/compton-conf.dir/build.make:200: CMakeFiles/compton-conf.dir/maindialog.cpp.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-compton-conf-0.14.1.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/compton-conf.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-compton-conf-0.14.1.drv-0/build'
make: *** [Makefile:133: all] Error 2
command "make" "-j" "8" failed with status 2
builder for `/gnu/store/2wn9m74y4qjsmywlgy90rd09i39vb2nn-compton-conf-0.14.1.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

Maybe all the lxqt packages should be upgraded in lockstep?

If that is the case, it’s better to upgrade them in a single commit,
such that there are no intermediate commits where things fail to build.

Thanks,
Ludo’.




  parent reply	other threads:[~2020-06-25 10:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24 19:52 [bug#42037] [PATCH 0/3] gnu: lxqt-build-tools: Update to 0.7.0 Andre Batista
2020-06-24 21:45 ` [bug#42037] [PATCH 1/3] gnu: libqtxdg: Update to 3.5.0 Andre Batista
2020-06-24 21:50 ` [bug#42037] [PATCH 2/3] gnu: liblxqt: Update to 0.15.1 Andre Batista
2020-06-24 21:56 ` [bug#42037] [PATCH 3/3] gnu: lxqt-config: Update to 0.15.0 Andre Batista
2020-06-25 10:28 ` Ludovic Courtès [this message]
2020-06-25 20:27   ` [bug#42037] [PATCH 0/3] gnu: lxqt-build-tools: Update to 0.7.0 Andre Batista
2020-06-25 20:51     ` Jonathan Brielmaier
2020-06-26 12:05     ` [bug#42037] [PATCH] gnu: lxqt: Update to 0.15.0 Andre Batista
2020-06-26 19:43       ` Andre Batista
2020-06-27 21:33         ` bug#42037: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfkbsala.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=42037@debbugs.gnu.org \
    --cc=nandre@riseup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).