[Bug 1875412] Re: netplan.io: ftbfs with GCC 10
Lukas Märdian
1875412 at bugs.launchpad.net
Thu Sep 10 08:04:57 UTC 2020
** Changed in: netplan
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1875412
Title:
netplan.io: ftbfs with GCC 10
Status in netplan:
Fix Released
Status in netplan.io package in Ubuntu:
Fix Released
Status in netplan.io package in Debian:
Confirmed
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,libnetplan.so.0.0 -g -fPIC -std=c99 -D_XOPEN_SOURCE=500 -DSBINDIR=\"/usr/sbin\" -Wall -Werror -g -O2 -fdebug-prefix-map=/home/andrewsh/projects/netplan.io=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -o libnetplan.so.0.0 parse.o util.o validation.o error.o `pkg-config --libs yaml-0.1`
/usr/bin/ld: validation.o:./src/parse.h:34: multiple definition of `missing_id'; parse.o:./src/parse.h:34: first defined here
/usr/bin/ld: validation.o:./src/parse.h:35: multiple definition of `missing_ids_found'; parse.o:./src/parse.h:35: first defined here
/usr/bin/ld: validation.o:./src/parse.h:28: multiple definition of `current_file'; parse.o:./src/parse.h:28: first defined here
/usr/bin/ld: error.o:./src/parse.h:28: multiple definition of `current_file'; parse.o:./src/parse.h:28: first defined here
/usr/bin/ld: error.o:./src/parse.h:35: multiple definition of `missing_ids_found'; parse.o:./src/parse.h:35: first defined here
/usr/bin/ld: error.o:./src/parse.h:34: multiple definition of `missing_id'; parse.o:./src/parse.h:34: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:42: libnetplan.so.0.0] Error 1
See also: https://bugs.debian.org/957603
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1875412/+subscriptions
More information about the foundations-bugs
mailing list