Bug 6338

Summary: kernel-sources misses asm/unistd_64.h
Product: Mageia Reporter: Thierry Vignaud <thierry.vignaud>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED OLD QA Contact:
Severity: major    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kernel CVE:
Status comment:

Description Thierry Vignaud 2012-06-05 11:36:16 CEST
kernel-sources misses asm/unistd_64.h which makes klibc build to fail.
Even mga1 klibc SRPM don't compile with kernel-3.4.x

Kernel-source3.3.x still provided it
3.4.x doesn't anymore.

However, without it, kernel-source package is unusable and break package build:

$ find /usr/src/ -name unistd.h|xargs fgrep unistd_64.h
/usr/src/linux-3.4.1-0.rc1.1.mga3/arch/x86/include/asm/unistd.h:#  include <asm/unistd_64.h>
/usr/src/linux-3.4.1-0.rc1.1.mga3/arch/x86/include/asm/unistd.h:#  include <asm/unistd_64.h>

Copying unistd_64.h from previous kernel is enough to unbreak build
Comment 1 Thomas Backlund 2012-06-05 12:12:55 CEST
Hm,
that file is autogenerated in 3.4 series wich means it gets removed from -source rpm as we ship the kernel-source tree as a clean "unprepared" tree.

isn't kernel-devel rpms enough to build klibc against?
Comment 2 Thierry Vignaud 2012-06-05 15:20:29 CEST
I fear not
Comment 3 Marja Van Waes 2015-04-18 20:51:52 CEST
Sorry, but this bug saw no action since over 2 yrs ago. 
No cauldron package has stayed the same since then.

Closing as OLD

Please reopen if this report is still valid for _current_ cauldron and/or fully
updated Mageia 4

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => OLD