Repro in nis with:
cd ./ypbind-mt-1.20.1/src/

x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -D_REENTRANT=1 -Wall
-DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\"
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O0
-Wall -g -MT ypbind_dbus_nm.o -MD -MP -MF .deps/ypbind_dbus_nm.Tpo -c -o
ypbind_dbus_nm.o ypbind_dbus_nm.c

Kind of related to https://mail.gnome.org/archives/networkmanager-
list/2016-January/msg00029.html

Adding a proper
-I/usr/include/NetworkManager
and including as
#include <NetworkManager.h>
would fix that.

But there might be more.
The latest upstream seems to have made plenty of changes around that.
Debian merged that recently lifting e.g. yp-tools from 1.20 to 1.38 which is a 
huge change.
 56 files changed, 5902 insertions(+), 3493 deletions(-)

The "offending" commit to NetworkManager is:
commit 780e9a3f436b5bb347275e1951f45a487b153e11
Author: Thomas Haller <[email protected]>
Date:   Fri Jul 17 15:45:10 2015 +0200
    libnm: include header in public header file with angle brackets


It seems time for a bigger merge next cycle but I don't know about the X/Y 
FTBFS yet.
nis is "only" universe - anybody having time to create and test a fix please 
feel free.
Putting it to the backlog for now.

** Changed in: nis (Ubuntu)
       Status: New => Triaged

** Changed in: nis (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1630462

Title:
  FTBFS on Xenial and Yakkety due to nm-version-macros.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nis/+bug/1630462/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to