ID: | 5844 |
From: | rn...@igor2.repo.hu |
Date: | Wed, 7 Sep 2022 15:12:19 +0200 (CEST) |
Subject: | [pcb-rnd] potential problem: parametric footprint/symbol with gawk 5.2.0 |
Hi all, there's a very recent release of gawk, v5.2.0, which fails to execute pcb-rnd's common_subc.awk. The error seems to be a bug in gawk. We've seen this happening to parametric footprints in pcb-rnd but parametric symbols in sch-rnd use a similar script so it's very likely to fail the same way. If you use parametric footprints or symbols, it's best not to upgrade to gawk 5.2.0 until this issue is resolved. If you have already upgraded, and parametrics stopped to work, please look at stderr, where you should see something like: awk: /usr/share/pcb-rnd/footprint/parametric/common_subc.awk:1035: fatal: internal error: file interpret.h, line 254: unexpected parameter type Node_val Workarounds: - do not upgrade gawk, or downgrade it; I have a 4.2.1 and it works fine - install another implementation of awk, e.g. mawk, and make sure /usr/bin/awk points to this implementation instead of gawk Thanks to barjac for reporting this problem. Best regards, Igor2
Reply subtree:
5844 [pcb-rnd] potential problem: parametric footprint/symbol with gawk 5.2.0 from rn...@igor2.repo.hu