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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867316

Title:
  Almost global FTFBS due to dropping include-fixed dir in 9.3.0-1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to