Public bug reported:

Starting today fwupd 1.3.9-2 can't build due to unable to find limits.h
on ppc64el and s390x.

cc -Ilibfwupd/ec37581@@fwupd@sha -Ilibfwupd -I../libfwupd -I. -I../ 
-I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include 
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/json-glib-1.0 
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c99 
-Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wclobbered 
-Wdeclaration-after-statement -Wduplicated-branches -Wduplicated-cond 
-Wempty-body -Wformat=2 -Wformat-nonliteral -Wformat-security 
-Wformat-signedness -Wignored-qualifiers -Wimplicit-function-declaration 
-Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute 
-Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type 
-Wmissing-prototypes -Wnested-externs -Wno-cast-function-type 
-Wno-address-of-packed-member -Wno-unknown-pragmas -Wno-deprecated-declarations 
-Wno-discarded-qualifiers -Wno-missing-field-initializers -Wno-strict-aliasing 
-Wno-suggest-attribute=format -Wno-unused-parameter -Wnull-dereference 
-Wold-style-definition -Woverride-init -Wpointer-arith -Wredundant-decls 
-Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes 
-Wswitch-default -Wtype-limits -Wundef -Wuninitialized 
-Wunused-but-set-variable -Wunused-variable -Wvla -Wwrite-strings 
-fstack-protector-strong -D_DEFAULT_SOURCE -DFWUPD_DISABLE_DEPRECATED 
-D_BSD_SOURCE -D_XOPEN_SOURCE=700 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -pthread '-DG_LOG_DOMAIN="Fwupd"' 
'-DLOCALSTATEDIR="/var"' -MD -MQ 'libfwupd/ec37581@@fwupd@sha/fwupd-client.c.o' 
-MF 'libfwupd/ec37581@@fwupd@sha/fwupd-client.c.o.d' -o 
'libfwupd/ec37581@@fwupd@sha/fwupd-client.c.o' -c ../libfwupd/fwupd-client.c
In file included from /usr/lib/s390x-linux-gnu/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from ../libfwupd/fwupd-client.c:9:
/usr/include/limits.h:124:26: error: no include path in which to search for 
limits.h
  124 | # include_next <limits.h>
      |                          ^
In file included from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from ../libfwupd/fwupd-client.c:9:
../libfwupd/fwupd-client.c: In function ‘fwupd_client_helper_new’:
/usr/lib/s390x-linux-gnu/glib-2.0/include/glibconfig.h:38:20: error: 
‘ULONG_MAX’ undeclared (first use in this function)
   38 | #define G_MAXULONG ULONG_MAX
      |                    ^~~~~~~~~

** Affects: gcc-9 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  fwupd build can't find limits.h in s390x and ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1867303/+subscriptions

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

Reply via email to