惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
L
LangChain Blog
H
Help Net Security
博客园_首页
T
Tailwind CSS Blog
Microsoft Security Blog
Microsoft Security Blog
T
The Blog of Author Tim Ferriss
雷峰网
雷峰网
Recent Announcements
Recent Announcements
D
DataBreaches.Net
U
Unit 42
Vercel News
Vercel News
I
InfoQ
Martin Fowler
Martin Fowler
Microsoft Azure Blog
Microsoft Azure Blog
Apple Machine Learning Research
Apple Machine Learning Research
S
SegmentFault 最新的问题
Jina AI
Jina AI
博客园 - 叶小钗
博客园 - 【当耐特】
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
Last Week in AI
Last Week in AI

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - riscv-openocd-git
2026-06-26 · via AUR Newest Packages

Latest Comments

pattop commented on 2026-04-25 00:57 (UTC)

I don't use this package any more, so have no way to test whether it's working correctly. I've disowned it, so you can fix it if you like.

gyscos commented on 2026-04-24 19:58 (UTC)

Hi! I think this package depends on jimtcl:

...
checking for jim.h... no
configure: error: jimtcl is required but not found via pkg-config and system includes
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'riscv-openocd-git-v20180629.r2363.g9906763b8-1': 
error: packages failed to build: riscv-openocd-git-v20180629.r2363.g9906763b8-1

pattop commented on 2022-04-12 22:48 (UTC)

Hi, this is a little bit broken at the moment:

  • pkgdatadir doesn't match between build & package steps (this means that the resultant openocd can't find it's configuration files)
  • man/info isn't installed (frustrating if this is your only openocd install)
  • prefix doesn't make much sense (this isn't riscv64 or linux or gnu specific, it's just a fork of openocd and still works for other architectures!)

Here's a patch which addresses these issues:

diff --git a/PKGBUILD b/PKGBUILD
index a4254df..c7603c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,7 @@ depends=('libftdi' 'hidapi')
 makedepends=('git' 'automake>=1.11' 'autoconf' 'libtool')
 source=("$pkgname::git+https://github.com/riscv/riscv-openocd.git#branch=riscv")
 sha1sums=('SKIP')
+pkgdatadir="/usr/share/riscv-openocd"

 pkgver() {
   cd "$srcdir/$pkgname"
@@ -26,19 +27,21 @@ prepare() {
 build() {
   cd "$srcdir/$pkgname"

+  # rename info file so we don't clash with a normal openocd install
+  sed -i 's/openocd.info/riscv-openocd.info/' doc/openocd.texi
+
   ./bootstrap
   ./configure \
     --prefix=/usr \
-    --program-prefix=riscv64-linux-gnu- \
+    --program-prefix=riscv- \
     --disable-werror \
     --with-gnu-ld

-  make pkgdatadir="/usr/share/$pkgname"
+   make pkgdatadir="$pkgdatadir"
 }

 package() {
   cd "$srcdir/$pkgname"
-  make pkgdatadir="/usr/riscv64-linux-gnu/share/$pkgname" DESTDIR="$pkgdir" install
-  rm -r "$pkgdir/usr/share/info"
+  make pkgdatadir="$pkgdatadir" DESTDIR="$pkgdir" install
 }

yjun commented on 2020-12-17 04:48 (UTC)

autoconf libtool automake are already in base-devel package group, pls remove them from makedepends

Reference URL: https://wiki.archlinux.org/index.php/PKGBUILD#makedepends

Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.