How to manually supply source for an AUR package

Hi,

I can’t build this AUR package: pulseview-git. It looks like due to some persistent web quirk I don’t have access to the source.

...
:: (1/1) Parsing SRCINFO: pulseview-git
==> Making package: pulseview-git 0.3.0.r1170.g32ca7966-1 (Thu 26 Jun 2025 11:25:36 AM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning pulseview git repo...
Cloning into bare repository '/home/alexey/.cache/yay/pulseview-git/pulseview'...
fatal: remote error: access denied or repository not exported: /pulseview
==> ERROR: Failure while downloading pulseview git repo
    Aborting...
 -> error making: pulseview-git-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
pulseview-git - exit status 1
exit 1

Unfortunately, I can’t decipher the relevant PKGBUILD part. My first question, what would be the final URL for the source? Cloning with git works for me, maybe I could do it manually…

Have you seen the first comment on the AUR, seems to address the issue.

1 Like

Did you see the most recent post there?

https://aur.archlinux.org/packages/pulseview-git#comment-1021407

There is ofcourse the package in extra.

Thanks!

Maybe. But where do I get the correct version of PKGBUILD, if the patch isn’t yet accepted? Why, BTW? Is it my only option to edit my PKGBUILD manually?

Is there a specific reason why you are using the -git version?

Yes, there is. The AUR package also exists, for ten years, and for a reason. Only the pulseview-git supports Kingst LA1010 logic analyzer. In theory, extra/pulseview supports it, too. Alas, only in theory.

Yes, there is. Support for Kingst LA1010 logic analyzer. The package never says that explicitly, yet it serves well for a decade :slight_smile:

Yes, I did, but I can’t figure out what to do with it exactly. And how.

This is a link about how to get it working , but I have no idea if this actually will work or not.

Here’s the patched version:

# Maintainer: David Manouchehri
# Contributor: Thomas Krug <t.krug@elektronenpumpe.de>
# Contributor: veox <veox at wemakethings dot net>
# Contributor: megamoth
# Contributor: xorly

_gitname='pulseview'
pkgname="${_gitname}-git"
pkgver=0.3.0.r1170.g32ca7966
pkgrel=2
pkgdesc="A Qt based logic analyzer GUI for sigrok. (git version)"
arch=('armv6h' 'armv7h' 'i686' 'x86_64')
url="http://sigrok.org/wiki/Main_Page"
license=('GPL3')
depends=('libsigrok-git' 'libsigrokdecode-git' 'qt5-base' 'boost-libs' 'qt5-svg')
makedepends=('git' 'cmake' 'boost' 'qt5-tools')
conflicts=("${_gitname}")
provides=("${_gitname}")
source=("git+https://github.com/sigrokproject/${_gitname}")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_gitname}"
  git describe --exclude pulseview-unreleased --long | sed 's/^pulseview-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cmake -B build -S "${srcdir}/${_gitname}" \
        -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
        -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
        -DCMAKE_CXX_FLAGS=-fext-numeric-literals \
        -DDISABLE_WERROR=TRUE \
        -Wno-dev
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}

Save as PKGBUILD in an empty directory. Run makepkg -i to build and install.

Yes, they struggle with the same problem. But I still want pulseview-git very much :slight_smile:

Thank you very much!

Close, but no cigar:

-- Generating done (0.0s)
-- Build files have been written to: /home/alexey/spaces/aur/pulseview-git/src/build
/home/alexey/spaces/aur/pulseview-git/PKGBUILD: line 33: -DCMAKE_CXX_FLAGS=-fext-numeric-literals: command not found
==> ERROR: A failure occurred in build().
    Aborting...
exit 4

Copy paste issue on my side, there was an empty space after \ on the -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ line.

Remove the space after \.

Thanks again! It works now.

But… Do you have any idea where the problem has come from, and why it persists for so long? The package isn’t orphaned.

1 Like

just out of curiosity have you installed the regular version lately to see if it will work with your hardware?

I did it right now, just for you. No, pulseview won’t work with LA1010.

This story persists for years. I don’t have any first hand info, but it’s all about contribution rules of the Sigrok project, they say. The rules are so cumbersome that the people concerned dropped the idea of submitting a proper patch long ago.

1 Like

Probably the packagers aren’t aware, nobody has flagged it as outdated yet.

This project is peculiar: absolutely indispensable, albeit for a few. It’d have been flagged outdated faster than you could say Jack Robinson. I don’t understand what’s going on.

You’d be surprised. I flagged the apache-spark package out of date early this year and it took ~3 months for the maintainer to update the version number and checksum. bc of how updating works, the old versions will work just fine, esp for hardware interfaces.

An outdated package only becomes relevant when you need to install it (or wrt security). Our applications we had trouble with are niche enough that most everyone who needs it already has it installed and working, and there’s relatively few people who need to install it in a given month, meaning it can languish as unfixed for a while and affect few people. It does not surprise me it wasn’t flagged out of date, that’d only be noticed by folks trying to install it, not who have it installed already.

Bonus, we’re all pretty technical to be on linux and an arch derivative specifically, and it’s expected that the AUR will not necessarily see fast updates to things that are fairly easy to fix, like pkgbuilkds. tbh it’s just part of learning this distro, learn to use the community support, then later be part of that support.

1 Like