Ticket #1732 (new bug)

Opened 4 years ago

Last modified 4 years ago

[PATCH] Parrot Configure can't find pod2man and perldoc under a versiononly perl

Reported by: Ævar Arnfjörð Bjarmason <avarab@…> Owned by:
Priority: normal Milestone:
Component: configure Version: 2.6.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

Summary: [PATCH] Parrot Configure can't find pod2man and perldoc under
a versiononly perl
Reported by: avarab@gmail.com
---
Parrot can't find pod2man and perldoc under a versiononly perl. Which
will e.g. be installed by perlbrew.

I have a patch that fixes this in my GitHub fork of Parrot:
http://github.com/avar/parrot/compare/master...configure-versiononly.patch

Note that that may not cover some other bizarre cases. CPANPLUS has
some more tests at the bottom of its Makefile.PL that might be
interesting as reference for further work in this area.


---
osname= linux
osvers= 2.6.32.12-x86_64-linode12
arch=   x86_64-linux
cc=     cc
---
Flags:
    category=core
    severity=low
    ack=no
---
Summary of my parrot 2.6.0 (r48160) configuration:
  configdate='Thu Jul 22 13:57:33 2010 GMT'
  Platform:
    osname=linux, archname=x86_64-linux
    jitcapable=0, jitarchname=nojit,
    jitosname=linux, jitcpuarch=amd64
    execcapable=0
    perl=/home/v-perlbrew/perl5/perlbrew/perls/perl-5.13.2/bin/perl5.13.2
  Compiler:
    cc='cc', ccflags=' -pipe -fstack-protector -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHASATTRIBUTE_CONST
-DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC
-DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE
-DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT
-DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DHAS_GETTEXT',
  Linker and Libraries:
    ld='cc', ldflags=' -fstack-protector -L/usr/local/lib',
    cc_ldflags='',
    libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline '
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -O2 -L/usr/local/lib
-fstack-protector -fPIC',
    load_ext='.so', ld_load_flags='-shared -O2 -L/usr/local/lib
-fstack-protector -fPIC'
  Types:
    iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
    ptrsize=8,  byteorder=12345678,
    nv=double, numvalsize=8, doublesize=8, longdoublesize=16

---
Environment:
    HOME =/home/avar
    LANG =en_US.utf8
    LANGUAGE =en_US:en
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH =/home/v-perlbrew/perl5/perlbrew/bin:/home/v-perlbrew/perl5/perlbrew/perls/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/avar/g/misc-scripts:/home/avar/g/rtmpdump:/home/avar/src/dl/rakudo-star-2010.07/install/bin
    PERLDOC =-MPod::Text::Ansi
    SHELL =/bin/bash

Attachments

versiononly.patch Download (2.4 KB) - added by cotto 4 years ago.

Change History

  Changed 4 years ago by avarab@…

This message has 0 attachment(s)

in reply to: ↑ description   Changed 4 years ago by jkeenan

  • component changed from none to configure
  • type set to bug

Replying to Ævar Arnfjörð Bjarmason <avarab@…>:

Can you explain what you mean by "a versiononly perl"?

Thank you very much.

kid51

  Changed 4 years ago by cotto

I don't know what a versiononly perl is, but the attached patch from avar's git repo doesn't cause any new test failures or build issues.

Changed 4 years ago by cotto

Note: See TracTickets for help on using tickets.