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

Bug 722378

Summary: media-sound/sc2mpd-1.1.5 : OpenHome/Timer.cpp: error: void* memset(void*, int, size_t) clearing an object of non-trivial type clas
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Erik Mackdanz <stasibear>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
media-sound:sc2mpd-1.1.5:20200511-023951.log

Description Toralf Förster gentoo-dev 2020-05-11 07:27:53 UTC
gcc -o Build/Obj/Posix/Release/Timer.o -c -fexceptions -Wall  -pipe -D_GNU_SOURCE -D_REENTRANT -DDEFINE_LITTLE_ENDIAN -DDEFINE_TRACE -g -O2 -fvisibility=hidden   -fPIC -std=c++0x -Werror -IBuild/Include/  OpenHome/Timer.cpp
OpenHome/Timer.cpp: In constructor OpenHome::TimerManager::CallbackList::CallbackList():
OpenHome/Timer.cpp:311:41: error: void* memset(void*, int, size_t) clearing an object of non-trivial type class OpenHome::TimerManager::Callback; use assignment or value-initialization instead [-Werror=class-memaccess]
  311 |     (void)memset(iList, 0, sizeof(iList));
      |                                         ^
In file included from OpenHome/Timer.cpp:1:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200426-161709

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8
  [3]   python3.7
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.0
  [2]   rust-1.43.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 11 May 2020 12:40:09 AM UTC

emerge -qpvO media-sound/sc2mpd
[ebuild  N    ] media-sound/sc2mpd-1.1.5
Comment 1 Toralf Förster gentoo-dev 2020-05-11 07:27:59 UTC
Created attachment 637956 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-11 07:28:04 UTC
Created attachment 637958 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-11 07:28:10 UTC
Created attachment 637960 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-11 07:28:17 UTC
Created attachment 637964 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-11 07:28:22 UTC
Created attachment 637966 [details]
media-sound:sc2mpd-1.1.5:20200511-023951.log
Comment 6 Larry the Git Cow gentoo-dev 2020-11-17 03:04:21 UTC
The bug has been closed via the following commit(s):

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

commit d79361b03347340c9aceb704e72be6f20ad1f86e
Author:     Erik Mackdanz <stasibear@gentoo.org>
AuthorDate: 2020-11-17 03:04:03 +0000
Commit:     Erik Mackdanz <stasibear@gentoo.org>
CommitDate: 2020-11-17 03:04:03 +0000

    media-sound/sc2mpd: patch out -Werror
    
    Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
    Closes: https://bugs.gentoo.org/722378
    Closes: https://bugs.gentoo.org/740534
    Closes: https://bugs.gentoo.org/751661
    Package-Manager: Portage-3.0.9, Repoman-3.0.2

 media-sound/sc2mpd/files/sc2mpd-1.1.5-werror.patch | 72 ++++++++++++++++++++++
 media-sound/sc2mpd/sc2mpd-1.1.5.ebuild             |  4 +-
 2 files changed, 75 insertions(+), 1 deletion(-)