Git Product home page Git Product logo

perl-cross-debian's Introduction

perl-cross-debian

Long term maintenance of cross-build support for the Debian configuration of perl.

n.b. this code is, as yet, unreleased and relies on patches which have not yet been applied upstream (to both perl and the Debian perl packaging). See the todo list in the doc directory.

See also: linux.codehelp.co.uk/serendipity

  1. perl-cross-debian is restricted to cross-build support of perl using the Debian configuration of the specific version of perl available in Debian.
  2. all build-dependencies of the perl package in Debian need to be installed when using perl-cross-debian to cross-build perl, as well as whatever cross-build dependencies may be required.
  3. perl-cross-debian doesn't mandate the use of dpkg-cross style or MultiArch style cross-dependencies but some paths may only suit dpkg-cross style packages.
  4. perl-cross-debian provides a helper script which expects to be run by a modified debian/rules of the perl package and expects to be told which variant of perl is currently being built: static, debug or shared.
  5. perl-cross-debian relies on many Debian-specific tools and programs, including dpkg-architecture, which are (and may likely remain) perl programs using the native perl interpreter on the system.
  6. perl-cross-debian is likely to require that the version of the native perl interpreter used in the build is the same version as the version of perl being cross-built.
  7. perl-cross-debian is now a Debian package.

perl-cross-debian's People

Contributors

codehelp avatar

Watchers

 avatar  avatar

Forkers

debian

perl-cross-debian's Issues

Failure with perl 5.16 armel cross

Sample failure from testing the version of perl from experimental in a chroot:

make[2]: Leaving directory `/home/perl-5.16.2/ext/B'
/usr/bin/perl make_ext.pl lib/auto/Compress/Raw/Bzip2/Bzip2.so MAKE=/usr/bin/make LIBPERL_A=libperl.a LINKTYPE=dynamic
    Making Compress::Raw::Bzip2 (all)

Running Makefile.PL in cpan/Compress-Raw-Bzip2
../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=dynamic
JSON::PP 2.27103 is not available
 at ../../lib/CPAN/Meta/Converter.pm line 23.
 at ../../lib/ExtUtils/MM_Any.pm line 822.
JSON::PP 2.27103 is not available
 at ../../lib/CPAN/Meta/Converter.pm line 23.
65280 from cpan/Compress-Raw-Bzip2's Makefile.PL at make_ext.pl line 409.
Warning: No Makefile!

That turns out to be the first of many failures if DEB_BUILD_OPTIONS="nocheck" is not set (I'll open a separate issue for that) the real 5.16 build failure is later:

      CCCMD =  arm-linux-gnueabi-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
arm-linux-gnueabi-gcc -o a2p -Wl,-z,relro -fstack-protector -L/usr/local/lib hash.o str.o util.o walk.o a2p.o -ldl -lm -lpthread -lc -lcrypt
../miniperl -I../lib s2p.PL
Extracting s2p (with variable substitutions)
Linking s2p to psed.
../miniperl -I../lib find2perl.PL
Extracting find2perl (with variable substitutions)

make[3]: Leaving directory `/home/perl-5.16.2/x2p'

    Everything is up to date. Type '/usr/bin/make test' to run test suite.
/usr/bin/perl installperl --destdir=  
Can't locate Carp.pm in @INC (@INC contains: lib) at lib/ExtUtils/Packlist.pm line 5.
BEGIN failed--compilation aborted at lib/ExtUtils/Packlist.pm line 5.
Compilation failed in require at installperl line 29.
BEGIN failed--compilation aborted at installperl line 29.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.