netplan.io: ftbfs with GCC 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
Undecided
|
Unassigned | ||
netplan.io (Debian) |
Fix Released
|
Unknown
|
|||
netplan.io (Ubuntu) |
Fix Released
|
High
|
Lukas Märdian |
Bug Description
Netplan fails to link with GCC 10 due to a repeated non-extern variable declaration in a header used across multiple source files.
cc -shared -Wl,-soname,
/usr/bin/ld: validation.
/usr/bin/ld: validation.
/usr/bin/ld: validation.
/usr/bin/ld: error.o:
/usr/bin/ld: error.o:
/usr/bin/ld: error.o:
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:42: libnetplan.so.0.0] Error 1
See also: https:/
Related branches
- Łukasz Zemczak: Pending requested
-
Diff: 8185 lines (+5730/-508)45 files modifiedMakefile (+3/-2)
doc/netplan.md (+298/-74)
examples/sriov.yaml (+14/-0)
examples/sriov_vlan.yaml (+18/-0)
examples/static.yaml (+2/-2)
netplan/cli/commands/apply.py (+91/-17)
netplan/cli/commands/try_command.py (+2/-2)
netplan/cli/ovs.py (+168/-0)
netplan/cli/sriov.py (+32/-18)
netplan/cli/utils.py (+32/-0)
netplan/configmanager.py (+32/-0)
src/generate.c (+14/-2)
src/networkd.c (+114/-32)
src/networkd.h (+2/-0)
src/nm.c (+109/-26)
src/openvswitch.c (+484/-0)
src/openvswitch.h (+24/-0)
src/parse.c (+763/-241)
src/parse.h (+56/-4)
src/sriov.c (+40/-0)
src/sriov.h (+21/-0)
src/util.c (+29/-0)
src/util.h (+6/-2)
src/validation.c (+155/-10)
src/validation.h (+3/-0)
tests/generator/base.py (+54/-0)
tests/generator/test_args.py (+18/-4)
tests/generator/test_bonds.py (+42/-0)
tests/generator/test_common.py (+194/-1)
tests/generator/test_errors.py (+69/-1)
tests/generator/test_ethernets.py (+23/-7)
tests/generator/test_ovs.py (+1021/-0)
tests/generator/test_routing.py (+145/-17)
tests/generator/test_tunnels.py (+477/-5)
tests/generator/test_wifis.py (+143/-0)
tests/integration/base.py (+6/-4)
tests/integration/ethernets.py (+38/-0)
tests/integration/ovs.py (+559/-0)
tests/integration/routing.py (+76/-21)
tests/integration/tunnels.py (+71/-0)
tests/test_configmanager.py (+21/-0)
tests/test_ovs.py (+129/-0)
tests/test_sriov.py (+55/-12)
tests/test_utils.py (+73/-0)
tests/validate_docs.sh (+4/-4)
- Łukasz Zemczak: Approve
-
Diff: 188 lines (+95/-15)6 files modifieddebian/changelog (+9/-0)
debian/patches/0002-Fix-process_link_changes-handling-up-interfaces.patch (+0/-1)
debian/patches/0003-Call-daemon-reload-after-we-touched-systemd-unit-fil.patch (+1/-5)
debian/patches/0004-Fix-autopkgtest-on-arm64-with-NM-1.24-146.patch (+5/-9)
debian/patches/0005-Fix-GCC-10-fno-common-linker-errors-LP-1875412-155.patch (+79/-0)
debian/patches/series (+1/-0)
Changed in netplan.io (Debian): | |
importance: | Unknown → Medium |
Changed in netplan.io (Debian): | |
importance: | Medium → Unknown |
status: | Unknown → Confirmed |
Changed in netplan: | |
status: | New → Fix Committed |
Changed in netplan.io (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Lukas Märdian (slyon) |
Changed in netplan.io (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: id-5f1eb46315949c285f724d27 |
Changed in netplan: | |
status: | Fix Committed → Fix Released |
Changed in netplan.io (Debian): | |
status: | Confirmed → Fix Released |
A fix is available here: https:/ /github. com/CanonicalLt d/netplan/ pull/155