Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653814 - >=media-tv/kodi-17.5-r1[system-ffmpeg]: add libressl exception for media-video/ffmpeg
Summary: >=media-tv/kodi-17.5-r1[system-ffmpeg]: add libressl exception for media-vide...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-22 19:10 UTC by Mircea Sava
Modified: 2018-11-18 03:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Sava 2018-04-22 19:10:40 UTC
Please allow building against system ffmpeg on systems free of openssl.

Reproducible: Always
Comment 1 Craig Andrews gentoo-dev 2018-04-23 18:52:02 UTC
I suppose I could drop the [openssl] use flag from the media-video/ffmpeg requirement... would that work for you?

Note that ffmpeg doesn't have support for libressl: bug 569818.
Comment 2 Larry the Git Cow gentoo-dev 2018-04-24 17:58:00 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1652735710213c2fffbec3ed30e0363cceb120e8

commit 1652735710213c2fffbec3ed30e0363cceb120e8
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2018-04-23 19:17:28 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2018-04-24 17:57:00 +0000

    media-video/ffmpeg: add support for libtls (LibreSSL)
    
    Bug: https://bugs.gentoo.org/653814
    Closes: https://bugs.gentoo.org/569818
    Package-Manager: Portage-2.3.31, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/8117

 media-video/ffmpeg/ffmpeg-4.0.ebuild  | 18 ++++++++++++------
 media-video/ffmpeg/ffmpeg-9999.ebuild | 18 ++++++++++++------
 2 files changed, 24 insertions(+), 12 deletions(-)}
Comment 3 Craig Andrews gentoo-dev 2018-04-24 18:21:48 UTC
media-video/ffmpeg-4.0 (which has libressl support, bug 569818 ) is hard masked so I can't make a media-tv/kodi-17* ebuild that has libressl support (yet).

However, I've added this change to media-video/kodi-9999 and I'll be watching bug 653678 so that when media-video/ffmpeg-4.0 is unmasked, I'll be able to update media-tv/kodi-17* with libressl support for it.
Comment 4 Larry the Git Cow gentoo-dev 2018-04-24 18:22:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bedf202488db6a8d2f4390e959b23f38d06c47

commit 74bedf202488db6a8d2f4390e959b23f38d06c47
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-04-24 18:16:54 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-04-24 18:21:53 +0000

    media-tv/kodi: -9999[system-ffmpeg] add libressl exception for ffmpeg
    
    Bug: https://bugs.gentoo.org/653814
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 media-tv/kodi/kodi-9999.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)}
Comment 5 Mircea Sava 2018-04-25 10:42:32 UTC
Patched ffmpeg stable taken from the libressl overlay works well with libressl. However, the good people of the libressl project only patch ebuilds from the main tree, they don't 'correct' 'bad' ebuild syntax.

On a closer look, the problem seems to lie with ffmpeg, not kodi. It's ffmpeg that should have an ssl flag which would then require either openssl or libressl flags to be set.

Presently, libressl require openssl which can be confusing at first glance, hence this bug.
Comment 6 Craig Andrews gentoo-dev 2018-11-18 03:24:27 UTC
media-tv/kodi-18.0_beta5 (and the live media-tv/kodi-9999 version) support libressl fully.

media-tv/kodi-17* won't be able to fully support libressl as you'd like as it uses media-video/ffmpeg-3 which doesn't have (and won't be getting) libressl support.