Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685880 - media-sound/mp3check-0.8.7 : tstring.cc:114:39: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
Summary: media-sound/mp3check-0.8.7 : tstring.cc:114:39: error: exception cleanup for ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 18:01 UTC by Toralf Förster
Modified: 2019-07-29 08:01 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.36 KB, text/plain)
2019-05-13 18:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,145.75 KB, text/plain)
2019-05-13 18:01 UTC, Toralf Förster
Details
environment (environment,83.86 KB, text/plain)
2019-05-13 18:02 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.93 KB, application/x-bzip)
2019-05-13 18:02 UTC, Toralf Förster
Details
media-sound:mp3check-0.8.7:20190513-142939.log (media-sound:mp3check-0.8.7:20190513-142939.log,13.32 KB, text/plain)
2019-05-13 18:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.70 KB, application/x-bzip)
2019-05-13 18:02 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 2019-05-13 18:01:52 UTC
x86_64-pc-linux-gnu-g++ -Wall -W  -O2 -pipe -march=native -fno-strict-aliasing   -c -o tstring.o tstring.cc
tstring.cc: In static member function ‘static tstring::Rep* tstring::Rep::create(size_t)’:
tstring.cc:114:39: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
  114 |    Rep *p = new (m - 1 - sizeof(Rep)) Rep;
      |                                       ^~~
In file included from tstring.cc:26:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_20190510-222116

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1
  [2]   rust-1.34.1 *



emerge -qpvO media-sound/mp3check
[ebuild  N    ] media-sound/mp3check-0.8.7
Comment 1 Toralf Förster gentoo-dev 2019-05-13 18:01:54 UTC
Created attachment 576486 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-13 18:01:57 UTC
Created attachment 576488 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-13 18:02:00 UTC
Created attachment 576490 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-13 18:02:03 UTC
Created attachment 576492 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-13 18:02:07 UTC
Created attachment 576494 [details]
media-sound:mp3check-0.8.7:20190513-142939.log
Comment 6 Toralf Förster gentoo-dev 2019-05-13 18:02:09 UTC
Created attachment 576496 [details]
temp.tbz2
Comment 7 Jiří Moravec 2019-05-28 09:20:35 UTC
So right now only 'solution' is:

--- mp3check-0.8.7.ebuild       2017-06-21 21:16:45.115450814 +0200
+++ mp3check-0.8.7-r1.ebuild     2019-05-28 11:11:56.462244979 +0200
@@ -21,6 +21,7 @@ src_configure() {
        # tfiletools.h:59:50: warning: dereferencing type-punned pointer will break
        # strict-aliasing rules [-Wstrict-aliasing]
        append-cxxflags -fno-strict-aliasing
+       append-cxxflags -std=c++98 # Bug 685880
 }
 
 src_compile() {
---

Right?
Comment 8 Larry the Git Cow gentoo-dev 2019-06-22 08:33:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e58fc53a784c5af3d535781620f893bd7ddbcf

commit 63e58fc53a784c5af3d535781620f893bd7ddbcf
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-06-22 08:33:13 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-06-22 08:33:13 +0000

    media-sound/mp3check: Fix building against GCC 9
    
    Closes: https://bugs.gentoo.org/685880
    Package-Manager: Portage-2.3.67, Repoman-2.3.15
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/mp3check-0.8.7-fix-buildsystem.patch        | 17 +++++++++++++++++
 .../mp3check-0.8.7-fix-c++14-operator-delete.patch    | 19 +++++++++++++++++++
 media-sound/mp3check/mp3check-0.8.7.ebuild            | 17 ++++++++---------
 3 files changed, 44 insertions(+), 9 deletions(-)