yay -S weka
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] weka-3.8.6-2
1 weka (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
but at the end I got only one error
==> Sources are ready.
==> Making package: weka 3.8.6-2 (Sun Jan 30 16:48:12 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'documentation.*': No such file or directory
install: cannot stat 'README': No such file or directory
install: cannot stat '*.pdf': No such file or directory
install: cannot stat 'weka.gif': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
-> error making: weak
On AUR replies me that the software compiles perfectly and to ask here.
The maintainer of said package script is a very competent and experienced Arch user.
@jonathon possibly knows more of Manjaro than many members - including myself.
I have tested using both yay and pamac - so the issue is local to your system.
The messages in your OP indicates that sourcefiles is missing - perhaps your internet connection has been flaky - resulting in certain source files are either incomplete or missing.
I have three computer and one connected at Uninversity of Pisa Network… same issue. I have this problem at home with my VDLS and at University… three file-system? The installation are similar but not equals… any idea to discover the problem? Thx