23 Aug 2020 |
Bubu | hhm | 12:03:55 |
Bubu | the problem with the imagemagick install is that whoever added the sudo command to the build recipe forgot to run apt-get update beforehand | 12:04:24 |
jochensp | yeah | 12:04:35 |
jochensp | maybe it would be easier to do a apt update before any build? | 12:04:52 |
Bubu | most builds don't need sudo | 12:05:55 |
jochensp | ..and before sudo? | 12:06:08 |
Bubu | yeah, that maybe | 12:06:19 |
jochensp | (I could write a quick sed to add the apt-get update as well) | 12:06:38 |
jochensp | ..just thinking what would be better | 12:06:58 |
Bubu | for whatever reasons it needs to be apt-get update || apt-get update | 12:07:10 |
jochensp | :D | 12:07:19 |
Bubu | because some obscure apt bug that nobody ever quite understood | 12:07:29 |
Bubu | the first one often fails, the second one always works | 12:07:46 |
jochensp | afaik there is ongoing work in that apt level | 12:07:51 |
Bubu | don't ask :D | 12:07:56 |
Bubu | In reply to @freenode_jochensp:matrix.org afaik there is ongoing work in that apt level okay, good to know | 12:08:12 |
Bubu | In reply to @freenode_jochensp:matrix.org ..just thinking what would be better for now fixing the builds is better | 12:08:29 |
jochensp | k | 12:08:39 |
jochensp | seems like we have all combinations of apt(|-get) (install|update) | 12:12:05 |
Bubu | there are actually a few tricky things for using apt. | 12:12:08 |
Bubu | don't forget the -y | 12:12:14 |
Bubu | set DEBIAN_FRONTEND=noninteractive | 12:12:28 |
Bubu | (or maybe that is now always set from the buildserver side?) | 12:12:41 |
jochensp | I assume it would be default if the tty is not interactive | 12:13:03 |
Bubu | maybe we want an apt: field | 12:13:06 |
jochensp | maybe build-depends: ? | 12:13:46 |
Bubu | something like this | 12:14:53 |
wb9688 | Is \n not a thing in JSON? | 12:21:16 |
Bubu | Well, there are definitely \n s in the log json | 12:21:56 |
Bubu | if these are encoded twice or something I don't know | 12:22:11 |