Bug 2640

Summary: dpkg-scanpackages: bad interpreter
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: devtools / tool chainAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Medium CC: liang.li2, liezhi.yang, meta.mr.watcher, meta.watcher, sgw, song.liu, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (P2) (QA Testing Completed)(Done)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 2434    

Description Robert Yang 2012-06-21 05:50:49 UTC
When use PACKAGE_CLASSES = "package_deb", and the length of tmpdir is 177, the error occurs during the image generation:

/too/long/path/totmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages: bad interpreter: No such file or directory

The interpreter is perl, and it does exist
Comment 2 liang li 2012-07-20 03:06:23 UTC
the build dir is "/home/yocto/test_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto/test_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto" ,which length equals 400.
and settings in conf/local.conf
PACKAGE_CLASSES = "package_deb" 
run "bitbake core-image-sato", no error during build.
Comment 3 liang li 2012-07-20 03:06:43 UTC
test env :
host :Fedora 17 x86_64

git info : eb0cb7e8234f5d2e5623406e9660be91cf52f65e
git branch: poky/master