Hmm, there is a very suspicious dir showing up: echo "#include <limits.h>" | gcc -E -Wp,-v - ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-linux-gnu/9/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed /usr/include/x86_64-linux-gnu /usr/include
=> /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed And that is where it is pulling the header from: test.e:12:# 1 "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed/limits.h" 1 3 4 That is missing on the other arch! x86: $ dpkg -S /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed/limits.h $ dpkg -l libgcc-9-dev ii libgcc-9-dev:amd64 9.2.1-30ubuntu2 amd64 GCC support library (development files) On s390 it has the same package version, but it misses that -fixed dir. root@f:~/chrony-3.5# ll -d1 /usr/lib/gcc/*-linux-gnu/9/incl* drwxr-xr-x 3 root root 101 Mar 2 09:50 /usr/lib/gcc/x86_64-linux-gnu/9/include/ drwxr-xr-x 3 root root 7 Mar 2 09:50 /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed/ ubuntu@focal-ftbfs:~/chrony-3.5$ ll -d1 /usr/lib/gcc/*-linux-gnu/9/incl* drwxr-xr-x 3 root root 4096 Mar 13 07:31 /usr/lib/gcc/s390x-linux-gnu/9/include/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1867316 Title: Almost global FTFBS due to dropping include-fixed dir in 9.3.0-1 Status in chrony package in Ubuntu: Invalid Status in gcc-9 package in Ubuntu: Confirmed Status in glibc package in Ubuntu: Invalid Status in linux package in Ubuntu: Invalid Bug description: This seems an almost global FTBFS with anything that includes limits.h $ cat > test.c << EOF > /* > * Test FTBFS 1867316 > */ > > #include <limits.h> > EOF ubuntu@focal-ftbfs:~/chrony-3.5$ gcc -c test.c In file included from test.c:5: /usr/include/limits.h:124:26: error: no include path in which to search for limits.h 124 | # include_next <limits.h> | ^ Interestingly this fails on armhf/ppc64/s390x but works on x86. --- started as a chrony FTBFS despite tetsing a few hours before --- For bug 1866753 we built this yesterday in a proposed PPA and things worked! Now today on the final upload it failed to build on armhf/ppc64/s390x. In file included from /usr/include/powerpc64le-linux-gnu/sys/param.h:26, from /usr/include/resolv.h:56, from nameserv.c:34: /usr/include/limits.h:124:26: error: no include path in which to search for limits.h 124 | # include_next <limits.h> | ^ make[1]: *** [Makefile:108: nameserv.o] Error 1 The same error on all of them. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1867316/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp