https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-sound/noson-app-5.2.2 fails to compile (lto). Discovered on: amd64 (internal ref: guru_tinderbox) NOTE: This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Created attachment 793274 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: backend/lib/noson-build/CMakeFiles/noson.dir/src/sonossystem.cpp.o /var/tmp/portage/media-sound/noson-app-5.2.2/work/noson-app-5.2.2_build/backend/lib/noson-src/noson/src/private/os/threads/timeout.h:58:19: error: ‘CLOCK_MONOTONIC’ was not declared in this scope
Facing this issue, i was able to successfully merge and run Noson via: # ebuild $(equery w noson-app) configure # sed -i -e 's%<sys/time.h>%<time.h>%' /var/tmp/portage/media-sound/noson-app-5.2.2/work/noson-app-5.2.2_build/backend/lib/noson-src/noson/src/private/os/unix/os-types.h # ebuild $(equery w noson-app) merge i.e. replacing '<sys/time.h>' on line 6 of 'os-types.h' with just '<time.h>'. The file 'noson-app-5.2.2_build/backend/lib/noson-src/noson/src/private/os/unix/os-types.h' doesn't exist until after the 'configure' step, hence taking this approach instead of providing a patch for application during the 'unpack' step.
Interesting. I don't have problems building it on my system. There's a new version that I've failed to push a new ebuild for, 5.3.2-1. I'll try and push it this weekend and see if that fixes this bug.
I have pushed the most recent update, version 5.4.0. Can anyone confirm if the bug still exists?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=009503f6f0c060031377edefca69d02dda6af99d commit 009503f6f0c060031377edefca69d02dda6af99d Author: Takuya Wakazono <pastalian46@gmail.com> AuthorDate: 2024-09-23 08:17:40 +0000 Commit: Takuya Wakazono <pastalian46@gmail.com> CommitDate: 2024-09-23 08:17:40 +0000 media-sound/noson-app: drop 5.2.2, 5.4.0, 5.4.1, 5.6.0, 5.6.3 Closes: https://bugs.gentoo.org/840484 (obsolete) Closes: https://bugs.gentoo.org/860177 (obsolete) Signed-off-by: Takuya Wakazono <pastalian46@gmail.com> media-sound/noson-app/Manifest | 5 ----- media-sound/noson-app/noson-app-5.2.2.ebuild | 31 ---------------------------- media-sound/noson-app/noson-app-5.4.0.ebuild | 31 ---------------------------- media-sound/noson-app/noson-app-5.4.1.ebuild | 31 ---------------------------- media-sound/noson-app/noson-app-5.6.0.ebuild | 31 ---------------------------- media-sound/noson-app/noson-app-5.6.3.ebuild | 31 ---------------------------- 6 files changed, 160 deletions(-)