View Issue Details

IDProjectCategoryView StatusLast Update
0000171BirdFont[All Projects] BirdFontpublic2019-10-10 01:05
ReporterhenrichAssigned Tojohan 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000171: Cannot build with valac-0.46
DescriptionI've found that recently fails to build birdfont package in Debian unstable.
The difference between previous succeeded one and current is valac package version as below.

--- birdfont-good.txt 2019-10-09 08:25:46.321938657 +0900
+++ birdfont-failed.txt 2019-10-09 08:25:57.241937085 +0900
@@ -128,7 +128,6 @@
 libice-dev
 libice6
 libicu-dev
-libidn11
 libip4tc2
 libjavascriptcoregtk-4.0-18
 libjavascriptcoregtk-4.0-dev
@@ -192,7 +191,7 @@
 libthai-data
 libthai0
 libtiff5
-libvala-0.42-0
+libvala-0.46-0
 libwayland-bin
 libwayland-client0
 libwayland-cursor0
@@ -284,7 +283,7 @@
 ucf
 uuid-dev
 valac
-valac-0.42-vapi
+valac-0.46-vapi
 wayland-protocols
 x11-common
 x11proto-composite-dev


With valac-0.42 works but 0.46 doesn't.

log attached
----------------------------------------------------------------------------------------------------------------
Writing Config.vala
doit
build/libbirdfont/load_font.c: In function ‘get_bf_font’:
build/libbirdfont/load_font.c:1092:2: warning: implicit declaration of function ‘bird_font_open_font_format_reader_append_kerning’ [-Wimplicit-function-declaration]
 1092 | bird_font_open_font_format_reader_append_kerning (bf, file);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gee-0.8.vapi:15.3-15.26: warning: Creation method of abstract class cannot be public.
        public AbstractBidirList ();
        ^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:21.3-21.31: warning: Creation method of abstract class cannot be public.
        public AbstractBidirSortedMap ();
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:27.3-27.31: warning: Creation method of abstract class cannot be public.
        public AbstractBidirSortedSet ();
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:33.3-33.27: warning: Creation method of abstract class cannot be public.
        public AbstractCollection ();
        ^^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:46.3-46.21: warning: Creation method of abstract class cannot be public.
        public AbstractList ();
        ^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:58.3-58.20: warning: Creation method of abstract class cannot be public.
        public AbstractMap ();
        ^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:99.3-99.22: warning: Creation method of abstract class cannot be public.
        public AbstractQueue ();
        ^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:108.3-108.20: warning: Creation method of abstract class cannot be public.
        public AbstractSet ();
        ^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:113.3-113.26: warning: Creation method of abstract class cannot be public.
        public AbstractSortedMap ();
        ^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:122.3-122.26: warning: Creation method of abstract class cannot be public.
        public AbstractSortedSet ();
        ^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:656.4-656.15: warning: Creation method of abstract class cannot be public.
            public Entry ();
            ^^^^^^^^^^^^
sqlite3.vapi:402.4-402.13: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libbirdfont/BirdFontFile.vala:26.2-26.37: warning: the modifier `static' is not applicable to constants
    public static const int FORMAT_MAJOR = 2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/BirdFontFile.vala:27.2-27.37: warning: the modifier `static' is not applicable to constants
    public static const int FORMAT_MINOR = 2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/BirdFontFile.vala:29.2-29.41: warning: the modifier `static' is not applicable to constants
    public static const int MIN_FORMAT_MAJOR = 0;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/BirdFontFile.vala:30.2-30.41: warning: the modifier `static' is not applicable to constants
    public static const int MIN_FORMAT_MINOR = 0;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/Config.vala:3.5-3.40: warning: the modifier `static' is not applicable to constants
    internal static const string VERSION = "2.27.0";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/Config.vala:4.5-4.39: warning: the modifier `static' is not applicable to constants
    internal static const string PREFIX = "/usr";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:41.2-41.30: warning: the modifier `static' is not applicable to constants
    public static const uint NONE = 0;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:42.2-42.32: warning: the modifier `static' is not applicable to constants
    public static const uint ACTIVE = 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:43.2-43.34: warning: the modifier `static' is not applicable to constants
    public static const uint SELECTED = 1 << 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:44.2-44.39: warning: the modifier `static' is not applicable to constants
    public static const uint DELETED_POINT = 1 << 2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:45.2-45.29: warning: the modifier `static' is not applicable to constants
    public static const uint TIE = 1 << 3;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:46.2-46.36: warning: the modifier `static' is not applicable to constants
    public static const uint REFLECTIVE = 1 << 4;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:48.2-48.38: warning: the modifier `static' is not applicable to constants
    public static const uint INTERSECTION = 1 << 5;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:49.2-49.36: warning: the modifier `static' is not applicable to constants
    public static const uint NEW_CORNER = 1 << 6;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:50.2-50.39: warning: the modifier `static' is not applicable to constants
    public static const uint STROKE_OFFSET = 1 << 7;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:51.2-51.44: warning: the modifier `static' is not applicable to constants
    public static const uint COUNTER_TO_OUTLINE = 1 << 8;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:52.2-52.32: warning: the modifier `static' is not applicable to constants
    public static const uint COPIED = 1 << 9;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:53.2-53.37: warning: the modifier `static' is not applicable to constants
    public static const uint REMOVE_PART = 1 << 10;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:54.2-54.33: warning: the modifier `static' is not applicable to constants
    public static const uint OVERLAY = 1 << 11;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:55.2-55.31: warning: the modifier `static' is not applicable to constants
    public static const uint CURVE = 1 << 12;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:56.2-56.36: warning: the modifier `static' is not applicable to constants
    public static const uint CURVE_KEEP = 1 << 13;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:57.2-57.37: warning: the modifier `static' is not applicable to constants
    public static const uint SEGMENT_END = 1 << 14;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:58.2-58.37: warning: the modifier `static' is not applicable to constants
    public static const uint SPLIT_POINT = 1 << 15;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:59.2-59.43: warning: the modifier `static' is not applicable to constants
    public static const uint SELF_INTERSECTION = 1 << 16;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/EditPoint.vala:60.2-60.50: warning: the modifier `static' is not applicable to constants
    public static const uint COPIED_SELF_INTERSECTION = 1 << 17;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/Expander.vala:22.2-22.44: warning: the modifier `static' is not applicable to constants
    private static const double HEADLINE_MARGIN = 4;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/FileChooser.vala:19.2-19.30: warning: the modifier `static' is not applicable to constants
    public static const uint NONE = 0;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/FileChooser.vala:20.2-20.30: warning: the modifier `static' is not applicable to constants
    public static const uint SAVE = 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/FileChooser.vala:21.2-21.30: warning: the modifier `static' is not applicable to constants
    public static const uint LOAD = 1 << 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/FileChooser.vala:22.2-22.35: warning: the modifier `static' is not applicable to constants
    public static const uint DIRECTORY = 1 << 2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/FileDialogTab.vala:44.2-44.42: warning: the modifier `static' is not applicable to constants
    public static const string path_separator = "\\";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/KeyBindings.vala:76.1-76.29: warning: the modifier `static' is not applicable to constants
public static const uint NONE = 0;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/KeyBindings.vala:77.1-77.29: warning: the modifier `static' is not applicable to constants
public static const uint CTRL = 1 << 0;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/KeyBindings.vala:78.1-78.28: warning: the modifier `static' is not applicable to constants
public static const uint ALT = 1 << 1;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/KeyBindings.vala:79.1-79.30: warning: the modifier `static' is not applicable to constants
public static const uint SHIFT = 1 << 2;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/KeyBindings.vala:80.1-80.29: warning: the modifier `static' is not applicable to constants
public static const uint LOGO = 1 << 3;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/LicenseDialog.vala:27.2-27.30: warning: the modifier `static' is not applicable to constants
    static const double font_size = 20;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/LicenseDialog.vala:28.2-28.27: warning: the modifier `static' is not applicable to constants
    static const double margin = 20;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/Line.vala:21.2-21.34: warning: the modifier `static' is not applicable to constants
    public static const bool VERTICAL = true;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/Line.vala:22.2-22.36: warning: the modifier `static' is not applicable to constants
    public static const bool HORIZONTAL = false;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/NativeWindow.vala:19.2-19.31: warning: the modifier `static' is not applicable to constants
    public static const int HIDDEN = 0;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/NativeWindow.vala:20.2-20.32: warning: the modifier `static' is not applicable to constants
    public static const int VISIBLE = 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OtfFeatureTable.vala:23.2-23.22: warning: the modifier `static' is not applicable to constants
    static const int NONE = 0;
    ^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OtfFeatureTable.vala:24.2-24.29: warning: the modifier `static' is not applicable to constants
    static const int OTF_FEATURE = 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OtfFeatureTable.vala:25.2-25.30: warning: the modifier `static' is not applicable to constants
    static const int SOURCE_GLYPH = 2; // the glyph to replace
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OtfFeatureTable.vala:26.2-26.35: warning: the modifier `static' is not applicable to constants
    static const int REPLACEMENT_GLYPH = 3;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OtfFeatureTable.vala:27.2-27.33: warning: the modifier `static' is not applicable to constants
    static const int ALTERNATE_ENTRY = 4;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OverwriteDialog.vala:31.2-31.39: warning: the modifier `static' is not applicable to constants
    static const double question_font_size = 23;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/QuestionDialog.vala:23.2-23.30: warning: the modifier `static' is not applicable to constants
    static const double font_size = 20;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/QuestionDialog.vala:24.2-24.27: warning: the modifier `static' is not applicable to constants
    static const double margin = 20;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/QuestionDialog.vala:25.2-25.33: warning: the modifier `static' is not applicable to constants
    static const double margin_small = 5;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/Row.vala:28.2-28.36: warning: the modifier `static' is not applicable to constants
    public static const int MAX_COLUMNS = 5;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/SaveDialog.vala:31.2-31.39: warning: the modifier `static' is not applicable to constants
    static const double question_font_size = 23;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/SettingsDisplay.vala:32.2-32.23: error: Creation method of abstract class cannot be public.
    public SettingsDisplay () {
    ^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/TabBar.vala:26.2-26.24: warning: the modifier `static' is not applicable to constants
    static const int NO_TAB = -1;
    ^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/TabBar.vala:27.2-27.26: warning: the modifier `static' is not applicable to constants
    static const int NEXT_TAB = -2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/TabBar.vala:28.2-28.30: warning: the modifier `static' is not applicable to constants
    static const int PREVIOUS_TAB = -3;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/TabBar.vala:29.2-29.32: warning: the modifier `static' is not applicable to constants
    static const int PROGRESS_WHEEL = -3;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/TabBar.vala:30.2-30.27: warning: the modifier `static' is not applicable to constants
    static const int SHOW_MENU = -4;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/TabBar.vala:31.2-31.29: warning: the modifier `static' is not applicable to constants
    static const int STOP_BUTTON = -5;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/TabContent.vala:29.2-29.35: warning: the modifier `static' is not applicable to constants
    static const int TEXT_INPUT_HEIGHT = 51;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:20.2-20.25: warning: the modifier `static' is not applicable to constants
    static const uint8 HSTEM = 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:21.2-21.25: warning: the modifier `static' is not applicable to constants
    static const uint8 VSTEM = 3;
    ^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:22.2-22.27: warning: the modifier `static' is not applicable to constants
    static const uint8 VMOVETO = 4;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:23.2-23.27: warning: the modifier `static' is not applicable to constants
    static const uint8 HLINETO = 6;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:24.2-24.27: warning: the modifier `static' is not applicable to constants
    static const uint8 VLINETO = 7;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:25.2-25.27: warning: the modifier `static' is not applicable to constants
    static const uint8 ENDCHAR = 14;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:26.2-26.27: warning: the modifier `static' is not applicable to constants
    static const uint8 HMOVETO = 22;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:27.2-27.27: warning: the modifier `static' is not applicable to constants
    static const uint8 RMOVETO = 21;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:29.2-29.27: warning: the modifier `static' is not applicable to constants
    static const uint8 CHARSET = 15;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:30.2-30.28: warning: the modifier `static' is not applicable to constants
    static const uint8 ENCODING = 16;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/CffTable.vala:32.2-32.27: warning: the modifier `static' is not applicable to constants
    static const uint8 VERSION = 0;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:19.2-19.35: warning: the modifier `static' is not applicable to constants
    static const uint16 BOTH_ARE_WORDS = 1 << 0;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:20.2-20.39: warning: the modifier `static' is not applicable to constants
    static const uint16 BOTH_ARE_XY_VALUES = 1 << 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:21.2-21.34: warning: the modifier `static' is not applicable to constants
    static const uint16 ROUND_TO_GRID = 1 << 2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:22.2-22.26: warning: the modifier `static' is not applicable to constants
    static const uint16 SCALE = 1 << 3;
    ^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:23.2-23.29: warning: the modifier `static' is not applicable to constants
    static const uint16 RESERVED = 1 << 4;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:24.2-24.36: warning: the modifier `static' is not applicable to constants
    static const uint16 MORE_COMPONENTS = 1 << 5;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:25.2-25.30: warning: the modifier `static' is not applicable to constants
    static const uint16 SCALE_X_Y = 1 << 6;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:26.2-26.41: warning: the modifier `static' is not applicable to constants
    static const uint16 SCALE_WITH_ROTATTION = 1 << 7;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/GlyfTable.vala:27.2-27.33: warning: the modifier `static' is not applicable to constants
    static const uint16 INSTRUCTIONS = 1 << 8;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/KernTable.vala:19.2-19.38: warning: the modifier `static' is not applicable to constants
    public static const uint16 HORIZONTAL = 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/KernTable.vala:20.2-20.35: warning: the modifier `static' is not applicable to constants
    public static const uint16 MINIMUM = 1 << 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/KernTable.vala:21.2-21.40: warning: the modifier `static' is not applicable to constants
    public static const uint16 CROSS_STREAM = 1 << 2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/KernTable.vala:22.2-22.36: warning: the modifier `static' is not applicable to constants
    public static const uint16 OVERRIDE = 1 << 3;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/KernTable.vala:23.2-23.34: warning: the modifier `static' is not applicable to constants
    public static const uint16 FORMAT = 1 << 8;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:19.2-19.44: warning: the modifier `static' is not applicable to constants
    public static const uint16 COPYRIGHT_NOTICE = 0;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:20.2-20.37: warning: the modifier `static' is not applicable to constants
    public static const uint16 FONT_NAME = 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:21.2-21.42: warning: the modifier `static' is not applicable to constants
    public static const uint16 SUBFAMILY_NAME = 2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:22.2-22.45: warning: the modifier `static' is not applicable to constants
    public static const uint16 UNIQUE_IDENTIFIER = 3;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:23.2-23.42: warning: the modifier `static' is not applicable to constants
    public static const uint16 FULL_FONT_NAME = 4; // name + subfamily
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:24.2-24.35: warning: the modifier `static' is not applicable to constants
    public static const uint16 VERSION = 5;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:25.2-25.43: warning: the modifier `static' is not applicable to constants
    public static const uint16 POSTSCRIPT_NAME = 6;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:26.2-26.38: warning: the modifier `static' is not applicable to constants
    public static const uint16 TRADE_MARK = 7;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:27.2-27.40: warning: the modifier `static' is not applicable to constants
    public static const uint16 MANUFACTURER = 8;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:28.2-28.36: warning: the modifier `static' is not applicable to constants
    public static const uint16 DESIGNER = 9;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:29.2-29.39: warning: the modifier `static' is not applicable to constants
    public static const uint16 DESCRIPTION = 10;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:30.2-30.38: warning: the modifier `static' is not applicable to constants
    public static const uint16 VENDOR_URL = 11;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:31.2-31.40: warning: the modifier `static' is not applicable to constants
    public static const uint16 DESIGNER_URL = 12;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:32.2-32.35: warning: the modifier `static' is not applicable to constants
    public static const uint16 LICENSE = 13;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:33.2-33.39: warning: the modifier `static' is not applicable to constants
    public static const uint16 LICENSE_URL = 14;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:34.2-34.43: warning: the modifier `static' is not applicable to constants
    public static const uint16 PREFERED_FAMILY = 16;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/NameTable.vala:35.2-35.47: warning: the modifier `static' is not applicable to constants
    public static const uint16 PREFERED_SUB_FAMILY = 17;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:21.2-21.34: warning: the modifier `static' is not applicable to constants
    public static const uint16 ITALIC = 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:22.2-22.38: warning: the modifier `static' is not applicable to constants
    public static const uint16 UNDERSCORE = 1 << 1;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:23.2-23.36: warning: the modifier `static' is not applicable to constants
    public static const uint16 NEGATIVE = 1 << 2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:24.2-24.36: warning: the modifier `static' is not applicable to constants
    public static const uint16 OUTLINED = 1 << 3;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:25.2-25.37: warning: the modifier `static' is not applicable to constants
    public static const uint16 STRIKEOUT = 1 << 4;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:26.2-26.32: warning: the modifier `static' is not applicable to constants
    public static const uint16 BOLD = 1 << 5;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:27.2-27.35: warning: the modifier `static' is not applicable to constants
    public static const uint16 REGULAR = 1 << 6;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:28.2-28.40: warning: the modifier `static' is not applicable to constants
    public static const uint16 TYPO_METRICS = 1 << 7;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:29.2-29.31: warning: the modifier `static' is not applicable to constants
    public static const uint16 WWS = 1 << 8;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/OpenFontFormat/Os2Table.vala:30.2-30.35: warning: the modifier `static' is not applicable to constants
    public static const uint16 OBLIQUE = 1 << 9;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libbirdfont/Renderer/TextArea.vala:55.2-55.30: warning: the modifier `static' is not applicable to constants
    private static const int DONE = -2;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
. build
. compile_translations
. man:birdfont.1
. man:birdfont-export.1
. man:birdfont-import.1
. man:birdfont-autotrace.1
. mkdir build/libbirdfont
. copy libbirdfont/overview_glyph.c
. copy libbirdfont/OpenFontFormat/load_font.c
. copy libbirdfont/Renderer/fontconfig.c
. mkdir build/libbirdgems
. valac libbirdgems
. copy libbirdgems/GraphicsGems.h
. copy libbirdgems/fit_cubic.c
. copy libbirdgems/GGVecLib.c
. compile build/libbirdgems/birdgems.c
. compile build/libbirdgems/fit_cubic.c
. compile build/libbirdgems/GGVecLib.c
. libbirdgems
. Create link libbirdgems.so.0.0 libbirdgems.so
. compile build/libbirdfont/overview_glyph.c
. compile build/libbirdfont/load_font.c
. compile build/libbirdfont/fontconfig.c
. valac libbirdfont
TaskFailed - taskid:valac libbirdfont
Command failed: 'valac -C --vapidir=./ --basedir build/libbirdfont/ --enable-experimental --library libbirdfont -H build/libbirdfont/birdfont.h libbirdfont/*.vala libbirdfont/OpenFontFormat/*.vala libbirdfont/Renderer/*.vala --pkg posix --pkg gee-0.8 --pkg gio-2.0 --pkg cairo --pkg xmlbird --pkg libbirdgems --pkg sqlite3 --pkg gdk-pixbuf-2.0 ' returned 1

########################################
valac libbirdfont <stdout>:
Compilation failed: 1 error(s), 125 warning(s)

Steps To ReproduceOn debian unstable

(edit /etc/apt/sources.list to enable deb-src line)
# apt update
# apt build-dep birdfont
# apt source birdfont
# cd birdfont-* && dpkg-buildpackage -us -uc
TagsNo tags attached.

Activities

henrich

2019-10-09 04:36

reporter   ~0000699

upstream commit 642c451408ac508915a8f33df7084ed25887ddf6 fixes it (but still another compilation problem).

johan

2019-10-09 08:47

administrator   ~0000700

Thank you for the report.

henrich

2019-10-09 15:18

reporter   ~0000701

Another failure with build

------------------------------------------------------
(snip)
. compile build/libbirdfont/BirdFont.c
TaskFailed - taskid:compile build/libbirdfont/BirdFont.c
Command failed: 'gcc -c build/libbirdfont/BirdFont.c -fPIC -D 'GETTEXT_PACKAGE="birdfont"' -I ./build/libbirdfont -I ./build/libbirdgems $(pkg-config --cflags sqlite3) $(pkg-config --cflags fontconfig) $(pkg-config --cflags gee-0.8) $(pkg-config --cflags gio-2.0) $(pkg-config --cflags cairo) $(pkg-config --cflags glib-2.0) $(pkg-config --cflags xmlbird) -o build/libbirdfont/BirdFont.o' returned 1

########################################
compile build/libbirdfont/BirdFont.c <stdout>:

------------------------------------------------------
(Then, do its task again manually)

# gcc -c build/libbirdfont/BirdFont.c -fPIC -D 'GETTEXT_PACKAGE="birdfont"' -I ./build/libbirdfont -I ./build/libbirdgems $(pkg-config --cflags sqlite3) $(pkg-config --cflags fontconfig) $(pkg-config --cflags gee-0.8) $(pkg-config --cflags gio-2.0) $(pkg-config --cflags cairo) $(pkg-config --cflags glib-2.0) $(pkg-config --cflags xmlbird) -o build/libbirdfont/BirdFont.o
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from build/libbirdfont/BirdFont.c:20:
build/libbirdfont/BirdFont.c: In function 'glib_autoptr_clear_BirdFontDrawing':
build/libbirdfont/BirdFont.c:426:49: error: 'bird_font_drawing_unref' undeclared (first use in this function); did you mean '_bird_font_drawing_unref0'?
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1045:18: note: in definition of macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
 1045 | { if (_ptr) (cleanup) ((ParentName *) _ptr); } \
      | ^~~~~~~
build/libbirdfont/BirdFont.c:426:1: note: in expansion of macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/libbirdfont/BirdFont.c:426:49: note: each undeclared identifier is reported only once for each function it appears in
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1045:18: note: in definition of macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
 1045 | { if (_ptr) (cleanup) ((ParentName *) _ptr); } \
      | ^~~~~~~
build/libbirdfont/BirdFont.c:426:1: note: in expansion of macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/libbirdfont/BirdFont.c: In function 'glib_listautoptr_cleanup_BirdFontDrawing':
build/libbirdfont/BirdFont.c:426:49: error: 'bird_font_drawing_unref' undeclared (first use in this function); did you mean '_bird_font_drawing_unref0'?
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1049:63: note: in definition of macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
 1049 | { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
      | ^~~~~~~
build/libbirdfont/BirdFont.c:426:1: note: in expansion of macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/libbirdfont/BirdFont.c: In function 'glib_slistautoptr_cleanup_BirdFontDrawing':
build/libbirdfont/BirdFont.c:426:49: error: 'bird_font_drawing_unref' undeclared (first use in this function); did you mean '_bird_font_drawing_unref0'?
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1051:64: note: in definition of macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
 1051 | { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
      | ^~~~~~~
build/libbirdfont/BirdFont.c:426:1: note: in expansion of macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/libbirdfont/BirdFont.c: In function 'glib_queueautoptr_cleanup_BirdFontDrawing':
build/libbirdfont/BirdFont.c:426:49: error: 'bird_font_drawing_unref' undeclared (first use in this function); did you mean '_bird_font_drawing_unref0'?
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1053:73: note: in definition of macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
 1053 | { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) cleanup); } \
      | ^~~~~~~
build/libbirdfont/BirdFont.c:426:1: note: in expansion of macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
  426 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (BirdFontDrawing, bird_font_drawing_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/libbirdfont/BirdFont.c: In function 'bird_font_bird_font_set_defaul_drawing_callbacks':
build/libbirdfont/BirdFont.c:78:72: warning: implicit declaration of function 'bird_font_drawing_unref'; did you mean '_bird_font_drawing_unref0'? [-Wimplicit-function-declaration]
   78 | #define _bird_font_drawing_unref0(var) ((var == NULL) ? NULL : (var = (bird_font_drawing_unref (var), NULL)))
      | ^~~~~~~~~~~~~~~~~~~~~~~
build/libbirdfont/BirdFont.c:910:3: note: in expansion of macro '_bird_font_drawing_unref0'
  910 | _bird_font_drawing_unref0 (bird_font_bird_font_drawing);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
build/libbirdfont/BirdFont.c: In function 'bird_font_bird_font_get_settings_directory':
build/libbirdfont/BirdFont.c:1550:26: warning: passing argument 1 of 'bird_font_is_null' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1550 | if (bird_font_is_null (_tmp8_)) {
      | ^~~~~~
build/libbirdfont/BirdFont.c:870:26: note: expected 'void *' but argument is of type 'const gchar *' {aka 'const char *'}
  870 | bird_font_is_null (void* n)
      | ~~~~~~^
build/libbirdfont/BirdFont.c: In function '_bird_font_drawing_ref0':
build/libbirdfont/BirdFont.c:2233:16: warning: implicit declaration of function 'bird_font_drawing_ref'; did you mean '_bird_font_drawing_ref0'? [-Wimplicit-function-declaration]
 2233 | return self ? bird_font_drawing_ref (self) : NULL;
      | ^~~~~~~~~~~~~~~~~~~~~
      | _bird_font_drawing_ref0
build/libbirdfont/BirdFont.c:2233:45: warning: pointer/integer type mismatch in conditional expression
 2233 | return self ? bird_font_drawing_ref (self) : NULL;
      | ^

johan

2019-10-09 19:49

administrator   ~0000702

Thank you. I have made an attempt fix this. Please test it for me. The code has been committed and I will do a new release if it works for you.

henrich

2019-10-10 00:50

reporter   ~0000703

Thanks, confirmed fix, it works! :-)

johan

2019-10-10 00:59

administrator   ~0000704

Great! I will release it immediately.

johan

2019-10-10 01:05

administrator   ~0000705

Thank you for the testing. Version 2.28.0 has been released.

Issue History

Date Modified Username Field Change
2019-10-09 01:35 henrich New Issue
2019-10-09 04:36 henrich Note Added: 0000699
2019-10-09 08:47 johan Note Added: 0000700
2019-10-09 15:18 henrich Note Added: 0000701
2019-10-09 19:49 johan Note Added: 0000702
2019-10-10 00:50 henrich Note Added: 0000703
2019-10-10 00:59 johan Note Added: 0000704
2019-10-10 01:05 johan Assigned To => johan
2019-10-10 01:05 johan Status new => resolved
2019-10-10 01:05 johan Resolution open => fixed
2019-10-10 01:05 johan Note Added: 0000705