Bug#543731: perl_5.10.1~rc2-1(hppa/experimental): FTBFS: Test lib/autodie/t/flock fails
Niko Tyni
ntyni at debian.org
Thu Aug 27 20:32:59 UTC 2009
On Thu, Aug 27, 2009 at 10:33:22AM +0200, Rafael Garcia-Suarez wrote:
> 2009/8/27 Paul Fenwick <pjf at perltraining.com.au>:
> > So ideally I'd only want to check for EAGAIN on hppa architectures. That
> > should be easy enough for me to detect at compile-time, however I don't have
> > a PA-RISC box handy to see how they identify themselves.
> >
> > If you do have one, could you give the output of:
> >
> > perl -MConfig -le'print $Config{archanme}'
>
> actually that's "archname" (and can be written more tersely as "perl
> -V:archname")
> Also, archname will contain other information (e.g. whether the perl
> has support for threads or not) so you need to test against the first
> component, which on Linux corresponds to the output of "uname -m".
Our build calls Configure with -Darchname=hppa-linux-gnu (the output of
$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)), resulting in
% perl -V:archname
archname='hppa-linux-gnu-thread-multi';
% uname -m
parisc64
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list