home.social

#pkgsrc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pkgsrc, aggregated by home.social.

fetched live
  1. Excited to try this, have wanted a Rust alternative to ShellCheck for a long time now.

    github.com/ewhauser/shuck

    The main issue with ShellCheck is that the Haskell infrastructure in pkgsrc is sub-optimal, and it currently pulls in the full ghc as well as lots of hs-* dependencies.

    This brings the total disk size required for a simple tool to 2.5GB(!), and a lot of additional downloads for every update.

    ~/.cargo/bin/shuck on the other hand is a much more reasonable 22MB.

    #pkgsrc #rustlang

  2. Excited to try this, have wanted a Rust alternative to ShellCheck for a long time now.

    github.com/ewhauser/shuck

    The main issue with ShellCheck is that the Haskell infrastructure in pkgsrc is sub-optimal, and it currently pulls in the full ghc as well as lots of hs-* dependencies.

    This brings the total disk size required for a simple tool to 2.5GB(!), and a lot of additional downloads for every update.

    ~/.cargo/bin/shuck on the other hand is a much more reasonable 22MB.

    #pkgsrc #rustlang

  3. @wideshut Yep, I've been using #pkgsrc on macOS for about 20 years. @jperkin even provides binary packages these days - pkgsrc.smartos.org/install-on-

  4. はてなブログに投稿しました
    NetBSD/amd64,i386 11.0 ておくれLive Image 20260809版 - tsutsuiの作業記録置き場
    tsutsui.hatenablog.com/entry/t

    #はてなブログ #NetBSD #pkgsrc #mikutter

  5. はてなブログに投稿しました
    NetBSD/amd64,i386 11.0 ておくれLive Image 20260809版 - tsutsuiの作業記録置き場
    tsutsui.hatenablog.com/entry/t

    #はてなブログ #NetBSD #pkgsrc #mikutter

  6. I've been working on some optimisations to bob's dynamic scheduler, which has resulted in a huge new personal best for a from-scratch pkgsrc bulk build:

    Built 26943 in 17h 40m 23s (22688 succeeded, 0 cached, 2577 failed, 1678 skipped)

    Not quite an apples-to-apples comparison as I've been using a slower host but with more cores, but previously this was taking just under 24 hours.

    #pkgsrc #bob

  7. I've been working on some optimisations to bob's dynamic scheduler, which has resulted in a huge new personal best for a from-scratch pkgsrc bulk build:

    Built 26943 in 17h 40m 23s (22688 succeeded, 0 cached, 2577 failed, 1678 skipped)

    Not quite an apples-to-apples comparison as I've been using a slower host but with more cores, but previously this was taking just under 24 hours.

    #pkgsrc #bob

  8. If you're running the SmartOS trunk package set, then ensure you have the latest pkg tools installed:

    $ pkg_add -U pkg_install pkgin

    This will help avoid a potential issue I discovered when upgrading a host that hadn't been updated for a long time:

    smartos.topicbox.com/groups/sm

    For now I've only published the "tools" set, I'll hold off a bit before publishing the main x86_64 set to ensure everyone is ready.

    Apologies if you hit this. The modern versions are a lot more robust.

    #pkgsrc #smartos

  9. If you're running the SmartOS trunk package set, then ensure you have the latest pkg tools installed:

    $ pkg_add -U pkg_install pkgin

    This will help avoid a potential issue I discovered when upgrading a host that hadn't been updated for a long time:

    smartos.topicbox.com/groups/sm

    For now I've only published the "tools" set, I'll hold off a bit before publishing the main x86_64 set to ensure everyone is ready.

    Apologies if you hit this. The modern versions are a lot more robust.

    #pkgsrc #smartos

  10. Late July, 2026 #NetBSD #pkgsrc package counts!

    11.0: aarch64eb 25986 (+849)
    11.0: alpha 7173 (+6375)
    11.0: earmv4 6352 (+317)
    11.0: m68k 15942 (+2634)
    11.0: powerpc 22445 (+4920)
    11.0: riscv64 20477 (+1724)
    11.0: sh3el 9431 (+352)
    11.0: sparc64 909 (+494)
    11.0: vax 6961 (+189)
  11. Late July, 2026 #NetBSD #pkgsrc package counts!

    11.0: aarch64eb 25986 (+849)
    11.0: alpha 7173 (+6375)
    11.0: earmv4 6352 (+317)
    11.0: m68k 15942 (+2634)
    11.0: powerpc 22445 (+4920)
    11.0: riscv64 20477 (+1724)
    11.0: sh3el 9431 (+352)
    11.0: sparc64 909 (+494)
    11.0: vax 6961 (+189)
  12. A nice little usability improvement coming in the next version of bob: you can specify a dewey pattern for commands that accepts a package match, e.g.:

    $ ./target/debug/bob history -o pkgname,outcome,duration 'nodejs>22<26'
    PKGNAME OUTCOME DURATION
    nodejs-24.15.0 failed 6m34s
    nodejs-22.22.2 success 53m39s

    If it's not a dewey pattern then it'll fall back to the usual regular expression matching.

    Makes it easier to be specific, especially in required pkg lists.

    #pkgsrc #bob

  13. A nice little usability improvement coming in the next version of bob: you can specify a dewey pattern for commands that accepts a package match, e.g.:

    $ ./target/debug/bob history -o pkgname,outcome,duration 'nodejs>22<26'
    PKGNAME OUTCOME DURATION
    nodejs-24.15.0 failed 6m34s
    nodejs-22.22.2 success 53m39s

    If it's not a dewey pattern then it'll fall back to the usual regular expression matching.

    Makes it easier to be specific, especially in required pkg lists.

    #pkgsrc #bob

  14. @alephoto85 could you be more specific about pkgin slowness? I've done a huge amount of performance work on it over the last few years (e.g. federate.me.uk/@jperkin/110900) and would be curious to know what's left on the table as I've not been able to find much. #pkgsrc #pkgin

  15. @alephoto85 could you be more specific about pkgin slowness? I've done a huge amount of performance work on it over the last few years (e.g. federate.me.uk/@jperkin/110900) and would be curious to know what's left on the table as I've not been able to find much. #pkgsrc #pkgin

  16. Some binary packages missing for #NetBSD #pkgsrc ... but i suspect it is a work in progress.
    github.com/NetBSD/pkgsrc/issue

  17. Some binary packages missing for #NetBSD #pkgsrc ... but i suspect it is a work in progress.
    github.com/NetBSD/pkgsrc/issue

  18. Early next week I'll be updating the SmartOS trunk package sets to be built on 20250612, as per announcement to smartos-discuss:

    smartos.topicbox.com/groups/sm

    This also migrates them over to bob, and an improved build host configuration that will result in much faster and more reliable builds.

    No need to do anything other than ensure you're running at least 20250612 (we release every 2 weeks with new features and security fixes, why wouldn't you?!) and "pkgin upgrade".

    #pkgsrc #smartos #bob

  19. Early next week I'll be updating the SmartOS trunk package sets to be built on 20250612, as per announcement to smartos-discuss:

    smartos.topicbox.com/groups/sm

    This also migrates them over to bob, and an improved build host configuration that will result in much faster and more reliable builds.

    No need to do anything other than ensure you're running at least 20250612 (we release every 2 weeks with new features and security fixes, why wouldn't you?!) and "pkgin upgrade".

    #pkgsrc #smartos #bob

  20. Upgrade day today :)

    Updated to #pkgsrc 2026Q2 on my amd64 an i386 systems, all went well except for a minor issue with py313-gobject3, that did not affect my system so I just ignored it :)

    Also #NetBSD RC7 came out today, so I updated to that release too. It is also working fine!

  21. Upgrade day today :)

    Updated to #pkgsrc 2026Q2 on my amd64 an i386 systems, all went well except for a minor issue with py313-gobject3, that did not affect my system so I just ignored it :)

    Also #NetBSD RC7 came out today, so I updated to that release too. It is also working fine!

  22. @bpl a better tip is to just install pkg_alternatives and then the wrappers are automatically created and updated regardless of which version of ffmpeg you choose to have installed.

    I'll concede that the user interface for pkg_alternatives is .. sub-optimal, but once installed it's mostly fire and forget

    #netbsd #pkgsrc

  23. @bpl a better tip is to just install pkg_alternatives and then the wrappers are automatically created and updated regardless of which version of ffmpeg you choose to have installed.

    I'll concede that the user interface for pkg_alternatives is .. sub-optimal, but once installed it's mostly fire and forget

    #netbsd #pkgsrc

  24. @brubarwal @ParadeGrotesque Yeh it's a common issue, especially when you add CDNs into the mix. The only way for pkgin to work reliably is if entire package directories are only ever updated atomically. I do this for pkgsrc.smartos.org/ so you'll never see similar errors there, but I don't know that everyone else is so careful. If you just run naive rsync then files and pkg_summary will be out of sync until the entire directory has finished uploading. #netbsd #pkgsrc

  25. @brubarwal @ParadeGrotesque Yeh it's a common issue, especially when you add CDNs into the mix. The only way for pkgin to work reliably is if entire package directories are only ever updated atomically. I do this for pkgsrc.smartos.org/ so you'll never see similar errors there, but I don't know that everyone else is so careful. If you just run naive rsync then files and pkg_summary will be out of sync until the entire directory has finished uploading. #netbsd #pkgsrc

  26. Decided to dig into what I initially suspected was hardware issues on a host performing "pkgin upgrade" very slowly.

    No, turns out it's legitimate requests hammering the disks, with pkg_delete performing an MD5 check on every file it is about to forcibly remove anyway.

    Eventually it'd be nice to add a flag for this, but for now I've removed it for my builds:

    github.com/TritonDataCenter/pk

    This will be in macOS and SmartOS builds soon, and will significantly improve upgrade performance.

    #pkgsrc

  27. Decided to dig into what I initially suspected was hardware issues on a host performing "pkgin upgrade" very slowly.

    No, turns out it's legitimate requests hammering the disks, with pkg_delete performing an MD5 check on every file it is about to forcibly remove anyway.

    Eventually it'd be nice to add a flag for this, but for now I've removed it for my builds:

    github.com/TritonDataCenter/pk

    This will be in macOS and SmartOS builds soon, and will significantly improve upgrade performance.

    #pkgsrc

  28. @leaf A cleaner way to handle that would be to add 'only = { exists = "/usr/X11R7" }' to that line, feel free to to raise an issue for this and I can ship this in the default config if it's useful.

    #pkgsrc #bob

  29. @leaf A cleaner way to handle that would be to add 'only = { exists = "/usr/X11R7" }' to that line, feel free to to raise an issue for this and I can ship this in the default config if it's useful.

    #pkgsrc #bob

  30. Building pkgsrc with bob on NetBSD: if you get an error about X11R7, this is normal if you have a headless server without Xorg/X11.

    Comment out the following line in your configuration file: { action = "mount", fs = "null", dir = "/usr/X11R7", opts = "-o ro" },
    See https://github.com/jperkin/bob/blob/main/config/netbsd.lua#L152

    Of course if you need to build X11 apps, install X11 on your host and keep the line.

    #bob #pkgsrc #netbsd #chroot

  31. Building pkgsrc with bob on NetBSD: if you get an error about X11R7, this is normal if you have a headless server without Xorg/X11.

    Comment out the following line in your configuration file: { action = "mount", fs = "null", dir = "/usr/X11R7", opts = "-o ro" },
    See https://github.com/jperkin/bob/blob/main/config/netbsd.lua#L152

    Of course if you need to build X11 apps, install X11 on your host and keep the line.

    #bob #pkgsrc #netbsd #chroot

  32. Now that I want to keep gotosocial and readeack pkgsrc packages up to date automatically, I find myself trying bob.

    Not bob the playschool user interface from Microsoft.
    Bob  from @jperkin the pkgsrc building sandboxed factory written in rust.

    Will see how it goes...

    https://crates.io/crates/bob

    #gotosocial #readeck #pkgsrc #bob #rustdev

  33. Updated #NetBSD #pkgsrc 2026Q2 binary package counts! Everything seems happy so far.

    11.0: aarch64eb 25137 (+1524)
    11.0: alpha 798 (+766)
    11.0: earmv4 6035 (+51)
    11.0: m68k 13308 (+903)
    11.0: powerpc 17525 (+881)
    11.0: riscv64 18753 (+377)
    11.0: sh3el 9079 (+269)
    11.0: sparc64 415 (+192)
    11.0: vax 6772 (+12)
  34. Updated #NetBSD #pkgsrc 2026Q2 binary package counts! Everything seems happy so far.

    11.0: aarch64eb 25137 (+1524)
    11.0: alpha 798 (+766)
    11.0: earmv4 6035 (+51)
    11.0: m68k 13308 (+903)
    11.0: powerpc 17525 (+881)
    11.0: riscv64 18753 (+377)
    11.0: sh3el 9079 (+269)
    11.0: sparc64 415 (+192)
    11.0: vax 6772 (+12)
  35. Aw crap. Upgraded #NetBSD #pkgsrc to 2026-Q2. And now #samba doesn't work. Claims for all directories I want to export that it "does not exist or permission denied" and "Error was Bad file descriptor". It is 4.24 updated from 4.23, with the old configuration. That will take a while to figure out. Maybe some chroot or something, since it cannot even access "/tmp".
    Re-installed the old version now, and it works again, so the problem is not with any of the dependencies.

  36. Aw crap. Upgraded #NetBSD #pkgsrc to 2026-Q2. And now #samba doesn't work. Claims for all directories I want to export that it "does not exist or permission denied" and "Error was Bad file descriptor". It is 4.24 updated from 4.23, with the old configuration. That will take a while to figure out. Maybe some chroot or something, since it cannot even access "/tmp".:thinking_rotate:
    Re-installed the old version now, and it works again, so the problem is not with any of the dependencies.

  37. @readeck Hello there, I did some work to build Readeck on NetBSD:

    • For testing, and standalone installations: platform specific Makefile, diff patch and README files, will submit a PR on Codeberg 🙂

    • For production : a package for the pksrc repository (WIP), NetBSD 10.1 amd64 build available here https://pepperm.int.eu.org/pkgsrc/packages/All/readeck-0.22.3.tgz (will be submitted to pkgsrc)

    Happy notes on Readeck 🙂

    #netbsd #pkgsrc #readeck #readitlater #golang

  38. @readeck Hello there, I did some work to build Readeck on NetBSD:

    • For testing, and standalone installations: platform specific Makefile, diff patch and README files, will submit a PR on Codeberg 🙂

    • For production : a package for the pksrc repository (WIP), NetBSD 10.1 amd64 build available here https://pepperm.int.eu.org/pkgsrc/packages/All/readeck-0.22.3.tgz (will be submitted to pkgsrc)

    Happy notes on Readeck 🙂

    #netbsd #pkgsrc #readeck #readitlater #golang

  39. Here're #NetBSD #pkgsrc 2026Q2 binary package counts! As of this quarter, all builds are 11.0 only.

    A good number of packages from 2026Q1 are usable in 2026Q2:

    aarch64eb: 11752
    earmv4: 5205
    m68k: 10860
    powerpc: 13363
    riscv64: 16711
    sh3el: 8472
    vax: 6458
  40. ✅ Successful gotosocial-0.22.0 (new stable major release) build and package available here https://pepperm.int.eu.org/pkgsrc/packages/All
    From now on, this GTS version is stable: further upgrades will only be available from pkgsrc repository and GTS Codeberg repository (no need for me building -rc packages anymore, that's a good thing).

    ✅ Submitted a package update to pkgsrc-WIP for v0.22.0, with help of wiz it should be good.
    One may use pkgin or NetBSD pkg_add tools to upgrade GoToSocial from now on.
    Careful about releases notes and configuration or database breaking changes.

    Build platform: NetBSD 10.1 amd64 / pkgsrc trunk
    Compilation and linker flags aligned with GTS binary release on Codeberg

    #pkgsrc #pkgsrc-wip #gotosocial #netbsd #instanceadmin