Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840116 - dev-ruby/facter-3.14.23 - /.../load_average_resolver.cc: error: aggregate std::array<double, 3> averages has incomplete type and c
Summary: dev-ruby/facter-3.14.23 - /.../load_average_resolver.cc: error: aggregate std...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-22 12:18 UTC by Toralf Förster
Modified: 2022-06-10 02:45 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.38 KB, text/plain)
2022-04-22 12:18 UTC, Toralf Förster
Details
dev-ruby:facter-3.14.23:20220421-214239.log (dev-ruby:facter-3.14.23:20220421-214239.log,181.12 KB, text/plain)
2022-04-22 12:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,65.66 KB, text/plain)
2022-04-22 12:18 UTC, Toralf Förster
Details
environment (environment,112.73 KB, text/plain)
2022-04-22 12:18 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,6.33 KB, application/x-bzip)
2022-04-22 12:18 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.56 KB, application/x-bzip)
2022-04-22 12:18 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.75 KB, application/x-bzip)
2022-04-22 12:18 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-22 12:18:46 UTC
too long lines were shrinked:

[81/162] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_CLOSEFROM -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/
FAILED: lib/CMakeFiles/libfactersrc.dir/src/facts/glib/load_average_resolver.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_CLOSEFROM -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-ruby/
/var/tmp/portage/dev-ruby/facter-3.14.23/work/facter-3.14.23/lib/src/facts/glib/load_average_resolver.cc: In member function virtual boost::optional<std::tuple<double, double, double> > facter::facts::glib::load_average_resolver::get_load_averages()’:
/var/tmp/portage/dev-ruby/facter-3.14.23/work/facter-3.14.23/lib/src/facts/glib/load_average_resolver.cc:15:26: error: aggregate std::array<double, 3> averages’ has incomplete type and cannot be defined
   15 |         array<double, 3> averages;
      |                          ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4_test-20220420-221025

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.0.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-bin-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 7e80d56055c0d69abeff4414da380e173dd875bf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 21 21:04:22 2022 +0000

    2022-04-21 21:04:21 UTC

emerge -qpvO dev-ruby/facter
[ebuild  N    ] dev-ruby/facter-3.14.23  USE="-test" RUBY_TARGETS="ruby26 ruby27"
Comment 1 Toralf Förster gentoo-dev 2022-04-22 12:18:47 UTC
Created attachment 772856 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-22 12:18:48 UTC
Created attachment 772859 [details]
dev-ruby:facter-3.14.23:20220421-214239.log
Comment 3 Toralf Förster gentoo-dev 2022-04-22 12:18:50 UTC
Created attachment 772862 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-22 12:18:51 UTC
Created attachment 772865 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-22 12:18:52 UTC
Created attachment 772868 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-22 12:18:53 UTC
Created attachment 772871 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-22 12:18:54 UTC
Created attachment 772874 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-10 02:45:11 UTC
The bug has been closed via the following commit(s):

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

commit 1ca73aff9416bdaf4960ad351a54f723a1083fcd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-10 02:16:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-10 02:27:01 +0000

    dev-ruby/facter: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/840116
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ruby/facter/facter-3.14.23.ebuild            |  1 +
 dev-ruby/facter/files/facter-3.14.23-gcc12.patch | 10 ++++++++++
 2 files changed, 11 insertions(+)