Files
poky/meta/recipes-devtools
Hongxu Jia 19ac10a86d dpkg-native:fix dpkg-scanpackages error at deb image creation time on Fedora 17
Invoking dpkg-scanpackages on Fedora 17 to build deb image meets such an error:

Can't locate Dpkg.pm in @INC  (@INC contains: /usr/local/lib64/perl5 /usr/loc
al/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr
/lib64/perl5 /usr/share/perl5.) at tmp/sysroots/x86_64-linux/usr/bin/dpkg-sca
npackages line 27.

1. The dpkg-scanpackages is invoked at deb image creation time and it is built
by dpkg-native. The dpkg-scanpackages is a perl script and import module `Dpkg'.

2. The Dpkg.pm has been installed in perl's staging dir at dpkg-native compiling
time. Such as `tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/Dpkg.pm'

3. The dpkg-native uses create_wrapper to relocate to perl-native if perl-native
has been built. If perl-native isn't built, it will use the host Dpkg as default.

4. If dpkg-native is built on a new build envionment which means perl-native doesn't
exist before, and the build system doesn't install dpkg (such as Fedora 17), the
dpkg-scanpackages could not work correctly.

5. Modify dpkg-native's depends, change `perl-native-runtime' to `perl-native', Let
perl-native automatically be built before building dpkg-native.

[YOCTO #3817]

(From OE-Core rev: 7d194e72ee12cb6690bf07a8423cb461dd210719)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01 15:54:00 +00:00
..
2013-01-07 11:09:36 +00:00
2013-01-07 13:50:40 +00:00
2013-01-07 13:38:29 +00:00
2012-01-03 12:14:31 +00:00
2013-01-28 12:29:32 +00:00
2012-12-19 17:54:54 +00:00
2013-01-18 13:28:10 +00:00
2011-11-29 11:22:04 +00:00
2013-01-28 14:49:05 +00:00
2013-01-10 23:43:10 +00:00
2013-01-25 12:42:48 +00:00
2013-01-07 13:38:27 +00:00
2012-12-13 15:18:42 +00:00
2012-11-24 15:12:35 +00:00
2012-12-26 11:34:09 +00:00
2013-01-07 14:30:50 +00:00
2011-12-08 15:24:32 +00:00
2012-08-19 10:46:39 +01:00
2013-01-28 12:29:30 +00:00