[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiarching perl

+++ Niko Tyni [2012-09-24 09:48 +0300]:
> On Mon, Sep 24, 2012 at 01:41:48AM +0100, Wookey wrote:
> > +++ Niko Tyni [2012-09-21 22:13 +0300]:
> > > I've pushed the current state on the 'ntyni/multiarch-5.14' branch of
> > >  git://git.debian.org/perl/perl.git
> > >
> > > This is work in progress, no guarantees about not rewriting history yet.
> > 
> > OK. Do you expect that to build as it stands?
> Yes, it does build for me on sid/amd64. No special tricks should be
> necessary. It also built on i386 when I was at it in August, but haven't
> verified that now.

OK. BTW I note that a rebuild trips over two uncleaned files: t/*.tmp

> > LD_LIBRARY_PATH=/home/wookey/linaro/multiarch/packages/perlgit${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH 
> >  cc -o perl  -Wl,-z,relro -fstack-protector -L/usr/local/lib -Wl,-E
> >  perlmain.o  libperl.so.5.14.2 cat ext.libs -ldl -lm -lpthread -lc -lcrypt 
> > Can't locate File/Spec.pm in @INC (@INC contains: /etc/perl
> >  /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
> >  /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.14
> >  /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/bin/gcc.real line 4.
> > BEGIN failed--compilation aborted at /usr/bin/gcc.real line 4.
> It looks like your /usr/bin/gcc.real is a perl script? 

Well, /usr/bin/gcc points to /usr/bin/gcc-4.7 which points to
/usr/bin/hardened-cc, and that is a perl script. Turns out to come
from the hardening-wrapper package.

Removing it does indeed result in a successful build. So I'll have a
go with that.

> thing makes it pick up the new libperl with a new @INC instead of the old one,
> but things aren't installed into the new @INC yet.
> IOW, sorry, I'm not supporting that right now :)

Perhaps perl should build-conflict with hardening-wrapper? Shall I
report a bug as a reminder of the issue?

Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM

Reply to: