Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710802 - dev-ruby/ruby-glib2-3.3.7 : glib-enum-types.c: error: initializer element is not computable at load time
Summary: dev-ruby/ruby-glib2-3.3.7 : glib-enum-types.c: error: initializer element is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 774135 (view as bug list)
Depends on: 774954
Blocks:
  Show dependency tree
 
Reported: 2020-02-25 18:42 UTC by Toralf Förster
Modified: 2021-03-14 08:49 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.00 KB, text/plain)
2020-02-25 18:42 UTC, Toralf Förster
Details
dev-ruby:ruby-glib2-3.3.7:20200224-231424.log (dev-ruby:ruby-glib2-3.3.7:20200224-231424.log,26.07 KB, text/plain)
2020-02-25 18:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,56.75 KB, text/plain)
2020-02-25 18:42 UTC, Toralf Förster
Details
environment (environment,81.65 KB, text/plain)
2020-02-25 18:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.64 KB, application/x-bzip)
2020-02-25 18:42 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.39 KB, application/x-bzip)
2020-02-25 18:42 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 2020-02-25 18:42:20 UTC
      |            ^~~
glib-enum-types.c:729:12: note: (near initialization for values[4].value)
glib-enum-types.c:729:12: error: initializer element is not computable at load time
glib-enum-types.c:729:12: note: (near initialization for values[4].value)
glib-enum-types.c:729:7: warning: missing initializer for field value_nick of GFlagsValue {aka const struct _GFlagsValue} [-Wmissing-field-initializers]
  729 |       { }, "}", "}" },

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl-20200223-130532

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 24 Feb 2020 22:41:05 +0000

emerge -qpvO dev-ruby/ruby-glib2
[ebuild  N    ] dev-ruby/ruby-glib2-3.3.7  USE="-test" RUBY_TARGETS="ruby24 ruby25 -ruby26 -ruby27"
Comment 1 Toralf Förster gentoo-dev 2020-02-25 18:42:23 UTC
Created attachment 615732 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-25 18:42:26 UTC
Created attachment 615734 [details]
dev-ruby:ruby-glib2-3.3.7:20200224-231424.log
Comment 3 Toralf Förster gentoo-dev 2020-02-25 18:42:29 UTC
Created attachment 615736 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-25 18:42:32 UTC
Created attachment 615738 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-25 18:42:34 UTC
Created attachment 615740 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-25 18:42:37 UTC
Created attachment 615742 [details]
logs.tbz2
Comment 7 Jonathan Lovelace 2020-06-16 21:52:06 UTC
I'm also seeing this for the stable version 3.3.2; applying the patches from https://github.com/ruby-gnome/ruby-gnome/pull/1295 (tweaked so epatch_user will accept them) made the build complete without error on my machine.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-07-15 16:07:39 UTC
Ping.
Comment 9 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-03-05 00:08:06 UTC
*** Bug 774135 has been marked as a duplicate of this bug. ***
Comment 10 Hans de Graaff gentoo-dev Security 2021-03-09 07:21:25 UTC
This has been fixed in 3.4.3 and I've just filed bug 774954 to mark that as stable.