Bug 204611 - devel/efl: fails to build on update to 0.16.0
Summary: devel/efl: fails to build on update to 0.16.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-enlightenment (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-16 20:57 UTC by c.kworr
Modified: 2015-11-18 23:43 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (enlightenment)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description c.kworr 2015-11-16 20:57:37 UTC
When building port with clang37 I get this:

  CC       lib/eet/lib_eet_libeet_la-eet_alloc.lo
  CC       lib/eet/lib_eet_libeet_la-eet_cipher.lo
  CC       lib/eet/lib_eet_libeet_la-eet_connection.lo
  CC       lib/eet/lib_eet_libeet_la-eet_data.lo
lib/eet/eet_cipher.c:239:10: error: variable has incomplete type 'void'
   void (certificate_file);
         ^
lib/eet/eet_cipher.c:240:10: error: variable has incomplete type 'void'
   void (private_key_file);
         ^
lib/eet/eet_cipher.c:241:10: error: variable has incomplete type 'void'
   void (cb);
         ^
lib/eet/eet_cipher.c:77:45: warning: unused parameter 'certificate_file' [-Wunused-parameter]
eet_identity_open(const char               *certificate_file,
                                            ^
lib/eet/eet_cipher.c:78:45: warning: unused parameter 'private_key_file' [-Wunused-parameter]
                  const char               *private_key_file,
                                            ^
lib/eet/eet_cipher.c:79:45: warning: unused parameter 'cb' [-Wunused-parameter]
                  Eet_Key_Password_Callback cb)
                                            ^
3 warnings and 3 errors generated.
Comment 1 c.kworr 2015-11-16 21:06:39 UTC
Probably that part should look like:

#else
   (void)certificate_file;
   (void)private_key_file;
   (void)cb;
#endif /* ifdef HAVE_SIGNATURE */
Comment 2 Grzegorz Blach freebsd_committer freebsd_triage 2015-11-16 23:45:43 UTC
I have no problem with building EFL with clang37.
Comment 3 c.kworr 2015-11-17 06:44:00 UTC
This happens if SSL is off.
Comment 4 Grzegorz Blach freebsd_committer freebsd_triage 2015-11-17 23:48:04 UTC
Reported upstream: https://phab.enlightenment.org/T2855
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-11-18 23:42:15 UTC
A commit references this bug:

Author: gblach
Date: Wed Nov 18 23:42:07 UTC 2015
New revision: 401904
URL: https://svnweb.freebsd.org/changeset/ports/401904

Log:
  Fix build when SSL is off

  PR:	204611

Changes:
  head/devel/efl/Makefile
  head/devel/efl/files/patch-src-lib-eet-eet_cipher.c