<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.
<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
<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]
<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.