#archlinux32 | Logs for 2020-01-24
Back
[00:16:30] -!- crns has quit [Quit: bye]
[00:20:07] -!- crns has joined #archlinux32
[00:47:35] -!- isacdaavid has joined #archlinux32
[01:28:35] -!- charims has quit [Ping timeout: 272 seconds]
[02:00:02] -!- KeiraT has quit [Remote host closed the connection]
[02:02:57] -!- KeiraT has joined #archlinux32
[02:14:33] -!- isacdaavid has quit [Ping timeout: 265 seconds]
[02:25:50] <buildmaster> pentium4/libretro-mupen64plus-next is broken (says rechenknecht): https://archlinux32.org
[04:08:15] -!- T`aZ has quit [Remote host closed the connection]
[04:12:43] -!- T`aZ has joined #archlinux32
[06:23:41] -!- abaumann has joined #archlinux32
[06:23:41] <buildmaster> Hi abaumann!
[06:23:41] <buildmaster> !rq abaumann
[06:23:42] <phrik> buildmaster: <abaumann> but.. I'm also famous to break my own rules as soon as I see fit. :->
[06:24:57] <abaumann> mmh, http://archlinux32.vollzornbrot.de on https://www.archlinux32.org tells me Completion=0 and Last Sync 1.1.1970, though the mirror looks alive and kicking..
[06:24:57] <phrik> Title: Index of / (at archlinux32.vollzornbrot.de)
[06:29:22] <abaumann> check-mirrors http://archlinux32.andreasbaumann.cc gives me base64: invalid input
[06:29:24] <phrik> Title: Index of / (at archlinux32.andreasbaumann.cc)
[06:29:30] * abaumann digs through usage and script..
[06:31:55] -!- deep42thought has joined #archlinux32
[06:31:55] <buildmaster> Hi deep42thought!
[06:31:55] <buildmaster> !rq deep42thought
[06:31:56] <phrik> buildmaster: * deep42thought listens carefully, but doesn't hear any bells ringing over here
[06:32:00] <deep42thought> Hi abaumann!
[06:32:02] <abaumann> Hi deep42thought
[06:32:06] <deep42thought> check, how check-mirrors calls itself
[06:32:18] <deep42thought> it's not really intended to be run manually on a single mirror
[06:32:20] <deep42thought> but it can ...
[06:32:44] <abaumann> the usage says differently :-)
[06:32:57] <abaumann> "check the given mirror and output values to stdout"
[06:33:48] <deep42thought> umm, interesting
[06:34:15] <deep42thought> what dilusional idiot wrote that? (probably I) - I think, you need to run that information through base64, first
[06:34:18] <abaumann> maybe the script doesn't like the token 'vollzornbrot' ;-)
[06:34:41] <deep42thought> ah, no
[06:34:53] <abaumann> the argument has to be base64?
[06:34:58] <deep42thought> you need to run /each argument/ through base64 separately, first
[06:35:02] <abaumann> ./check-mirrors aHR0cDovL2FyY2hsaW51eDMyLnZvbGx6b3JuYnJvdC5kZS8K
[06:35:03] <abaumann> yep.
[06:35:20] <abaumann> intuitive :-)
[06:35:49] <deep42thought> this should come with 3 parts: url, country_code and country
[06:36:10] <abaumann> the code expects only one argument
[06:36:19] <abaumann> elif [ $# -eq 1 ]; then
[06:36:20] <deep42thought> aHR0cDovL2FyY2hsaW51eDMyLnZvbGx6b3JuYnJvdC5kZS8gZGUgR2VybWFueQo=
[06:36:35] <abaumann> http http://archlinux32.andreasbaumann.cc http://archlinux32.andreasbaumann.cc http://archlinux32.andreasbaumann.cc 1579844101 1579844153.033259586 1579844153.123971051 1 1 0 1
[06:36:36] <phrik> Title: Index of / (at archlinux32.andreasbaumann.cc)
[06:36:39] <abaumann> http http://archlinux32.vollzornbrot.de http://archlinux32.vollzornbrot.de http://archlinux32.vollzornbrot.de 0 1579844098.326060227 1579844098.439997361 0 0 0 0
[06:36:39] <phrik> Title: Index of / (at archlinux32.vollzornbrot.de)
[06:36:44] <deep42thought> yes, one argument, which is the base64-encoded space separated three values I mentioned
[06:37:04] <abaumann> separated with what?
[06:37:07] <abaumann> spaces?
[06:37:12] <deep42thought> yes
[06:37:27] <deep42thought> I think, I did it that way to make running it with `parallel` easier
[06:37:46] <deep42thought> if you find a better way, feel free to change it to a more intuitive form
[06:37:58] <abaumann> ok
[06:38:21] <abaumann> I just wanted to see, what the problem with that one mirror is..
[06:38:29] <abaumann> ..or whether there is a problem in the script
[06:39:36] <deep42thought> line 47 upto 54 are the generation of the input parameters, line 88 upto 102 the parsing of those
[06:40:19] <abaumann> <title>400 Bad Request</title>
[06:40:36] <deep42thought> the mirror's last update is from 16th of January
[06:40:45] <abaumann> ++ curl -4 -s 'http://archlinux32.andreasbaumann.cc/ Switzerland chlastsync'
[06:40:47] <phrik> Title: Index of / (at archlinux32.andreasbaumann.cc)
[06:40:48] <abaumann> huh?
[06:41:19] <deep42thought> https://archlinux32.vollzornbrot.de
[06:41:52] <abaumann> a little bit old
[06:42:03] <abaumann> but the page is showing 1.1.1970
[06:42:51] <abaumann> the curl request is bogus in my opinion.
[06:43:00] <deep42thought> which one?
[06:43:17] <abaumann> if last_sync=$(
[06:43:17] <abaumann> curl -4 -s "${url}lastsync"
[06:43:31] <abaumann> somehow the splitting before fails into the url, countr and countrycode parts
[06:44:20] <deep42thought> what parameter did you use?
[06:45:02] <abaumann> echo 'http://archlinux32.vollzornbrot.de/ Germany de' | base64
[06:45:02] <phrik> Title: Index of / (at archlinux32.vollzornbrot.de)
[06:45:05] <deep42thought> oh, what, wait
[06:45:06] <abaumann> aHR0cDovL2FyY2hsaW51eDMyLnZvbGx6b3JuYnJvdC5kZS8gR2VybWFueSBkZQo=
[06:45:23] <deep42thought> printf '%s %s %s\n' \
[06:45:23] <deep42thought> "$(printf '%s' "${country}" | base64 -w0)" \
[06:45:23] <deep42thought> "$(printf '%s' "${country_code}" | base64 -w0)" \
[06:45:24] <deep42thought> "$(printf '%s' "${rest}" | base64 -w0)"
[06:45:29] <deep42thought> this is something different???
[06:46:11] <abaumann> I have a completely different version..
[06:46:19] <deep42thought> this is on the buildmaster
[06:46:44] <abaumann> aha.
[06:46:53] <abaumann> the -w0 is above in the no-parameter case
[06:47:06] <abaumann> below in the $#=1 case there is another set of base64 url-decomposing
[06:47:25] <deep42thought> ah, I understand it now
[06:47:29] <abaumann> "# check a single mirror"
[06:47:35] <deep42thought> it is *one* argument
[06:47:38] <deep42thought> which contains spaces
[06:47:47] <deep42thought> and each of the three parts is base64-encoded
[06:47:52] <abaumann> oh. :-)
[06:47:55] <deep42thought> sry
[06:48:04] <deep42thought> I should have documented that better ...
[06:48:04] <abaumann> np
[06:48:40] <abaumann> why are you base64 encoding everything?
[06:49:09] <deep42thought> I believe, it was to avoid shell globbing and shell-injection from mysql
[06:49:20] <deep42thought> in the end, it is arbitrary data fed in from the database
[06:49:24] <abaumann> ah. because it's called like that recursevily.
[06:49:26] <abaumann> ok.
[06:50:53] <abaumann> aha. a moved permanently from http to https
[06:52:25] <abaumann> Is it a wise idea to add -L to all curl requests in check-mirrors?
[06:52:33] <abaumann> -L for follow redirects
[06:53:08] <abaumann> ./check-mirrors 'R2VybWFueQo= ZGUK aHR0cDovL2FyY2hsaW51eDMyLnZvbGx6b3JuYnJvdC5kZS8K'
[06:53:11] <abaumann> http http://archlinux32.vollzornbrot.de Germany de 1579155901 1579845165.986045160 1579845176.202273234 0 1 0 1
[06:53:11] <phrik> Title: Index of / (at archlinux32.vollzornbrot.de)
[06:53:31] <abaumann> this looks better, but of course it shows now information about the https mirror (which seems to be the same as the http mirror)
[06:54:29] <abaumann> let's test :-)
[06:54:44] <abaumann> https://www.archlinux32.org
[06:54:45] <phrik> Title: Arch Linux 32 - Mirror Status (at www.archlinux32.org)
[06:54:52] <abaumann> yep, I like it: shows now 16.1.2020
[06:56:08] <abaumann> Thanks for the usage. It's clear now. :-)
[06:56:25] <deep42thought> no -L is intentional: we test http and https separately
[06:56:34] <deep42thought> the url in the mirror list should be the final url
[06:56:56] <abaumann> but the http://archlinux32.vollzornbrot.de fails
[06:56:57] <phrik> Title: Index of / (at archlinux32.vollzornbrot.de)
[06:57:12] <deep42thought> yes, one gets redirected to https
[06:57:15] <abaumann> *then
[06:57:21] <deep42thought> so the http mirror is "dead"
[06:57:29] <abaumann> ah. ok.
[06:57:30] <deep42thought> it should not appear live in the status page
[06:57:40] <deep42thought> and we might consider removing it from the mirrorlist
[06:58:05] <abaumann> I reverted -L
[06:58:42] <abaumann> the mirror is available though via https, http is redirecting to it.
[06:59:02] <abaumann> but it's still behind some days.
[06:59:16] <deep42thought> but imagine, you *need* a http mirror (because ssl is broken on your end), then you won't be happy with that mirror
[06:59:34] <abaumann> I'm a strong opponent of not doing this http->https stuff
[06:59:54] <abaumann> there is nothing wrong to provide public content via http
[06:59:55] <deep42thought> you're against redirects?
[07:00:01] <deep42thought> yeah
[07:00:02] <deep42thought> ok
[07:00:09] <abaumann> sorry for the fuzz. :-)
[07:56:52] -!- deep42thought has quit [Quit: Leaving.]
[08:16:51] -!- abaumann has quit [Quit: leaving]
[08:45:50] -!- deep42thought has joined #archlinux32
[08:45:50] <buildmaster> Hi deep42thought!
[08:45:50] <buildmaster> !rq deep42thought
[08:45:51] <phrik> buildmaster: <deep42thought> windows suggests swap on external usb sticks :-)
[11:17:18] -!- deep42thought has quit [Remote host closed the connection]
[11:17:22] -!- nit-picker has quit [Read error: Connection reset by peer]
[11:20:36] -!- nit-picker has joined #archlinux32
[11:20:37] <buildmaster> Hi nit-picker!
[11:20:37] <buildmaster> !rq nit-picker
[11:20:38] <phrik> buildmaster: <nit-picker> abaumann: but there are only 18 "intermediate" versions
[11:57:41] <buildmaster> i486/pyalpm is broken (says nlopc46-i486bs0): https://archlinux32.org
[13:10:36] <buildmaster> i686/linux-zen is broken (says eurobuild6-2): https://archlinux32.org
[13:11:48] <buildmaster> pentium4/linux-zen is broken (says eurobuild6-1): https://archlinux32.org
[13:28:03] -!- T`aZ has quit [Remote host closed the connection]
[13:28:08] <buildmaster> pentium4/wireguard-arch is broken (says eurobuild6-1): https://archlinux32.org
[13:30:59] -!- T`aZ has joined #archlinux32
[13:36:43] <buildmaster> pentium4/libsecret is broken (says eurobuild6-1): https://archlinux32.org
[13:37:25] <buildmaster> i686/libsecret is broken (says eurobuild6-2): https://archlinux32.org
[13:44:31] <buildmaster> pentium4/pyalpm is broken (says eurobuild6-2): https://archlinux32.org
[13:52:49] <buildmaster> i686/virtualbox-modules-arch is broken (says eurobuild6-1): https://archlinux32.org
[13:55:29] <buildmaster> pentium4/virtualbox-modules-arch is broken (says eurobuild6-2): https://archlinux32.org
[14:52:34] -!- infides has joined #archlinux32
[15:31:30] -!- oaken-source has quit [Remote host closed the connection]
[17:12:38] -!- MrBIOS has joined #archlinux32
[17:22:51] -!- MrBIOS has quit [Ping timeout: 240 seconds]
[17:23:04] -!- eschwartz has quit [Quit: A random quit message]
[17:27:11] -!- eschwartz has joined #archlinux32
[17:30:03] -!- DepositePirate_ has quit [Remote host closed the connection]
[17:30:35] -!- MrBIOS has joined #archlinux32
[17:30:37] -!- DepositePirate_ has joined #archlinux32
[17:54:29] <buildmaster> i486/vis are broken (says eurobuild6-7-i486): https://archlinux32.org
[17:54:42] <buildmaster> i686/findomain is broken (says eurobuild6-2): https://archlinux32.org
[17:55:55] <buildmaster> pentium4/findomain is broken (says eurobuild6-1): https://archlinux32.org
[19:19:54] -!- buildmaster has quit [Remote host closed the connection]
[19:19:54] -!- trotz has quit [Read error: Connection reset by peer]
[19:21:12] -!- trotz has joined #archlinux32
[19:53:38] -!- infides has quit [Ping timeout: 240 seconds]
[21:04:34] -!- oaken-source has joined #archlinux32
[22:29:43] -!- KeiraT has quit [Quit: KeiraT]
[23:18:32] -!- KeiraT has joined #archlinux32