Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942664 - media-sound/audacity-3.7.0 - /.../ExportFilePanel.cpp: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: media-sound/audacity-3.7.0 - /.../ExportFilePanel.cpp: error: dereferencing t...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-11-01 16:48 UTC by Toralf Förster
Modified: 2025-02-16 08:25 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.80 KB, text/plain)
2024-11-01 16:48 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,82.48 KB, application/x-xz)
2024-11-01 16:48 UTC, Toralf Förster
Details
environment (environment,111.23 KB, text/plain)
2024-11-01 16:48 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-01 16:48 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,27.61 KB, application/x-xz)
2024-11-01 16:48 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,195.30 KB, application/x-xz)
2024-11-01 16:48 UTC, Toralf Förster
Details
media-sound:audacity-3.7.0:20241031-224316.log.xz (media-sound:audacity-3.7.0:20241031-224316.log.xz,40.79 KB, application/x-xz)
2024-11-01 16:48 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,87.14 KB, application/x-xz)
2024-11-01 16:48 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.68 KB, application/x-xz)
2024-11-01 16:48 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 2024-11-01 16:48:23 UTC
too long lines were shrinked:

[956/1186] /usr/bin/x86_64-pc-linux-gnu-g++ -DAUDACITY_APPLICATION_LOGIC_API="" -DAUDACITY_DLL_API="" -DAUDIO_DEVICES_API="" -DAUDIO_GRAPH_API="" -DAUDIO_IO_API="" -DAudacity_EXPORTS -DBASIC_UI_API="" -DBUILDING_AUDACITY -DBUILTIN_EFFECTS_API="" -DCHANNEL_API="" -DCMAKE -DCOMMAND_PARAMETERS_API="" -
[957/1186] /usr/bin/x86_64-pc-linux-gnu-g++ -DAUDACITY_APPLICATION_LOGIC_API="" -DAUDACITY_DLL_API="" -DAUDIO_DEVICES_API="" -DAUDIO_GRAPH_API="" -DAUDIO_IO_API="" -DAudacity_EXPORTS -DBASIC_UI_API="" -DBUILDING_AUDACITY -DBUILTIN_EFFECTS_API="" -DCHANNEL_API="" -DCMAKE -DCOMMAND_PARAMETERS_API="" -
[958/1186] /usr/bin/x86_64-pc-linux-gnu-g++ -DAUDACITY_APPLICATION_LOGIC_API="" -DAUDACITY_DLL_API="" -DAUDIO_DEVICES_API="" -DAUDIO_GRAPH_API="" -DAUDIO_IO_API="" -DAudacity_EXPORTS -DBASIC_UI_API="" -DBUILDING_AUDACITY -DBUILTIN_EFFECTS_API="" -DCHANNEL_API="" -DCMAKE -DCOMMAND_PARAMETERS_API="" -
FAILED: src/CMakeFiles/Audacity.dir/export/ExportFilePanel.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DAUDACITY_APPLICATION_LOGIC_API="" -DAUDACITY_DLL_API="" -DAUDIO_DEVICES_API="" -DAUDIO_GRAPH_API="" -DAUDIO_IO_API="" -DAudacity_EXPORTS -DBASIC_UI_API="" -DBUILDING_AUDACITY -DBUILTIN_EFFECTS_API="" -DCHANNEL_API="" -DCMAKE -DCOMMAND_PARAMETERS_API="" -DCOMPONENTS
/var/tmp/portage/media-sound/audacity-3.7.0/work/audacity-sources-3.7.0/src/export/ExportFilePanel.cpp: In member function void ExportFilePanel::OnSampleRateChange(wxCommandEvent&):
/var/tmp/portage/media-sound/audacity-3.7.0/work/audacity-sources-3.7.0/src/export/ExportFilePanel.cpp:439:22: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
  439 |       mSampleRate = *reinterpret_cast<const int*>(&clientData);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241025-164008

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit eb15a29e2a6f975b54a2112b7efdcb6da3f8fa47
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 31 22:18:48 2024 +0000

    2024-10-31 22:18:47 UTC

emerge -qpvO =media-sound/audacity-3.7.0
[ebuild  N    ] media-sound/audacity-3.7.0  USE="flac id3tag ladspa mpg123 ogg opus portmixer sbsms twolame vorbis -alsa -audiocom -ffmpeg -lv2 -test -vamp -wavpack"
Comment 1 Toralf Förster gentoo-dev 2024-11-01 16:48:24 UTC
Created attachment 907512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-01 16:48:25 UTC
Created attachment 907513 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-01 16:48:26 UTC
Created attachment 907514 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-01 16:48:27 UTC
Created attachment 907515 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-01 16:48:28 UTC
Created attachment 907516 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-01 16:48:29 UTC
Created attachment 907517 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-01 16:48:30 UTC
Created attachment 907518 [details]
media-sound:audacity-3.7.0:20241031-224316.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-01 16:48:32 UTC
Created attachment 907519 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-01 16:48:33 UTC
Created attachment 907520 [details]
temp.tar.xz
Comment 10 Konstantin Münning 2024-11-29 21:54:05 UTC
Same here and this also happens with media-sound/audacity-3.4.2-r1