| Summary: | emulators/pipelight: Flash not working | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | tom |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Some People | CC: | freebsdbugs, javashin1986, reezer, rene, w.schwarzenfeld |
| Priority: | --- | Keywords: | needs-patch, needs-qa |
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
tom
2017-02-05 01:11:10 UTC
It's actually the script that has a couple of problems.
One is that the Flash URL specified in the script isn't correct, and the checksum isn't either. That's what your changes fix.
The problem you are hitting is this:
sed: 1: "/Content-Length/{s/.*: ...": extra characters at the end of p command
This is because the script expect a different version of sed, not FreeBSD's sed. To fix this one would need to use multiple "-e" arguments, so leave the first part, but then a standalone "-e 'p'", instead of "; p" and then the rest.
If someone wants to work on this:
In other words the script in:
/usr/local/share/pipelight/install-dependency
needs a couple of patches. This should preferably be done upstream of course.
It would also make sense to add ca_root_nss as a dependency.
Personally I made it work by looking at the script executing the scripts semi-manually, to see if it works after the effort. It does.
As a hint for other people trying to fix the issue. You need to run the following command, because otherwise it won't rerun the script, but simply fail.
pipelight-plugin --create-mozilla-plugins
Also I think it would make sense to add consistent for fetch, rather than wget. Here it had problems after first using it correctly. But this is optional, when wget is required/installed.
I hope this helped. I am sorry, I don't have a patch to do the necessary fixing.
Hello I have The Same Problem Here on Freebsd 12-Current
firefox
[PIPELIGHT:LIN:unknown] attached to process.
[PIPELIGHT:LIN:unknown] checking environment variable PIPELIGHT_FLASH_CONFIG.
[PIPELIGHT:LIN:unknown] searching for config file pipelight-flash.
[PIPELIGHT:LIN:unknown] trying to load config file from '/root/.config/pipelight-flash'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/etc/pipelight-flash'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/usr/local/share/pipelight/configs/pipelight-flash'.
[PIPELIGHT:LIN:unknown] sandbox not found or not installed!
[PIPELIGHT:LIN:flash] using wine prefix directory /root/.wine-pipelight.
[PIPELIGHT:LIN:flash] checking plugin installation - this might take some time.
[PIPELIGHT:LIN:flash] -------------------------------------------------------
[PIPELIGHT:LIN:flash] WARNING! YOU ARE RUNNING THIS PIPELIGHT PLUGIN AS ROOT!
[PIPELIGHT:LIN:flash] THIS IS USUALLY NOT A GOOD IDEA! YOU HAVE BEEN WARNED!
[PIPELIGHT:LIN:flash] -------------------------------------------------------
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[install-dependency] Downloading and running wine-flash-installer.
sed: 1: "/Content-Length/{s/.*: ...": extra characters at the end of p command
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[PIPELIGHT:LIN:flash] basicplugin.c:299:checkPluginInstallation(): Plugin installer did not run correctly (error occured).
[PIPELIGHT:LIN:flash] basicplugin.c:116:attach(): plugin not correctly installed - aborting.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[install-dependency] ERROR: Downloading of wine-flash-installer failed multiple times. Please check:
[install-dependency]
[install-dependency] * that your internet connection is working properly
[install-dependency]
[install-dependency] * and that the plugin database is up-to-date. To update it just run:
[install-dependency] sudo pipelight-plugin --update
[install-dependency]
[install-dependency] If this doesn't help then most-likely the download URLs or checksums
[install-dependency] have changed. We recommend to open a bug-report in this case.
[install-dependency] ERROR: Download of wine-flash-installer failed.
[root@darkmaza ~]#
How I fix This ? (In reply to Carlos Jimenez from comment #3) You can probably figure it out from the bottom bit of my post, and Christian's reply. Basically, you need to look at the install-dependency script, then find the correct links & checksums for the plugins that you need. if you have an nvidia graphics card, you need to run the patch-nvidia.sh for wine. then edit install-dependency to correct the links & checksums. as Christian said, there is also a problem with sed, but it didn't seem to affect me too much. eventually when i have some spare time i'll submit a patch, but don't hold your breath waiting... what we really need is a new maintainer for the port. if i get it working right i might consider taking it over (even though i would prefer to see Flash die a long overdue death) Sorry for being inpatient but i try that and still dont work and some other things Hello for some reason after installing flashplayer Native wrapper around Linux Flash Player and nspluginwrapper Compatibility plugin for Mozilla NPAPI plugins and after changing in /usr/local/share/pipelight/install-dependency the installer version and sha256 its working . Hello for some reason after installing flashplayer Native wrapper around Linux Flash Player and nspluginwrapper Compatibility plugin for Mozilla NPAPI plugins and after changing in /usr/local/share/pipelight/install-dependency the installer version and sha256 its working . If I understand right it is solved? So we can close? I don't think so. What brings you to that assumption? The port was not changed since September. I attempted to install this, and updated the install-dependency script for the latest version of Silverlight, but mine fails a little more spectacularly:
$ pipelight-plugin --system-check
>> 32 bit <<
Checking Wine version ...
Version: wine-3.0.4
Patched Wine version: FAILURE
Checking OpenGL ...
OpenGL Vendor: Intel Open Source Technology Center
OpenGL Renderer: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) x86/MMX/SSE2
OpenGL Direct Rendering: False (or old/wrong wine version)
OpenGL: FAILURE
Checking fonts ...
Found Arial in Z:\usr\local\share\fonts\webfonts\arial.ttf
Found Arial in Z:\usr\local\share\fonts\webfonts\arialbd.ttf
Found Arial in Z:\usr\local\share\fonts\webfonts\arialbi.ttf
Found Arial in Z:\usr\local\share\fonts\webfonts\ariali.ttf
Found Verdana in Z:\usr\local\share\fonts\webfonts\verdana.ttf
Found Verdana in Z:\usr\local\share\fonts\webfonts\verdanab.ttf
Found Verdana in Z:\usr\local\share\fonts\webfonts\verdanaz.ttf
Found Verdana in Z:\usr\local\share\fonts\webfonts\verdanai.ttf
Fonts: PASSED
Checking ACLs / XATTR ...
ACLs: FAILURE
Checking libraries...
wine: cannot find L"C:\\windows\\system32\\--check-libs.exe"
Libraries: FAILURE
Firefox logs that it downloads the Silverlight.exe installer, but then fails to install with:
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
0009:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0009:fixme:msi:is_uninstallable check other criteria
002b:err:msi:ACTION_CallDllFunction failed to load dll L"C:\\Program Files\\Microsoft Silverlight\\xapauthenticodesip.dll" (126)
002d:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
002f:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
0009:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0009:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
[install-dependency] ERROR: Installer for wine-silverlight5.1-installer did not run correctly or was aborted.
[install-dependency] ERROR: Execution of wine-silverlight5.1-installer failed.
[PIPELIGHT:LIN:silverlight5.1] basicplugin.c:303:checkPluginInstallation(): Plugin installer did not run correctly (exitcode = 1).
[PIPELIGHT:LIN:silverlight5.1] basicplugin.c:116:attach(): plugin not correctly installed - aborting.
No recent activity, and the port expired, so removed. |