Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <berndkuhls@hotmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v11 2/9] perl: new package
Date: Tue, 30 Oct 2012 21:20:14 +0100	[thread overview]
Message-ID: <upcp6k.3q9.ln@bernd-kuhls.de> (raw)
In-Reply-To: 1350652434-32020-2-git-send-email-francois.perrad@gadz.org

Hi,

Francois Perrad <fperrad@gmail.com> wrote in
news:1350652434-32020-2-git-send-email-francois.perrad at gadz.org: 

currently I am testing your patchset, but I found problems during 
compiling, some I could solve myself:

> +PERL_CONF_OPT = -des \

[...]

> +          -Dlibc=$(STAGING_DIR)/lib/libc.so \

I had to change this line to

             -Dlibc=$(STAGING_DIR)/usr/lib/libc.so.0 \

for usage with uClibc 0.9.33.2

[...]

> +          -Uoptimize

Here I had to add "-Ud_eaccess" to avoid a compilation bug.

Perl will still not finish to compile, stopping with this error message:

> LD_LIBRARY_PATH=/home/bernd/.fbr/build/output/build/perl-5.16.1 
/home/bernd/.fbr/build/output/build/perl-5.16.1/Cross/run-qemu-i386 
./miniperl -Ilib make_ext.pl cpan/Archive-Extract/pm_to_blib 
MAKE=/home/bernd/.fbr/build/output/host/usr/bin/make LIBPERL_A=libperl.so
>         Making Archive::Extract (all)
> 
> Creating Makefile.PL in cpan/Archive-Extract for Archive::Extract
> 
> Running Makefile.PL in cpan/Archive-Extract
> /home/bernd/.fbr/build/output/build/perl-5.16.1/Cross/run-qemu-i386 
../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none 
INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.so
> -1 from cpan/Archive-Extract's Makefile.PL at make_ext.pl line 409.
> Warning: No Makefile!
> /home/bernd/.fbr/build/output/host/usr/bin/make config PERL_CORE=1 
LIBPERL_A=libperl.so failed, continuing anyway...
> Making all in cpan/Archive-Extract
> /home/bernd/.fbr/build/output/build/perl-5.16.1/Cross/run-qemu-i386 
/home/bernd/.fbr/build/output/host/usr/bin/make all PERL_CORE=1 
LIBPERL_A=libperl.so
> Unsuccessful make(cpan/Archive-Extract): code=-1 at make_ext.pl line 468.
> make[1]: *** [cpan/Archive-Extract/pm_to_blib] Fehler 22
> make[1]: Leaving directory `/home/bernd/.fbr/build/output/build/perl-
5.16.1'
> make: *** [/home/bernd/.fbr/build/output/build/perl-5.16.1/.stamp_built] 
Fehler 2

Executing the last command alone provides this error hinting at a problem 
with host-qemu, which I was able to solve yet.

$ /home/bernd/.fbr/build/output/build/perl-5.16.1/Cross/run-qemu-i386 
/home/bernd/.fbr/build/output/host/usr/bin/make all PERL_CORE=1 
LIBPERL_A=libperl.so
qemu: Unsupported syscall: 240
qemu: Unsupported syscall: 240

First I got this error message with Debian Squeeze i386 (virtualbox guest, 
Win XP host), but also on Debian wheezy amd64 running non-virtualized.

My .config can be found here: http://pastebin.com/yz1SzeB2
I am using buildroot as part of the FLI4L source package[1].

Kind regards, Bernd

[1] http://www.fli4l.de/download/tarball-version/aktuell.html

  reply	other threads:[~2012-10-30 20:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19 13:13 [Buildroot] [PATCH v11 1/9] host-qemu: new package Francois Perrad
2012-10-19 13:13 ` [Buildroot] [PATCH v11 2/9] perl: " Francois Perrad
2012-10-30 20:20   ` Bernd Kuhls [this message]
2012-11-05 16:41     ` François Perrad
2012-11-06  1:05       ` Arnout Vandecappelle
2012-11-06  7:08         ` Thomas Petazzoni
2012-11-06 10:28           ` Alexander Khryukin
2012-11-06 21:09           ` Bernd Kuhls
2012-11-06 22:59             ` Arnout Vandecappelle
2012-11-07 19:32               ` Bernd Kuhls
2012-11-08 15:04                 ` Arnout Vandecappelle
2012-11-06 21:03         ` Bernd Kuhls
2012-11-06 10:24       ` François Perrad
2012-11-06 16:23         ` François Perrad
2012-11-08 18:02           ` François Perrad
2012-10-19 13:13 ` [Buildroot] [PATCH v11 3/9] perl: add DB_File Francois Perrad
2012-10-19 13:13 ` [Buildroot] [PATCH v11 4/9] gdbm: new package Francois Perrad
2012-10-19 13:13 ` [Buildroot] [PATCH v11 5/9] perl: add GDBM_File Francois Perrad
2012-10-19 13:13 ` [Buildroot] [PATCH v11 6/9] perl: add option "custom install" Francois Perrad
2012-10-19 13:13 ` [Buildroot] [PATCH v11 7/9] perl: prepare the removal of microperl Francois Perrad
2012-10-19 13:13 ` [Buildroot] [PATCH v11 8/9] cpanminus: new package Francois Perrad
2012-10-19 13:13 ` [Buildroot] [PATCH v11 9/9] microperl: remove it Francois Perrad
2012-11-03 16:10 ` [Buildroot] [PATCH v11 1/9] host-qemu: new package Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=upcp6k.3q9.ln@bernd-kuhls.de \
    --to=berndkuhls@hotmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox