Bug 99189 - jhbuild error: dereferencing pointer to incomplete type ‘BIO {aka struct bio_st}’
Summary: jhbuild error: dereferencing pointer to incomplete type ‘BIO {aka struct bio_...
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-23 07:05 UTC by gvrb
Modified: 2017-04-10 14:41 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description gvrb 2016-12-23 07:05:58 UTC
make[4]: Entering directory '/home/dev/.cache/jhbuild/build/spice-gtk-0.33/src'
  CC       spice-audio.lo
  CC       spice-client.lo
  CC       spice-util.lo
  CC       bio-gio.lo
  CC       spice-option.lo
  CC       spice-session.lo
/home/dev/jhbuild/checkout/spice-gtk-0.33/src/bio-gio.c:27:16: error: field ‘method’ has incomplete type
     BIO_METHOD method;
                ^~~~~~
In file included from /home/dev/jhbuild/install/include/glib-2.0/gobject/gobject.h:24:0,
                 from /home/dev/jhbuild/install/include/glib-2.0/gobject/gbinding.h:29,
                 from /home/dev/jhbuild/install/include/glib-2.0/glib-object.h:23,
                 from /home/dev/jhbuild/checkout/spice-gtk-0.33/src/spice-util.h:21,
                 from /home/dev/jhbuild/checkout/spice-gtk-0.33/src/bio-gio.c:23:
/home/dev/jhbuild/checkout/spice-gtk-0.33/src/bio-gio.c: In function ‘bio_gio_write’:
/home/dev/jhbuild/checkout/spice-gtk-0.33/src/bio-gio.c:33:87: error: dereferencing pointer to incomplete type ‘BIO {aka struct bio_st}’
 #define BIO_GET_OSTREAM(bio)  (g_io_stream_get_output_stream(((bio_gsocket_method*)bio->method)->stream))
                                                                                       ^
/home/dev/jhbuild/install/include/glib-2.0/gobject/gtype.h:2207:57: note: in definition of macro ‘_G_TYPE_CIC’
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
                                                         ^~
/home/dev/jhbuild/install/include/glib-2.0/gio/gpollableoutputstream.h:31:54: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
 #define G_POLLABLE_OUTPUT_STREAM(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_POLLABLE_OUTPUT_STREAM, GPollableOutputStream))
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dev/jhbuild/checkout/spice-gtk-0.33/src/bio-gio.c:40:54: note: in expansion of macro ‘G_POLLABLE_OUTPUT_STREAM’
     ret = g_pollable_output_stream_write_nonblocking(G_POLLABLE_OUTPUT_STREAM(BIO_GET_OSTREAM(bio)),
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
/home/dev/jhbuild/checkout/spice-gtk-0.33/src/bio-gio.c:40:79: note: in expansion of macro ‘BIO_GET_OSTREAM’
     ret = g_pollable_output_stream_write_nonblocking(G_POLLABLE_OUTPUT_STREAM(BIO_GET_OSTREAM(bio)),
                                                                               ^~~~~~~~~~~~~~~
Makefile:1322: recipe for target 'bio-gio.lo' failed
make[4]: *** [bio-gio.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/home/dev/.cache/jhbuild/build/spice-gtk-0.33/src'
Makefile:1544: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/dev/.cache/jhbuild/build/spice-gtk-0.33/src'
Makefile:1047: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/dev/.cache/jhbuild/build/spice-gtk-0.33/src'
Makefile:657: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/dev/.cache/jhbuild/build/spice-gtk-0.33'
Makefile:562: recipe for target 'all' failed
make: *** [all] Error 2
make -j 5 
*** Error during phase build of spice-gtk: ########## Error running make -j 5  *** [9/13]
Comment 1 gvrb 2016-12-23 07:06:57 UTC
root@unstable:~# uname -a
Linux unstable 4.8.0-1-amd64 #1 SMP Debian 4.8.7-1 (2016-11-13) x86_64
GNU/Linux

root@unstable:~# gnome-shell --version
GNOME Shell 3.22.2
Comment 2 Christophe Fergeau 2016-12-23 08:54:30 UTC
Known build issue with openssl 1.1.0, this series should fix it https://lists.freedesktop.org/archives/spice-devel/2016-December/034750.html
Comment 3 Victor Toso 2017-04-10 14:41:02 UTC
Fixed upstream and will be part of v0.34 release.
You might want to use compat-openssl10 in the meanwhile


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.