Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786246 - dev-ruby/facter-3.14.17 - /.../scoped_resource.hpp: error: declaration of operator new as non-function
Summary: dev-ruby/facter-3.14.17 - /.../scoped_resource.hpp: error: declaration of ope...
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-11
  Show dependency tree
 
Reported: 2021-04-28 07:08 UTC by Toralf Förster
Modified: 2021-08-04 21:55 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.69 KB, text/plain)
2021-04-28 07:08 UTC, Toralf Förster
Details
dev-ruby:facter-3.14.17:20210427-232702.log (dev-ruby:facter-3.14.17:20210427-232702.log,93.41 KB, text/plain)
2021-04-28 07:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,194.02 KB, text/plain)
2021-04-28 07:08 UTC, Toralf Förster
Details
environment (environment,108.93 KB, text/plain)
2021-04-28 07:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.33 KB, application/x-bzip)
2021-04-28 07:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.94 KB, application/x-bzip)
2021-04-28 07:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.83 KB, application/x-bzip)
2021-04-28 07:08 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 2021-04-28 07:08:12 UTC
In file included from /var/tmp/portage/dev-ruby/facter-3.14.17/work/facter-3.14.17/lib/inc/internal/util/scoped_file.hpp:7,
                 from /var/tmp/portage/dev-ruby/facter-3.14.17/work/facter-3.14.17/lib/src/util/scoped_file.cc:1:
/usr/include/leatherman/util/scoped_resource.hpp:124:15: error: declaration of ‘operator new’ as non-function
  124 |         void* operator new(size_t) = delete;
      |               ^~~~~~~~
/usr/include/leatherman/util/scoped_resource.hpp:124:24: error: expected ‘;’ at end of member declaration
  124 |         void* operator new(size_t) = delete;

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210423-202814

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.3.0
 [3] 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 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:05:14 UTC 2021

emerge -qpvO dev-ruby/facter
[ebuild  N    ] dev-ruby/facter-3.14.17  USE="-test" RUBY_TARGETS="ruby26 -ruby25 -ruby27"
Comment 1 Toralf Förster gentoo-dev 2021-04-28 07:08:13 UTC
Created attachment 702816 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 07:08:15 UTC
Created attachment 702819 [details]
dev-ruby:facter-3.14.17:20210427-232702.log
Comment 3 Toralf Förster gentoo-dev 2021-04-28 07:08:16 UTC
Created attachment 702822 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-28 07:08:18 UTC
Created attachment 702825 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-28 07:08:19 UTC
Created attachment 702828 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 07:08:20 UTC
Created attachment 702831 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-28 07:08:21 UTC
Created attachment 702834 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-04 21:55:13 UTC
Actually a bug in leatherman: https://github.com/puppetlabs/leatherman/commit/162559cddbb1796ba22a6355dfd9d126c4c216eb. Fixed now since 1.12.5 (stable in ::gentoo).