Seafile-Client Build fails

Since several version I can not update the seafile-client. I receive the following error:

    Preparing...
Cloning seafile-client build files...
Checking seafile-client dependencies...
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...

Building seafile-client...
==> Making package: seafile-client 7.0.9-1 (So 16 Aug 2020 21:54:35 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found seafile-client-7.0.9.tar.gz
  -> Found fix_QT5_v5.15_QPainterPath.diff
==> Validating source files with sha256sums...
    seafile-client-7.0.9.tar.gz ... Passed
    fix_QT5_v5.15_QPainterPath.diff ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting seafile-client-7.0.9.tar.gz with bsdtar
==> Starting prepare()...
/usr/bin/patch: **** Can't open patch file /var/tmp/pamac-build-ralph/seafile-client/src/fix_QT5_v5.15_QPainterPath.diff : No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

Anything I can do to fix that?

Thanks
muc

Install the base-devel package group, which contains patch and other build tools.

sudo pacman -S base-devel --needed

On a closer look, it looks like the PKGBUILD mentions a patch file you don’t have.

I just built it on my machine. try cleaning the pamac cache folder:
sudo rm -rf /var/tmp/pamac-build-ralph/seafile-client and try again.

1 Like

Thanks for your help… but it did not resolve my problem.

base-devel is already installed.
And after deleting the cache folder --> same issue

Have you tried to manually build this?

https://wiki.archlinux.org/index.php/Arch_User_Repository#Build_and_install_the_package

2 Likes

Hi merlock,

that fixed the issue. Manually building worked without problems. I’m curious if the next update will work with pamac again…

Thanks a lot

This topic need to be moved to AUR

1 Like