[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021548: marked as done (qtwebkit-opensource-src: ftbfs on riscv64 due to atomic issue)



Your message dated Tue, 01 Nov 2022 21:37:43 +0000
with message-id <E1opyx5-00GabX-JR@fasolo.debian.org>
and subject line Bug#1021548: fixed in qtwebkit-opensource-src 5.212.0~alpha4-26
has caused the Debian Bug report #1021548,
regarding qtwebkit-opensource-src: ftbfs on riscv64 due to atomic issue
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1021548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021548
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qtwebkit-opensource-src
Version: 5.212.0~alpha4-25
Severity: normal
Tags: ftbfs, patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org


Dear Maintainer,

The package has a ftbfs issue on riscv64 arch due to atomic issue:

```
...
./obj-riscv64-linux-gnu/./Source/WTF/wtf/dtoa.cpp:446: undefined reference to `__atomic_compare_exchange_1'
/usr/bin/ld: lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/dtoa.cpp.o: in function `WTF::Vector<unsigned int, 16ul, WTF::CrashOnOverflow, 16ul>::reserveCapacity(unsigned long)':
./obj-riscv64-linux-gnu/./Source/WTF/wtf/Vector.h:1089: undefined reference to `__atomic_compare_exchange_1'
/usr/bin/ld: lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/dtoa.cpp.o: in function `.L0 ':
./obj-riscv64-linux-gnu/./Source/WTF/wtf/dtoa.cpp:443: undefined reference to `__atomic_compare_exchange_1'
/usr/bin/ld: lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/dtoa.cpp.o: in function `WTF::VectorBufferBase<unsigned int>::capacity() const':
./obj-riscv64-linux-gnu/./Source/WTF/wtf/Vector.h:319: undefined reference to `__atomic_compare_exchange_1'
/usr/bin/ld: lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/dtoa.cpp.o: in function `std::__atomic_base<unsigned char>::compare_exchange_weak(unsigned char&, unsigned char, std::memory_order, std::memory_order)':
/usr/include/c++/12/bits/atomic_base.h:523: undefined reference to `__atomic_compare_exchange_1'
...
```


The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=qtwebkit-opensource-src&arch=riscv64&ver=5.212.0%7Ealpha4-25&stamp=1664500301&raw=0

Since glibc 2.34 many packages here fail to build for this reason and we
have sent such patch to fix the issue. Ideally, we'd better solve this 
problem from gcc upstream[0] but do not know how long to cost until 
it works. Also important is that the qtwebkit-opensource-src package 
is very key package for many packages from my view. Like:

```
The following packages have unmet dependencies:
 qttools5-dev-tools : Depends: qt5-assistant (= 5.15.4-2+b1) but it is not going to be installed
                      Depends: libqt5designer5 (>= 5.14.1) but it is not going to be installed
                      Depends: libqt5designercomponents5 (>= 5.6.0~beta) but it is not going to be installed
                      Depends: libqt5webkit5 (>= 5.212.0~alpha4-8~) but it is not going to be installed
                      Depends: qtbase-abi-5-15-4 but it is not installable
                      Depends: qtdeclarative-abi-5-15-4 but it is not installable
E: Unable to correct problems, you have held broken packages.
```

As a workround, the MR I have tested:
https://salsa.debian.org/qt-kde-team/qt/qt5webkit/-/merge_requests/1

If you apply the change in next upload, I will also stare at the gcc 
upstream patch. I'll update it once it's in Debian.

[0]: https://gcc.gnu.org/pipermail/gcc-patches/2022-August/600151.html

-- 
Regards,
--
  Bo YU

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: qtwebkit-opensource-src
Source-Version: 5.212.0~alpha4-26
Done: Dmitry Shachnev <mitya57@debian.org>

We believe that the bug you reported is fixed in the latest version of
qtwebkit-opensource-src, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1021548@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtwebkit-opensource-src package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 01 Nov 2022 21:32:28 +0300
Source: qtwebkit-opensource-src
Architecture: source
Version: 5.212.0~alpha4-26
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 1021548
Changes:
 qtwebkit-opensource-src (5.212.0~alpha4-26) unstable; urgency=medium
 .
   [ Bo YU ]
   * Fix build on riscv64 (closes: #1021548).
 .
   [ Dmitry Shachnev ]
   * Update debian/libqt5webkit5.symbols for hurd-i386 and sh4.
Checksums-Sha1:
 38755e77ecc75b7748355445dc9285401c8981d4 3218 qtwebkit-opensource-src_5.212.0~alpha4-26.dsc
 2d62ae3f0df3c828c32ba84d1c7e41b31bd6464b 66756 qtwebkit-opensource-src_5.212.0~alpha4-26.debian.tar.xz
 1f9d16a6220d3907beba2324c1b7f9b0afd3f69f 13064 qtwebkit-opensource-src_5.212.0~alpha4-26_source.buildinfo
Checksums-Sha256:
 f3ded4f71c5d1a2a3488640952cef0d8c5ef922f024b1e181c1cce3a8d3e18a7 3218 qtwebkit-opensource-src_5.212.0~alpha4-26.dsc
 4413c1c4e9c512c66b05df190adba7f993e4e0c8c13210248e47bb20e34b9ef3 66756 qtwebkit-opensource-src_5.212.0~alpha4-26.debian.tar.xz
 75eb28ff7dac2b371f43586cc237ab3ba3a3ef93b95a30871e5310ab91711afd 13064 qtwebkit-opensource-src_5.212.0~alpha4-26_source.buildinfo
Files:
 b5695ce43f31e472615acd759aef9c35 3218 libs optional qtwebkit-opensource-src_5.212.0~alpha4-26.dsc
 e6ba90c194adf1c2ba98d03db0c9966b 66756 libs optional qtwebkit-opensource-src_5.212.0~alpha4-26.debian.tar.xz
 88412aaba3410aadf1d6d615f5ae85ff 13064 libs optional qtwebkit-opensource-src_5.212.0~alpha4-26_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmNhjBQTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDy80qD/wMBA2iEtZTgIaI/FAe0PbV2CZEXWX6
2ZzikzbGtzpRhMn3Fwciddwxoxj3hZwNZRniqNeS/0Pm5RiV50uWoQ4lx+YXRiae
r32H7mFrY/KYZ6wrDFX53ooH4URkqcuuKG7OQcTnuOdlrfCHshNFhIm4elimbfaJ
M0AQtj57fbZcit1z4TITADBOrrxfsmAs3x+Jj7sW2iHCDfmEijwjDdjsQd8wmama
i/gsB2cuCvDm303cqzRePxl3duVyFCyQAekUrgbAVvhO+lHUq/oJQhBNQBmEjMmh
s65BInlSpY+KQdEIEnjE8U/ZFJZz1bETIa0Iz5sj/kGYzJFJvn598TRmZVfCDW3x
0MC8P3bkb8KyDzFQNfdNDrZeZM+r7f7N4di0TFvF8Y+idsJOXaaXXj5qzvAM41XB
rf3+1eTgDXWAdkEHW0qAOmv7YDrNV5yiuuAqQ/7pujC5iRTUn++nKtRWYC4gMf//
wBZJ8ysrOTwRIU/hgtW5D32Mrw4YwAQI3gIKyewDdwTT7Km9f7ZGHxAF/pPMnu7j
AHaRef2uD+kXqShwsmzGSMaEOkxV1q3kjHa4fSgdlqQT831JnZJaU575WHlcrhXk
adjtPS8LiwLCS/8hDPH44WqcxMdVQ7zPc7Nrbe50zISb85TZloPSQcePxLiApZpO
BNnP3w4A8teprw==
=wPXt
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: