Bug 2640 - dpkg-scanpackages: bad interpreter
Summary: dpkg-scanpackages: bad interpreter
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium major
Target Milestone: 1.3 M4
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard: (P2) (QA Testing Completed)(Done)
Depends on:
Blocks: 2434
  Show dependency tree
 
Reported: 2012-06-21 05:50 UTC by Robert Yang
Modified: 2012-07-20 03:06 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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