New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HandBrake 1.1.0 build fails in Nix #1273
Comments
Since I went upstream, I probably would take on myself to prettify the package and description of HandBrake on NixOS. I love HandBrake. I am open to suggestions. |
Use the release source tarball handbrake.fr instead of the repo archive tarball on GitHub. |
Just an FYI, please be aware that if you set "-enable-fdk-aac" in builds that you make public, you are in violation of our license. That has to be user-optional. I'd also note that if you use system libraries, in particular ffmpeg instead of libav, you'll be put on our build blacklist. While I appreciate you are trying to make sure all upstreams are appropriately patched, libav and ffmpeg can't be substituted without code changes to HandBrake. Otherwise, it's pretty unstable as evidenced by every other distro that's done this. We are a large number of complaints about crashing on distro builds because of this. |
Thank you. Great. Nix language can bend over and fetch tarball from website. After acceptance of changes to NixPkgs. Sources would be downloaded by CI, built and binaries stored in Nix packages cache. So load on your website link from Nix world would be minimal. But if CI cache for technical reason would not have binary ready - Nix people would download source tarball from a website, that can happen. But even on that that occasion - that would generate small time-stretched sporadic load. |
Please note, our build script the downloads in a download folder locally. It only does this once so if you were to re-tar the package, it would not download anything. Either way. Nix probably isn't going to generate any noticeable load on our boxes. The source tar on Github is provided by GitHub. We don't generate it. It won't work so you have to take the source package from our website and use that one instead. |
|
@sr55
NixOS distribution by default is free software environment. User must customize system and do opt-in switch with: So Nix community interested to do respectful package. |
Thank you. 😸 |
I would contribute changes, and inform maintainer of the packages. Maybe they would pass package to me or add me to maintainers. Thank you. |
Description of problem or feature request
This looks like upstream issue that needs to be sorted-out/explained, and may be fixed with patch downstream.
NixPkgs have HandBrake v1.0.7 normally working.
version.txt
is populated fromversion
value during build:Description: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/video/handbrake/default.nix
I've took upon an agenda to update 1.0.7 1.1.0.
Normally it only takes updating the version information and sha256:
NixOS/nixpkgs@master...Anton-Latukha:master
SHA256 is hash of unpacked
https://github.com/HandBrake/HandBrake/archive/1.1.0.tar.gz
It can be obtained by:
Nix is getting that source, unpacks it, and builds from it.
On build HandBrake expects some sort of information, but seems like don't has it in Nix build environment.
Steps to reproduce the problem
Install Nix or NixOS.
Get the: "ERROR: HandBrake is missing version information it needs to build properly."
HandBrake version
1.1.0
Operating system and version
Error message text or screenshot
HandBrake Log
The text was updated successfully, but these errors were encountered: