pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53829: multimedia/ffmpeg2 is incompatible with OpenSSL 1.1



>Number:         53829
>Category:       pkg
>Synopsis:       multimedia/ffmpeg2 is incompatible with OpenSSL 1.1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 03 10:55:00 +0000 2019
>Originator:     Benny Siegert
>Release:        pkgsrc-current as of 2019-01-02
>Organization:
The NetBSD Foundation
>Environment:
NetBSD shiso.mirbsd.org 8.99.27 NetBSD 8.99.27 (LARGEFONT) #2: Mon Dec 10 19:59:30 CET 2018  bsiegert%shiso.mirbsd.org@localhost:/usr/obj/sys/arch/amd64/compile/LARGEFONT amd64
>Description:
ffmpeg2 (ffmpeg2-2.8.14nb7) has the "openssl" option enabled by default.
I have a patch to configure so that OpenSSL is found at all.
However, then, building fails with the following error:

ibavformat/rtmpdh.c: In function 'ff_dh_init':
libavformat/rtmpdh.c:260:14: error: dereferencing pointer to incomplete type 'FF_DH {aka struct dh_st}'
     bn_new(dh->g);
              ^
libavformat/rtmpdh.c:171:37: note: in definition of macro 'bn_new'
 #define bn_new(bn)                  bn = BN_new()
                                     ^~

>How-To-Repeat:
cd pkgsrc/multimedia/ffmpeg2
make PKG_OPTIONS.ffmpeg2=openssl
>Fix:
I remember that this is a common compatibility issue when moving to OpenSSL 1.1. Some of you probably know better how to patch this than I do :)



Home | Main Index | Thread Index | Old Index