Pamac (correctly) sees updates available, can't apply them

In the last week or so, pamac-tray-appindicator has been showing me that updates are available for several AUR packages.

I can manually validate that the updates are genuine - for example, az --version reports the same old version (2.12.0) that pamac sees, and the reported new version (2.12.1-1) is available in AUR. When I try to run the updates however, I get output like this:

Preparing...
Cloning azure-cli build files...
Checking azure-cli dependencies...
Synchronizing package databases...
Nothing to do.
Transaction successfully finished.

This happens in the GUI and in the cli. Some projects will seem to do all the work of the update, but it still is pending on the next check. See comment-4 for details.

ALREADY ANSWERED PART BELOW----

In the terminal, checkupdate and pacman -Syyu both report no updates available. Iā€™ve refreshed my mirror lists both with pacman-mirrors -f and the pamac GUI.

Since it looks to me like pamac is correct here, Iā€™ve hereā€™s the stdout and stderr from pacman -Syyu --debug

debug: pacman v5.2.2 - libalpm v12.0.2
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: CacheDir: /var/cache/pacman/pkg/
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: HoldPkg: manjaro-system
debug: config: SyncFirst: manjaro-system
debug: config: SyncFirst: archlinux-keyring
debug: config: SyncFirst: manjaro-keyring
debug: config: arch: x86_64
debug: config: IgnorePkg: wlroots
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 82: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 86: including /etc/pacman.d/mirrorlist
debug: config: new section 'multilib'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirror.23media.com/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': https://manjaro.moson.eu/stable/core/x86_64
debug: adding new server URL to database 'core': https://mirror.netzspielplatz.de/manjaro/packages/stable/core/x86_64
debug: adding new server URL to database 'core': https://manjaro.moson.org/stable/core/x86_64
debug: adding new server URL to database 'core': https://mirror.atysleaks.org/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': https://mirror.alpix.eu/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': https://ftp.halifax.rwth-aachen.de/manjaro/stable/core/x86_64
debug: adding new server URL to database 'core': https://mirror.netcologne.de/manjaro/stable/core/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirror.23media.com/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://manjaro.moson.eu/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://mirror.netzspielplatz.de/manjaro/packages/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://manjaro.moson.org/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://mirror.atysleaks.org/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://mirror.alpix.eu/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://ftp.halifax.rwth-aachen.de/manjaro/stable/extra/x86_64
debug: adding new server URL to database 'extra': https://mirror.netcologne.de/manjaro/stable/extra/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirror.23media.com/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': https://manjaro.moson.eu/stable/community/x86_64
debug: adding new server URL to database 'community': https://mirror.netzspielplatz.de/manjaro/packages/stable/community/x86_64
debug: adding new server URL to database 'community': https://manjaro.moson.org/stable/community/x86_64
debug: adding new server URL to database 'community': https://mirror.atysleaks.org/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': https://mirror.alpix.eu/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': https://ftp.halifax.rwth-aachen.de/manjaro/stable/community/x86_64
debug: adding new server URL to database 'community': https://mirror.netcologne.de/manjaro/stable/community/x86_64
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for multilib repository
debug: adding new server URL to database 'multilib': https://mirror.23media.com/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://manjaro.moson.eu/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://mirror.netzspielplatz.de/manjaro/packages/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://manjaro.moson.org/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://mirror.atysleaks.org/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://mirror.alpix.eu/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://ftp.halifax.rwth-aachen.de/manjaro/stable/multilib/x86_64
debug: adding new server URL to database 'multilib': https://mirror.netcologne.de/manjaro/stable/multilib/x86_64
:: Synchronizing package databases...
debug: url: https://mirror.23media.com/manjaro/stable/core/x86_64/core.db
debug: maxsize: 134217728
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
downloading core.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://mirror.23media.com/manjaro/stable/core/x86_64/core.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: url: https://mirror.23media.com/manjaro/stable/extra/x86_64/extra.db
debug: maxsize: 134217728
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
downloading extra.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://mirror.23media.com/manjaro/stable/extra/x86_64/extra.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: url: https://mirror.23media.com/manjaro/stable/community/x86_64/community.db
debug: maxsize: 134217728
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
downloading community.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://mirror.23media.com/manjaro/stable/community/x86_64/community.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: url: https://mirror.23media.com/manjaro/stable/multilib/x86_64/multilib.db
debug: maxsize: 134217728
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
downloading multilib.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://mirror.23media.com/manjaro/stable/multilib/x86_64/multilib.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: loading package cache for repository 'local'
debug: added 1808 packages to package cache for db 'local'
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 265 packages to package cache for db 'core'
:: Starting full system upgrade...
debug: checking for package upgrades
debug: searching for replacements for a52dec in core
debug: searching for replacements for a52dec in extra
debug: loading package cache for repository 'extra'
debug: opening archive /var/lib/pacman/sync/extra.db
debug: added 3234 packages to package cache for db 'extra'
debug: searching for replacements for aalib in core
debug: searching for replacements for aalib in extra
debug: searching for replacements for accounts-qml-module in core
debug: searching for replacements for accounts-qml-module in extra
debug: searching for replacements for accountsservice in core
debug: searching for replacements for accountsservice in extra
debug: searching for replacements for acl in core
debug: searching for replacements for acpi in core
debug: searching for replacements for acpi in extra
debug: searching for replacements for acpi in community
debug: loading package cache for repository 'community'
debug: opening archive /var/lib/pacman/sync/community.db
debug: added 8595 packages to package cache for db 'community'
debug: searching for replacements for acpid in core
debug: searching for replacements for acpid in extra
debug: searching for replacements for acpid in community
... etc etc etc through the package lst
debug: searching for replacements for zxing-cpp in core
debug: searching for replacements for zxing-cpp in extra
debug: searching for replacements for zziplib in core
debug: searching for replacements for zziplib in extra
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: unregistering database 'multilib'
debug: freeing package cache for repository 'multilib'
 there is nothing to do

EDIT: formatting
EDIT: marked the part that has already been answered, updated the title.

pacman does not update any AUR package.

https://wiki.manjaro.org/index.php/Pacman_Overview

1 Like

Pacman only handles packages in the repositories, so updates of AUR packages can be done with pamac or with an aur-helper like yay

1 Like

Aha - thank you. So the issue is limited to pamac. It detects updates to apply, and then does nothing. Or does all the work of the updateā€¦ but the update is still pending at the next check. For example here is the output from pamac update just now:

Preparing...
warning: LF will be replaced by CRLF in PKGBUILD.
The file will have its original line endings in your working directory
Cloning obs-v4l2sink-git build files...
warning: LF will be replaced by CRLF in PKGBUILD.
The file will have its original line endings in your working directory
Checking obs-v4l2sink-git dependencies...
Cloning zoom build files...
Checking zoom dependencies...
Cloning visual-studio-code-bin build files...
Checking visual-studio-code-bin dependencies...
Cloning spotify build files...
Checking spotify dependencies...
Cloning google-chrome build files...
Checking google-chrome dependencies...
Cloning azure-cli build files...
Checking azure-cli dependencies...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Campbell Vertesi (ohthehugemanatee)
Password:
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
  obs-v4l2sink-git  0.1.0.r12.1ec3c8a+obs26.0.2-1  (0.1.0.r12.1ec3c8a+obs25.0.8-1)  AUR

Edit build files ? [y/N] N

Apply transaction ? [y/N] y

Building obs-v4l2sink-git...
==> Making package: obs-v4l2sink-git 0.1.0.r12.1ec3c8a+obs26.0.2-1 (Do 08 Okt 2020 16:33:31 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating obs-v4l2sink git repo...
Fetching origin
  -> Updating obs-studio git repo...
Fetching origin
==> Validating source files with sha256sums...
    obs-v4l2sink ... Skipped
    obs-studio ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of obs-v4l2sink git repo...
Cloning into 'obs-v4l2sink'...
done.
  -> Creating working copy of obs-studio git repo...
Cloning into 'obs-studio'...
done.
==> Starting prepare()...
Note: switching to '25.0.8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 4c0d4a1d8 Revert "Merge pull request #1786 from brittneysclark/qsv_texture_based_encoding"
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Libobs: /usr/bin/../lib64/libobs.so
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/src/build
==> Starting pkgver()...
==> Updated version: obs-v4l2sink-git 0.1.0.r12.1ec3c8a+obs25.0.8-1
==> Starting build()...
Scanning dependencies of target v4l2sink_autogen
[ 20%] Automatic MOC and UIC for target v4l2sink
[ 20%] Built target v4l2sink_autogen
Scanning dependencies of target v4l2sink
[ 80%] Building CXX object CMakeFiles/v4l2sink.dir/v4l2sink_autogen/mocs_compilation.cpp.o
[ 80%] Building CXX object CMakeFiles/v4l2sink.dir/src/v4l2sinkproperties.cpp.o
[ 80%] Building CXX object CMakeFiles/v4l2sink.dir/src/v4l2sink.cpp.o
/var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/src/obs-v4l2sink/src/v4l2sink.cpp: In function ā€˜bool v4l2device_close(void*)ā€™:
/var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/src/obs-v4l2sink/src/v4l2sink.cpp:217:1: warning: no return statement in function returning non-void [-Wreturn-type]
  217 | }
      | ^
[100%] Linking CXX shared module v4l2sink.so
[100%] Built target v4l2sink
==> Entering fakeroot environment...
==> Starting package()...
[ 20%] Automatic MOC and UIC for target v4l2sink
[ 20%] Built target v4l2sink_autogen
[100%] Built target v4l2sink
Install the project...
-- Install configuration: ""
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/lib/obs-plugins/v4l2sink.so
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/share/obs/obs-plugins/v4l2sink/locale
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/share/obs/obs-plugins/v4l2sink/locale/de-DE.ini
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/share/obs/obs-plugins/v4l2sink/locale/en-US.ini
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/share/obs/obs-plugins/v4l2sink/locale/zh-TW.ini
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "obs-v4l2sink-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: obs-v4l2sink-git 0.1.0.r12.1ec3c8a+obs25.0.8-1 (Do 08 Okt 2020 16:33:36 CEST)
==> Cleaning up...

Checking keyring...                                                                                                                                                                                          [1/1]
Checking integrity...                                                                                                                                                                                        [1/1]
Loading packages files...                                                                                                                                                                                    [1/1]
Checking file conflicts...                                                                                                                                                                                   [1/1]
Checking available disk space...                                                                                                                                                                             [1/1]
Reinstalling obs-v4l2sink-git (0.1.0.r12.1ec3c8a+obs25.0.8-1)...                                                                                                                                             [1/1]
Transaction successfully finished.

It identifies the packages that need updatesā€¦ does the work for one of them (obs-v4lsink-git), reports successā€¦ but all those packages still need updates. If I run pamac update again it will do the same things.

If I try a single project update, it says ā€œtarget not foundā€.

Ā» pamac install azure-cli
Warning: azure-cli is only available from AUR
Build azure-cli from AUR ? [y/N] y

Preparing...
Cloning azure-cli build files...
Checking azure-cli dependencies...
Error: Failed to prepare transaction: target not found: azure-cli

Edit build files ? [y/N]

Transaction cancelled.

Transaction is cancelled if I choose not to edit build files.

What am I missing?

(Updated original post/title to reflect the real problem and the answered portion)

For AUR the command is not install but build so:

pamac build azure-cli

If it fails you get the option to edit the build files to solve the error you get. But only do this if you know what your doing. If you donā€™t leave it as be and try at a later moment. Could be a wrong link in the build that the maintainer needs to fix for instance.

1 Like

Same issue. This is not specific to azure-cli, it happens with any of the pending updates.

Ā» pamac build azure-cli

Preparing...
Cloning azure-cli build files...
Checking azure-cli dependencies...
Error: Failed to prepare transaction: target not found: azure-cli

Edit build files ? [y/N] n

Transaction cancelled.

With another package thatā€™s pending updates:

Ā» pamac build spotify
Preparing...
Cloning spotify build files...
Checking spotify dependencies...
Error: Failed to prepare transaction: target not found: spotify

Edit build files ? [y/N] n

Transaction cancelled.

Thank you for your help!

strangeā€¦

does this also apply when you use

pamac upgrade -a

according to the wiki it should upgrade all packages on the system including AUR builds

Yep, it happens on a complete upgrade, tooā€¦ just with multiple packages at once. And since the other day, ā€œall packagesā€ includes obs-v4l2sink-git, which is the only package that actually runs through its build (No idea why). Regardless it returns success but stays on the ā€œneeds updateā€ list.

pamac upgrade -a

Preparing...
warning: LF will be replaced by CRLF in PKGBUILD.
The file will have its original line endings in your working directory
Cloning obs-v4l2sink-git build files...
warning: LF will be replaced by CRLF in PKGBUILD.
The file will have its original line endings in your working directory
Checking obs-v4l2sink-git dependencies...
Cloning zoom build files...
Checking zoom dependencies...
Cloning visual-studio-code-bin build files...
Checking visual-studio-code-bin dependencies...
Cloning spotify build files...
Checking spotify dependencies...
Cloning google-chrome build files...
Checking google-chrome dependencies...
Cloning azure-cli build files...
Checking azure-cli dependencies...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Campbell Vertesi (ohthehugemanatee)
Password:
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
  obs-v4l2sink-git  0.1.0.r12.1ec3c8a+obs26.0.2-1  (0.1.0.r12.1ec3c8a+obs25.0.8-1)  AUR

Edit build files ? [y/N] n

Apply transaction ? [y/N] y

Building obs-v4l2sink-git...
==> Making package: obs-v4l2sink-git 0.1.0.r12.1ec3c8a+obs26.0.2-1 (Fr 09 Okt 2020 11:20:01 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating obs-v4l2sink git repo...
Fetching origin
  -> Updating obs-studio git repo...
Fetching origin
==> Validating source files with sha256sums...
    obs-v4l2sink ... Skipped
    obs-studio ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of obs-v4l2sink git repo...
Cloning into 'obs-v4l2sink'...
done.
  -> Creating working copy of obs-studio git repo...
Cloning into 'obs-studio'...
done.
==> Starting prepare()...
Note: switching to '25.0.8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 4c0d4a1d8 Revert "Merge pull request #1786 from brittneysclark/qsv_texture_based_encoding"
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Libobs: /usr/bin/../lib64/libobs.so
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/src/build
==> Starting pkgver()...
==> Updated version: obs-v4l2sink-git 0.1.0.r12.1ec3c8a+obs25.0.8-1
==> Starting build()...
Scanning dependencies of target v4l2sink_autogen
[ 20%] Automatic MOC and UIC for target v4l2sink
[ 20%] Built target v4l2sink_autogen
Scanning dependencies of target v4l2sink
[ 40%] Building CXX object CMakeFiles/v4l2sink.dir/src/v4l2sink.cpp.o
[ 60%] Building CXX object CMakeFiles/v4l2sink.dir/v4l2sink_autogen/mocs_compilation.cpp.o
[ 80%] Building CXX object CMakeFiles/v4l2sink.dir/src/v4l2sinkproperties.cpp.o
/var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/src/obs-v4l2sink/src/v4l2sink.cpp: In function ā€˜bool v4l2device_close(void*)ā€™:
/var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/src/obs-v4l2sink/src/v4l2sink.cpp:217:1: warning: no return statement in function returning non-void [-Wreturn-type]
  217 | }
      | ^
[100%] Linking CXX shared module v4l2sink.so
[100%] Built target v4l2sink
==> Entering fakeroot environment...
==> Starting package()...
[ 20%] Automatic MOC and UIC for target v4l2sink
[ 20%] Built target v4l2sink_autogen
[100%] Built target v4l2sink
Install the project...
-- Install configuration: ""
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/lib/obs-plugins/v4l2sink.so
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/share/obs/obs-plugins/v4l2sink/locale
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/share/obs/obs-plugins/v4l2sink/locale/de-DE.ini
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/share/obs/obs-plugins/v4l2sink/locale/en-US.ini
-- Installing: /var/tmp/pamac-build-ohthehugemanatee/obs-v4l2sink-git/pkg/obs-v4l2sink-git/usr/share/obs/obs-plugins/v4l2sink/locale/zh-TW.ini
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "obs-v4l2sink-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: obs-v4l2sink-git 0.1.0.r12.1ec3c8a+obs25.0.8-1 (Fr 09 Okt 2020 11:20:07 CEST)
==> Cleaning up...

Checking keyring...                                                                             [1/1]
Checking integrity...                                                                           [1/1]
Loading packages files...                                                                       [1/1]
Checking file conflicts...                                                                      [1/1]
Checking available disk space...                                                                [1/1]
Reinstalling obs-v4l2sink-git (0.1.0.r12.1ec3c8a+obs25.0.8-1)...                                [1/1]
Transaction successfully finished.

Could you try this

pacman-key --refresh-keys

Next

sudo pacman-mirrors --fasttrack && sudo pacman -Syyu

and next

pamac update -a

It seems some build files can have been bad downloaded. You try to clean them with pamac clean -b then build again.

Ā» sudo pacman-key --refresh-keys
gpg: refreshing 139 keys from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: General error
==> ERROR: A specified local key could not be updated from a keyserver.

Well that doesnā€™t look good. I can manually update a key, but how do I figure out which key had the problem?

After the failed key refresh, nothing changes of course. Same problem persists.

I also tried pamac clean -b and then rerunning update. Same problem persists.

Preparing...
Cloning zoom build files...
Checking zoom dependencies...
Cloning azure-cli build files...
Checking azure-cli dependencies...
Cloning visual-studio-code-bin build files...
Checking visual-studio-code-bin dependencies...
Cloning spotify build files...
Checking spotify dependencies...
Cloning google-chrome build files...
Checking google-chrome dependencies...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Campbell Vertesi (ohthehugemanatee)
Password:
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Nothing to do.
Transaction successfully finished.

After some experimenting I worked out that gpg is having trouble with hkps://hkps.pool.sks-keyservers.net . I changed the default keyserver to hkp://hkp.pool.sks-keyservers.net, and managed to refresh keys successfully.

BUT the problem still persists. Nothing to do. :frowning:

Figured it out!

I had started working with some Windows developers a few weeks ago, and had added autocrlf=true to my ~/.gitconfig for compatibility. This caused git to convert line endings to CRLF, and makepkg canā€™t source PKGBUILD files with CRLF endings.

I discovered it by trying to run makepkg -si by hand on one of the build directories.

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