<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot/docker/buildworker, branch v19</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git.openwrt.org/buildbot/atom?h=v19</id>
<link rel='self' href='https://git.openwrt.org/buildbot/atom?h=v19'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/'/>
<updated>2024-09-28T17:17:50Z</updated>
<entry>
<title>buildworker: start: fix leaking BUILDWORKER_TLS env variable</title>
<updated>2024-09-28T17:17:50Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-28T17:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=213f6de2afc40e27bf6b773b72db0d6104ffd7fb'/>
<id>urn:sha1:213f6de2afc40e27bf6b773b72db0d6104ffd7fb</id>
<content type='text'>
I've noticed leakage of BUILDWORKER_TLS environment variable in build
logs, so lets fix it in a generic way via new
`cleanup_buildworker_env_variables()` by using Bash's parameter
expansion and unset all environment variables starting with BUILDWORKER_
prefix.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>docker: buildworker: add missing file package</title>
<updated>2024-09-27T07:39:12Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-27T07:33:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=cd6a70c93310d44a5fd01177be6c4640ba3f5e9b'/>
<id>urn:sha1:cd6a70c93310d44a5fd01177be6c4640ba3f5e9b</id>
<content type='text'>
In Debian 11 (Bullseye), the `file` package was installed indirectly
because the `man-db` package recommended it. The `man-db` package is
often installed as a dependency of other packages, such as
`build-essential` and tools like `gcc` and `make`.  By default,
`apt-get` installs recommended packages, so `file` was installed
automatically.

Starting from Debian 12 (Bookworm), the `man-db` package no longer
recommends the `file` package. This change was made to reduce the size
of minimal container images and installations where `file` is not
essential.

So lets install this package explicitly.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker: start: fix worker startup failure after update</title>
<updated>2024-09-26T21:21:09Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-26T21:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=3812ff7bb296d392d3393f919336e73425144f23'/>
<id>urn:sha1:3812ff7bb296d392d3393f919336e73425144f23</id>
<content type='text'>
Workers are currently refusing to work:

 Unhandled Error
 Traceback (most recent call last):
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 673, in run
     runApp(config)
   File "/opt/venv/lib/python3.11/site-packages/twisted/scripts/twistd.py", line 29, in runApp
     runner.run()
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 370, in run
     self.application = self.createOrGetApplication()
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 437, in createOrGetApplication
     application = getApplication(self.config, passphrase)
 --- &lt;exception caught here&gt; ---
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 446, in getApplication
     application = service.loadApplication(filename, style, passphrase)
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/service.py", line 404, in loadApplication
     application = sob.loadValueFromFile(filename, "application")
   File "/opt/venv/lib/python3.11/site-packages/twisted/persisted/sob.py", line 174, in loadValueFromFile
     codeObj = compile(data, filename, "exec")
 builtins.SyntaxError: keyword argument repeated: connection_string (buildbot.tac, line 49)

as the buildbot.tac template changed in commit 4ba1dcb66155 ("worker:
Add option --connection-string for create-worker") and in version v3.10.0.

So lets use this new `--connection-string` feature and get rid of the
sed-fu.

Fixes: efbddc90d8e6 ("Bump buildbot to v3.11.1 release")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker: Drop installation of Python 2</title>
<updated>2024-09-26T11:19:17Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-09-26T09:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=f5e8661435580499282e4670a4a2deb72f7ef4b2'/>
<id>urn:sha1:f5e8661435580499282e4670a4a2deb72f7ef4b2</id>
<content type='text'>
Old releases of OpenWrt would require it but that's something of the
past - time is running.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>buildworker,buildmaster: Use venv for Pip</title>
<updated>2024-09-26T11:19:16Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-09-26T09:21:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=189ff26ca991ec680a7b841a563ec6f4a5544dfd'/>
<id>urn:sha1:189ff26ca991ec680a7b841a563ec6f4a5544dfd</id>
<content type='text'>
Debian 12 complains if using Pip without a virtualenv since it could
break the system.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>buildworker,buildmaster: bump Debian to version 12</title>
<updated>2024-09-26T08:05:21Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-26T07:55:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=3ac7d39bd4c364d76e78b3ba50c23a68e0b05c0f'/>
<id>urn:sha1:3ac7d39bd4c364d76e78b3ba50c23a68e0b05c0f</id>
<content type='text'>
Debian 11 LTS support ends in June 2026, so it's probably around the
time when support for the OpenWrt 24.10 release might end. Therefore,
let's switch to Debian 12, which should have LTS support until June 2028
and is the latest and greatest.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>docker,worker: install zstd</title>
<updated>2023-11-14T17:10:22Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2023-11-14T11:27:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=1eb8aec7a64e57e370791cacea2025a343df746d'/>
<id>urn:sha1:1eb8aec7a64e57e370791cacea2025a343df746d</id>
<content type='text'>
Faster compression with partly better rates. Should be used eventually
for ImageBuilders etc.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>docker,worker: install pyelftools</title>
<updated>2023-07-28T06:51:08Z</updated>
<author>
<name>Ben Whitten</name>
</author>
<published>2023-07-27T20:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=b4505aa5a7c4c041c43343a0e1371728c334fc7c'/>
<id>urn:sha1:b4505aa5a7c4c041c43343a0e1371728c334fc7c</id>
<content type='text'>
UBoot version of at least 2023.07.02 that use binman also have a dependency of pyelftools on the build host.

Signed-off-by: Ben Whitten &lt;BWhitten@users.noreply.github.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt; [whitespace fix]
</content>
</entry>
<entry>
<title>docker,worker: install g++-multilib</title>
<updated>2023-05-17T09:27:07Z</updated>
<author>
<name>Alois Klink</name>
</author>
<published>2022-11-23T17:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=6b145dbf190c52caa1829f6dcfdc9e304552bd5a'/>
<id>urn:sha1:6b145dbf190c52caa1829f6dcfdc9e304552bd5a</id>
<content type='text'>
From [openwrt/docker@5484951][1] (GitHub PR [#89][2]):

Node fails to cross-compile from a 64-bit build machine to 32-bit host
with the following error:

```
  In file included from /usr/include/c++/8/memory:62,
  from ../deps/v8/src/libplatform/default-foreground-task-runner.h:8,
  from ../deps/v8/src/libplatform/default-foreground-task-runner.cc:5:
  /usr/include/c++/8/bits/stl_algobase.h:59:10: fatal error: bits/c++config.h:
    No such file or directory
  #include &lt;bits/c++config.h&gt;
          ^~~~~~~~~~~~~~~~~~
  compilation terminated.
```

On Debian, `g++-multilib` can be installed to fix this.

[1]: https://gitlab.com/openwrt/docker/-/commit/54849510d7802028b94757051cca6d004a9ca1d1
[2]: https://github.com/openwrt/docker/pull/89

Fixes: https://github.com/openwrt/packages/issues/18476
Fixes: https://forum.openwrt.org/t/why-arent-the-node-and-node-npm-packages-available-on-arm-cortex-a9-vfpv3-d16-in-22-03-2/142722
Signed-off-by: Alois Klink &lt;alois@aloisklink.com&gt;
</content>
</entry>
<entry>
<title>buildworker,buildmaster: bump Debian to version 11</title>
<updated>2023-05-15T15:36:01Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-05-15T07:14:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=f2744543fa8027117b254ba2f4fa4366149d5bfb'/>
<id>urn:sha1:f2744543fa8027117b254ba2f4fa4366149d5bfb</id>
<content type='text'>
Debian 10 LTS support ends on 6/2024, so it makes no sense to use it as
a base for 23.05 release, so lets switch to Debian 11 which should've
LTS support till 6/2026.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
