Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2016 13:48:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211461] comms/libimobiledevice: doesn't compile with libressl
Message-ID:  <bug-211461-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211461

            Bug ID: 211461
           Summary: comms/libimobiledevice: doesn't compile with libressl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: avilla@FreeBSD.org
          Reporter: lbartoletti@tuxfamily.org
          Assignee: avilla@FreeBSD.org
             Flags: maintainer-feedback?(avilla@FreeBSD.org)

Like devel/qca or polish/libgadu, comms/libimobiledevice doesn't compile wi=
th
libressl

Fails, using:

  WITH_OPENSSL_PORT=3D yes
  OPENSSL_PORT=3D security/libressl

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building for libimobiledevice-1.2.0
/usr/bin/make  all-recursive
Making all in common
  CC       socket.lo
  CC       thread.lo
  CC       debug.lo
  CC       userpref.lo
  CC       utils.lo
  CCLD     libinternalcommon.la
Making all in src
  CC       idevice.lo
idevice.c:681:33: warning: implicit declaration of function 'SSLv3_method'
[-Wimplicit-function-declaration]
        SSL_CTX *ssl_ctx =3D SSL_CTX_new(SSLv3_method());
                                       ^
idevice.c:681:33: warning: incompatible integer to pointer conversion passi=
ng
'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct
ssl_method_st *') [-Wint-conversion]
        SSL_CTX *ssl_ctx =3D SSL_CTX_new(SSLv3_method());
                                       ^~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1520:40: note: passing argument to paramet=
er
'meth' here
SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
                                       ^
2 warnings generated.
  CC       service.lo
  CC       property_list_service.lo
  CC       device_link_service.lo
  CC       lockdown.lo
  CC       afc.lo
  CC       file_relay.lo
  CC       notification_proxy.lo
  CC       installation_proxy.lo
  CC       sbservices.lo
  CC       mobile_image_mounter.lo
  CC       screenshotr.lo
  CC       mobilesync.lo
  CC       mobilebackup.lo
  CC       house_arrest.lo
  CC       mobilebackup2.lo
  CC       misagent.lo
  CC       restore.lo
  CC       diagnostics_relay.lo
  CC       heartbeat.lo
  CC       debugserver.lo
  CC       webinspector.lo
  CC       syslog_relay.lo
  CCLD     libimobiledevice.la
Making all in include
Making all in tools
  CC       idevice_id-idevice_id.o
  CCLD     idevice_id
../src/.libs/libimobiledevice.so: undefined reference to `SSLv3_method'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in
/wrkdirs/usr/ports/comms/libimobiledevice/work/libimobiledevice-1.2.0/tools
*** Error code 1

Stop.
make[2]: stopped in
/wrkdirs/usr/ports/comms/libimobiledevice/work/libimobiledevice-1.2.0
*** Error code 1

Stop.
make[1]: stopped in
/wrkdirs/usr/ports/comms/libimobiledevice/work/libimobiledevice-1.2.0
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211461-13>