Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
GLib
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 935
    • Issues 935
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 59
    • Merge Requests 59
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • GLib
  • Issues
  • #1678

Closed (moved)
Open
Opened Feb 06, 2019 by Martin Husemann@MartinHusemann

The g-ir-compiler sets g_log_always_fatal() for warnings

The g-ir-compiler loads installed gio modules (I guess to find typelibs). This can lead to various warnings or even worse, critical messages.

One such example is: you currently can not compile xfce4 on a build machine w/o $DISPLAY being set (see https://bugzilla.xfce.org/show_bug.cgi?id=15122).

First try to fix that bug was to replace the g_crtical() in that module by g_warning() - but that still makes the compiler fail. Since (in normal operation) that condition is a serious issue (the module is effectively useless in that state), it makes no sense to further reduce the log level, but it also makes no sense to abort the compiler process.

I would suggest at least to allow for WARNING level messages to not be fatal.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/glib#1678