Hallo,
beim Bau der Gluon-basierten Firmware für Freifunk Bremen gibt es neuerdings Probleme bei den Images für Archer C6 v2 und Archer C60 v1; der Bau schlägt fehl mit Fehlern wie file-system partition too big (more than 5477376 bytes): Success
.
Seit dem letzten erfolgreichen Build haben wir diese Änderungen gemacht:
- Umstellung von site.mk auf image-customization.lua (Commit aabed694).
- hinzufügen von ca-bundle, ca-certificates und libustream-openssl für die nicht-„tiny“-Geräte, damit opkg wieder Pakete von https://downloads.openwrt.org/ runterladen kann (Details). Das war ebenfalls in Commit aabed694.
- Upgrade von Gluon 2023.1.1 auf 2023.2.3.
Archer C6 und C60 haben beide nur 8 MB Flash, aber werden wohl trotzdem nicht als „tiny“ eingestuft (laut Adding hardware support — Gluon 2023.2.3 documentation).
Ich kenn mich mit dem Gluon-Bau nicht wirklich aus. Meine naive Annahme ist, dass wir mit dem Hinzufügen der SSL-Unterstützung die Grenzen für diese Geräte überschritten haben.
Kennt ihr dieses Problem mit „file-system partition too big“? Ist das realistisch, dass das durch die SSL-Unterstützung ausgelöst wurde? Und falls ja: wie habt ihr das in euren Images gelöst?
Meine derzeitigen Lösungsideen sind:
- a) andere Pakete löschen (gluon-scheduled-domain-switch brauchen wir jetzt vmtl. nicht mehr – aber das wird wohl auch nicht viel einsparen)
- b) bei Archer C6 und C60 die Unterstützung für opkg und SSL ausbauen
- c) opkg-Pakete von den nicht-SSL-URLs laden (falls das überhaupt noch geht), damit wir keine OpenSSL-Unterstützung einkompilieren müssen.
Aber Lösung a erscheint mir unrealistisch, und Lösungen b und c gefallen mir nicht.
Was meint ihr dazu?
Grüße, Oliver
Die Build-Ausgaben rund um die Fehlermeldungen
Die gesamten Build-Ausgaben sind im Moment noch zu finden unter https://jenkins.bremen.freifunk.net/job/gluon-site-ffhb/lastBuild/console . Hier sind einige Ausschnitte, die ich relevant finde:
[ -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tplink_archer-c6-v2-kernel.bin -a -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=f862834a ]
dd if=/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=f862834a >> /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-factory.bin
11268+1 records in
11268+1 records out
5769574 bytes (5.8 MB, 5.5 MiB) copied, 0.0953435 s, 60.5 MB/s
/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/staging_dir/host/bin/tplink-safeloader -B ARCHER-C6-V2 -V r23899+7-3001d3c5d4 -k /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tplink_archer-c6-v2-kernel.bin -r /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-factory.bin -o /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-factory.bin.new -j && mv /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-factory.bin.new /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-factory.bin || rm -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-factory.bin
file-system partition too big (more than 5477376 bytes): Success
[ -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tplink_archer-c6-v2-kernel.bin -a -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=f862834a ]
dd if=/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=f862834a >> /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin
11268+1 records in
11268+1 records out
5769574 bytes (5.8 MB, 5.5 MiB) copied, 0.10873 s, 53.1 MB/s
/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/staging_dir/host/bin/tplink-safeloader -B ARCHER-C6-V2 -V r23899+7-3001d3c5d4 -k /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tplink_archer-c6-v2-kernel.bin -r /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin -o /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin.new -j -S && mv /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin.new /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin || rm -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin
file-system partition too big (more than 5513335 bytes): Success
stat: cannot statx '/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin': No such file or directory
bash: line 1: [: 7995392: unary operator expected
bash: line 1: 8: Bad file descriptor
echo '{ "metadata_version": "1.1", "compat_version": "1.0", "supported_devices":["tplink,archer-c6-v2"], "version": { "dist": "OpenWrt", "version": "23.05-SNAPSHOT", "revision": "r23899+7-3001d3c5d4", "target": "ath79/generic", "board": "tplink_archer-c6-v2" } }' | fwtool -I - /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin
Failed to open firmware file
make[6]: [Makefile:105: /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin] Error 1 (ignored)
sha256sum "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin" | cut -d" " -f1 > "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin.sha256sum"
sha256sum: /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin: No such file or directory
[ -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tplink_archer-c60-v1-kernel.bin -a -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=85509be0 ]
dd if=/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=85509be0 >> /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin
11598+1 records in
11598+1 records out
5938250 bytes (5.9 MB, 5.7 MiB) copied, 0.0858925 s, 69.1 MB/s
/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/staging_dir/host/bin/tplink-safeloader -B ARCHER-C60-V1 -V r23899+7-3001d3c5d4 -k /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tplink_archer-c60-v1-kernel.bin -r /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin -o /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin.new -j -S && mv /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin.new /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin || rm -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin
file-system partition too big (more than 5704847 bytes): Success
stat: cannot statx '/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin': No such file or directory
bash: line 1: [: 8126464: unary operator expected
bash: line 1: 8: Bad file descriptor
echo '{ "metadata_version": "1.1", "compat_version": "1.0", "supported_devices":["tplink,archer-c60-v1","archer-c60-v1"], "version": { "dist": "OpenWrt", "version": "23.05-SNAPSHOT", "revision": "r23899+7-3001d3c5d4", "target": "ath79/generic", "board": "tplink_archer-c60-v1" } }' | fwtool -I - /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin
Failed to open firmware file
make[6]: [Makefile:105: /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin] Error 1 (ignored)
sha256sum "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin" | cut -d" " -f1 > "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin.sha256sum"
sha256sum: /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin: No such file or directory
[ ! -s "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/key-build" -o ! -s "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/key-build.ucert" -o ! -s "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin" ] || { cp "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/key-build.ucert" "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin.ucert" ; usign -S -m "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin" -s "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/key-build" -x "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin.sig" ; ucert -A -c "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin.ucert" -x "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin.sig" ; fwtool -S "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin.ucert" "/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-sysupgrade.bin" ; }
[ -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tplink_archer-c60-v1-kernel.bin -a -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=85509be0 ]
dd if=/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=85509be0 >> /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-factory.bin
11598+1 records in
11598+1 records out
5938250 bytes (5.9 MB, 5.7 MiB) copied, 0.102806 s, 57.8 MB/s
/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/staging_dir/host/bin/tplink-safeloader -B ARCHER-C60-V1 -V r23899+7-3001d3c5d4 -k /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tplink_archer-c60-v1-kernel.bin -r /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-factory.bin -o /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-factory.bin.new -j && mv /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-factory.bin.new /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-factory.bin || rm -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_archer-c60-v1-squashfs-factory.bin
support-list partition too big (more than 256 bytes): Success
[ -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/sophos_ap100-kernel.bin -a -f /var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/root.squashfs+pkg=a2daa8ee ]
make[3]: Entering directory '/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt'
make[3]: Leaving directory '/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt'
make[2]: Leaving directory '/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt'
make[1]: Leaving directory '/var/lib/jenkins/workspace/gluon-site-ffhb/gluon/openwrt'
cp: cannot stat 'openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-sysupgrade.bin': No such file or directory
openwrt/staging_dir/hostpkg/bin/lua: scripts/target_lib.lua:139: assertion failed!
stack traceback:
[C]: in function 'assert'
scripts/target_lib.lua:139: in function <scripts/target_lib.lua:137>
(tail call): ?
scripts/copy_output.lua:54: in main chunk
[C]: ?
make: *** [Makefile:209: all] Error 1
Build step 'Execute shell' marked build as failure
[Set GitHub commit status (universal)] ERROR on repos [] (sha:f774cab) with context:gluon-site-ffhb
Skipped archiving because build is not successful
[PostBuildScript] - [INFO] Executing post build scripts.
[PostBuildScript] - [INFO] Build does not have any of the results [SUCCESS]. Did not execute build step #0.
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] done