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

Bug#1017507: marked as done (vimix FTBFS on riscv64: needs to be linked with libatomic)



Your message dated Fri, 19 Aug 2022 12:04:36 +0000
with message-id <E1oP0js-000xQA-EU@fasolo.debian.org>
and subject line Bug#1017507: fixed in vimix 0.7.0+git20220523+ds-3
has caused the Debian Bug report #1017507,
regarding vimix FTBFS on riscv64: needs to be linked with libatomic
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.)


-- 
1017507: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017507
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: vimix
Version: 0.7.0+git20220523+ds
Severity: important
Tags: ftbfs
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear maintainer,

vimix fails to build on riscv64 architecture.

The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=vimix&arch=riscv64&ver=0.7.0%2Bgit20220523%2Bds-2&stamp=1654605746&raw=0

| /usr/bin/ld: CMakeFiles/vimix.dir/Metronome.cpp.o: in function `asio::detail::posix_mutex::unlock()':
| /usr/include/asio/detail/posix_mutex.hpp:57: undefined reference to `__atomic_exchange_1'
| /usr/include/asio/detail/deadline_timer_service.hpp:263: undefined reference to `__atomic_exchange_1'
| /usr/bin/ld: CMakeFiles/vimix.dir/Metronome.cpp.o: in function `std::__atomic_base<bool>::exchange(bool, std::memory_order)':
| /usr/include/c++/11/bits/atomic_base.h:499: undefined reference to `__atomic_exchange_1'
| collect2: error: ld returned 1 exit status
| make[3]: *** [CMakeFiles/vimix.dir/build.make:1329: vimix] Error 1

It used to build successfully in the past as linking with -pthread
automatically links with libatomic, however the recent upload of glibc
2.34 made the -pthread flag not fully necessary anymore.

The workaround is to explicitly link with libatomic like in the attached patch. 
Could you please check and apply this patch?

Thanks
Hieu.

Attachment: fix-riscv64-fails-to-build.patch
Description: fix-riscv64-fails-to-build.patch


--- End Message ---
--- Begin Message ---
Source: vimix
Source-Version: 0.7.0+git20220523+ds-3
Done: Gürkan Myczko <tar@debian.org>

We believe that the bug you reported is fixed in the latest version of
vimix, 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 1017507@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gürkan Myczko <tar@debian.org> (supplier of updated vimix 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: SHA256

Format: 1.8
Date: Fri, 19 Aug 2022 13:39:31 +0200
Source: vimix
Architecture: source
Version: 0.7.0+git20220523+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Gürkan Myczko <tar@debian.org>
Closes: 1017507
Changes:
 vimix (0.7.0+git20220523+ds-3) unstable; urgency=medium
 .
   * Apply patch to fix FTBFS. Thanks, Hieu Nguyenvan. (Closes: #1017507)
Checksums-Sha1:
 4055caefebe60d6649b598836eb2594abd626cae 2226 vimix_0.7.0+git20220523+ds-3.dsc
 4bb3aaf9fa32771b9062d90e7f2d30eac7ac7f06 6116 vimix_0.7.0+git20220523+ds-3.debian.tar.xz
 94a21c2c50b8493f94326679d9902ea31bd19988 19538 vimix_0.7.0+git20220523+ds-3_source.buildinfo
Checksums-Sha256:
 65b27fc8419c5a3186d10c5fbe81883fe92e93513ded53ed74e9e28ab6a6908a 2226 vimix_0.7.0+git20220523+ds-3.dsc
 efc1e4eb130fd9ab000844f4cac211a215a6f1832c6d8bae687ef7f8597dc110 6116 vimix_0.7.0+git20220523+ds-3.debian.tar.xz
 18f71ace596cdb5ff6e27e64795ed9a103450cfd76b44d726f1457e234557f4f 19538 vimix_0.7.0+git20220523+ds-3_source.buildinfo
Files:
 7dbebd10bffbb11d0cc36368c60313c8 2226 video optional vimix_0.7.0+git20220523+ds-3.dsc
 137699e3e2e30c0cc9b1aaff410b05ef 6116 video optional vimix_0.7.0+git20220523+ds-3.debian.tar.xz
 210d373043dc760b6c95bc8f846bd6d0 19538 video optional vimix_0.7.0+git20220523+ds-3_source.buildinfo

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

iQIzBAEBCAAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmL/eDwACgkQEWhSvN91
FcAJtg/9FVms1YXrM0wQ6IVZp4yCyFrUmSrGS07HTTGtmGitHnlsj4OuN8aXlQvm
OkT4e0pJChhFZyEdJUNOySVj488m7h3O2nkE9VnnkEEWEcc9W9KcYiJ8OhYku/h+
LfQQWvATsh2OEUQyYUPY9pr9y+4rMjUn1AM3s4REcD8nAddcGbxGJbAJxeGuaLI9
oKH7MLvdIHGGaIGNTtFq2BWaAAfV8F/SLUvXM+DXgiLyvuLTOIUAuOlKZFgG8jpA
budtaUpHqbZRPNeNkTBpFWdrLY+NxdY6OLLBeqVqPi91VMGf0X8Avqb8GWc3UaeX
ea/0Edby/l9a8fHMPSNpkoIGU3Ess2MjMhjqoMh/MfzX48dqbD7/kEhP5RnuA0+j
WgtqfzdaVODOQEaqYtC3s49vVM3BEusKW4V9TmamHtr0jQ7t+GtFWYENgltkJlBC
kNeDbmPNzRn8oYb3xcLXAr1tlWWpz6KcCldOcd4vTnH37mEefJdD/XOsrxaYe9zz
HzaGese8HtDzXaiJuFBMWmppbOJX3KNLO2+4qOIqlbNxEtHG6iEFFjwdUYPoA6Ph
zSO/l4AqO2XgVh5BufQmRfSlkaiJEhvazGHjiwRwSCmeGJiFFu/8WLY1ak8mucB6
dFGjwewkFp+NNnY573RS9mL8jDVu5oTg4Kkpc+N8Se99aZTYR0Q=
=m3gz
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: