Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 803554

Summary: sys-apps/diffutils fails to build with sys-libs/glibc-2.34
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 803482    
Attachments: emerge --info
build log

Description Andreas K. Hüttel archtester gentoo-dev 2021-07-23 18:55:06 UTC
(this chroot is on glibc master, 10 days before glibc-2.34 release)


x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o c-stack.o c-stack.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o c-strcasecmp.o c-strcasecmp.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o c-strncasecmp.o c-strncasecmp.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o careadlinkat.o careadlinkat.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o cloexec.o cloexec.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o dirname.o dirname.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o basename.o basename.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o dirname-lgpl.o dirname-lgpl.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o basename-lgpl.o basename-lgpl.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o stripslash.o stripslash.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o exclude.o exclude.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o exitfail.o exitfail.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o fd-hook.o fd-hook.c
In file included from /usr/include/signal.h:328,
                 from ./signal.h:52,
                 from c-stack.c:49:
c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
      |                          ^~~~~~~~
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o file-type.o file-type.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o filenamecat.o filenamecat.c
x86_64-pc-linux-gnu-gcc  -I.      -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c -o filenamecat-lgpl.o filenamecat-lgpl.c
make[2]: *** [Makefile:1929: c-stack.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/sys-apps/diffutils-3.7-r1/work/diffutils-3.7/lib'
make[1]: *** [Makefile:1678: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-apps/diffutils-3.7-r1/work/diffutils-3.7/lib'
make: *** [Makefile:1361: all-recursive] Error 1
 * ERROR: sys-apps/diffutils-3.7-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2021-07-23 18:57:31 UTC
Created attachment 726139 [details]
emerge --info
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2021-07-23 18:57:48 UTC
Created attachment 726142 [details]
build log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-23 19:04:06 UTC
<@sam_> dilfridge: I think that bug you filed is in.. gnulib
<sam_> let me poke
<@sam_> https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=8e99f24c0931a38880c6ee9b8287c7da80b0036b
<@sam_> this will fix it in upstream HEAD: https://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=747551b880b5e7ea773feac20b5db261c75e4daa
<@sam_> (c-stack is from gnulib)

There's likely to be more of this in various other packages too, while the gnulib fixes filter down into repositories and eventually into releases...