You are not logged in.

#1 2023-11-05 15:25:44

aymanelj
Member
Registered: 2022-05-13
Posts: 36

Attempting to upgrade to most recent python-torchaudio version

The python-torchaudio AUR package is set to version 2.0.1. I would like to upgrade to the version 2.1.0. I modified pkgver=2.1.0, and followed the steps under the makepkg documentation

and ran

$ makepkg --syncdeps

Here is the output of the command until it aborts due to the error:

==> Making package: python-torchaudio 2.1.0-1 (Sun 05 Nov 2023 10:23:42 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating audio git repo...
  -> Updating kaldi git repo...
  -> Updating kenlm git repo...
  -> Updating flashlight-text git repo...
  -> Found sox-14.4.2.tar.bz2
  -> Found use-system-libs.diff
==> Validating source files with sha256sums...
    audio ... Skipped
    kaldi ... Skipped
    kenlm ... Skipped
    flashlight-text ... Skipped
    sox-14.4.2.tar.bz2 ... Passed
    use-system-libs.diff ... Passed
==> Extracting sources...
  -> Creating working copy of audio git repo...
Reset branch 'makepkg'
  -> Creating working copy of kaldi git repo...
Reset branch 'makepkg'
  -> Creating working copy of kenlm git repo...
Reset branch 'makepkg'
  -> Creating working copy of flashlight-text git repo...
Reset branch 'makepkg'
  -> Extracting sox-14.4.2.tar.bz2 with bsdtar
==> Starting prepare()...
ln: failed to create symbolic link 'third_party/archives/sox-14.4.2.tar.bz2': File exists
==> ERROR: A failure occurred in prepare().
    Aborting...

Offline

#2 2023-11-05 16:20:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,639

Re: Attempting to upgrade to most recent python-torchaudio version

The error seems pretty clear, you're making a symlink in the prepare function but there is already a file there.

Offline

Board footer

Powered by FluxBB