JMoerman / Go-For-It

A stylish to-do list with built-in productivity timer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Fails to build: TaskTimer.vala:35.42-35.50: error: value is less accessible than constant `GOFI.TaskTimer.UPDATE_INTERVAL'

hosiet opened this issue · comments

Forwarded bug report from https://bugs.debian.org/1008351 ; not verified yet.

Describe the bug

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> /<<PKGBUILDDIR>>/src/Services/TaskTimer.vala:35.42-35.50: error: value is less accessible than constant `GOFI.TaskTimer.UPDATE_INTERVAL'
>    35 |     public const int64 UPDATE_INTERVAL = 60 * US_C;
>       |                                          ^~~~~~~~~ 
> make[3]: *** [src/CMakeFiles/com.github.jmoerman.go-for-it-0.dir/build.make:299: src/com.github.jmoerman.go-for-it-0_valac.stamp] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/03/26/go-for-it_1.9.6-1_unstable.log

Operating system

(assume Debian Sid/Unstable)

Could you test #173? This seems to have started happening with vala 0.56 in Void Linux.

The fix in #173 works, thanks!