Wind River Support Network

HomeDefectsLIN6-8783
Fixed

LIN6-8783 : XMU03: feature/archiver in patched mode fails

Created: Nov 20, 2014    Updated: Dec 3, 2018
Resolved Date: Dec 9, 2014
Found In Version: 6.0.0.13
Fix Version: 6.0.0.16
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

Hi, 
We are trying to use the archiver feature (i.e. --with-template=feature/archiver) in WR Linux 6 RCPL 13. 
After configure step we put ARCHIVER_MODE[src] = "patched" in the local.conf. 

The build fails during build of libpam package, see below: 

Note that with 'original' ARCHIVER_MODE it seemed OK - build completed and there was source tarballs and .patch files, but we wanted to rather have the tarball only with patched source there. 

Also note that even looking in 'patched' mode in some of the tarballs that were created before it failed, there were files that were symbolic links to files that were actually in the local build directory. This is not OK.

DEBUG: Executing python function patch_do_patch 
NOTE: Applying patch 'libpam-xtests.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/libpam-xtests.patch) 
NOTE: Applying patch 'destdirfix.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/destdirfix.patch) 
NOTE: Applying patch 'fixsepbuild.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/fixsepbuild.patch) 
NOTE: Applying patch 'reflect-the-enforce_for_root-semantics-change-in-pam.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/reflect-the-enforce_for_root-semantics-change-in-pam.patch) 
NOTE: Applying patch 'add-checks-for-crypt-returning-NULL.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/add-checks-for-crypt-returning-NULL.patch) 
NOTE: Applying patch 'libpam-fix-for-CVE-2010-4708.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/libpam-fix-for-CVE-2010-4708.patch) 
NOTE: Applying patch 'pam-security-abstract-securetty-handling.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/pam-security-abstract-securetty-handling.patch) 
NOTE: Applying patch 'pam-unix-nullok-secure.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/pam-unix-nullok-secure.patch) 
NOTE: Applying patch '0001-pam_timestamp-fix-potential-directory-traversal-issu.patch' (../layers/oe-core/meta/recipes-extended/pam/libpam/0001-pam_timestamp-fix-potential-directory-traversal-issu.patch) 
NOTE: Applying patch 'pam-1.0.90-redhat-modules.patch' (../layers/wr-base/recipes-extended/pam/libpam/pam-1.0.90-redhat-modules.patch) 
NOTE: Applying patch 'pam-1.1.0-console-nochmod.patch' (../layers/wr-base/recipes-extended/pam/libpam/pam-1.1.0-console-nochmod.patch) 
DEBUG: Attempting to spawn terminal "custom" 
DEBUG: No custom terminal (OE_TERMINAL_CUSTOMCMD) set 
DEBUG: Attempting to spawn terminal "tmux-running" 
DEBUG: Attempting to spawn terminal "gnome" 
DEBUG: Attempting to spawn terminal "konsole" 
DEBUG: Attempting to spawn terminal "mate" 
DEBUG: Attempting to spawn terminal "xfce" 
DEBUG: Attempting to spawn terminal "rxvt" 
DEBUG: Attempting to spawn terminal "xterm" 
DEBUG: Attempting to spawn terminal "tmux" 
NOTE: Applying patch 'pam_console_deps.patch' (../layers/wr-base/recipes-extended/pam/libpam/pam_console_deps.patch) 
DEBUG: Attempting to spawn terminal "custom" 
DEBUG: No custom terminal (OE_TERMINAL_CUSTOMCMD) set 
DEBUG: Attempting to spawn terminal "tmux-running" 
DEBUG: Attempting to spawn terminal "gnome" 
DEBUG: Attempting to spawn terminal "konsole" 
DEBUG: Attempting to spawn terminal "mate" 
DEBUG: Attempting to spawn terminal "xfce" 
DEBUG: Attempting to spawn terminal "rxvt" 
DEBUG: Attempting to spawn terminal "xterm" 
DEBUG: Attempting to spawn terminal "tmux" 
ERROR: Unable to spawn terminal auto: Execution of '/repo/eanhedl/git/cpri_splitter-yocto/build/build_xmu03_xmu03-rootfs-image/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/libpam/1.1.6-r3/archiver-work//temp/do_terminal/run.do_terminal.19865' failed with exit code 1: 
duplicate session: devshell-19865 

Other Downloads


Live chat
Online