snap ERROR: A failure occurred in package().

i tried installing whatsapp and it gave me a package error....

Package databases already synchronized
mkdir -p /tmp/bauh/arch/build_1596774175

wget https://aur.archlinux.org/cgit/aur.git/snapshot/whatsapp-nativefier-dark.tar.gz

--2020-08-07 09:52:55--  https://aur.archlinux.org/cgit/aur.git/snapshot/whatsapp-nativefier-dark.tar.gz
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving aur.archlinux.org (aur.archlinux.org)... 95.216.144.15, 2a01:4f9:c010:50::1
Connecting to aur.archlinux.org (aur.archlinux.org)|95.216.144.15|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: 'whatsapp-nativefier-dark.tar.gz'
0K .......... .......... .......... .......... ..........  245K
50K .......... .......... .......... .......... ..........  554K
100K ...                                                    89.8M=0.3s
2020-08-07 09:52:56 (353 KB/s) - 'whatsapp-nativefier-dark.tar.gz' saved [106396]
tar xvzf whatsapp-nativefier-dark.tar.gz

whatsapp-nativefier-dark/
whatsapp-nativefier-dark/.SRCINFO
whatsapp-nativefier-dark/.gitignore
whatsapp-nativefier-dark/PKGBUILD
whatsapp-nativefier-dark/README.md
whatsapp-nativefier-dark/package.json
whatsapp-nativefier-dark/whatsapp-nativefier-dark-inject.js
whatsapp-nativefier-dark/whatsapp-nativefier-dark.desktop
whatsapp-nativefier-dark/whatsapp-nativefier-dark.png
whatsapp-nativefier-dark/yarn.lock
Using custom makepkg.conf -> /home/vedanth/.config/bauh/arch/makepkg.conf
makepkg -ALcf --check --noarchive --nobuild --noprepare --nodeps --config=/home/vedanth/.config/bauh/arch/makepkg.conf

==> Making package: whatsapp-nativefier-dark 1.1.0-1 (Fri Aug  7 09:52:59 2020)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
-> Found whatsapp-nativefier-dark.png
-> Found whatsapp-nativefier-dark.desktop
-> Found whatsapp-nativefier-dark-inject.js
-> Found package.json
-> Found yarn.lock
==> Validating source files with sha256sums...
whatsapp-nativefier-dark.png ... Passed
whatsapp-nativefier-dark.desktop ... Passed
whatsapp-nativefier-dark-inject.js ... Passed
package.json ... Passed
yarn.lock ... Passed
==> Extracting sources...
==> Sources are ready.
Using custom makepkg.conf -> /home/vedanth/.config/bauh/arch/makepkg.conf
makepkg -ALcsmf --skipchecksums --config=/home/vedanth/.config/bauh/arch/makepkg.conf

==> Making package: whatsapp-nativefier-dark 1.1.0-1 (Fri Aug  7 09:53:00 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found whatsapp-nativefier-dark.png
-> Found whatsapp-nativefier-dark.desktop
-> Found whatsapp-nativefier-dark-inject.js
-> Found package.json
-> Found yarn.lock
==> WARNING: Skipping verification of source file checksums.
==> Extracting sources...
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat '/tmp/bauh/arch/build_1596774175/whatsapp-nativefier-dark/src/WhatsApp-linux-*': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
rm -rf /tmp/bauh/arch/build_1596774175

please help me out

Please read the pinned comment in the package page
https://aur.archlinux.org/packages/whatsapp-nativefier-dark#pinned-755134
Since is AUR, i don't understand why the snap in the title. Also, are you using bauh ... please try:
pamac build whatsapp-nativefier
provide any error you get, or if is building and installing -> working, then use the settings of it to change to dark theme.

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

Forum kindly sponsored by