[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#934823: glibc needs an update for linux-5.2 kernel headers (alpha)



Package: src:glibc
Version: 2.28-10
Severity: sersious
Tags: sid bullseye patch

currently c-t-b-p ftbfs on alpha. A patch needs to be backported.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1836064

the c-t-b-ports package ftbfs:

/bin/bash ../scripts/move-if-change
/<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/gnu/lib-names.T
/<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/gnu/lib-names.h
touch /<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/gnu/lib-names.stmp
if test -r /<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/csu/abi-tag.h.new;
then mv -f /<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/csu/abi-tag.h.new
/<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/csu/abi-tag.h; \
else echo >&2 'This configuration not matched in ../abi-tags'; exit 1; fi
In file included from <stdin>:1:
../sysdeps/unix/sysv/linux/alpha/sysdep.h:54: error: "__NR_osf_shmat" redefined
[-Werror]
 #define __NR_osf_shmat 209

In file included from ../sysdeps/unix/sysv/linux/sys/syscall.h:24,
                 from ../sysdeps/unix/sysdep.h:20,
                 from ../sysdeps/unix/alpha/sysdep.h:19,
                 from ../sysdeps/unix/sysv/linux/alpha/sysdep.h:29,
                 from <stdin>:1:
/<<PKGBUILDDIR>>/glibc-2.29/debian/include/asm/unistd.h:8: note: this is the
location of the previous definition
 #define __NR_osf_shmat __NR_shmat

cc1: all warnings being treated as errors

a definition of __NR_osf_shmat was added during the 5.1 cycle:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=12b57c5c70f397a9410411d4e348096edada20f9

Looks like a fix has been applied to upstream glibc:

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d5ecee822e72a2fd156338ab2be2f2e70a1da55a


Reply to: