Wind River Support Network

HomeDefectsLIN7-3982
Fixed

LIN7-3982 : Failed to build preempt-rt kernel for altera-socfpga

Created: Jun 9, 2015    Updated: Sep 8, 2018
Resolved Date: Jun 10, 2015
Found In Version: 7.0
Fix Version: 7.0.0.7
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: BSP

Description

Failed to build preempt-rt kernel for altera-socfpga on latest git and wrlinux70 RCPL0006 LX15, but build is good with standard kernel, both kernel are good for another bsp ti-am335x.


$ configure --enable-board=altera-socfpga --enable-kernel=preempt-rt --enable-rootfs=glibc_std --enable-parallel-pkgbuilds=38 --enable-jobs=38 --enable-reconfig=yes  && make -C build linux-windriver

Key logs:

NOTE: Executing RunQueue Tasks
Setting up host-cross and links
Setting up packages link
Creating export directory
Creating project properties
Setting up host-cross and links
Setting up packages link
Creating export directory
Creating project properties
ERROR: Function failed: do_patch (log file is located at /altera-socfpga_rt/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver/3.14-r0/temp/do_patch/log.do_patch.30480)
ERROR: Logfile of failure stored in: /altera-socfpga_rt/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver/3.14-r0/temp/do_patch/log.do_patch.30480
Log data follows:
| DEBUG: Executing shell function do_patch
| Deleted branch meta-temp (was b7855f3).
| [INFO] validating against known patches  (altera-socfpga-preempt-rt-meta)
/altera-socfpga_rt/bitbake_build/tmp/work-shared/altera-socfpga/kernel-source/.git/rebase-apply/patch:24: space before tab in indent.
|  				 SDMMC_INT_HTO | SDMMC_INT_SBE  | \
| /altera-socfpga_rt/bitbake_build/tmp/work-shared/altera-socfpga/kernel-source/.git/rebase-apply/patch:25: space before tab in indent.
|  				 SDMMC_INT_EBE)
| warning: 2 lines add whitespace errors.
| /altera-socfpga_rt/bitbake_build/tmp/work-shared/altera-socfpga/kernel-source/.git/rebase-apply/patch:40: trailing whitespace.
| 
| /altera-socfpga_rt/bitbake_build/tmp/work-shared/altera-socfpga/kernel-source/.git/rebase-apply/patch:381: trailing whitespace.
| 
| /altera-socfpga_rt/bitbake_build/tmp/work-shared/altera-socfpga/kernel-source/.git/rebase-apply/patch:385: trailing whitespace.
| 
| /altera-socfpga_rt/bitbake_build/tmp/work-shared/altera-socfpga/kernel-source/.git/rebase-apply/patch:389: trailing whitespace.
| 
| /altera-socfpga_rt/bitbake_build/tmp/work-shared/altera-socfpga/kernel-source/.git/rebase-apply/patch:409: trailing whitespace.
| 
| warning: 5 lines add whitespace errors.
| /altera-socfpga_rt/bitbake_build/tmp/work-shared/altera-socfpga/kernel-source/.git/rebase-apply/patch:39: trailing whitespace.
| 
| error: patch failed: drivers/mtd/devices/m25p80.c:41
| error: drivers/mtd/devices/m25p80.c: patch does not apply
| ERROR. could not update git tree
| ERROR. Could not apply patches for altera-socfpga.
|        Patch failures can be resolved in the devshell (bitbake -c devshell linux-windriver)
| WARNING: /altera-socfpga_rt/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver/3.14-r0/temp/do_patch/run.do_patch.30480:176 exit 1 from
|   exit 1
| ERROR: Function failed: do_patch (log file is located at /altera-socfpga_rt/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver/3.14-r0/temp/do_patch/log.do_patch.30480)
ERROR: Task 4 (/altera-socfpga_rt/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.14.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 405 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE:   From shared state: 0
NOTE:   From scratch: 47
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /altera-socfpga_rt/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.14.bb, do_patch
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [linux-windriver] Error 1
make: Leaving directory `/altera-socfpga_rt/build'
wr-taf@pek-lpgtest12:altera-socfpga_rt>

Other Downloads


Live chat
Online