GNU bug report logs - #56864
qutebrowser: wrap-qt-process-path phase wrong type to string-append

Previous Next

Package: guix;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Mon, 1 Aug 2022 05:05:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56864 in the body.
You can then email your comments to 56864 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to maxim.cournoyer <at> gmail.com, bug-guix <at> gnu.org:
bug#56864; Package guix. (Mon, 01 Aug 2022 05:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jack Hill <jackhill <at> jackhill.us>:
New bug report received and forwarded. Copy sent to maxim.cournoyer <at> gmail.com, bug-guix <at> gnu.org. (Mon, 01 Aug 2022 05:05:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jack Hill <jackhill <at> jackhill.us>
To: bug-guix <at> gnu.org
Subject: qutebrowser
Date: Mon, 1 Aug 2022 01:04:36 -0400 (EDT)
[Message part 1 (text/plain, inline)]
X-Debbugs-CC: maxim.cournoyer <at> gmail.com

With Guix 3a656ea836f87f30f1b34852cb4efc911363d2b4, qutebrowser's 
wrap-qt-process-path phase fails. Maybe related to the recent Qt work 
in <https://issues.guix.gnu.org/56771>? Build log attatched.

Best,
Jack
[6b90jd0xw586i5v2ccfh7xs4p4l2g4-qutebrowser-2.5.1.drv.gz (application/octet-stream, ATTACHMENT)]

Changed bug title to 'qutebrowser: wrap-qt-process-path phase wrong type to string-append' from 'qutebrowser' Request was from Jack Hill <jackhill <at> jackhill.us> to control <at> debbugs.gnu.org. (Mon, 01 Aug 2022 05:14:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#56864; Package guix. (Mon, 01 Aug 2022 13:10:03 GMT) Full text and rfc822 format available.

Message #10 received at 56864 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Jack Hill <jackhill <at> jackhill.us>
Cc: 56864 <at> debbugs.gnu.org
Subject: Re: bug#56864: qutebrowser
Date: Mon, 01 Aug 2022 09:08:55 -0400
Hello Jack,

Jack Hill <jackhill <at> jackhill.us> writes:

> X-Debbugs-CC: maxim.cournoyer <at> gmail.com
>
> With Guix 3a656ea836f87f30f1b34852cb4efc911363d2b4, qutebrowser's
> wrap-qt-process-path phase fails. Maybe related to the recent Qt work
> in <https://issues.guix.gnu.org/56771>? Build log attatched.

Uh, this was unexpected.  I believe it's because label-less inputs are
auto-generated via the package *name* rather than their variable name...
Since qtwebengine-5 (the variable) still has the name "qtwebengine", the
following code:

--8<---------------cut here---------------start------------->8---
(qt-process-path (string-append (assoc-ref inputs "qtwebengine-5")
                                      "/lib/qt5/libexec/QtWebEngineProcess"))
--8<---------------cut here---------------end--------------->8---

Doesn't actually find "qtwebengine-5" and it fails attempting to append
#f to "/lib/qt5/libexec/QtWebEngineProcess.  The solution that comes to
mind would be using:

(file-input-search inputs "lib/qt5/libexec/QtWebEngineProcess").

Thanks,

Maxim




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Mon, 01 Aug 2022 13:37:01 GMT) Full text and rfc822 format available.

Notification sent to Jack Hill <jackhill <at> jackhill.us>:
bug acknowledged by developer. (Mon, 01 Aug 2022 13:37:02 GMT) Full text and rfc822 format available.

Message #15 received at 56864-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Jack Hill <jackhill <at> jackhill.us>
Cc: 56864-done <at> debbugs.gnu.org
Subject: Re: bug#56864: qutebrowser: wrap-qt-process-path phase wrong type
 to string-append
Date: Mon, 01 Aug 2022 09:35:53 -0400
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hello Jack,
>
> Jack Hill <jackhill <at> jackhill.us> writes:
>
>> X-Debbugs-CC: maxim.cournoyer <at> gmail.com
>>
>> With Guix 3a656ea836f87f30f1b34852cb4efc911363d2b4, qutebrowser's
>> wrap-qt-process-path phase fails. Maybe related to the recent Qt work
>> in <https://issues.guix.gnu.org/56771>? Build log attatched.
>
> Uh, this was unexpected.  I believe it's because label-less inputs are
> auto-generated via the package *name* rather than their variable name...
> Since qtwebengine-5 (the variable) still has the name "qtwebengine", the
> following code:
>
> (qt-process-path (string-append (assoc-ref inputs "qtwebengine-5")
>                                       "/lib/qt5/libexec/QtWebEngineProcess"))
>
> Doesn't actually find "qtwebengine-5" and it fails attempting to append
> #f to "/lib/qt5/libexec/QtWebEngineProcess.  The solution that comes to
> mind would be using:
>
> (file-input-search inputs "lib/qt5/libexec/QtWebEngineProcess").

Yep, that did it.

Fixed in aea756ea3312ba7e8229804492ba12001c8de568.

Closing.

Thanks for the report!

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#56864; Package guix. (Mon, 01 Aug 2022 14:12:02 GMT) Full text and rfc822 format available.

Message #18 received at 56864 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Jack Hill <jackhill <at> jackhill.us>, 56864 <at> debbugs.gnu.org
Subject: Re: bug#56864: qutebrowser: wrap-qt-process-path phase wrong type to
 string-append
Date: Mon, 1 Aug 2022 16:10:47 +0200
Hi Maxim,

> Yep, that did it.
> 
> Fixed in aea756ea3312ba7e8229804492ba12001c8de568.

this does not fix the build of lyx and twinkle for me, which both fail at 'qt-wrap:

---snip---
starting phase `qt-wrap'
error: in phase 'qt-wrap': uncaught exception:
wrong-type-arg "substring" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "string" #f) (#f)
phase `qt-wrap' failed after 0.0 seconds
Backtrace:
           9 (primitive-load "/gnu/store/gm47sv2ndfg906vkdr68nbv7zsi…")
In guix/build/gnu-build-system.scm:
    906:2  8 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1752:10  7 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
    634:9  6 (for-each #<procedure 7ffff0b45020 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
  1752:10  5 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
   927:23  4 (_)
In guix/build/qt-utils.scm:
   148:22  3 (wrap-all-qt-programs #:inputs _ #:outputs _ #:qtbase _ …)
In unknown file:
           2 (string-drop #f 44)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure substring: Wrong type argument in position 1 (expecting string): #f
---snap---

Maybe a different incarnation of the same issue?

Lars




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Aug 2022 14:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#56864; Package guix. (Mon, 01 Aug 2022 14:19:02 GMT) Full text and rfc822 format available.

Message #23 received at 56864 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "Lars-Dominik Braun" <lars <at> 6xq.net>, "Maxim Cournoyer"
 <maxim.cournoyer <at> gmail.com>
Cc: Jack Hill <jackhill <at> jackhill.us>, 56864 <at> debbugs.gnu.org
Subject: Re: bug#56864: qutebrowser: wrap-qt-process-path phase wrong type
 to string-append
Date: Mon, 01 Aug 2022 15:16:14 +0100
On Mon Aug 1, 2022 at 3:10 PM BST, Lars-Dominik Braun wrote:
> Maybe a different incarnation of the same issue?
The fix is on the package side, so other affected packages won't have
been fixed by that commit.

    -- (




Information forwarded to bug-guix <at> gnu.org:
bug#56864; Package guix. (Mon, 01 Aug 2022 14:41:02 GMT) Full text and rfc822 format available.

Message #26 received at 56864 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "Lars-Dominik Braun" <lars <at> 6xq.net>, "Maxim Cournoyer"
 <maxim.cournoyer <at> gmail.com>
Cc: Jack Hill <jackhill <at> jackhill.us>, 56864 <at> debbugs.gnu.org
Subject: Re: bug#56864: qutebrowser: wrap-qt-process-path phase wrong type
 to string-append
Date: Mon, 01 Aug 2022 15:40:47 +0100
This issue affects the following packages as well as qute:

  twinkle, lyx, nheko, quaternion, kcrash, likely many KDE packages
  (possibly kdenlive, kdevelop, and others), kguiaddons, psi, sonnet.

(Not a complete list, of course.)

    -- (




Information forwarded to bug-guix <at> gnu.org:
bug#56864; Package guix. (Mon, 01 Aug 2022 15:44:01 GMT) Full text and rfc822 format available.

Message #29 received at 56864 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: "(" <paren <at> disroot.org>
Cc: Jack Hill <jackhill <at> jackhill.us>, Lars-Dominik Braun <lars <at> 6xq.net>,
 56864 <at> debbugs.gnu.org
Subject: Re: bug#56864: qutebrowser: wrap-qt-process-path phase wrong type
 to string-append
Date: Mon, 01 Aug 2022 11:43:25 -0400
Hi,

"(" <paren <at> disroot.org> writes:

> This issue affects the following packages as well as qute:
>
>   twinkle, lyx, nheko, quaternion, kcrash, likely many KDE packages
>   (possibly kdenlive, kdevelop, and others), kguiaddons, psi, sonnet.

Proposed fix at:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56771#124.  If nobody
objects I'll push it soon.

Thanks,

Maxim




bug closed, send any further explanations to 56864 <at> debbugs.gnu.org and Jack Hill <jackhill <at> jackhill.us> Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 02 Aug 2022 05:00:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Aug 2022 11:24:09 GMT) Full text and rfc822 format available.

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

Previous Next


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