summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
AgeCommit message (Collapse)Author
2011-08-23recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj
Some place pnum=1 is used which is removed as well since striplevel=1 is default (From OE-Core rev: 4e108857e0d40105f7ecbc55e99bd6c367bb7386) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-19perl-native: Update find_perl to find the perl wrapperWenzong Fan
[YOCTO #1157] [YOCTO #829] This is a common issue to the packages which using 'MakeMaker.pm' to generate their Makefiles. The function 'find_perl()' in 'MM_Unix.pm' will be used to figure out the path/link of 'PERL/FULLPERL', but it always find the 'perl.real' instead of perl wrapper. Just update it to find the perl wrapper correctly. (From OE-Core rev: f1d4fb02d9952138acab6d647ce8975363dfdbab) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-03libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipeDongxiao Xu
It's not appropriate to require xxx.bb in xxx-native.bb, causing that xxx-native depends on target recipe. Use BBCLASSEXTEND to solve this issue. (From OE-Core rev: aa8f6b64055c6576bcdb63d3bbf9ab47b87c0d59) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESSKhem Raj
There is this discrepency in spelling. Lets fix it in core. There are lot of layers using SITEINFO_ENDIANNESS This was shielded since meta-oe had its own copy of siteinfo class. But that class has now been deleted in favor of oe-core (From OE-Core rev: 54a54778fad39931ac7d43daaf37ce7c1946a29b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25perl-dynloader.patch: Fix multilib issue for perlMei Lei
The perl-dynloader.patch can't support lib64 lib32, libx32, etc. Relax the regular expression to fix this issue. (From OE-Core rev: 7ebc7a5cb30e13217dc297994a6d9656b52bacba) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-21cpan.bbclass: Perform more mangling for perl pathTom Rini
On hosts where we may already be past the #! limit this is required and this is safe on the target as well. This is be7fe31 in oe.dev. Related to this we now bump all PRs for recipes that inherit cpan. Note that in oe.dev we mangle for perl but here we use the new nativeperl script. (From OE-Core rev: 682a213dc732074985bf86f508305fc6eafe18d9) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-21perl-native: Add a perl-native wrapper in the normal bindirTom Rini
We need this to allow for scripts to do #!/usr/bin/env perl-native and not require an 'inherit perlnative' per user of a package. (From OE-Core rev: 48c1e10f53894e666283aac086e61444d2c1ed69) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20perl: revise the RRECOMMENDS_perl-modules for multilib caseYu Ke
current RRECOMMENDS_perl-modules replace the hardcode "perl-dbg", "perl-misc" etc. which does not work in multilib case. Instead, it should replace the "lib64-perl-dbg", "lib-64-perl-misc". without doing this, current code will produce RRECOMMENDS=lib64-lib64-xxx etc This patch revise the code to fix this issue (From OE-Core rev: d76ede1e696d52c08ede8b6e539cb0895ee73b2f) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-14perl: Use SITEINFO variables not functionsTom Rini
Switch from SITEINFO_BITS / SITEINFO_ENDIANESS rather than siteinfo_get... (From OE-Core rev: 615f05dc46afa14ea4fca49a551278b92d2c99d3) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12perl: fix for non /usr/lib libdir caseYu Ke
the config.sh is hardcoded to be /usr/lib, which does not work in non /usr/lib libdir case. This patch replace the hard code /usr/lib with ${libdir} to fix this issue (From OE-Core rev: 603c5a241f0549da00334ac62dcbd1b0a72b6c82) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05libxml-parser-perl: convert to BBCLASSEXTEND, merge in OE fixesKoen Kooi
(From OE-Core rev: d0b55fb8115c5ad311ed5ad3192902f7746d5cca) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01perl: Fix package qa rpath warnings.Nitin A Kamble
Fix these kinds of Package QA warnings before they are converted into fetal errors: WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so This fixes this warning for perl recipe as well as libxml-parser-perl recipe. It is a fix to MakeMaker within perl, so all such perl recipes will get fixed with this perl fix. (From OE-Core rev: a67e0c0e01a22718a617a82f54575b77928249ee) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23libxml-parser-perl: Fix debug packageMark Hatle
Certain files were being missed in the -dbg package, fix this. (From OE-Core rev: 5b4bdf20c60ca625c059237b5d70b57c6643e6ec) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14perl-native: fix download urlAnders Darander
(From OE-Core rev: 92714eb3b08951eb1576e9370492ec3d4374ee75) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09libxml-simple-perl: fix EXTRA_PERLFLAGS due the the perlnative changeDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09libxml-parser-perl: inherit perlnativeDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09perl: inherit perlnativeDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09perl-native: populate into its own dirDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-05-17perl-native: create_wrapper on perl${PV} tooTom Rini
perl${PV} becomes hostperl when building for the target so we need a wrapper on that too. This is 1e255fbd296e95ff178d66c4a1fe4875a988d7e1 in OE. (From OE-Core rev: 8e601cfb307bc9064a2478a87ad3097e21871ff7) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-13recipes: Update upstream-status of patchesNitin A Kamble
python: update upstream-status for patches binutils: update upstream-status for patches gcc 4.5.1 4.6.0: update upstream-status for patches autoconf: update upstream-status for patches automake: update upstream-status for patches bison: update upstream-status for patches distcc: update upstream-status of patches fstests: update upstream-status for patches gdb: update upstream-status of patches intltool: update upstream-status of patches libtool: update upstream status of patches linux-libc-headers: update upstream-status for patches make: update upstream-status for patches perl: update upstream-status for patches python-pycurl: update upstream-status for patches python-pygobject: update upstream status for patches python-pyrex: update upstream-status for patches quilt: update upstream-status of patches tcl: update upstream-status for patches gnu-config: update upstream-status for patches gmp: update upstream-status for patches (From OE-Core rev: a62fa9b213b09bf48c48499d2e3c66a9ee306deb) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-05Remove distro-specific metadata for distros not in oe-corePaul Eggleton
(From OE-Core rev: ea2cd4b8e9bc013a007fe2a1a605ecb59db5a896) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-04perl: fix Configure-multilib.patchSaul Wold
Thanks to Gary Thomas for his input on fixing this for Ubuntu 11.04 (From OE-Core rev: 041a10722b7311c57a03d5a032621d8c32e4fc7e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-04perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alphaKhem Raj
Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and /lib/${arch}-linux-gnu so we need that to be added to glibpth in Configure. Currently we set LD=ld in environment for recipes inheriting native class. This overrides the LD settings in the Makefiles of perl and it tries to link by calling ld which does not work since its using -l<x> on commandline and ubuntu linker seems not to look into the new location for these libraries. Its better to use gcc for linking here anyway [With tweak from Tom Rini to use CCLD, not LD] (From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7) (From OE-Core rev: 9260c1b9d04a88d15ab5376c7cd56f381fe3e53b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Further tweaks to Configure-multilib.patch for x86_64 vs x86 from Gary Thomas Cc: gary@mlbassoc.com Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28perl_5.12.2.bb: Undefine features not found in uclibcKhem Raj
[sgw: cleaned whitespace issue, removed unneeded ;patch=1] (From OE-Core rev: b868f6784f57db569bf300722324b3c8869de7bc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28perl_5.12.2.bb: Undefine features not found in uclibcKhem Raj
(From OE-Core rev: 75fea9d4064985de26316021e0fc4fd81fa341ef) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28perl: upgrade from 5.12.2 to 5.12.3Nitin A Kamble
And changed the perl tarball URL to more stable cpan location. (From OE-Core rev: 3a08c401f298095840a2aee9079845f5ff434410) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24libxml-parser-perl: upgrade from 2.36 to 2.40Nitin A Kamble
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24perl-5.12.2: use of PERLHOSTLIB var fixNitin A Kamble
PERLHOSTLIB var is used to build target perl. It let perl use the native perl .so module files at the time of compilation of target perl. These changes to perl make the PERLHOSTLIB variable also useful for building perl modules to use native .so perl module. (From OE-Core rev: f4d51e63c0df777bbcbe9ad160eb3ba41ae74c6e) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-08liburi-perl: update to 1.58Saul Wold
(From OE-Core rev: 26b5332372513bfd70abd8d8e5fe0a5880eb0791) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alphaKhem Raj
Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and /lib/${arch}-linux-gnu so we need that to be added to glibpth in Configure. Currently we set LD=ld in environment for recipes inheriting native class. This overrides the LD settings in the Makefiles of perl and it tries to link by calling ld which does not work since its using -l<x> on commandline and ubuntu linker seems not to look into the new location for these libraries. Its better to use gcc for linking here anyway [With tweak from Tom Rini to use CCLD, not LD] (From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14Update SRC_URIs to use BPN instead of PNRichard Purdie
[YOCTO #860] (From OE-Core rev: 09ed5de9624be38c0fa5cb3f943691c3b4a50686) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-11perl: another set of parallel build fixesNitin A Kamble
[YOCTO #784] Imported more commits from the perl upstream tree (From OE-Core rev: c3b74b0c3833541ab5e89a7f9597f1ef8a413a70) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-25libxml-parser-perl: remove FILES_${PN}Jingdong Lu
Because of the error path in FILES_${PN} we got nothing in libxml-parser-perl package. Romove "FILES_${PN}" [sgw Bump PR] Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-24perl: import parallel build fixes from upstream git treeNitin A Kamble
The parallel build issue is fixed in the upstream perl git tree differently. Replacing our fix with the upstream fix. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-22Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-17perl-native: fix parallel buildNitin A Kamble
perl native recipe was failing on 40-way system with the parallel build turned on. With this patch the parallel build on 40 way build system is not failing. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Passed 31 clean/build cycles on the 40-way. Tested-by: Darren Hart <dvhart@linux.intel.com>
2011-02-16perl perl-native: turn on parallel makeNitin A Kamble
tested this on all architectures, and build works fine. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-01Revert "perl-native: Update for userelocatableinc and non-shared libperl"Richard Purdie
This reverts commit fe59ca31ac267ecd2dc3a8f2fb9ad5297b88f62c. This broke builds for various people as reported in the bugzilla and on the mailing list so we're reverting the change until Tom has a chance to make it work properly for 5.12 (5.10 seems to work differently). The DEPENDS change is left in since that part was valid.
2011-01-31perl-native: Update for userelocatableinc and non-shared libperlTom Rini
Rather than using a wrapper switch to using upstreams support for relocation. While in here, bring in the mangling to use /usr/bin/env perl rather than /full/path/to in order to work in deep directory paths. Also drop the DEPENDS on gpbm and db since we disable these in the configure and don't use them. Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27perl: Remove ${MACHINE} dependency in compile and package.Dongxiao Xu
The judgement on ${MACHINE} is meaningless, remove it in order to avoid being rebuild on second machine. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-01-26perl: Remove MACHINE reference in do_configure, it causes perl to be rebuild ↵Richard Purdie
many times Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-25liburi-perl: Rename liburi-perlJingdong Lu
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-01-20perl: Add GDBM module for perlJingdong Lu
Add GDBM_File module and add it into perl extension in config.sh in order to fix failure of lsb-perl-test. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-01-17perl-native: Ensure the wrapper appends to any existing PERL5LIBRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-12perl-native: Wrap the perl binary and set the LIB directory correctly ↵Richard Purdie
removing the need to hardcode the paths and rebuild it Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-12libxml-simple-perl: fix build failure with perl 5.12.2Nitin A Kamble
for hostperl needing to load .so files (for module scalar::util) the host/native perl library path is placed 1st in the @INC with the -I parameter to perl. Otherwise hostperl gives error can not load module scalar::util. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-01-12perl, perl-native: upgrade from 5.8.8 to 5.12.2Nitin A Kamble
Deleted these patches as they are part of the upstream code now. deleted: files/perl-5.8.8-gcc-4.2.patch deleted: perl-5.12.2/makedepend-dash.patch deleted: perl-5.12.2/native-no-gdbminc.patch deleted: perl-5.12.2/54_debian_perldoc-r.patch And rebased these patches to the newer source code modified: files/letgcc-find-errno.patch modified: perl-5.12.2/Makefile.patch modified: perl-5.12.2/asm-pageh-fix.patch modified: perl-5.12.2/native-nopacklist.patch modified: perl-5.12.2/native-perlinc.patch modified: perl-5.12.2/Makefile.SH.patch modified: perl-5.12.2/installperl.patch modified: perl-5.12.2/perl-dynloader.patch modified: perl-5.12.2/09_fix_installperl.patch get patches from debian perl ver 5.12.2-2 the fakeroot.diff patch from debian is conflicting with our Makefile.SH.patch, hence disabling the fakeroot patch use newly created config files Created with current milestone branch on qemu machines modified: config.sh modified: config.sh-32 modified: config.sh-64 get some changes from oe's perl 5.10.1 recipe fix the Makefile.SH.patch use miniperl instead of perl import a OE 5.10.1 patch: uudmap_cross fix install issues add /usr in the destdir, so that perl gets installed in /usr/bin/perl and not in /bin/perl link /usr/lib/perl to /usr/lib/perl5 so that operations with /usr/lib/perl path in them keep on working. Fix/Improve perl packaging avoid perl-module-module-* kind of packages recreate perl-rdepends_5.12.2.inc file with new set of packages import from oe perl-rprovide_5.12.2.inc combine all unicore perl scripts in one package simplify perl-lib reduce no of perl recipe packages greatly. Add zlib to depedancy fix buildtime host contamination This also fixes [BUGID #384] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-01-07perl: use ${CCLD} instead of its own LD definitionKevin Tian
perl explicitly assigns LD to a bogus value: oe_runmake perl LD="${TARGET_SYS}-gcc" which breaks sstate-based build when toolchain is not generated locally, due to lacking of --sysroot option. Use ${CCLD} instead to make this relocatable. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-12-23perl: Add LIC_FILES_CHKSUM to native recipeSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>