Opened 5 years ago
Closed 5 years ago
#58956 closed defect (fixed)
gnome-vfs: build fails agains openssl 1.1.1
Reported by: | kencu (Ken) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | yan12125 (Chih-Hsuan Yen) | |
Port: | gnome-vfs |
Description
On Mojave
/opt/local/include/glib-2.0/glib/gmacros.h:432:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ gnome-vfs-ssl.c:403:38: error: incomplete definition of type 'struct ssl_st' if (ssl->private->ssl->ctx) ~~~~~~~~~~~~~~~~~^ /opt/local/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st' typedef struct ssl_st SSL; ^ gnome-vfs-ssl.c:404:56: error: incomplete definition of type 'struct ssl_st' SSL_CTX_free (ssl->private->ssl->ctx); ~~~~~~~~~~~~~~~~~^ /opt/local/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st' typedef struct ssl_st SSL; ^ gnome-vfs-ssl.c:708:33: error: incomplete definition of type 'struct ssl_st' SSL_CTX_free (ssl->private->ssl->ctx); ~~~~~~~~~~~~~~~~~^ /opt/local/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st' typedef struct ssl_st SSL; ^
Attachments (1)
Change History (6)
Changed 5 years ago by kencu (Ken)
Attachment: | gnomevfs-build-fail-openssl-mojave.log added |
---|
comment:1 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)
comment:2 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)
Cc: | yan12125 added |
---|
comment:3 Changed 5 years ago by kencu (Ken)
There is also this <http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/gnome-vfs/patches/patch-libgnomevfs_gnome-vfs-ssl.c?rev=1.1&content-type=text/x-cvsweb-markup> which I am building right now.
comment:4 Changed 5 years ago by kencu (Ken)
That patch I referenced works to fix the build against openssl 1.1.1
$ port -v installed gnome-vfs The following ports are currently installed: gnome-vfs @2.24.4_3+universal (active) platform='darwin 10' archs='i386 x86_64' date='2019-09-07T20:00:36-0700'
comment:5 Changed 5 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
FWIW, unofficial Arch package uses GnuTLS with some patches. See https://aur.archlinux.org/cgit/aur.git/tree/?h=gnome-vfs.