jaeger changed the topic of #crux to: CRUX 3.6 | Homepage: https://crux.nu/ | Ports: https://crux.nu/portdb/ https://crux.ninja/portdb/ | Logs: https://libera.irclog.whitequark.org/crux/
<jeremyc83> So, after installing crux today, I did a ports -u, prt-get sysup. I have three packages that failed (opt/ppp, opt/xfsprogs, opt/xorg-server). Working through the issues now. xfsprogs, for example, says "could not find a valid ini.h header, Install the libinih development package."
<jeremyc83> a prt-get depinst inih solved that problem. Should I report this anywhere?
<jeremyc83> xorg-server says nettle was not found, prt-get depinst nettle allowed prt-get update xorg-server to work. Is there a prt-get depupdate that I'm missing?
<jeremyc83> and finally, prt-get depinst libpcap allowed prt-get update ppp to work (ha, it's been a LONG time since I've used the ppp package!)
<farkuhar> jeremyc83: you raise some good points. As I understand it, prt-get update (or sysup) does not check whether a package has acquired new dependencies since the last time the package was installed (or updated). Usually the addition of new dependencies is posted to the mailing list (or by cruxbot on this IRC channel), and CRUX users know they'll have to manually intervene (as you did with ppp).
<farkuhar> There was a Flyspray issue that offered a patch to prt-get so that it could figure out new dependencies automatically, but this patch hasn't yet been merged.
<farkuhar> jeremyc83: if you have any experience reviewing C++ code, the proposed patch could benefit from a few extra eyeballs. https://crux.nu/bugs/index.php?do=details&task_id=1605
<jeremyc83> I can take a peek, but c++ isn't my strong suite. I am a software developer, started on C, moved on to many other languages, these days mainly rust and typescript.
<farkuhar> It's not a very complicated patch, on first glance. It just adds a few cases to the argument parser and applies some standard methods to lists of strings, before printing to stdout. The core functionality is already present in prt-get, it just hasn't been hooked together as a single command-line option until this patch.
<jeremyc83> What about packages like picom, it lists asciidoc as an optional dependency. However, it will not build w/o it. It reports "ERROR: Program 'a2x' not found and package build fails.
<jeremyc83> farkuhar, about that patch. Seems like it just adds a new command depcheck, right? How does that play into the scenario I posted today? Not saying that depcheck is a bad idea.
CrashTestDummy2 has joined #crux
CrashTestDummy has quit [Ping timeout: 252 seconds]
frinnst has joined #crux
frinnst has quit [Ping timeout: 260 seconds]
frinnst has joined #crux
humky has quit [Remote host closed the connection]
humky has joined #crux
tilman has quit [Ping timeout: 252 seconds]
tilman has joined #crux
Moth has joined #crux
jeremyc83 has quit [Ping timeout: 256 seconds]
<SiFuh_> Thanks groovy2shoes looking now
<SiFuh_> braewoods: 'cause emacs rocks! ;-)
Belgacem1958 has joined #crux
Belgacem1958 has quit [Read error: Connection reset by peer]
Moth has quit [Remote host closed the connection]
Moth has joined #crux
ppetrov^ has joined #crux
SiFuh_ has quit [Ping timeout: 240 seconds]
SiFuh has quit [Ping timeout: 245 seconds]
SiFuh has joined #crux
SiFuh_ has joined #crux
<farkuhar> jeremyc83, I imagine the patch might apply in your scenario like this: after ports -u but before prt-get sysup, you run prt-get depcheck --deps to get a simple list of dependencies that have been added to ports already installed. You could take the resulting list and pass it directly to prt-get depinst, and then proceed with prt-get sysup as usual.
<farkuhar> As for your experience with picom not reporting its build-time dependencies accurately, that's an issue you should raise with the port maintainer (Romster in this case). Over in #crux-devel, for instance, Romster was just informed that libsoup3 acquired a new dependency libnghttp2.
<cruxbot> [opt.git/3.6]: boehm-gc: 8.0.6 -> 8.2.0
<cruxbot> [opt.git/3.6]: htop: 3.1.0 -> 3.1.1
<cruxbot> [opt.git/3.6]: scummvm: 2.2.0 -> 2.5.0
<cruxbot> [contrib.git/3.6]: helvum: initial commit, version 0.3.1
<cruxbot> [contrib.git/3.6]: npm: 8.0.0 -> 8.1.0
<cruxbot> [contrib.git/3.6]: python3-filelock: 3.3.0 -> 3.3.1
ivandi has quit [Remote host closed the connection]
ivandi has joined #crux
pedja has joined #crux
ppetrov^ has quit [Ping timeout: 252 seconds]
<cruxbot> [contrib.git/3.6]: neomutt: 20210205 -> 20211015
groovy2shoes has quit [Ping timeout: 245 seconds]
groovy2shoes has joined #crux
<stenur> there is prt-get quickdep and such, and with some lines of shell code you can easily solve the issue automatically, eg i use http://ix.io/3zKm
pvn has joined #crux
ppetrov^ has joined #crux
jeremyc has joined #crux
Moth has quit [Quit: Moth]
Moth has joined #crux
<farkuhar> jeremyc: see the IRC log for the follow-up to your question. In short, the patch in Flyspray 1605 would allow you to do: ports -d; prt-get depinst $(prt-get depcheck --deps); prt-get sysup. But stenur also offered a wrapper shell script that doesn't require patching prt-get.
<jeremyc> ah, I see.
<farkuhar> That first command should be ports -u, of course. I'm just so used to typing ports -d to see how much compiling remains before my system is up-to-date.
Moth1 has joined #crux
Moth has quit [Ping timeout: 252 seconds]
Moth1 is now known as Moth
Moth has quit [Remote host closed the connection]
Moth has joined #crux
Moth has quit [Client Quit]
Moth has joined #crux
Belgacem1958 has joined #crux
<cruxbot> [contrib.git/3.6]: remind: update to 03.03.09
<cruxbot> [opt.git/3.6]: nsd: update to 4.3.8
<cruxbot> [opt.git/3.6]: mozjs78: update to 78.15.0
<cruxbot> [opt.git/3.6]: imagemagick: update to 7.1.0-10
<cruxbot> [xorg.git/3.6]: mesa: update to 21.2.4
Belgacem1958 has quit [Remote host closed the connection]
jeremyc has quit [Ping timeout: 256 seconds]
pvn1 has joined #crux
<cruxbot> [contrib.git/3.6]: fzf: 0.27.2 -> 0.27.3
<cruxbot> [contrib.git/3.6]: x265: fixed build error where without git the final shared library wouldn't be built, also enabled HDR10 support
<cruxbot> [contrib.git/3.6]: x265: actual new footprint
mechaniputer has joined #crux
mechaniputer has quit [Client Quit]
ppetrov^ has quit [Quit: Leaving]
<cruxbot> [contrib.git/3.6]: mpd: 0.22.11 -> 0.23
pvn1 has quit [Quit: Leaving.]
<cruxbot> [contrib.git/3.6]: lua-language-server: 2.4.1 -> 2.4.4
CrashTestDummy3 has joined #crux
CrashTestDummy2 has quit [Ping timeout: 252 seconds]
<groovy2shoes> i've got a wrapper script for that, too.
<groovy2shoes> probably will want to give it a once-over before using it... it does some extra stuff, too, like update youtube-dl from pip, which will probably wreck your youtube-dl if you've got it from ports; and i've got it where it takes all the libtool files to a garbage dump (it could just delete them at this point; i've not had any problems with them being gone, but i was overly cautious at first and overly lazy at second)
<groovy2shoes> actually y'know what
Moth has quit [Ping timeout: 268 seconds]
<groovy2shoes> there, now it deletes the garbage straight up, and does nothing with pip
<groovy2shoes> it does want to use prt-cache, though
<groovy2shoes> dunno how well it'd work without an up-to-date cache. it might, but i've not tested it.
pedja has quit [Quit: Leaving]
groovy2shoes has quit [Ping timeout: 252 seconds]
groovy2shoes has joined #crux
humky has quit [Quit: Leaving]
humky has joined #crux
jeremyc has joined #crux
jeremyc has quit [Quit: jeremyc]
jeremyc has joined #crux