Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666160 - net-libs/libsrtp-1.6.0:0[openssl] with >=dev-libs/openssl-1.1.0: aes_icm_ossl.h: error: field ‘ctx’ has incomplete type
Summary: net-libs/libsrtp-1.6.0:0[openssl] with >=dev-libs/openssl-1.1.0: aes_icm_ossl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2018-09-13 17:01 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-12-22 19:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,248.37 KB, text/plain)
2018-09-13 17:01 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
build.log (build.log,8.71 KB, text/plain)
2018-09-13 17:03 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-13 17:01:32 UTC
Created attachment 546816 [details]
build.log

g++ -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor 
-Wno-free-nonheap-object -rdynamic -DUNIX -D_FORTIFY_SOURCE=2 -DWITH_SSE -DWITH_SDL  -D_REENTRANT -I/usr/include/SDL -DWITH_ZLIB   -DWITH_LZMA   -DWITH_XDG_BASEDIR   -D_SQ64 -I/var/tmp/portage/games-simulation/openttd-9999/work/openttd-9
999/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/include/libpng16  -DWITH_FONTCONFIG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -DWITH_FREETYPE -I/usr/in
clude/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -DWITH_ICU_LAYOUT -I/usr/include/icu-le-hb -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -DWITH_ICU_SORT   -D
WITH_ICONV -DHAVE_NON_CONST_ICONV -DENABLE_NETWORK -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\".openttd\" -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  -I /var/tmp/portage/games-simulation/openttd-9999/work/openttd-9999/objs/release -I /var/t
mp/portage/games-simulation/openttd-9999/work/openttd-9999/objs/lang -I /var/tmp/portage/games-simulation/openttd-9999/work/openttd-9999/objs/setting -flifetime-dse=1 -std=gnu++14 -march=native -mtune=native -O2 -pipe -std=c++14 -c -o fo
ntcache.o /var/tmp/portage/games-simulation/openttd-9999/work/openttd-9999/src/fontcache.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from /var/tmp/portage/games-simulation/openttd-9999/work/openttd-9999/src/fontcache.cpp:20:0:
/var/tmp/portage/games-simulation/openttd-9999/work/openttd-9999/src/gfx_layout.h:84:29: error: expected class-name before ‘{’ token
 class Font ICU_FONTINSTANCE {
                             ^
make[1]: *** [Makefile:228: fontcache.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/games-simulation/openttd-9999/work/openttd-9999/objs/release'
make: *** [Makefile:56: all] Error 1
 * ERROR: games-simulation/openttd-9999::gentoo failed (compile phase):
 *   emake failed


This is fixed in 2.x versions but dev-qt/qtwebengine still depends on 1.6.x version.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-13 17:03:43 UTC
Created attachment 546818 [details]
build.log

Sorry, attached wrong build.log file...
Comment 2 Craig Andrews gentoo-dev 2018-10-26 16:59:42 UTC
dev-qt/qtwebengine-5.11 no longer depends on net-libs/libsrtp:0

The remaining packages with depends on net-libs/libsrtp:0 in their latest versions are:
net-misc/asterisk[srtp]
net-libs/pjproject
net-libs/ortp/ortp[srtp]
media-sound/teamspeak-client
Comment 3 Craig Andrews gentoo-dev 2018-12-10 16:14:31 UTC
FreeBSD has patches for this issue: https://svnweb.freebsd.org/ports?view=revision&revision=472170
Comment 4 Larry the Git Cow gentoo-dev 2018-12-22 19:34:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18291de3d601dfa31b3cf7b34bc3e58f03cd4dd2

commit 18291de3d601dfa31b3cf7b34bc3e58f03cd4dd2
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-12-13 14:21:13 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-12-22 19:33:42 +0000

    net-libs/libsrtp: 1.6.0-r1 OpenSSL 1.1 compatibility
    
    Uses the patches from FreeBSD, see
    https://svnweb.freebsd.org/ports?view=revision&revision=472170
    
    Also EAPI=7
    
    Closes: https://bugs.gentoo.org/666160
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../libsrtp/files/libsrtp-1.6.0-openssl-1.1.patch  | 361 +++++++++++++++++++++
 .../files/libsrtp-1.6.0-openssl-aem_gcm-key.patch  |  83 +++++
 .../files/libsrtp-1.6.0-openssl-aem_icm-key.patch  | 113 +++++++
 .../libsrtp/files/libsrtp-1.6.0-openssl-hmac.patch | 254 +++++++++++++++
 net-libs/libsrtp/libsrtp-1.6.0-r1.ebuild           |  90 +++++
 5 files changed, 901 insertions(+)