muammar / mkchromecast

Cast macOS and Linux Audio/Video to your Google Cast and Sonos Devices
http://mkchromecast.com
Other
2.22k stars 140 forks source link

Error installing package on Manjaro #408

Open tomchor opened 1 year ago

tomchor commented 1 year ago

Hi, I'm trying to install this package using yay on Manjaro, but I'm getting an errors that I don't understand:

When issuing yay -S mkchromecast I get

:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  mkchromecast-0.3.8.1-2

  1 mkchromecast                             (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/0): mkchromecast
  1 mkchromecast                             (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: mkchromecast
==> Making package: mkchromecast 0.3.8.1-2 (Mon 21 Nov 2022 08:12:27 PM PST)
==> Retrieving sources...
  -> Found mkchromecast-0.3.8.1.tar.gz
  -> Found pychromecast_optional.patch
==> Validating source files with sha512sums...
    mkchromecast-0.3.8.1.tar.gz ... Passed
    pychromecast_optional.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: mkchromecast 
     context: exit status 1 

==> Making package: mkchromecast 0.3.8.1-2 (Mon 21 Nov 2022 08:12:28 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found mkchromecast-0.3.8.1.tar.gz
  -> Found pychromecast_optional.patch
==> Validating source files with sha512sums...
    mkchromecast-0.3.8.1.tar.gz ... Passed
    pychromecast_optional.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: mkchromecast

But trying the development version with yay -S mkchromecast-git

I get

:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:3]  python-casttube-0.2.1-4  python-pychromecast-13.0.1-1  mkchromecast-git-0.3.8.1.r165.g0de9fd78-3

  3 python-casttube                          (Build Files Exist)
  2 python-pychromecast                      (Build Files Exist)
  1 mkchromecast-git                         (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (3/0): python-casttube, python-pychromecast, mkchromecast-git
  3 python-casttube                          (Build Files Exist)
  2 python-pychromecast                      (Build Files Exist)
  1 mkchromecast-git                         (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/3) Parsing SRCINFO: python-casttube
:: (2/3) Parsing SRCINFO: python-pychromecast
:: (3/3) Parsing SRCINFO: mkchromecast-git
==> Making package: mkchromecast-git 0.3.8.1.r165.g0de9fd78-3 (Mon 21 Nov 2022 08:12:57 PM PST)
==> Retrieving sources...
==> Making package: python-pychromecast 13.0.1-1 (Mon 21 Nov 2022 08:12:57 PM PST)
==> Retrieving sources...
  -> Updating mkchromecast git repo...
==> Making package: python-casttube 0.2.1-4 (Mon 21 Nov 2022 08:12:57 PM PST)
  -> Found PyChromecast-13.0.1.tar.gz
==> Validating source files with sha256sums...
==> Retrieving sources...
    PyChromecast-13.0.1.tar.gz ...   -> Found casttube-0.2.1.tar.gz
Passed
==> Validating source files with sha256sums...
    casttube-0.2.1.tar.gz ... Passed
==> Validating source files with md5sums...
    mkchromecast ... Skipped
==> Making package: python-casttube 0.2.1-4 (Mon 21 Nov 2022 08:12:59 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found casttube-0.2.1.tar.gz
==> Validating source files with sha256sums...
    casttube-0.2.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting casttube-0.2.1.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-casttube 0.2.1-4 (Mon 21 Nov 2022 08:13:00 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Getting build dependencies for wheel...
running egg_info
writing casttube.egg-info/PKG-INFO
writing dependency_links to casttube.egg-info/dependency_links.txt
writing requirements to casttube.egg-info/requires.txt
writing top-level names to casttube.egg-info/top_level.txt
reading manifest file 'casttube.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'casttube.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/casttube
copying casttube/YouTubeSession.py -> build/lib/casttube
copying casttube/__init__.py -> build/lib/casttube
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/casttube
copying build/lib/casttube/YouTubeSession.py -> build/bdist.linux-x86_64/wheel/casttube
copying build/lib/casttube/__init__.py -> build/bdist.linux-x86_64/wheel/casttube
running install_data
creating build/bdist.linux-x86_64/wheel/casttube-0.2.1.data
creating build/bdist.linux-x86_64/wheel/casttube-0.2.1.data/data
copying LICENSE -> build/bdist.linux-x86_64/wheel/casttube-0.2.1.data/data/
running install_egg_info
running egg_info
writing casttube.egg-info/PKG-INFO
writing dependency_links to casttube.egg-info/dependency_links.txt
writing requirements to casttube.egg-info/requires.txt
writing top-level names to casttube.egg-info/top_level.txt
reading manifest file 'casttube.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'casttube.egg-info/SOURCES.txt'
Copying casttube.egg-info to build/bdist.linux-x86_64/wheel/casttube-0.2.1-py3.9.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/casttube-0.2.1.dist-info/WHEEL
creating '/home/tomas/.cache/yay/python-casttube/src/casttube-0.2.1/dist/tmp622zozo9/casttube-0.2.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'casttube/YouTubeSession.py'
adding 'casttube/__init__.py'
adding 'casttube-0.2.1.data/data/LICENSE'
adding 'casttube-0.2.1.dist-info/LICENSE'
adding 'casttube-0.2.1.dist-info/METADATA'
adding 'casttube-0.2.1.dist-info/WHEEL'
adding 'casttube-0.2.1.dist-info/top_level.txt'
adding 'casttube-0.2.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built casttube-0.2.1-py3-none-any.whl
==> Entering fakeroot environment...
==> Starting package()...
mv: cannot stat '/home/tomas/.cache/yay/python-casttube/pkg/python-casttube/usr/LICENSE': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: python-casttube

I saw a similar error to this one in https://github.com/muammar/mkchromecast/issues/65 but that one was closed in 2017, so I'm assuming it isn't the same thing.

Can you help me out?

Thanks!

mg-dev25 commented 1 year ago

You can install catt, it works great with Linux. It used also mkchromcast.

https://github.com/skorokithakis/catt