The build also works fine in Debian unstable, which is using glib2.0 2.74.6-2.
Netplan is using plenty of GLib's keyfile functions (https://docs.gtk.org/glib/struct.KeyFile.html), which seem to producing a different output with this newer release (some strange line breaks injected in the middle of a keyfile).
Netplan FTBFS as of the latest release of glib2.0 (2.77.0-0ubuntu1) in mantic-proposed.
See: https:/ /launchpad. net/ubuntu/ +source/ netplan. io/0.106. 1-3
When I downgrade glib in my sbuild environment, everything works as expected:
$ apt install libglib2. 0-0=2.76. 3-1ubuntu1 libglib2. 0-bin=2. 76.3-1ubuntu1 libglib2. 0-dev=2. 76.3-1ubuntu1 libglib2. 0-dev-bin= 2.76.3- 1ubuntu1 libglib2. 0-data= 2.76.3- 1ubuntu1
The build also works fine in Debian unstable, which is using glib2.0 2.74.6-2.
Netplan is using plenty of GLib's keyfile functions (https:/ /docs.gtk. org/glib/ struct. KeyFile. html), which seem to producing a different output with this newer release (some strange line breaks injected in the middle of a keyfile).