Bug#841373: mv: cannot stat 'unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so': No such file or directory

2016-10-20 Thread Trent W. Buck
This is the same bug at Ubuntu; it has more analysis:

  
https://bugs.launchpad.net/ubuntu/+source/pepperflashplugin-nonfree/+bug/1632870

In short:

  * Google Chrome 54+ does not bundle libpepflashplayer.so.

  * pepperflashplugin-nonfree will have to get it from somewhere else;
either adobe.com directly, or Google's "redirector.gvtl.com" thing.

It looks like Ubuntu don't care about pepperflashplugin-nonfree,
because they recommend adobe-flashplugin from canonical-partners.

  https://wiki.ubuntu.com/Chromium/Getting-Flash

Debian has no equivalent.



Bug#841373: mv: cannot stat 'unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so': No such file or directory

2016-10-19 Thread Trent W. Buck
Package: pepperflashplugin-nonfree
Version: 1.8.1+deb8u1
Severity: critical

Install is currently failing.
Maybe the paths within the upstream deb have changed?

Here's what the postinst said:

Setting up pepperflashplugin-nonfree (1.8.1+deb8u1) ...
converted 
'http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_54.0.2840.59-1_amd64.deb'
 (ANSI_X3.4-1968) -> 
'http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_54.0.2840.59-1_amd64.deb'
 (UTF-8)
--2016-10-20 11:49:21--  
http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_54.0.2840.59-1_amd64.deb
Resolving proxy (proxy)... 203.7.155.12
Connecting to proxy (proxy)|203.7.155.12|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 45527232 (43M) [application/x-debian-package]
Saving to: 
'/tmp/pepperflashplugin-nonfree.LdNEpJHj9m/google-chrome-stable_54.0.2840.59-1_amd64.deb'

 0K .. .. .. .. ..  0%  156K 
4m44s
[...]
 44400K .. .. .. .. .. 99%  444K 0s
 44450K ..100% 38.8M=60s

2016-10-20 11:50:22 (739 KB/s) - 
'/tmp/pepperflashplugin-nonfree.LdNEpJHj9m/google-chrome-stable_54.0.2840.59-1_amd64.deb'
 saved [45527232/45527232]

mv: cannot stat 
'unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so': No such file 
or directory
Setting up plymouth (0.9.0-9) ...


Because errors in the postinst's call to update-pepperflashplugin-nonfree 
aren't fatal,
my build scripts explicitly rerun it.  Here's the same problem:

# Work around https://bugs.debian.org/823005; also #31001
[[ -e $t/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so ]] ||
(   wget -O $t/usr/lib/pepperflashplugin-nonfree/pubkey-google.txt 
https://dl.google.com/linux/linux_signing_key.pub
chroot $t update-pepperflashplugin-nonfree -ifq )

+ [[ -e live/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so ]]
+ wget -O live/usr/lib/pepperflashplugin-nonfree/pubkey-google.txt 
https://dl.google.com/linux/linux_signing_key.pub
converted 'https://dl.google.com/linux/linux_signing_key.pub' 
(ANSI_X3.4-1968) -> 'https://dl.google.com/linux/linux_signing_key.pub' (UTF-8)
--2016-10-20 11:51:10--  https://dl.google.com/linux/linux_signing_key.pub
Resolving dl.google.com (dl.google.com)... 172.217.25.46, 
2404:6800:4006:807::200e
Connecting to dl.google.com (dl.google.com)|172.217.25.46|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5840 (5.7K) [application/octet-stream]
Saving to: 'live/usr/lib/pepperflashplugin-nonfree/pubkey-google.txt'

 0K . 100% 
1.02M=0.005s

2016-10-20 11:51:12 (1.02 MB/s) - 
'live/usr/lib/pepperflashplugin-nonfree/pubkey-google.txt' saved [5840/5840]

+ chroot live update-pepperflashplugin-nonfree -ifq
mv: cannot stat 
'unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so': No such file 
or directory

When I look inside the deb myself, I don't see libpepflashplayer.so:

$ dpkg -c google-chrome-stable_54.0.2840.59-1_amd64.deb | grep -F .so
-rw-r--r-- root/root   7964784 2016-10-12 15:41 
./opt/google/chrome/libwidevinecdm.so
-rw-r--r-- root/root 71984 2016-10-12 15:41 
./opt/google/chrome/libwidevinecdmadapter.so