BuildError with vala 0.56.0
Hello,
on Debian[1] with vala 0.56.0 we get always this error:
> ../src/Resources.vala:38.34-38.40: error: value is less accessible than constant `Resources.PREFIX'
> 38 | public const string PREFIX = _PREFIX;
> | ^~~~~~~
> ../src/util/system.vala:18.34-18.49: error: Invalid type for argument 1
> 18 | return File.new_for_path(Resources.PREFIX);
> | ^~~~~~~~~~~~~~~~
../src/Resources.vala:19.39-19.46: error: value is less accessible than constant `Resources.APP_VERSION'
> 19 | public const string APP_VERSION = _VERSION;
> | ^~~~~~~~
> ../src/Photo.vala:3632.56-3632.76: error: Invalid type for argument 2
> 3632 | metadata.set_software(Resources.APP_TITLE, Resources.APP_VERSION);
> | ^~~~~~~~~~~~~~~~~~~~~
../src/Resources.vala:28.47-28.61: error: value is less accessible than constant `Resources.APP_GETTEXT_PACKAGE'
> 28 | public const string APP_GETTEXT_PACKAGE = GETTEXT_PACKAGE;
> | ^~~~~~~~~~~~~~~
> ../src/main.vala:374.13-374.41: error: Invalid type for argument 4
> 374 | Resources.APP_GETTEXT_PACKAGE);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CU Jörg
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008337
Edited by Andre Klapper