Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 786249

Summary: x11-libs/vte-0.62.3 - /.../gatomic.h: error: argument 2 of _atomic_load must not be a pointer to a volatile type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: alexandref75, gentoo, ionen, steffen.weber
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.gnome.org/GNOME/vte/-/commit/89e9230dc1a27b89cca16de32e903918a27b8e42
See Also: https://bugs.gentoo.org/show_bug.cgi?id=769533
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2
x11-libs:vte-0.62.3:20210427-235708.log

Description Toralf Förster gentoo-dev 2021-04-28 07:08:45 UTC
                 from src/vte/vtetypebuiltins.cc:4:
src/vte/vtetypebuiltins.cc: In function ‘GType vte_cursor_blink_mode_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:117:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
  117 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’
  260 |     (!g_atomic_pointer_get (location) &&                             \

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210424-085324

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Apr 27 23:35:11 UTC 2021

emerge -qpvO x11-libs/vte
[ebuild  N    ] x11-libs/vte-0.62.3  USE="crypt icu introspection systemd vala -debug -gtk-doc -vanilla"
Comment 1 Toralf Förster gentoo-dev 2021-04-28 07:08:46 UTC
Created attachment 702837 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 07:08:48 UTC
Created attachment 702840 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-28 07:08:49 UTC
Created attachment 702843 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-28 07:08:51 UTC
Created attachment 702846 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-28 07:08:52 UTC
Created attachment 702849 [details]
temp.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 07:08:54 UTC
Created attachment 702852 [details]
x11-libs:vte-0.62.3:20210427-235708.log
Comment 7 Ionen Wolkens gentoo-dev 2021-04-28 07:52:08 UTC
See $url, haven't tested much but seems to work applied as-is to vte-0.62.3
Comment 8 jospezial 2021-04-29 22:00:31 UTC
please version bump to
https://gitlab.gnome.org/GNOME/vte/-/tags/0.64.0
has the fix
Comment 9 Matt Turner gentoo-dev 2021-04-30 02:02:08 UTC
(In reply to jospezial from comment #8)
> please version bump to
> https://gitlab.gnome.org/GNOME/vte/-/tags/0.64.0
> has the fix

We apply a significant patch from Fedora, and it looks like it needs a massive rebase for 0.64.0 :(
Comment 10 Ionen Wolkens gentoo-dev 2021-04-30 22:19:50 UTC
Can't $url be used as a hotfix meanwhile?

Been using vte-0.62.3 patched with it and built with gcc11 for 2 days now, doesn't seem to cause regressions with old glib/gcc either (tests pass).
Comment 11 Larry the Git Cow gentoo-dev 2021-04-30 23:00:37 UTC
The bug has been closed via the following commit(s):

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

commit 9fa09f1be9a46a81a5e1c68bea43de4c34727b80
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-30 22:30:07 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-30 23:00:20 +0000

    x11-libs/vte: Version bump to 0.64.1
    
    Closes: https://bugs.gentoo.org/786249
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-libs/vte/Manifest          |  2 +
 x11-libs/vte/vte-0.64.1.ebuild | 83 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)