Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786291 - dev-libs/leatherman-1.12.4 - /.../scope_exit.hpp: error: declaration of operator new as non-function
Summary: dev-libs/leatherman-1.12.4 - /.../scope_exit.hpp: error: declaration of opera...
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:15 UTC by Toralf Förster
Modified: 2021-06-15 02:33 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.75 KB, text/plain)
2021-04-28 07:15 UTC, Toralf Förster
Details
dev-libs:leatherman-1.12.4:20210428-062300.log (dev-libs:leatherman-1.12.4:20210428-062300.log,24.30 KB, text/plain)
2021-04-28 07:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,274.32 KB, text/plain)
2021-04-28 07:15 UTC, Toralf Förster
Details
environment (environment,95.07 KB, text/plain)
2021-04-28 07:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.79 KB, application/x-bzip)
2021-04-28 07:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.71 KB, application/x-bzip)
2021-04-28 07:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.17 KB, application/x-bzip)
2021-04-28 07:15 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: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-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)