<cruxbot>
[core/3.7]: pciutils: updated to version 3.12.0
<cruxbot>
[core/3.7]: man-db: updated to version 2.12.1
<cruxbot>
[xorg/3.7]: xorg-libx11: updated to version 1.8.9
lavaball has joined #crux
lavaball has quit [Remote host closed the connection]
lavaball has joined #crux
groovy3shoes has joined #crux
groovy2shoes has quit [Read error: Connection reset by peer]
farkuhar has joined #crux
lavaball has quit [Ping timeout: 268 seconds]
ppetrov^ has quit [Quit: Leaving]
ivandi has quit [Quit: WeeChat 4.2.1]
dlcusa has joined #crux
lavaball has joined #crux
ppetrov^ has joined #crux
ivandi has joined #crux
<cruxbot>
[contrib/3.7]: enchant: 2.6.8 -> 2.6.9
_0bitcount has joined #crux
_0bitcount has quit [Quit: Leaving]
tarxvfz has joined #crux
<tarxvfz>
a quick newbie queston: I already have the build package: /usr/ports/opt/spirv-tools/spirv-tools#2022.2-1.pkg.tar.xz
<tarxvfz>
when I run prt-get install spriv-tools, what is the expected behaviour of prt-get: 1) to install my previous package? OR 2) to rebuild it again?
<remiliascarlet>
tarxvfz: `pkgadd /usr/ports/opt/spirv-tools/spirv-tools#2022.2-1.pkg.tar.xz` is the command to install it if you used `pkgmk`.
<remiliascarlet>
Using `prt-get install` is discouraged, because it only installs the package itself without the dependencies needed to run it. Instead, `prt-get depinst` is encouraged.
<remiliascarlet>
The expected behavior for both is that if it's already installed, then it'll tell you it's already installed and terminate execution.
<cruxbot>
[opt/3.7]: ffmpeg: fixed build with newer vulkan
<farkuhar>
Comparing timestamps in prt-get itself is just an extra layer of redundancy, to suppress the verbose message you would get by running pkgmk without the -f flag. pkgmk conducts a more thorough test, comparing timestamp of an existing package against not just the Pkgfile, but also all the files in the source array.
<farkuhar>
pkgmk succeeds (exit status 0) if it encounters no compilation errors and no footprint mismatch, or if the build was skipped due to the presence of an existing package. Either way, prt-get interprets the success of pkgmk as a "go-ahead" to proceed with the installation (the pkgadd command that remiliascarlet wrote above).
<farkuhar>
In the event that the package was already installed, then prt-get doesn't even bother to involve pkgmk, it just informs the user about the invalid target. But the output is slightly different when more than one target is specified on the command line: https://crux.nu/Wiki/FS1843
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux
exark has quit [Quit: quit]
exark has joined #crux
<tarxvfz>
farkuhar: ah, yes '// skip the build if a package exists newer than Pkgfile' this logic I expected to see while running 'prt-get depinst xxxxx' for the first time :) it is unfortunate it never reached master :)
tarxvfz has quit [Ping timeout: 260 seconds]
groovy3shoes has quit [Ping timeout: 268 seconds]
groovy2shoes has joined #crux
ppetrov^ has quit [Quit: Leaving]
lavaball has quit [Remote host closed the connection]