Search Criteria
Package Details: plex-media-player 2.58.1-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/plex-media-player.git (read-only, click to copy) |
---|---|
Package Base: | plex-media-player |
Description: | Next generation Plex Desktop Client |
Upstream URL: | https://github.com/plexinc/plex-media-player |
Licenses: | GPL |
Conflicts: | jellyfin-media-player |
Submitter: | TingPing |
Maintainer: | ombre (Asator) |
Last Packager: | ombre |
Votes: | 109 |
Popularity: | 0.000715 |
First Submitted: | 2015-11-29 18:10 (UTC) |
Last Updated: | 2022-04-06 20:27 (UTC) |
Dependencies (10)
- libcec (libcec-gitAUR)
- mpv (mpv-light-pulseAUR, mpv-amd-full-gitAUR, mpv-full-gitAUR, mpv-fullAUR, mpv-gitAUR, mpv-build-gitAUR, mpv-full-build-gitAUR)
- p8-platform (libplatform-gitAUR)
- protobuf (protobuf-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- qt5-quickcontrols (qt5-quickcontrols-gitAUR)
- qt5-webengine
- qt5-x11extras
- sdl2 (sdl2-compat-gitAUR, sdl2-gitAUR)
- cmake (cmake-gitAUR) (make)
Required by (1)
Sources (9)
- buildid-183-045db5be50e175.cmake
- plex-media-player-2.58.1-ae73e074.tar.gz
- plex-wayland-hwdec.patch
- plex-wayland.patch
- plex.patch
- web-client-desktop-183-045db5be50e175-4.29.2-e50e175.tar.xz.sha1
- web-client-desktop-183-045db5be50e175-4.29.2-e50e175.tar.xz
- web-client-tv-183-045db5be50e175-4.29.6-045db5b.tar.xz.sha1
- web-client-tv-183-045db5be50e175-4.29.6-045db5b.tar.xz
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 35 Next › Last »
MassHysteria commented on 2019-12-03 18:07 (UTC)
Awesome, I've tried my reproduction method and it looks like it fixed that, so I think it's a good bet that it'll work in general. Thanks for being so responsive on this!
degeberg commented on 2019-12-03 17:57 (UTC)
Yes, of course, thanks. You're right. I had never noticed that folder/filename change pattern.
I've uploaded a new PKGBUILD that I believe should prevent the issue from occurring again.
MassHysteria commented on 2019-12-03 17:46 (UTC)
Also, here's a way to reproduce the problem. In an empty directory:
In the second
makepkg
you should see the following logs:Indicating it thinks it already has those sources, so it doesn't need to re-download them. Then later on it will fail on the validity check of both those files.
MassHysteria commented on 2019-12-03 17:38 (UTC)
I think you're missing the fact that the URLs of the tarballs are changing, even though their file name is not. These are the checksums of the web-client-desktop tarball for the current and previous PKGBUILDs:
As you can see, the URLs have different paths, though the end part, which gets treated as the filename, is the same. The files themselves are different, and they each match the (different) checksums in the PKGBUILDs for those versions.
degeberg commented on 2019-12-03 17:31 (UTC)
I'm not sure that's the problem. I've previously checked the upstream files against the checksums I put in the PKGBUILD-file after people reported checksum mismatches, and my original checksums still matched. I also did it a few minutes ago before updating the PKGBUILD from 2.45.0 to 2.46.0 based on your report, and the checksums I had put in the PKGBUILD definitely still matched the files that were downloaded using makepkg. As far as I can tell, the files on the server didn't change since i put the checksums in the PKGBUILD.
MassHysteria commented on 2019-12-03 17:21 (UTC) (edited on 2019-12-03 17:25 (UTC) by MassHysteria)
@degeberg, the failed checksums happens because the contents of the tarballs sometimes change while the file name does not. I presume this is because there are two different sources (web-client-tv and web-client-desktop) that are probably managed in separate version control repos, and when either one changes the other one's name does not. This wouldn't be a problem except that apparently the contents do change slightly (probably there's some sort of time dependency when generating the tarballs). This causes an update where one of the sources has the same name as a previous update, but a different checksum.
That causes a problem with AUR helpers that cache previous sources by filename. They don't download the new file, and when makepkg does the validation the old file doesn't match the new checksum.
My patch (linked below, but here it is again: http://ix.io/23lz) fixes this by incorporating the name of the overall build ID in the downloaded file names. This means that when a new build is made, the helper will look for a unique name, not find it, and download it, ensuring it matches the checksum.
Edit: actually, thinking about it, it's makepkg that does the downloading, right? So it's actually a problem with AUR helpers that support caching at all: i.e. they keep previous sources and allow makepkg to use them if they haven't changed.
degeberg commented on 2019-12-03 17:12 (UTC)
Regarding failed checksums:
For some reason, the checksums will sometimes fail to validate if there are previous build artifacts in the build directory. This will usually be the case when using an AUR helper. I don't really know why this happens, but suggestions are welcome.
Cleaning the build directory should resolve the issue when it happens.
MassHysteria commented on 2019-12-02 05:08 (UTC)
Ah damnit, I had a typo in the
noextract
section. Here's the update patch: http://ix.io/23lzMassHysteria commented on 2019-12-02 05:04 (UTC)
I also have been getting errors for invalid checksums every time I tried to update this package. Today, I finally got frustrated enough to do something about it. This patch should fix it: http://ix.io/23lw
@degeberg please consider applying this fix to the repo. Thanks for maintaining this BTW!
TimMc commented on 2019-11-24 12:16 (UTC)
Just tried to build this and sha512sums in Build file were wrong for web-client-desktop-3.104.2-1b12c68.tar.xz and web-client-desktop-3.104.2-1b12c68.tar.xz.sha1. Worked fine when I corrected these. Thanks for maintaining this.
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 35 Next › Last »