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/
chrcav has joined #crux
_moth_ has quit [Ping timeout: 250 seconds]
groovy3shoes has joined #crux
groovy2shoes has quit [Ping timeout: 255 seconds]
ppetrov^ has joined #crux
<cruxbot> [opt.git/3.6]: gimp: 2.10.30 -> 2.10.32
<cruxbot> [opt.git/3.6]: libzip: 1.8.0 -> 1.9.0
SiFuh_ has joined #crux
SiFuh has quit [Ping timeout: 248 seconds]
SiFuh has joined #crux
SiFuh_ has quit [Ping timeout: 248 seconds]
DaViruz has quit [Ping timeout: 276 seconds]
<cruxbot> [opt.git/3.6]: mod_php: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-fcgi: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-fpm: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-ftp: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-gd: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-gettext: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-mbstring: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-mysql: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-sockets: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-sqlite3: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php-zip: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: php: 8.1.6 -> 8.1.7
<cruxbot> [opt.git/3.6]: pure-ftpd: 1.0.50 -> 1.0.51
<cruxbot> [opt.git/3.6]: samba: 4.16.1 -> 4.16.2
DaViruz has joined #crux
<cruxbot> [opt.git/3.6]: dovecot: 2.3.19 -> 2.3.19.1
<cruxbot> [opt.git/3.6]: lsof: 4.94.0 -> 4.95.0
<cruxbot> [opt.git/3.6]: mupdf: 1.19.1 -> 1.20.0
_moth_ has joined #crux
braewoods has quit [Changing host]
braewoods has joined #crux
_moth_ has quit [Remote host closed the connection]
_moth_ has joined #crux
_moth_ has quit [Ping timeout: 248 seconds]
_moth_ has joined #crux
guido_rokepo has quit [Quit: guido_rokepo]
_moth_ has quit [Remote host closed the connection]
_moth_ has joined #crux
farkuhar has quit [Quit: zzz]
_moth_ has quit [Remote host closed the connection]
_moth_ has joined #crux
farkuhar has joined #crux
<farkuhar> groovy3shoes, more bash weirdness: a nested subshell is supposed to inherit 'set -e' from its parent shell, but an exception is made for subshells spawned by command substitutions. Less clearly documented is that a subshell prefaced by 'if' or 'while' also cannot be told to 'set -e'. The subshell has to be on its own line (simple command vs. compound command) in order for 'set -e' to have any effect.
<farkuhar> from what i've read, this behaviour changed sometime between bash 3 and bash 4. Anyway, this quirk of bash required a slight change to pkgmeek. The version I uploaded earlier today is now accurately catching failed builds and refusing to continue. It must be a sign that port quality is pretty high, if it took almost two weeks of testing to discover this bug.
<SiFuh> Why is it called pkgmeek?
<farkuhar> first because twinned characters (like ee or dd) are easy to type, so it doesn't require much more effort than typing pkgmk. second, because the "ee" cluster in some languages would be pronounced like the "long a" in the English word "make", so pkgmake and pkgmeek could be regarded as homophones.
<farkuhar> something else i worked on today: prt-auf is now able to save build logs, recognizing all the variables allowed in prt-get.conf (%n, %p, %r, and %v). This feature brings prt-auf closer to feature parity with prt-get, still using only 850 lines of Perl.
<SiFuh> Cool
<SiFuh> I was learning Perl unless and given.
<SiFuh> I was not happy with unless
<farkuhar> What's the problem with unless?
<SiFuh> Many of his larger examples 'appear' to work until you change the variable
<SiFuh> Starting from around section 3 the second problem
<SiFuh> I think there was one before it and the rest sucked after it
<farkuhar> I only use Perl unless as a post-condition on a single command. When i have more than one command whose execution is contingent on the result of some test, i put the condition up front.
<SiFuh> THe problem is not really unless in this script
<farkuhar> That's an ugly example of perl-unless in Section 3. For convoluted chains of conditions, i find that an if/elsif/.../else block is easier to reason about than an unless/elsif/.../else block.
<SiFuh> If I change $a to zero it says a is less than 0
<SiFuh> So it seems that when it hist $a > 0 and it finds out it is not it just prints it is less than 0 and doesn't seem to bother with any more of the script
<SiFuh> hits*
<SiFuh> Anyway, I should sleep, busy days
<farkuhar> The example on that page is incorrectly negating the claim "$a > 0" at the very beginning, so it's not surprising that the output should look wrong. Anyway, sleep well SiFuh!
<SiFuh> Yeah, I mess with all the scripts to understand them. This one annoyed me the most
<SiFuh> His tutorial is rife with errors but still, it is okay
cybi has joined #crux
<groovy3shoes> farkuhar, huh, i didn't know about those exceptions. that's good to know. i've got some notes from my testing, but i wanted to try a few more things before sending them your way.
<groovy3shoes> also: it is written, the meek shall inherit the earth.
ppetrov^ has quit [Quit: Leaving]
<farkuhar> groovy3shoes: it appears that shellcheck-bin also doesn't know about those exceptions. It kept warning me that testing the exit status indirectly was poor coding style, and I foolishly implemented the suggested change. Now that I'm aware of such deficiencies in shellcheck, I'll take its recommendations with a grain of salt.
_moth_ has quit [Ping timeout: 260 seconds]
cybi has quit [Read error: Connection reset by peer]
gub_ has joined #crux
gub has quit [Ping timeout: 250 seconds]
ax has quit [Ping timeout: 250 seconds]
gub_ is now known as gub
_moth_ has joined #crux
ax has joined #crux
cybi has joined #crux
cybi has quit [Read error: Connection reset by peer]
tilman has quit [Ping timeout: 258 seconds]
tilman has joined #crux
groovy3shoes is now known as groovy2shoes
cybi has joined #crux