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

Bug 786291

Summary: dev-libs/leatherman-1.12.4 - /.../scope_exit.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, sam
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-libs:leatherman-1.12.4:20210428-062300.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:15:25 UTC
In file included from /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/scope_exit.cc:1:
/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:15: error: declaration of ‘operator new’ as non-function
   54 |         void* operator new(size_t) = delete;
      |               ^~~~~~~~
/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:24: error: expected ‘;’ at end of member declaration
   54 |         void* operator new(size_t) = delete;

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20210421-084009

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.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 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	Wed Apr 28 06:05:22 UTC 2021

emerge -qpvO dev-libs/leatherman
[ebuild  N    ] dev-libs/leatherman-1.12.4  USE="-debug -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2021-04-28 07:15:26 UTC
Created attachment 703077 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 07:15:27 UTC
Created attachment 703080 [details]
dev-libs:leatherman-1.12.4:20210428-062300.log
Comment 3 Toralf Förster gentoo-dev 2021-04-28 07:15:28 UTC
Created attachment 703083 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-28 07:15:30 UTC
Created attachment 703086 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-28 07:15:31 UTC
Created attachment 703089 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 07:15:32 UTC
Created attachment 703092 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-28 07:15:33 UTC
Created attachment 703095 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-15 02:33:18 UTC
(In reply to Sam James from comment #8)
> https://github.com/puppetlabs/leatherman/commit/
> 162559cddbb1796ba22a6355dfd9d126c4c216eb

(in 1.12.5)