MakeMKV (AUR) - update error

Hi all.

Encountered the following error when trying to update MakeMKV in AUR.

Preparing...
Synchronizing package databases...
Refreshing AUR...
Nothing to do.
Cloning makemkv build files...
Generating makemkv information...
Checking makemkv dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building makemkv...
==> Making package: makemkv 1.18.1-1 (Wed 09 Apr 2025 05:25:01 AM +08)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found makemkv-bin-1.18.1.tar.gz
  -> Found makemkv-oss-1.18.1.tar.gz
  -> Found makemkv.1
  -> Found makemkvcon.1
==> Validating source files with sha256sums...
    makemkv-bin-1.18.1.tar.gz ... Passed
    makemkv-oss-1.18.1.tar.gz ... FAILED
    makemkv.1 ... Passed
    makemkvcon.1 ... Passed
==> ERROR: One or more files did not pass the validity check!
Failed to build makemkv

Update of Flathub version of MakeMKV was ok though.

I just built it without any issues using pamac build makemkv:

Generating makemkv information...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Scott (scotty)
Password: 
==== AUTHENTICATION COMPLETE ====

Building makemkv...
==> Making package: makemkv 1.18.1-1 (Wed 09 Apr 2025 07:31:20)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading makemkv-bin-1.18.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 17.1M    0 17.1M    0     0  10.7M      0 --:--:--  0:00:01 --:--:-- 10.7M
  -> Downloading makemkv-oss-1.18.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6471k    0 6471k    0     0  10.1M      0 --:--:-- --:--:-- --:--:-- 10.1M
  -> Found makemkv.1
  -> Found makemkvcon.1
==> Validating source files with sha256sums...
    makemkv-bin-1.18.1.tar.gz ... Passed
    makemkv-oss-1.18.1.tar.gz ... Passed
    makemkv.1 ... Passed
    makemkvcon.1 ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting makemkv-bin-1.18.1.tar.gz with bsdtar
  -> Extracting makemkv-oss-1.18.1.tar.gz with bsdtar
==> Starting build()...
....
[build process output removed]
....
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "makemkv"...
  -> Generating .PKGINFO file...
==> WARNING: Library listed in 'depends' is not required by any files: libavcodec.so
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: makemkv 1.18.1-1 (Wed 09 Apr 2025 07:32:16)
==> Cleaning up...

Checking keyring...                                                                                              [1/1]
Checking integrity...                                                                                            [1/1]
Loading packages files...                                                                                        [1/1]
Checking file conflicts...                                                                                       [1/1]
Checking available disk space...                                                                                 [1/1]
Installing makemkv (1.18.1-1)...                                                                                 [1/1]
The makemkv package is licensed software.
You MUST read and agree to the license stored in
/usr/share/licenses/makemkv/eula_en_linux.txt before using it.

Starting from 1.10.8 the /dev/sgX device that corresponds to the drive is required.
You may have to load the sg kernel module in order to create the device.
To enable module autoloading run the following command as root and reboot:

  echo sg > /etc/modules-load.d/sg.conf

Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                   [1/3]
Updating icon theme caches...                                                                                    [2/3]
Updating the desktop file MIME type cache...                                                                     [3/3]
Transaction successfully finished.

It looks like one of the files you downloaded when running the update may be corrupt:

Try cleaning your build files:

pamac clean --build-files

Then re-attempt the rebuild/update:

pamac build makemkv
2 Likes

Alright, this done it.
Thank you!

So the corruption happened DURING download, or more likely due to disc corruption?

Impossible to know.

The most likely is damage during transit; perhaps temporary mirror issues; if you use wireless, by it’s very nature that might be a likely candidate; a direct wired connection is typically more reliable.

You could run fsck to test your theory of filesystem corruption (must be performed with the disk unmounted).

Running fsck from a Manjaro Installer ISO’s live environment is suggested.

Regards.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

Hi, makemkv pkgbuild maintainer here, the corruption happened during download (probably was incomplete) as it happened to me too when first bumping to v1.18.1, it this case remove the offending download and try again (other times could happen because maintainers forgot to updated the shasums or the upstream archive chnaged)

3 Likes

@Lolix
Thanks for the clarification!