Summary: | audio/audacity: build error on 13-STABLE | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | iron.udjin |
Component: | Individual Port(s) | Assignee: | Yuri Victorovich <yuri> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | gja822, lwhsu, xxjack12xx, yuri |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(xxjack12xx) |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any | ||
URL: | https://github.com/audacity/audacity/issues/810 |
Description
iron.udjin
2021-04-18 14:27:47 UTC
(In reply to iron.udjin from comment #0) iron.udjin@gmail.com, Do you have a link to a complete log? (In reply to Yuri Victorovich from comment #1) Pleas disregard my previous message. (In reply to iron.udjin from comment #0) iron.udjin@gmail.com, I couldn't reproduce the build failure in a freshly installed 13.0-RELEASE with freshly checked out ports tree. Are you sure your ports tree doesn't have any diffs? Can you reproduce this problem in poudriere? Thanks, Yuri (In reply to Yuri Victorovich from comment #3) I don't have 13.0-RELEASE installed. I use only -STABLE. I was able to reproduce the compilation error with that config combination. I'll look into the cause. It looks like MIDI=off is causing the problem. I'll report upstream for a solution. (In reply to Jack from comment #5) I've just rebuilt with MIDI=off and all same options on 12.2 and it succeeded. It must be only on 13+ or only with clang-11+, somehow. In any case this isn't a major problem for the port. Yuri (In reply to Yuri Victorovich from comment #7) The same errors in 12-STABLE (FreeBSD 12.2-STABLE r370123 amd64, it has FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)). MIDI is OFF. Is it a compiler-related error? Building with ports' llvm-devel (that is 13) or llvm-12 do not help. In file included from /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/NoteTrackShifter.cpp:6: In file included from /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/../../../ui/TimeShiftHandle.h:14: In file included from /usr/include/c++/v1/functional:501: /usr/include/c++/v1/type_traits:1419:59: error: incomplete type 'NoteTrack' used in type trait expression : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {}; ^ /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/../../../ui/../../AttachedVirtualFunction.h:198:15: note: in instantiation of template class 'std::is_base_of<Track, NoteTrack>' requested here std::is_base_of< typename Overridden::Object, Object >::value, ^ (In reply to Yuri Victorovich from comment #7) The same with clang-90 from ports, also with clang-10. ... In file included from /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/NoteTrackShifter.cpp:6: In file included from /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/../../../ui/TimeShiftHandle.h:14: In file included from /usr/include/c++/v1/functional:501: /usr/include/c++/v1/type_traits:1419:59: error: incomplete type 'NoteTrack' used in type trait expression : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {}; ^ /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/../../../ui/../../AttachedVirtualFunction.h:198:15: note: in instantiation of template class 'std::__1::is_base_of<Track, NoteTrack>' requested here std::is_base_of< typename Overridden::Object, Object >::value, ^ /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/NoteTrackShifter.cpp:57:28: note: in instantiation of template class 'AttachedVirtualFunction<MakeTrackShifterTag, std::__1::unique_ptr<TrackShifter, std::__1::default_delete<TrackShifter> >, Track, AudacityProject &>::Override<NoteTrack, AttachedVirtualFunction<MakeTrackShifterTag, std::__1::unique_ptr<TrackShifter, std::__1::default_delete<TrackShifter> >, Track, AudacityProject &> >' requested here template<> template<> auto MakeNoteTrackShifter::Implementation() -> Function { ^ /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/Track.h:41:7: note: forward declaration of 'NoteTrack' class NoteTrack; ^ In file included from /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/NoteTrackShifter.cpp:6: In file included from /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/../../../ui/TimeShiftHandle.h:17: /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/../../../ui/../../AttachedVirtualFunction.h:197:7: error: static_assert failed due to requirement 'std::is_base_of<Track, NoteTrack>::value' "overridden class must be a base of the overriding class" static_assert( ^ /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/NoteTrackShifter.cpp:57:28: note: in instantiation of template class 'AttachedVirtualFunction<MakeTrackShifterTag, std::__1::unique_ptr<TrackShifter, std::__1::default_delete<TrackShifter> >, Track, AudacityProject &>::Override<NoteTrack, AttachedVirtualFunction<MakeTrackShifterTag, std::__1::unique_ptr<TrackShifter, std::__1::default_delete<TrackShifter> >, Track, AudacityProject &> >' requested here template<> template<> auto MakeNoteTrackShifter::Implementation() -> Function { ^ /usr/ports/audio/audacity/work/audacity-minsrc-3.0.2/src/tracks/playabletrack/notetrack/ui/NoteTrackShifter.cpp:57:70: error: unknown type name 'Function' template<> template<> auto MakeNoteTrackShifter::Implementation() -> Function { ^ 1 warning and 6 errors generated. gja822@narod.ru, This is most likely a bug in the upstream. The best you can do is to add the cmake arguments string to the GitHub bug report so that they would be able to reproduce it. Otherwise they think that this is a distro bug. Yuri This update should fix the error (making it required) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258107 Is this still happening? (In reply to Li-Wen Hsu from comment #12) There is no MIDI options in the urrent port version. audacity builds and works fine. So, we can close this issue. |