[Bug 211461] comms/libimobiledevice: doesn't compile with libressl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 30 13:48:58 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211461

            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 at FreeBSD.org
          Reporter: lbartoletti at tuxfamily.org
          Assignee: avilla at FreeBSD.org
             Flags: maintainer-feedback?(avilla at FreeBSD.org)

Like devel/qca or polish/libgadu, comms/libimobiledevice doesn't compile with
libressl

Fails, using:

  WITH_OPENSSL_PORT= yes
  OPENSSL_PORT= security/libressl

===========================================================================
=======================<phase: build          >============================
===>  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 = SSL_CTX_new(SSLv3_method());
                                       ^
idevice.c:681:33: warning: incompatible integer to pointer conversion passing
'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct
ssl_method_st *') [-Wint-conversion]
        SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method());
                                       ^~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1520:40: note: passing argument to parameter
'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

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


More information about the freebsd-ports-bugs mailing list