glibc needs an update for linux-5.2 kernel headers (alpha)

Bug #1836064 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Fix Released
High
Unassigned
Eoan
Fix Released
High
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Eoan
Fix Released
Undecided
Unassigned

Bug Description

as seen in
https://launchpad.net/ubuntu/+source/cross-toolchain-base-ports/30ubuntu2/+build/17249410

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
Traceback (most recent call last):
  File "../scripts/gen-as-const.py", line 120, in <module>
    main()
  File "../scripts/gen-as-const.py", line 116, in main
    consts = glibcextract.compute_c_consts(sym_data, args.cc)
  File "/<<PKGBUILDDIR>>/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
    subprocess.check_call(cmd, shell=True)
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'alpha-linux-gnu-gcc-8 -no-pie -fno-PIE -std=gnu11 -fgnu89-inline -pipe -O2 -g -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fno-stack-protector -Wstrict-prototypes -Wold-style-definition -fmath-errno -mlong-double-128 -mieee -mfp-rounding-mode=d -ftls-model=initial-exec -U_FORTIFY_SOURCE -isystem /<<PKGBUILDDIR>>/glibc-2.29/debian/include -I../include -I/<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/csu -I/<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc -I../sysdeps/unix/sysv/linux/alpha/alpha -I../sysdeps/unix/sysv/linux/alpha/fpu -I../sysdeps/alpha/fpu -I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/alpha/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /<<PKGBUILDDIR>>/debian/tmp.alpha/usr/bin/../lib/gcc-cross/alpha-linux-gnu/8/include -isystem /<<PKGBUILDDIR>>/debian/tmp.alpha/usr/bin/../lib/gcc-cross/alpha-linux-gnu/8/include-fixed -isystem /<<PKGBUILDDIR>>/glibc-2.29/debian/include -D_LIBC_REENTRANT -include /<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/tcb-offsets.h.dT -MT '/<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/tcb-offsets.h.d /<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/tcb-offsets.h' -S -o /tmp/tmpq06grbcg/test.s -x c - < /tmp/tmpq06grbcg/test.c' returned non-zero exit status 1.
make[4]: *** [../Makerules:271: /<<PKGBUILDDIR>>/glibc-2.29/build-tree/alpha-libc/tcb-offsets.h] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/glibc-2.29/csu'
make[3]: *** [Makefile:275: csu/subdir_lib] Error 2

Matthias Klose (doko)
tags: added: rls-ee-incoming
Revision history for this message
Seth Forshee (sforshee) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1836064

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Matthias Klose (doko) wrote : Re: linux-5.2 (?) breaks the c-t-b builds

no logs missing

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in glibc (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

keeping the glibc task open. the cross compiler builds with this change. needs a backport to glibc.

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in glibc (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
summary: - linux-5.2 (?) breaks the c-t-b builds
+ glibc needs an update for linux-5.2 kernel headers (alpha)
tags: added: id-5d275685e33375453e26b14b
tags: removed: rls-ee-incoming
Steve Langasek (vorlon)
tags: added: rls-ee-notfixing
Adam Conrad (adconrad)
Changed in glibc (Ubuntu Eoan):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.