Bug 193872 - www/linux-c6-flashplugin11: libflashsupport is broken, missing audio without ALSA
Summary: www/linux-c6-flashplugin11: libflashsupport is broken, missing audio without ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Eitan Adler
URL: https://lists.freebsd.org/pipermail/f...
Keywords: patch, regression
Depends on:
Blocks:
 
Reported: 2014-09-23 12:50 UTC by Jan Beich
Modified: 2015-01-07 14:32 UTC (History)
1 user (show)

See Also:


Attachments
workaround (1.39 KB, patch)
2014-09-23 12:50 UTC, Jan Beich
no flags Details | Diff
fix USE_LINUX_APPS dependency. (519 bytes, patch)
2014-09-23 13:26 UTC, Johannes Jost Meixner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2014-09-23 12:50:24 UTC
Created attachment 147597 [details]
workaround

flashplugin11 tries to dlopen libflashsupport.so and then falls back to ALSA. However, dlopen fails because of missing dependency, libssl.so.7. linux-c6-openssl doesn't provide it unlike linux-f10-openssl. Make a link as a workaround until someone builds linux-c6-flashsupport.

$ readelf -d $(make -V WRKSRC -C www/linux-c6-flashplugin11)/libflashsupport.so | fgrep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libssl.so.7]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

$ fgrep libssl security/linux-c6-openssl/pkg-plistusr/lib/libssl.so.%%PORTVERSION%%
usr/lib/libssl.so.10
usr/lib/.libssl.so.%%PORTVERSION%%.hmac
usr/lib/.libssl.so.10.hmac
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-23 12:50:24 UTC
Auto-assigned to maintainer eadler@FreeBSD.org
Comment 2 Jan Beich freebsd_committer freebsd_triage 2014-09-23 12:54:07 UTC
Technically, a regression in function parity.
Comment 3 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-09-23 13:24:42 UTC
(In reply to Jan Beich from comment #2)
> Technically, a regression in function parity.

Please do not use the workaround.

Functionality can be restored by using security/linux-c6-openssl-compat, which provides OpenSSL 0.9.8e.
Comment 4 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-09-23 13:26:47 UTC
Created attachment 147600 [details]
fix USE_LINUX_APPS dependency.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-09-24 04:05:53 UTC
A commit references this bug:

Author: xmj
Date: Wed Sep 24 04:05:46 UTC 2014
New revision: 369156
URL: http://svnweb.freebsd.org/changeset/ports/369156

Log:
  www/linux-c6-flashplugin11: Set correct dependency on OpenSSL

  The centos 6.5-compatible version of Flashplugin currently misses a
  dependency on the right OpenSSL port (security/linux-c6-openssl-compat, 0.9.8e).
  Fix this by adding it to USE_LINUX_APPS.

  PR: 		193872
  Differential Revision:	https://reviews.freebsd.org/D820
  Submitted by:	Jan Beich <jbeich@vfemail.net>
  Approved by:	swills (mentor)

Changes:
  head/www/linux-c6-flashplugin11/Makefile
Comment 6 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-09-24 04:19:43 UTC
Solved. Thanks!