Bug 1385596 - opensips-1.11.8-1.fc26 FTBFS: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}'
Summary: opensips-1.11.8-1.fc26 FTBFS: dereferencing pointer to incomplete type 'SSL {...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: opensips
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks: 1383740
TreeView+ depends on / blocked
 
Reported: 2016-10-17 11:23 UTC by Petr Pisar
Modified: 2017-01-13 12:45 UTC (History)
2 users (show)

Fixed In Version: opensips-2.2.2-2.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-13 12:45:43 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github OpenSIPS opensips issues 996 0 None None None 2016-11-28 16:13:13 UTC

Description Petr Pisar 2016-10-17 11:23:25 UTC
opensips-1.11.8-1.fc26 fails to build in F26:

gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fgnu89-inline -Wcast-align  -I/usr/include/json-c -DPKG_MALLOC  -DSHM_MEM  -DSHM_MMAP  -DUSE_IPV6  -DUSE_MCAST  -DDISABLE_NAGLE  -DSTATISTICS  -DCHANGEABLE_DEBUG_LEVEL  -DHAVE_RESOLV_RES  -DF_MALLOC  -DUSE_TCP   -DNAME='"opensips"' -DVERSION='"1.11.8-tls"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 6.2.1"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"'  -DUSE_FREERADIUS -DUSE_TLS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/ssl/include -I/usr/include -I/usr/include/openssl -c tls/tls_server.c -o tls/tls_server.o
[...]
tls/tls_server.c: In function 'tls_accept':
tls/tls_server.c:232:10: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}'
  if ( ssl->kssl_ctx==NULL )
          ^~

This is caused by upgrading openssl from 1:1.0.2j-1.fc26 to 1:1.1.0b-1.fc26.

Comment 1 Petr Pisar 2016-12-01 13:27:27 UTC
Upstream fixed it in the git master branch. Commit eebd28a13a0eb69e27a7857c329ead22c00fabb9 builds fine.

Comment 2 Igor Gnatenko 2016-12-18 13:03:50 UTC
ping?


Note You need to log in before you can comment on or make changes to this bug.