Package Details: glibc-widevine 2.35-5.3

Git Clone URL: https://aur.archlinux.org/glibc-widevine.git (read-only, click to copy)
Package Base: glibc-widevine
Description: GNU C Library
Upstream URL: https://www.gnu.org/software/libc
Licenses: GPL, LGPL
Conflicts: glibc
Provides: glibc
Submitter: mogwai
Maintainer: mogwai
Last Packager: mogwai
Votes: 6
Popularity: 0.045213
First Submitted: 2022-01-23 13:25 (UTC)
Last Updated: 2023-10-09 13:03 (UTC)

Dependencies (8)

Required by (6123)

Sources (9)

Pinned Comments

mogwai commented on 2023-12-13 14:41 (UTC) (edited on 2023-12-13 14:41 (UTC) by mogwai)

A new widevine package has been uploaded to AUR to replace the architecture-specific ones: https://aur.archlinux.org/packages/widevine

Latest Comments

1 2 3 4 Next › Last »

VoidAndCaffeine commented on 2024-02-02 01:49 (UTC) (edited on 2024-02-02 01:53 (UTC) by VoidAndCaffeine)

Hi,

When I try to build this I get this error.

/usr/bin/ld: /home/void/.cache/paru/clone/glibc-widevine/src/glibc-build/elf/librtld.os: in function `_dl_open_check':
/usr/src/debug/glibc-widevine/glibc/elf/../sysdeps/x86/dl-prop.h:80:(.text+0xb9e6): undefined reference to `_dl_cet_open_check'
/usr/bin/ld: /home/void/.cache/paru/clone/glibc-widevine/src/glibc-build/elf/librtld.os: in function `_rtld_main_check':
/usr/src/debug/glibc-widevine/glibc/elf/../sysdeps/x86/dl-prop.h:71:(.text+0x1f5d7): undefined reference to `_dl_cet_check'
/usr/bin/ld: /home/void/.cache/paru/clone/glibc-widevine/src/glibc-build/elf/ld.so.new: hidden symbol `_dl_cet_open_check' isn't defined
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1298: /home/void/.cache/paru/clone/glibc-widevine/src/glibc-build/elf/ld.so] Error 1
make[2]: Leaving directory '/home/void/.cache/paru/clone/glibc-widevine/src/glibc/elf'
make[1]: *** [Makefile:483: elf/subdir_lib] Error 2
make: *** [Makefile:9: all] Error 2

Interestingly, it still occurs if i try to build without any of the patches applied. It is possible this is an issue with my system as i have been having weird library related issues sense i last installed.

mogwai commented on 2023-12-13 14:41 (UTC) (edited on 2023-12-13 14:41 (UTC) by mogwai)

A new widevine package has been uploaded to AUR to replace the architecture-specific ones: https://aur.archlinux.org/packages/widevine

michalis commented on 2023-12-11 22:49 (UTC)

@mogwai Thank you again! Indeed a ChromeOS user agent works -- I got now Netflix too :)

I used the first user agent from https://user-agents.net/platforms/chromeos/user-agents , """Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"""

I made a big update to the FAQ "Can PineTab2 play back DRM content such as Netflix?" on https://wiki.pine64.org/wiki/PineTab2_FAQ#Can_PineTab2_play_back_DRM_content_such_as_Netflix%3F documenting everything, so that it is useful for others -- installing glibc-widevine, widevine-aarch64, testing, spoofing user agent for Netflix, and some additional notes collected from the forum thread. Hopefully this will serve as good summary of knowledge how to get various DRM video sites work on PineTab2 :)

mogwai commented on 2023-12-11 22:16 (UTC)

@michalis: You need a ChromeOS/ARM user agent for netflix.

michalis commented on 2023-12-11 21:50 (UTC)

@mogwai Thank you! Indeed I see that https://bitmovin.com/demos/drm and Disney+ and Amazon Prime work great after glibc-widevine + widevine-aarch64 installation. Great!

So the issue remains specifically with Netflix and agent spoofing. I did not think about it earlier -- I didn't expect Netflix to be picky about user agent, as it doesn't require user agent spoofing on Firefox on Linux/x86_64. I tried today using https://addons.mozilla.org/en-US/firefox/addon/user-agent-string-switcher/ to pretend I'm on Windows, so far without any luck, and I double-checked that my user agent is indeed different for websites like DuckDuckGo. But I'll continue this on https://forum.pine64.org/showthread.php?tid=18933&pid=120936 , as it's no longer related to this package.

mogwai commented on 2023-12-11 17:27 (UTC)

@michalis: No, you don't need glibc 2.36. The purpose of this package is exactly to add the relro bits that are missing from glibc versions below 2.36.

I was also the maintainer for the widevine-aarch64 package that was removed a few weeks ago. I still intend to make a general package for multiple architectures including x86_64, such that that package would not violate the aur guidelines. (Not that that package would be useful on x86_64, though...) I have no estimate on when this would be ready.

NB: Please don't test this directly on netflix. Netflix requires browser user agent spoofing to work on ARM devices. Please test with this site first: https://bitmovin.com/demos/drm

michalis commented on 2023-12-11 14:47 (UTC)

Is it possible that latest widevine requires an update to glibc 2.36?

Reason:

mogwai commented on 2023-09-25 09:30 (UTC)

@brain: bison is in base-devel. Those dependencies should not be listed explicitly in pkgbuilds. See https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites

brain commented on 2023-09-25 01:34 (UTC)

Please add bison as a dependency.

mogwai commented on 2023-02-23 13:40 (UTC)

@the_isz: For widevine-armv7h, there used to be a time when the lib needed to be extracted from a 1+ GiB chromeos image. That might be the reason. These days the package pulls the file off the rpiOS debian package repository, so makepkg should finish in a matter of seconds rather than hours. :p