diamondburned / gotk4

Autogenerated GTK4 bindings for Go
GNU Affero General Public License v3.0
492 stars 19 forks source link

could not determine kind of name for C.g_date_time_new_from_unix_local_usec #151

Open squeaktoy opened 1 month ago

squeaktoy commented 1 month ago

OS: Gentoo Linux Kernel: Linux version 6.6.41-gentoo-dist C Compiler: GNU GCC 13.3.1 Go compiler: go version go1.22.6 linux/amd64 glib package info:

dev-libs/glib-2.78.6::gentoo was built with the following:
USE="dbus elf mime static-libs xattr -debug -gtk-doc (-selinux) -sysprof -systemtap -test -utils" ABI_X86="32 (64) (-x32)"
FEATURES="userfetch protect-owned unmerge-logs network-sandbox assume-digests qa-unresolved-soname-deps sfperms xattr usersync news sandbox ipc-sandbox binpkg-docompress fixlafiles preserve-libs splitdebug binpkg-logs merge-wait unknown-features-warn binpkg-dostrip config-protect-if-modified distlocks ebuild-locks userpriv parallel-fetch unmerge-orphans fail-clean multilib-strict pid-sandbox usersandbox pkgdir-index-trusted buildpkg-live strict merge-sync"

gtk4 package info:

gui-libs/gtk-4.14.4-r1::gentoo was built with the following:
USE="X gstreamer introspection wayland (-aqua) -broadway -cloudproviders -colord -cups -examples -sysprof -test (-vulkan)" ABI_X86="(64)" CPU_FLAGS_X86="f16c"

After running go install -v libdb.so/dissent@latest, I got the following output:

github.com/diamondburned/gotk4/pkg/glib/v2
# github.com/diamondburned/gotk4/pkg/glib/v2
go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.3.1/glib/v2/glib.go:15535:10: could not determine kind of name for C.g_date_time_new_from_unix_local_usec
go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.3.1/glib/v2/glib.go:15585:10: could not determine kind of name for C.g_date_time_new_from_unix_utc_usec
go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.3.1/glib/v2/glib.go:17060:10: could not determine kind of name for C.g_date_time_to_unix_usec
go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.3.1/glib/v2/glib.go:48:42: could not determine kind of name for C.g_dir_get_type
go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.3.1/glib/v2/glib.go:17177:4: could not determine kind of name for C.g_dir_unref
go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.3.1/glib/v2/glib.go:50:42: could not determine kind of name for C.g_hmac_get_type
go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.3.1/glib/v2/glib.go:9360:10: could not determine kind of name for C.g_log_writer_syslog
go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.3.1/glib/v2/glib.go:60:42: could not determine kind of name for C.g_rand_get_type
diamondburned commented 1 month ago

What GLib and GTK versions do you have?

diamondburned commented 1 month ago

https://github.com/diamondburned/gotk4/pull/145 might've bumped it a bit too high...

JarzaClay commented 2 weeks ago

Same issue on Gentoo box