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

Bug 786246

Summary: dev-ruby/facter-3.14.17 - /.../scoped_resource.hpp: error: declaration of operator new as non-function
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, ruby, sam, sysadmin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
dev-ruby:facter-3.14.17:20210427-232702.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

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).