Bug 1305725

Summary: FTBFS: Depmod failure during build on ppc64le
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: gansalmon, hannsj_uhl, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-25 19:41:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1071880, 1051573    

Description Karsten Hopp 2016-02-09 01:31:20 UTC
Description of problem:
kernel-4.5.0-0.rc2.git0.1.fc24 fails to build on ppc64le (succeeds on ppc64):

 + depmod -b . -aeF ./System.map 4.5.0-0.rc2.git0.1.fc24.ppc64le
Depmod failure
+ '[' -s depmod.out ']'
+ echo 'Depmod failure'
+ cat depmod.out
depmod: WARNING: /builddir/build/BUILDROOT/kernel-4.5.0-0.rc2.git0.1.fc24.ppc64le/./lib/modules/4.5.0-0.rc2.git0.1.fc24.ppc64le/kernel/arch/powerpc/platforms/powernv/opal-prd.ko needs unknown symbol .TOC.
depmod: WARNING: /builddir/build/BUILDROOT/kernel-4.5.0-0.rc2.git0.1.fc24.ppc64le/./lib/modules/4.5.0-0.rc2.git0.1.fc24.ppc64le/kernel/arch/powerpc/platforms/pseries/pseries_energy.ko needs unknown symbol .TOC.
...
...



Version-Release number of selected component (if applicable):
kernel-4.5.0-0.rc2.git0.1.fc24

How reproducible:
always

Steps to Reproduce:
1. ppc-koji build --scratch f24 kernel-4.5.0-0.rc2.git0.1.fc24.src.rpm
2.
3.

Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3124225

Expected results:


Additional info:
kernel-4.5.0-0.rc2.git3.1.fc24 fails with the same error.

Backing out the patch from https://lkml.org/lkml/2016/1/17/24  (included in patch-4.5-rc2.xz) fixes this issue

Comment 1 Peter Robinson 2016-02-09 16:06:34 UTC
Commit c153693d7eb9eeb28478aa2deaaf0b4e7b5ff5e9 was what caused this failure

https://lkml.org/lkml/2016/1/17/24

Comment 2 Karsten Hopp 2016-02-24 18:36:20 UTC
this issue had been fixed in kernel-4.5.0-0.rc3.git0.2.fc24 up to kernel-4.5.0-0.rc4.git3.1.fc24 and is now back again in kernel-4.5.0-0.rc5.git0.1.fc24:

http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3166528

Comment 3 Peter Robinson 2016-02-25 19:41:40 UTC
Fixed with kmod-22-4.fc24 plus kernel built against it