Skip to content

[Bug] time_t64 causes regeneration to fail for gio-sys #1559

Closed
@werdahias

Description

@werdahias

Debian in in the process of transitioning all libraries to 64-bit time to mitigate the year-2038 issue.
During this glib was renamed to libglib2.0-0t64. Now code regeneration fails:


RUST_BACKTRACE=full gir -o .
thread 'main' panicked at 'Incomplete library, unresolved: ["GLib.time_t"]', src/library_postprocessing.rs:69:9
stack backtrace:
   0:     0x5568503dfbfa - <unknown>
   1:     0x55685041bd9f - <unknown>
   2:     0x5568503e9a75 - <unknown>
   3:     0x5568503df9b5 - <unknown>
   4:     0x5568503e6b2e - <unknown>
   5:     0x5568503e67e9 - <unknown>
   6:     0x5568503e7081 - <unknown>
   7:     0x5568503dff29 - <unknown>
   8:     0x5568503dfd06 - <unknown>
   9:     0x5568503e6d82 - <unknown>
  10:     0x556850143a63 - <unknown>
  11:     0x55685024ac31 - <unknown>
  12:     0x556850164842 - <unknown>
  13:     0x556850144593 - <unknown>
  14:     0x5568501445b2 - <unknown>
  15:     0x5568503e6c81 - <unknown>
  16:     0x5568503fa18b - <unknown>
  17:     0x556850165e8c - <unknown>
  18:     0x7ffbf65456ca - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  19:     0x7ffbf6545785 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:360:3
  20:     0x556850143ec1 - <unknown>
  21:                0x0 - <unknown>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions