Summary: | media-sound/audacity-2.3.2: tracks/labeltrack/ui/LabelTextHandle.cpp:22:10: fatal error: /usr/include/wx-3.0/../../../images/Cursors.h: Permission denied | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Garri <g.djavadyan> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fordfrog, gentoo, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
fix-cursors-include-path.patch |
Description
Garri
2019-09-03 16:14:36 UTC
Comment on attachment 588898 [details]
build.log
# emerge -pqv '=media-sound/audacity-2.3.2::gentoo'
[ebuild N ] media-sound/audacity-2.3.2 USE="alsa ffmpeg flac id3tag ladspa lame lv2 mad nls portmixer soundtouch vorbis vst -doc -jack -libav -midi -sbsms -twolame -vamp" CPU_FLAGS_X86="sse"
Created attachment 589718 [details, diff] fix-cursors-include-path.patch (In reply to Garri from comment #0) > During a compilation phase, g++ tries to include images/Cursors.h from a > wrong location. In particular, the proper path (relative to > tracks/labeltrack/ui/LabelTextHandle.cpp) '../../../images/Cursors.h' turns > into wrong one '/usr/include/wx-3.0/../../../images/Cursors.h'. I don't know why you're seeing "/usr/include/wx-3.0" as the base directory of LabelTextHandle.cpp or why you're getting a "Permission denied" error. I get this: tracks/labeltrack/ui/LabelTextHandle.cpp:22:10: fatal error: ../../../images/Cursors.h: No such file or directory 22 | #include "../../../images/Cursors.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ And indeed, "../../../images/Cursors.h" does not exist relative to "src/tracks/labeltrack/ui/LabelTextHandle.cpp". (There needs to be one more "../".) How upstream manages to build this as shipped boggles the mind. The attached patch fixes this. happens here if applying patch https://bugs.gentoo.org/show_bug.cgi?id=694122 (In reply to Matt Whitlock from comment #2) > Created attachment 589718 [details, diff] [details, diff] > fix-cursors-include-path.patch It fixed the problem for me. Thanks. > (In reply to Garri from comment #0) > I don't know why you're seeing "/usr/include/wx-3.0" as the base directory > of LabelTextHandle.cpp or why you're getting a "Permission denied" error. I was also baffled by that behavour. please test with 2.4.2-r1 and report back [ebuild R ] media-sound/audacity-2.4.2-r1 USE="alsa ffmpeg flac id3tag mad ogg vorbis -doc -jack -ladspa -lv2 -oss -portmidi -portmixer -portsmf -sbsms -twolame -vamp -vst"
>>> Source compiled.
thanks! closing... |