* bug#34431: Qt fails to build
@ 2019-02-11 11:20 Andreas Enge
2019-02-11 11:41 ` Danny Milosavljevic
2019-02-11 11:44 ` Danny Milosavljevic
0 siblings, 2 replies; 8+ messages in thread
From: Andreas Enge @ 2019-02-11 11:20 UTC (permalink / raw)
To: 34431
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34431: Qt fails to build
2019-02-11 11:20 bug#34431: Qt fails to build Andreas Enge
@ 2019-02-11 11:41 ` Danny Milosavljevic
2019-02-11 15:27 ` Andreas Enge
2019-02-11 11:44 ` Danny Milosavljevic
1 sibling, 1 reply; 8+ messages in thread
From: Danny Milosavljevic @ 2019-02-11 11:41 UTC (permalink / raw)
To: Andreas Enge; +Cc: 34431
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
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?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34431: Qt fails to build
2019-02-11 11:41 ` Danny Milosavljevic
@ 2019-02-11 15:27 ` Andreas Enge
2019-02-12 11:08 ` Andreas Enge
0 siblings, 1 reply; 8+ messages in thread
From: Andreas Enge @ 2019-02-11 15:27 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 34431
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34431: Qt fails to build
2019-02-11 15:27 ` Andreas Enge
@ 2019-02-12 11:08 ` Andreas Enge
0 siblings, 0 replies; 8+ messages in thread
From: Andreas Enge @ 2019-02-12 11:08 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 34431-done
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34431: Qt fails to build
2019-02-11 11:20 bug#34431: Qt fails to build Andreas Enge
2019-02-11 11:41 ` Danny Milosavljevic
@ 2019-02-11 11:44 ` Danny Milosavljevic
2019-02-12 15:01 ` Ludovic Courtès
1 sibling, 1 reply; 8+ messages in thread
From: Danny Milosavljevic @ 2019-02-11 11:44 UTC (permalink / raw)
To: Andreas Enge; +Cc: 34431
[-- Attachment #1: Type: text/plain, Size: 954 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34431: Qt fails to build
2019-02-11 11:44 ` Danny Milosavljevic
@ 2019-02-12 15:01 ` Ludovic Courtès
2019-02-12 16:59 ` Ricardo Wurmus
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2019-02-12 15:01 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 34431
Danny Milosavljevic <dannym@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’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34431: Qt fails to build
2019-02-12 15:01 ` Ludovic Courtès
@ 2019-02-12 16:59 ` Ricardo Wurmus
2019-02-13 23:32 ` Andreas Enge
0 siblings, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2019-02-12 16:59 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 34431
Ludovic Courtès <ludo@gnu.org> writes:
> Danny Milosavljevic <dannym@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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-02-13 23:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-11 11:20 bug#34431: Qt fails to build Andreas Enge
2019-02-11 11:41 ` Danny Milosavljevic
2019-02-11 15:27 ` Andreas Enge
2019-02-12 11:08 ` Andreas Enge
2019-02-11 11:44 ` Danny Milosavljevic
2019-02-12 15:01 ` Ludovic Courtès
2019-02-12 16:59 ` Ricardo Wurmus
2019-02-13 23:32 ` Andreas Enge
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.