Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839399 - media-sound/guitarix-0.43.1 - /.../gatomic.h: error: invalid conversion from volatile void to void [-fpermissive]
Summary: media-sound/guitarix-0.43.1 - /.../gatomic.h: error: invalid conversion from ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Miroslav Šulc
URL: https://sourceforge.net/p/guitarix/pa...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-04-19 07:54 UTC by Toralf Förster
Modified: 2022-05-04 00:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.31 KB, text/plain)
2022-04-19 07:54 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,110.73 KB, application/x-bzip)
2022-04-19 07:54 UTC, Toralf Förster
Details
environment (environment,101.05 KB, text/plain)
2022-04-19 07:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.42 KB, application/x-bzip)
2022-04-19 07:54 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.12 KB, application/x-bzip)
2022-04-19 07:54 UTC, Toralf Förster
Details
media-sound:guitarix-0.43.1:20220419-074646.log.bz2 (media-sound:guitarix-0.43.1:20220419-074646.log.bz2,13.15 KB, application/x-bzip)
2022-04-19 07:54 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.09 KB, application/x-bzip)
2022-04-19 07:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-19 07:54:49 UTC
                 from /usr/include/glibmm-2.4/glibmm/i18n.h:23,
                 from ../src/headers/engine.h:43,
                 from ../src/gx_head/engine/gx_engine_audio.cpp:27:
../src/headers/gx_system.h: In function bool gx_system::atomic_compare_and_exchange(volatile int*, int, int)’:
/usr/include/glib-2.0/glib/gatomic.h:163:44: error: invalid conversion from volatile void*’ to void*’ [-fpermissive]
  163 |     __atomic_compare_exchange_n ((atomic), &gaicae_oldval, (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; \
      |                                            ^~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4_abi32+64-20220410-170316

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 54c70df181db12097b0eec6b4fd0c2b92c60cc15
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 19 06:39:03 2022 +0000

    2022-04-19 06:39:02 UTC

emerge -qpvO media-sound/guitarix
[ebuild  N    ] media-sound/guitarix-0.43.1  USE="bluetooth nls standalone -debug -lv2 -nsm -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2022-04-19 07:54:50 UTC
Created attachment 771725 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-19 07:54:52 UTC
Created attachment 771728 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-19 07:54:53 UTC
Created attachment 771731 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-19 07:54:54 UTC
Created attachment 771734 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-19 07:54:55 UTC
Created attachment 771737 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-19 07:54:56 UTC
Created attachment 771740 [details]
media-sound:guitarix-0.43.1:20220419-074646.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-19 07:54:57 UTC
Created attachment 771743 [details]
temp.tar.bz2
Comment 9 Alexander Tsoy 2022-05-02 06:21:26 UTC
(In reply to Sam James from comment #8)
> https://sourceforge.net/p/guitarix/git/ci/
> d8f003484c57d808682025dfb07a7a1fb848afdc/

This is a fix for a different issue and it is already in 0.43.1.
$ git --no-pager tag --contains d8f003484c57d808682025dfb07a7a1fb848afdc 
V0.43.0
V0.43.1
Comment 10 Alexander Tsoy 2022-05-02 06:27:17 UTC
This is likely glib-2.72 related and has nothing to do with gcc 11.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-02 06:35:42 UTC
(In reply to Alexander Tsoy from comment #10)
> This is likely glib-2.72 related and has nothing to do with gcc 11.

https://sourceforge.net/p/guitarix/git/ci/375518bc7e6271929005a45d8129ef54e8d3ea2a/tree/trunk/src/headers/gx_system.h?diff=89b944c7c47b565cebfb1ac368fcb5ede82fd5d3

(We did have a bunch of previous glib atomic issues which ended up being exposed by newer gcc too)
Comment 12 Larry the Git Cow gentoo-dev 2022-05-03 06:54:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdaec81bb722bd17a9f6caf4fbf5f4dd024e6c1d

commit bdaec81bb722bd17a9f6caf4fbf5f4dd024e6c1d
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2022-05-03 06:54:09 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2022-05-03 06:54:19 +0000

    media-sound/guitarix: bump to 0.44.0, dropped python3_7 from all
    
    Bug: https://bugs.gentoo.org/839399
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/guitarix/Manifest               |  1 +
 media-sound/guitarix/guitarix-0.43.1.ebuild |  2 +-
 media-sound/guitarix/guitarix-0.44.0.ebuild | 90 +++++++++++++++++++++++++++++
 media-sound/guitarix/guitarix-9999.ebuild   |  4 +-
 4 files changed, 94 insertions(+), 3 deletions(-)
Comment 13 Alexander Tsoy 2022-05-04 00:29:48 UTC
I reproduced this issue with gcc-10 and glib-2.72.1 and can confirm that guitarix-0.44.0 fixed it.
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-04 00:53:14 UTC
(In reply to Alexander Tsoy from comment #13)
> I reproduced this issue with gcc-10 and glib-2.72.1 and can confirm that
> guitarix-0.44.0 fixed it.

Thanks.