KiCAD has a large package containing 3D component models. It takes a long time to
compress with the new zstd compressor. So long in fact that the copr build system is
throwing a timeout. You can see an example here:
https://download.copr.fedorainfracloud.org/results/@kicad/kicad/fedora-33...
Here is the text at the end of the above log - basically it times out when compressing the
3D models into the RPM file:
...
Wrote: /builddir/build/RPMS/kicad-debuginfo-r23934-fc2bdc49.fc33.x86_64.rpm
Wrote: /builddir/build/RPMS/kicad-r23934-fc2bdc49.fc33.x86_64.rpm
Wrote: /builddir/build/RPMS/kicad-doc-r23934-fc2bdc49.fc33.noarch.rpm
Wrote: /builddir/build/RPMS/kicad-debugsource-r23934-fc2bdc49.fc33.x86_64.rpm
!! Copr timeout => sending INT
Copr build error: Build failed
The package is named kicad-packages3d. Compressed size is around 390 Mbytes and
decompressed it is about 5.5 Gbytes. So far, only F33 is throwing the timeout; other
targets are successfully building the package. But I have no idea how close to a similar
problem those other targets may be.
Is there a way to increase the Copr builder timeout?
Alternatively, I could perhaps tell Copr not to use zstd for the 3D models, but I'd
hate to do that, given how large the resulting RPM would be. On my desktop I do use:
--rpmbuild-opts='--define=_binary_payload\ w3.zstdio'
to bypass the compression and expedite my testing.
Steve