Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with GNUTLS #12

Open
xxxserxxx opened this issue Nov 29, 2022 · 0 comments
Open

Build failure with GNUTLS #12

xxxserxxx opened this issue Nov 29, 2022 · 0 comments

Comments

@xxxserxxx
Copy link

gconnect isn't compiling:

Vala: Vala 0.56.3
GnuTLS: 3.7.8-4

10070» ninja
[1/46] Compiling Vala source /home/ser/Software/gcon...andevicelink.vala ../lib/channels/lan/lanconfig.vala
FAILED: lib/libgconnect-0.1.so.p/config-header.c lib/libgconnect-0.1.so.p/config.c lib/libgconnect-0.1.so.p/packet.c lib/libgconnect-0.1.so.p/pluginmanager.c lib/libgconnect-0.1.so.p/devicemanager.c lib/libgconnect-0c.1.so.p/connection.c lib/libgconnect-0.1.so.p/channels/loopback/loopbackconnection.c lib/libgconnect-0.1.so.p/core.c lib/libgconnect-0.1.so.p/crypt/certificate.c lib/libgconnect-0.1.so.p/channels/lan/lanlinkprovider.c lib/libgconnect-0.1.so.p/channels/lan/lansocketconnection.c lib/libgconnect-0.1.so.p/channels/lan/landevicelink.clib/libgconnect-0.1.so.p/channels/lan/lanconfig.c lib/gconnect-0.1.h lib/gconnect-0.1.vapi lib/Gconnect-0.1.gir
valac -C --debug --debug --vapidir /home/ser/Software/gconnect/vapi --enable-checking --define=DEBUG_BUILD --pkg uuid --pkg posix --pkg gnutls --pkg libpeas-1.0 --pkg gee-0.8 --pkg json-glib-1.0 --pkg gio-2.0 --pkg gobject-2.0 --pkg glib-2.0 --color=always --directory lib/libgconnect-0.1.so.p --basedir ../lib --library gconnect-0.1 --header lib/gconnect-0.1.h --vapi ../gconnect-0.1.vapi --gir ../Gconnect-0.1.gir --define=GCONNECT_LAN /home/ser/Software/gconnect/build/lib/config-header.vala ../lib/config.vala ../lib/packet.vala ../lib/pluginmanager.vala ../lib/devicemanager.vala ../lib/connection.vala ../lib/channels/loopback/loopbackconnection.vala ../lib/core.vala ../lib/crypt/certificate.vala ../lib/channels/lan/lanlinkprovider.vala ../lib/channels/lan/lansocketconnection.vala ../lib/channels/lan/landevicelink.vala ../lib/channels/lan/lanconfig.vala gnutls.vapi:911.4-911.14: error: [SimpleType] struct `GnuTLS.X509.Ava' cannot have owned heap-allocated fields
  911 |                         uint8[] oid;
      |                         ^~~~~~~~~~~
gnutls.vapi:1728.3-1728.37: error: [SimpleType] struct `GnuTLS.RetrStruct' cannot have owned heap-allocated fields
 1728 |                 public X509.Certificate[] cert_x509;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
Compilation failed: 2 error(s), 63 warning(s)
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant