Project

General

Profile

Bug #8807

More recent glib updates break hald build

Added by Dan McDonald over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-11-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Starting with OmniOS{,ce} r151024, the gate won't build without errors such as these:

{pre}
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead
WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead {pre}

OmniOS's child fixes this. We need this upstream so -gate can build on modern OmniOS.

#1

Updated by Andy Fiddaman over 3 years ago

This warning started being emitted by glib version 2.50.

This isn't OmniOS specific (although OmniOS may well be the only distribution that has gone to the later glib version so far)

BOOL itself has been deprecated for well over 15 years.

See this documentation commit from 2003 https://github.com/GNOME/glib/commit/54f796b1b6e161e92b975e25f06c3a5b7121179d#diff-4e2ca9bc7faf29d750cc80347dd3720fR175

#2

Updated by Electric Monk over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 9dca21df58d57c2dadfa3bcb1d33c7bd0260cfd8

commit  9dca21df58d57c2dadfa3bcb1d33c7bd0260cfd8
Author: Andy Fiddaman <andy@omniosce.org>
Date:   2017-11-17T12:10:52.000Z

    8807 More recent glib updates break hald build
    Reviewed by: Dan McDonald <danmcd@joyent.com>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF