GNU bug report logs -
#34431
Qt fails to build
Previous Next
Reported by: Andreas Enge <andreas <at> enge.fr>
Date: Mon, 11 Feb 2019 11:21:02 UTC
Severity: normal
Done: Andreas Enge <andreas <at> enge.fr>
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 34431 in the body.
You can then email your comments to 34431 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#34431
; Package
guix
.
(Mon, 11 Feb 2019 11:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andreas Enge <andreas <at> enge.fr>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 11 Feb 2019 11:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
qt currently fails to build for me.
$ guix describe
Generation 11 10. Februar 2019 09:32:33 (aktuell)
guix 50a93ad
Repository-URL: https://git.savannah.gnu.org/git/guix.git
Commit: 50a93adc05b611836e740c4b55571890f4c6770a
$ guix build qtbase
...
/tmp/guix-build-qtbase-5.11.3.drv-0/qtbase-everywhere-src-5.11.3/bin/qvkgen: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
make[2]: *** [Makefile:1631: vulkan/qvulkanfunctions.h] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/guix-build-qtbase-5.11.3.drv-0/qtbase-everywhere-src-5.11.3/src/gui'
make[1]: *** [Makefile:448: sub-gui-make_first] Error 2
make[1]: Leaving directory '/tmp/guix-build-qtbase-5.11.3.drv-0/qtbase-everywhere-src-5.11.3/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
Backtrace:
4 (primitive-load "/gnu/store/sknkcqbgchxippcvpibh33qz15p…")
In ice-9/eval.scm:
191:35 3 (_ _)
In srfi/srfi-1.scm:
863:16 2 (every1 #<procedure a8d0a0 at /gnu/store/gfprsx2m62cvq…> …)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm:
799:28 1 (_ _)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:
616:6 0 (invoke _ . _)
/gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f] a38780>)'.
builder for `/gnu/store/2cqb7nhwii2vcykvw6q28zg4rbhffvdj-qtbase-5.11.3.drv' failed with exit code 1
build of /gnu/store/2cqb7nhwii2vcykvw6q28zg4rbhffvdj-qtbase-5.11.3.drv failed
Andreas
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34431
; Package
guix
.
(Mon, 11 Feb 2019 11:42:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 34431 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello Andreas,
maybe https://bugs.gentoo.org/672856 is related.
They say:
>/usr/lib/libQt5Core.so.5.11.3: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.11.0, stripped
>Nice of upstream to make significant changes to the kernel requirement on a point release.
What Linux kernel version do you have?
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34431
; Package
guix
.
(Mon, 11 Feb 2019 11:45:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 34431 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Possible fix https://672856.bugs.gentoo.org/attachment.cgi?id=557978
diff -Naurp a/src/corelib/global/minimum-linux_p.h b/src/corelib/global/minimum-linux_p.h
--- a/src/corelib/global/minimum-linux_p.h 2018-11-25 15:51:11.000000000 +0300
+++ b/src/corelib/global/minimum-linux_p.h 2018-12-17 13:25:38.176823753 +0300
@@ -75,14 +75,9 @@ QT_BEGIN_NAMESPACE
* - accept4 2.6.28
* - renameat2 3.16 QT_CONFIG(renameat2)
* - getrandom 3.17 QT_CONFIG(getentropy)
- * - statx 4.11 QT_CONFIG(statx)
*/
-#if QT_CONFIG(statx)
-# define MINLINUX_MAJOR 4
-# define MINLINUX_MINOR 11
-# define MINLINUX_PATCH 0
-#elif QT_CONFIG(getentropy)
+#if QT_CONFIG(getentropy)
# define MINLINUX_MAJOR 3
# define MINLINUX_MINOR 17
# define MINLINUX_PATCH 0
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34431
; Package
guix
.
(Mon, 11 Feb 2019 15:28:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 34431 <at> debbugs.gnu.org (full text, mbox):
Hello Danny,
On Mon, Feb 11, 2019 at 12:41:45PM +0100, Danny Milosavljevic wrote:
> maybe https://bugs.gentoo.org/672856 is related.
> They say:
> >/usr/lib/libQt5Core.so.5.11.3: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.11.0, stripped
> >Nice of upstream to make significant changes to the kernel requirement on a point release.
> What Linux kernel version do you have?
thanks for digging this up!
It happens on my laptop, with kernel 4.9.0. But I thought it also happens
on bayfront (kernel 4.19.1), which offloads to harbourfront (kernel 4.19.8).
I will try the latter two again.
Andreas
Reply sent
to
Andreas Enge <andreas <at> enge.fr>
:
You have taken responsibility.
(Tue, 12 Feb 2019 11:09:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Andreas Enge <andreas <at> enge.fr>
:
bug acknowledged by developer.
(Tue, 12 Feb 2019 11:09:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 34431-done <at> debbugs.gnu.org (full text, mbox):
On Mon, Feb 11, 2019 at 04:27:38PM +0100, Andreas Enge wrote:
> It happens on my laptop, with kernel 4.9.0. But I thought it also happens
> on bayfront (kernel 4.19.1), which offloads to harbourfront (kernel 4.19.8).
> I will try the latter two again.
Actually I did not remember well, it did compile now on bayfront/harbourfront.
So this seems to be very transient and does not occur on the most recent Guix.
I am closing this bug, and we can open it again if there is a need; the
information on the potential patch will remain online anyway.
Andreas
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34431
; Package
guix
.
(Tue, 12 Feb 2019 15:02:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 34431 <at> debbugs.gnu.org (full text, mbox):
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
> Possible fix https://672856.bugs.gentoo.org/attachment.cgi?id=557978
>
> diff -Naurp a/src/corelib/global/minimum-linux_p.h b/src/corelib/global/minimum-linux_p.h
> --- a/src/corelib/global/minimum-linux_p.h 2018-11-25 15:51:11.000000000 +0300
> +++ b/src/corelib/global/minimum-linux_p.h 2018-12-17 13:25:38.176823753 +0300
> @@ -75,14 +75,9 @@ QT_BEGIN_NAMESPACE
> * - accept4 2.6.28
> * - renameat2 3.16 QT_CONFIG(renameat2)
> * - getrandom 3.17 QT_CONFIG(getentropy)
> - * - statx 4.11 QT_CONFIG(statx)
> */
>
> -#if QT_CONFIG(statx)
> -# define MINLINUX_MAJOR 4
> -# define MINLINUX_MINOR 11
> -# define MINLINUX_PATCH 0
> -#elif QT_CONFIG(getentropy)
> +#if QT_CONFIG(getentropy)
> # define MINLINUX_MAJOR 3
> # define MINLINUX_MINOR 17
> # define MINLINUX_PATCH 0
Qt should definitely not require a kernel more recent than what libc
requires. If this patch solves that, we should probably apply it (in
‘staging’ I guess.)
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34431
; Package
guix
.
(Tue, 12 Feb 2019 17:00:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 34431 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
>
>> Possible fix https://672856.bugs.gentoo.org/attachment.cgi?id=557978
>>
>> diff -Naurp a/src/corelib/global/minimum-linux_p.h b/src/corelib/global/minimum-linux_p.h
>> --- a/src/corelib/global/minimum-linux_p.h 2018-11-25 15:51:11.000000000 +0300
>> +++ b/src/corelib/global/minimum-linux_p.h 2018-12-17 13:25:38.176823753 +0300
>> @@ -75,14 +75,9 @@ QT_BEGIN_NAMESPACE
>> * - accept4 2.6.28
>> * - renameat2 3.16 QT_CONFIG(renameat2)
>> * - getrandom 3.17 QT_CONFIG(getentropy)
>> - * - statx 4.11 QT_CONFIG(statx)
>> */
>>
>> -#if QT_CONFIG(statx)
>> -# define MINLINUX_MAJOR 4
>> -# define MINLINUX_MINOR 11
>> -# define MINLINUX_PATCH 0
>> -#elif QT_CONFIG(getentropy)
>> +#if QT_CONFIG(getentropy)
>> # define MINLINUX_MAJOR 3
>> # define MINLINUX_MINOR 17
>> # define MINLINUX_PATCH 0
>
> Qt should definitely not require a kernel more recent than what libc
> requires. If this patch solves that, we should probably apply it (in
> ‘staging’ I guess.)
Oh dear, this would certainly cause problems on RHEL 6 and 7. Thanks
for trying to fix it!
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34431
; Package
guix
.
(Wed, 13 Feb 2019 23:33:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 34431 <at> debbugs.gnu.org (full text, mbox):
On Tue, Feb 12, 2019 at 05:59:24PM +0100, Ricardo Wurmus wrote:
> > Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
> >> Possible fix https://672856.bugs.gentoo.org/attachment.cgi?id=557978
The patch makes qtbase build on my laptop, so I pushed it as commit
69c15ad8a46c8e5f319a73ee5891bcd1bf0600c5. The bug can remain closed, I hope.
Thanks again, Danny!
Andreas
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 14 Mar 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 43 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.