Jan Synáček <jsynacek(a)redhat.com> writes:
Hello,
systemd rawhide builds started failing in koji [1]:
In file included from src/shared/firewall-util.c:23:0:
/usr/include/linux/if.h:71:2: error: redeclaration of enumerator 'IFF_UP'
IFF_UP = 1<<0, /* sysfs */
^
/usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here
IFF_UP = 0x1, /* Interface is up. */
^
/usr/include/linux/if.h:72:2: error: redeclaration of enumerator 'IFF_BROADCAST'
IFF_BROADCAST = 1<<1, /* __volatile__ */
^
/usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was
here
IFF_BROADCAST = 0x2, /* Broadcast address valid. */
^
...
$ rpm -qf /usr/include/linux/if.h /usr/include/net/if.h
kernel-headers-4.3.4-300.fc23.x86_64
glibc-headers-2.22-7.fc23.x86_64
Have there been any changes to these packages in regards to the include files?
[1]
https://kojipkgs.fedoraproject.org//work/tasks/8338/12698338/build.log
Also note that systemd failed during the mass rebuild because of the
same problem, which is really sad. What is even more sad is the line
that has been added into the changelog. It says "Rebuilt for <f24>",
which is simply not true.
--
Jan Synacek
Software Engineer, Red Hat