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

推荐订阅源

爱范儿
爱范儿
MyScale Blog
MyScale Blog
Recent Announcements
Recent Announcements
N
Netflix TechBlog - Medium
GbyAI
GbyAI
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Visual Studio Blog
Martin Fowler
Martin Fowler
腾讯CDC
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
WordPress大学
WordPress大学
P
Proofpoint News Feed
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog

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.