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

推荐订阅源

D
DataBreaches.Net
B
Blog
博客园_首页
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog RSS Feed
M
MIT News - Artificial intelligence
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
量子位
V
V2EX
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
Martin Fowler
Martin Fowler
Recent Announcements
Recent Announcements
I
InfoQ
博客园 - 【当耐特】

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) - dash-static-musl
2026-06-23 · via AUR Newest Packages

Aleksej commented on 2026-05-28 16:42 (UTC)

Aleksej commented on 2026-05-18 04:01 (UTC)

Thanks @randompie, I'll see if I can make it work without system-wide symlinks.

randompie commented on 2026-05-17 17:06 (UTC)

Made the following changes:

sudo ln -s /usr/lib/libatomic_asneeded.so /usr/lib/musl/lib/
sudo ln -s /usr/lib/libatomic_asneeded.a /usr/lib/musl/lib/
sudo ln -s /usr/lib/libatomic.a /usr/lib/musl/lib/

This fixes the libatomic problem, but another problem crops up in the install part with the COPYING file.

Fixed by changing the PKGBUILD:

36c36
<   install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${_pkgbase}/COPYING
---
>   install -m644 -D ${srcdir}/${_pkgbase}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${_pkgbase}/COPYING

Aleksej commented on 2026-05-10 03:27 (UTC)

There's a libatomic problem:

musl-gcc -I. -I.. -DBSD=1 -DSHELL  -g -O2 -Wall    -o mknodes mknodes.c
/usr/bin/ld: cannot find -latomic_asneeded: No such file or directory

Usually solved by adding -fno-link-libatomic to CFLAGS in /etc/makepkg.conf but make seems to ignore CFLAGS in the above step.

If anyone figures it out before me please post here.

tetrachromat commented on 2026-04-14 05:44 (UTC)

Can this package be updated to 0.5.13.2? The pkgver & checksums just need to be updated.

Aleksej commented on 2025-07-29 07:26 (UTC)

Hi, thanks for packaging. Upstream source mentioned below has ./configure script so you can remove prepare() function (tested). And it builds and works fine on aarch64 architecture.

kseistrup commented on 2022-01-14 09:05 (UTC)

I can confirm that --enable-static works and produces a statically linked binary.

And I recommend that the CFLAGS variable isn't completely overruled. Instead the -Os should be appended:

export CC='musl-gcc'
export CFLAGS="$CFLAGS -Os"  # please observe double-quotes
./configure \
  --enable-static \
    ⋮

Cheers.

WFCody commented on 2022-01-14 08:53 (UTC)

Hi climbTheStrairs. The source used is the same as in the Arch Linux dash package so that is why that source is selected.

For building, I probably had a reason for doing what I did back then. I will try to adjust the PKGBUILD sometime soon when I got time.

climbTheStairs commented on 2022-01-14 08:40 (UTC)

Perhaps use ./configure --enable-static instead of export CC='musl-gcc -static' and export CFLAGS='-Os -static' (and why the flag used twice?)?

Also, is there a reason that this source is used instead of the one from the upstream URL (http://gondor.apana.org.au/~herbert/dash/files/)?

kseistrup commented on 2021-03-25 12:58 (UTC)

Please update to 0.5.11.3.