Bug 132492

Summary: scripts/mod/modpost missing in kernel-source package?
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stefan Dirsch <sndirsch>
Component: KernelAssignee: Andreas Gruenbacher <agruen>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: aj
Version: Alpha 2plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Dirsch 2005-11-06 12:10:54 UTC
Looks like scripts/mod/modpost is missing in kernel-source packge in STABLE.
Result is that external modules cannot be compiled any longer. :-(

Examples:

--> /work/built/info/failed/i386/nvidia-gfx-1_0_7676
--> /work/built/info/failed/i386/ati-fglrx-8_16_20

modpost did exist in former kernel-source releases.

# rpm -ql kernel-source-2.6.13.3-2|grep "scripts/mod/modpost"
/usr/src/linux-2.6.13.3-2-obj/i386/bigsmp/scripts/mod/modpost
/usr/src/linux-2.6.13.3-2-obj/i386/debug/scripts/mod/modpost
/usr/src/linux-2.6.13.3-2-obj/i386/default/scripts/mod/modpost
/usr/src/linux-2.6.13.3-2-obj/i386/smp/scripts/mod/modpost
/usr/src/linux-2.6.13.3-2-obj/i386/xen/scripts/mod/modpost
/usr/src/linux-2.6.13.3-2/scripts/mod/modpost.c
/usr/src/linux-2.6.13.3-2/scripts/mod/modpost.h

#rpm -qp /work/CDs/all/full-i386/suse/i586/kernel-source.rpm
kernel-source-2.6.14_rc5-2
# rpm -qpl /work/CDs/all/full-i386/suse/i586/kernel-source.rpm |grep modpost
/usr/src/linux-2.6.14-rc5-2/scripts/Makefile.modpost
/usr/src/linux-2.6.14-rc5-2/scripts/mod/modpost.c
/usr/src/linux-2.6.14-rc5-2/scripts/mod/modpost.h

Please let me know when the build mechanism for external kernel modules has changed, so I can try to adjust these pacakges. BTW, I'm sure GPL kernel modules sources, which one wants to build, are affected as well.
Comment 1 Andreas Gruenbacher 2005-11-09 14:20:04 UTC
Adding a ``make scripts'' helped; this has changed since 2.6.13. Fixed in CVS HEAD.