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)

gnomevfs-build-fail-openssl-mojave.log (457.5 KB) - added by kencu (Ken) 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by kencu (Ken)

comment:1 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

FWIW, unofficial Arch package uses GnuTLS with some patches. See https://aur.archlinux.org/cgit/aur.git/tree/?h=gnome-vfs.

comment:2 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Cc: yan12125 added

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: newclosed

In f48979f15d686bb45b10f116eef45102b3941e08/macports-ports (master):

gnome-vfs: fix build against openssl 1.1.1

closes: #58956

Note: See TracTickets for help on using tickets.