--- Begin Message ---
Subject: |
qtbase fails to build on i686 |
Date: |
Sun, 03 Dec 2023 13:32:15 -0500 |
Hi,
After recent mesa/xorg upgrades, qtbase fails to build on i686, per
https://ci.guix.gnu.org/build/2700964/details.
--8<---------------cut here---------------start------------->8---
[ 59%] Building CXX object
src/gui/CMakeFiles/Gui.dir/text/freetype/qfreetypefontdatabase.cpp.o
cd /tmp/guix-build-qtbase-6.5.2.drv-0/build/src/gui &&
/gnu/store/isbd8adggnzdprcd7fxxlck2f5iqamg5-gcc-11.3.0/bin/c++
-DENABLE_PIXMAN_DRAWHELPERS -DGui_EXPORTS -DQT_ASCII_CAST_WARNINGS
-DQT_BUILDING_QT -DQT_BUILD_GUI_LIB -DQT_CORE_LIB -DQT_DBUS_LIB
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000
-DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT
-DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS
-DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_USING_NAMESPACE
-DQT_QPA_DEFAULT_PLATFORM_NAME=\"xcb\" -DQT_USE_QSTRINGBUILDER
-DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/src/gui/Gui_autogen/include
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtGui
-I/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/src/gui
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/src/gui
-I/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/src/gui/../3rdparty/VulkanMemoryAllocator
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtGui/6.5.2
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtGui/6.5.2/QtGui
-I/gnu/store/nq8q5cnzhymc79c09z3a90qhg9l9aiy5-at-spi2-core-2.45.90/include/at-spi-2.0
-I/gnu/store/gc967whfn0l9h11k3smzvd32i1w9dvw9-dbus-1.14.0/include/dbus-1.0
-I/gnu/store/gc967whfn0l9h11k3smzvd32i1w9dvw9-dbus-1.14.0/lib/dbus-1.0/include
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtCore
-I/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/mkspecs/linux-g++
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/src/corelib
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtCore/6.5.2
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtCore/6.5.2/QtCore
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtDBus -isystem
/gnu/store/3zs0f4vcbfl2f89jk90x6gpy6wjapv1n-glib-2.72.3/include/glib-2.0
-isystem
/gnu/store/3zs0f4vcbfl2f89jk90x6gpy6wjapv1n-glib-2.72.3/lib/glib-2.0/include
-isystem
/gnu/store/wjzil5rwysjdgldg48lvy3m93fnffpzv-freetype-2.13.0/include/freetype2
-isystem
/gnu/store/g4scmdws4ax4343k5cxj6bz8v86r3b6a-harfbuzz-5.3.1/include/harfbuzz
-isystem
/gnu/store/s5n48zg43qdqb4qinbngzbcsg0nkw52q-libpng-1.6.37/include/libpng16 -g
-DNDEBUG -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall
-Wextra -fno-exceptions -fPIC -Wsuggest-override -std=c++17 -MD -MT
src/gui/CMakeFiles/Gui.dir/text/freetype/qfreetypefontdatabase.cpp.o -MF
CMakeFiles/Gui.dir/text/freetype/qfreetypefontdatabase.cpp.o.d -o
CMakeFiles/Gui.dir/text/freetype/qfreetypefontdatabase.cpp.o -c
/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/src/gui/text/freetype/qfreetypefontdatabase.cpp
/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/src/gui/painting/qdrawhelper_avx2.cpp:
In function ‘const QRgba64* fetchRGBA64ToRGBA64PM_avx2(QRgba64*, const uchar*,
int, int, const QList<unsigned int>*, QDitherInfo*)’:
/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/src/gui/painting/qdrawhelper_avx2.cpp:1353:33:
error: could not convert ‘vs’ from ‘__m128i’ to ‘QRgba64’
1353 | vs = multiplyAlpha65535(vs, va);
| ^~
| |
| __m128i
[ 59%] Building CXX object
src/gui/CMakeFiles/Gui.dir/text/unix/qfontconfigdatabase.cpp.o
cd /tmp/guix-build-qtbase-6.5.2.drv-0/build/src/gui &&
/gnu/store/isbd8adggnzdprcd7fxxlck2f5iqamg5-gcc-11.3.0/bin/c++
-DENABLE_PIXMAN_DRAWHELPERS -DGui_EXPORTS -DQT_ASCII_CAST_WARNINGS
-DQT_BUILDING_QT -DQT_BUILD_GUI_LIB -DQT_CORE_LIB -DQT_DBUS_LIB
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000
-DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT
-DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS
-DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_USING_NAMESPACE
-DQT_QPA_DEFAULT_PLATFORM_NAME=\"xcb\" -DQT_USE_QSTRINGBUILDER
-DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/src/gui/Gui_autogen/include
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtGui
-I/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/src/gui
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/src/gui
-I/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/src/gui/../3rdparty/VulkanMemoryAllocator
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtGui/6.5.2
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtGui/6.5.2/QtGui
-I/gnu/store/nq8q5cnzhymc79c09z3a90qhg9l9aiy5-at-spi2-core-2.45.90/include/at-spi-2.0
-I/gnu/store/gc967whfn0l9h11k3smzvd32i1w9dvw9-dbus-1.14.0/include/dbus-1.0
-I/gnu/store/gc967whfn0l9h11k3smzvd32i1w9dvw9-dbus-1.14.0/lib/dbus-1.0/include
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtCore
-I/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/mkspecs/linux-g++
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/src/corelib
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtCore/6.5.2
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtCore/6.5.2/QtCore
-I/tmp/guix-build-qtbase-6.5.2.drv-0/build/include/QtDBus -isystem
/gnu/store/3zs0f4vcbfl2f89jk90x6gpy6wjapv1n-glib-2.72.3/include/glib-2.0
-isystem
/gnu/store/3zs0f4vcbfl2f89jk90x6gpy6wjapv1n-glib-2.72.3/lib/glib-2.0/include
-isystem
/gnu/store/wjzil5rwysjdgldg48lvy3m93fnffpzv-freetype-2.13.0/include/freetype2
-isystem
/gnu/store/g4scmdws4ax4343k5cxj6bz8v86r3b6a-harfbuzz-5.3.1/include/harfbuzz
-isystem
/gnu/store/s5n48zg43qdqb4qinbngzbcsg0nkw52q-libpng-1.6.37/include/libpng16 -g
-DNDEBUG -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall
-Wextra -fno-exceptions -fPIC -Wsuggest-override -std=c++17 -MD -MT
src/gui/CMakeFiles/Gui.dir/text/unix/qfontconfigdatabase.cpp.o -MF
CMakeFiles/Gui.dir/text/unix/qfontconfigdatabase.cpp.o.d -o
CMakeFiles/Gui.dir/text/unix/qfontconfigdatabase.cpp.o -c
/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/src/gui/text/unix/qfontconfigdatabase.cpp
make[2]: *** [src/gui/CMakeFiles/Gui.dir/build.make:3093:
src/gui/CMakeFiles/Gui.dir/painting/qdrawhelper_avx2.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/guix-build-qtbase-6.5.2.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:21588: src/gui/CMakeFiles/Gui.dir/all] Error
2
make[1]: Leaving directory '/tmp/guix-build-qtbase-6.5.2.drv-0/build'
make: *** [Makefile:149: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "16") exit-status:
2 term-signal: #f stop-signal: #f>
phase `build' failed after 578.8 seconds
command "make" "-j" "16" failed with status 2
builder for `/gnu/store/rja0mdhh29hl3rr5mk9xa2mq55x3g0ja-qtbase-6.5.2.drv'
failed with exit code 1
@ build-failed /gnu/store/rja0mdhh29hl3rr5mk9xa2mq55x3g0ja-qtbase-6.5.2.drv - 1
builder for `/gnu/store/rja0mdhh29hl3rr5mk9xa2mq55x3g0ja-qtbase-6.5.2.drv'
failed with exit code 1
--8<---------------cut here---------------end--------------->8---
CC'ing John in case they'd have a clue as to what this may be caused by.
--
Thanks,
Maxim
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#67608: qtbase fails to build on i686 |
Date: |
Wed, 6 Dec 2023 14:21:24 +0200 |
On Sun, Dec 03, 2023 at 06:42:10PM -0500, Maxim Cournoyer wrote:
> John Kehayias <john.kehayias@protonmail.com> writes:
>
> > Hi Maxim,
> >
> > On Sun, Dec 03, 2023 at 01:32 PM, Maxim Cournoyer wrote:
> >
> >> Hi,
> >>
> >> After recent mesa/xorg upgrades, qtbase fails to build on i686, per
> >> <https://ci.guix.gnu.org/build/2700964/details>.
> >
> > I saw this when I was working on the mesa-updates branch, but I didn't
> > think it was a new failure. I looked back just now and even going to
> > July or further back I don't see any successful builds of qtbase-6.*
> > on i686-linux. The most recent version has the same failures as this
> > log, pre-mesa-updates. Looked like a previous version of qtbase-6 had
> > a different failure though.
>
> Indeed. I wonder why Cuirass flagged the failure as a new one.
Maybe it was mixing up qtbase@5 and qtbase@6 for determining if it had
successfully built before?
> [...]
>
> > As for the actual cause, I don't have a clue. There was a failure
> > cause by an update on that branch, which I had fixed in
> > aee3c5a894fddf88810f18fa8880b423b078b3fa (from libxkbcommon update).
> >
> > Was there a version of qtbase-6 that builds on i686?
>
> OK. I don't seem to find one looking at CI. We should probably report
> this upstream if it hasn't already been.
I found it broken when I was going through a big rebuild and I believe
it tracked it down to the -DFEATURE_xxx=OFF flags that we've been
carrying since qt-4. Once I removed them i686 stopped trying to use
128-bit numbers and compiled successfully. As a comparison, Debian
doesn't use those flags.
I've closed the bug since it now builds, but feel free to re-open it if
we want to revisit removing the flags or anything.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
--- End Message ---