gimp-git from Arch aur has stopped building (due to vala goat-exercise)
Environment/Versions
- GIMP version: 2.99.7
- Package: gimp-git from Arch Linux aur running Arch Linux
Description of the bug
Since a few days to a week agao it installed no problem but lately it is failing with the errors below. Nothing in the Arch PKGBUILD has changed only the Gimp code.
Reproduction
Is the bug reproducible?
Reproduction steps:
- Install gimp-git from the aur
…
Expected result:
Actual result:
Additional information
If you have a backtrace for a crash or a warning, paste it here.
Making all in goat-exercises
make[3]: Entering directory '/home/justine/.cache/paru/clone/gimp-git/src/gimp/extensions/goat-exercises'
CC goat-exercise-c.o
/usr/bin/intltool-merge ../../po-plug-ins org.gimp.extension.goat-exercises.metainfo.xml.in org.gimp.extension.goat-exercises.metainfo.xml -x -u -c ../../po-plug-ins/.intltool-merge-cache
VALAC goat_exercise_vala_vala.stamp
Generating and caching the translation database
CCLD goat-exercise-c
goat-exercise-vala.vala:28.10-28.18: error: `Gimp.main' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
return Gimp.main(typeof(Goat), args);
^^^^^^^^^
goat-exercise-vala.vala:42.21-42.90: error: `Gimp.ImageProcedure.new' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
var procedure = new Gimp.ImageProcedure(this, name, Gimp.PDBProcType.PLUGIN, this.run);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:97.41-97.51: error: `Gimp.PlugIn' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
string file = Path.build_filename(Gimp.PlugIn.directory(), "extensions", "org.gimp.extension.goat-exercises", PLUG_IN_SOURCE);
^^^^^^^^^^^
goat-exercise-vala.vala:132.18-132.44: error: `Gimp.Procedure.new_return_values' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
return procedure.new_return_values(Gimp.PDBStatusType.CANCEL, null);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:141.14-141.40: error: `Gimp.Procedure.new_return_values' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
return procedure.new_return_values(Gimp.PDBStatusType.CALLING_ERROR, error);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:162.12-162.38: error: `Gimp.Procedure.new_return_values' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
return procedure.new_return_values(Gimp.PDBStatusType.SUCCESS, null);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:43.5-43.29: error: `Gimp.Procedure.set_image_types' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
procedure.set_image_types("RGB*, INDEXED*, GRAY*");
^^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:44.5-44.34: error: `Gimp.Procedure.set_sensitivity_mask' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
procedure.set_sensitivity_mask(Gimp.ProcedureSensitivityMask.DRAWABLE);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:45.5-45.28: error: `Gimp.Procedure.set_menu_label' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
procedure.set_menu_label("Exercise a Vala goat");
^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:46.5-46.31: error: `Gimp.Procedure.set_documentation' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
procedure.set_documentation("Exercise a goat in the Vala language",
^^^^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:49.5-49.27: error: `Gimp.Procedure.add_menu_path' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
procedure.add_menu_path("<Image>/Filters/Development/Goat exercises/");
^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:50.5-50.29: error: `Gimp.Procedure.set_attribution' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
procedure.set_attribution("Niels De Graef", "Niels De Graef", "2020");
^^^^^^^^^^^^^^^^^^^^^^^^^
goat-exercise-vala.vala:51.5-51.27: error: `Gimp.Procedure.set_icon_name' is not available in gimp-3.0 2.99.9. Use gimp-3.0 >= 3.0
procedure.set_icon_name(GimpUi.ICON_GEGL);
^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 13 error(s), 0 warning(s)
make[3]: *** [Makefile:1105: goat_exercise_vala_vala.stamp] Error 1
make[3]: *** Waiting for unfinished jobs....
Merging translations into org.gimp.extension.goat-exercises.metainfo.xml.
CREATED org.gimp.extension.goat-exercises.metainfo.xml
make[3]: Leaving directory '/home/justine/.cache/paru/clone/gimp-git/src/gimp/extensions/goat-exercises'
make[2]: *** [Makefile:673: all-recursive] Error 1
make[2]: Leaving directory '/home/justine/.cache/paru/clone/gimp-git/src/gimp/extensions'
make[1]: *** [Makefile:870: all-recursive] Error 1
make[1]: Leaving directory '/home/justine/.cache/paru/clone/gimp-git/src/gimp'
make: *** [Makefile:771: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'gimp-git-2:2.99.7.r462.d33c45fb47-1':
error: packages failed to build: gimp-git-2:2.99.7.r462.d33c45fb47-1
Edited by Michael Schumacher