Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686108 - media-sound/helm-0.9.0 : ../.../juce_PixelFormats.h:114:77: error: cannot bind packed field ((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[3] to juce::uint8& {aka unsigned char&
Summary: media-sound/helm-0.9.0 : ../.../juce_PixelFormats.h:114:77: error: cannot bin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 16:17 UTC by Toralf Förster
Modified: 2020-07-15 20:31 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.45 KB, text/plain)
2019-05-16 16:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,213.40 KB, text/plain)
2019-05-16 16:17 UTC, Toralf Förster
Details
environment (environment,32.92 KB, text/plain)
2019-05-16 16:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.78 KB, application/x-bzip)
2019-05-16 16:17 UTC, Toralf Förster
Details
media-sound:helm-0.9.0:20190516-152849.log (media-sound:helm-0.9.0:20190516-152849.log,14.57 KB, text/plain)
2019-05-16 16:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.62 KB, application/x-bzip)
2019-05-16 16:17 UTC, Toralf Förster
Details
helm-0.9.0-gcc9.patch (helm-0.9.0-gcc9.patch,5.64 KB, patch)
2019-11-23 21:41 UTC, Samuel Bauer
Details | Diff

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-16 16:17:07 UTC
                 from ../../../src/common/border_bounds_constrainer.cpp:17:
../../../JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function ‘juce::uint8& juce::PixelARGB::getAlpha()’:
../../../JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:114:77: error: cannot bind packed field ‘((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[3]’ to ‘juce::uint8&’ {aka ‘unsigned char&’}
  114 | e uint8& getAlpha() noexcept           { return comps [indexA]; }
      |                                                 ~~~~~~~~~~~~~^


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-gnome_20190510-222703

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

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-1.34.1 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.12.0 [icedtea-8]
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpvO media-sound/helm
[ebuild  N    ] media-sound/helm-0.9.0
Comment 1 Toralf Förster gentoo-dev 2019-05-16 16:17:10 UTC
Created attachment 576932 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-16 16:17:13 UTC
Created attachment 576934 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-16 16:17:16 UTC
Created attachment 576936 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-16 16:17:18 UTC
Created attachment 576938 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-16 16:17:21 UTC
Created attachment 576940 [details]
media-sound:helm-0.9.0:20190516-152849.log
Comment 6 Toralf Förster gentoo-dev 2019-05-16 16:17:24 UTC
Created attachment 576942 [details]
temp.tbz2
Comment 7 Samuel Bauer 2019-11-19 22:22:43 UTC
This patch from arch solves the compile issue (runtime seem also fine)

https://aur.archlinux.org/cgit/aur.git/tree/gcc9.patch?h=helm-vst

The patch itself may need some cleaning, but it works.
Comment 8 Samuel Bauer 2019-11-23 21:41:13 UTC
Created attachment 597324 [details, diff]
helm-0.9.0-gcc9.patch

Some lines from the arch patch did were there only for cosmetics (aligning).
Comment 9 Larry the Git Cow gentoo-dev 2019-12-14 16:28:59 UTC
The bug has been closed via the following commit(s):

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

commit fe68005995163bb04bdc0f6b663ac1600a667deb
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2019-12-14 16:28:26 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2019-12-14 16:28:51 +0000

    media-sound/helm-0.9.0-r1: fixes with revbump (removed old)
    
    1) switched from xdg-utils to xdg
    2) fixed bug 686108 using the patch from upstream though technically
       the patch in the bug is the same
    3) fixed installation path for documentation
    
    Closes: https://bugs.gentoo.org/686108
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/helm/files/helm-0.9.0-fix-gcc91.patch  | 140 +++++++++++++++++++++
 .../{helm-0.9.0.ebuild => helm-0.9.0-r1.ebuild}    |  18 ++-
 2 files changed, 147 insertions(+), 11 deletions(-)