Public bug reported:

The relevant portion of the build log for armhf [1] is :

make[4]: Entering directory '/<<PKGBUILDDIR>>/lib'
gcc -DHAVE_CONFIG_H -I. -I..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -I.. -I./.. -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/uucp-1.07-28build1 -Wall -g 
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -O2 -MT 
buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c
In file included from buffer.c:25:
../uucp.h:103:3: error: #error ANSI C compiler 
withou-D_LARGEFILE_SOURCE-D_LARGEFILE_SOURCEt void or unsigned char or 
prototypes
  103 |  #error ANSI C compiler without void or unsigned char or prototypes
      |   ^~~~~
make[4]: *** [Makefile:355: buffer.o] Error 1

Previous successful build [2] for the same architecture has the
following compiler command line:

gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I..
-I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fdebug-prefix-
map=/<<PKGBUILDDIR>>=/usr/src/uucp-1.07-28 -Wall -g -Wl,-Bsymbolic-
functions -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -O2
-MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c

So new flags added in current attempt to build are: -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -D_FORTIFY_SOURCE=3
-Werror=implicit-function-declaration -fno-stack-clash-protection

[1] 
https://launchpadlibrarian.net/724114099/buildlog_ubuntu-noble-armhf.uucp_1.07-28build1_BUILDING.txt.gz
[2] 
https://launchpadlibrarian.net/694347390/buildlog_ubuntu-noble-armhf.uucp_1.07-28_BUILDING.txt.gz

** Affects: uucp (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: uucp (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: ftbfs

** Bug watch added: Debian Bug tracker #1066434
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066434

** Also affects: uucp (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066434
   Importance: Unknown
       Status: Unknown

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

Title:
  FTBFS on armfh - error: #error ANSI C compiler without void or
  unsigned char or prototypes

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


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

Reply via email to