Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167221 - emerging dev-perl/libwww-perl-5.8.05 fails with "Unable to find a perl 5"
Summary: emerging dev-perl/libwww-perl-5.8.05 fails with "Unable to find a perl 5"
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 171334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-16 15:50 UTC by Tiziano Müller (RETIRED)
Modified: 2007-04-15 11:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2007-02-16 15:50:42 UTC
>>> Unpacking source...
>>> Unpacking libwww-perl-5.805.tar.gz to /var/tmp/portage/dev-perl/libwww-perl-5.805/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-perl/libwww-perl-5.805/work/libwww-perl-5.805 ...
/var/tmp/portage/dev-perl/libwww-perl-5.805/work/libwww-perl-5.805
 * Using ExtUtils::MakeMaker

This package comes with some sample programs that I can try
to install in /usr/bin.

   Note that you can avoid these questions by passing
   the '-n' option to 'Makefile.PL'.

Do you want to install lwp-request? [y] y
Do you want to install lwp-mirror? [y] y
Do you want to install lwp-rget? [y] y
Do you want to install lwp-download? [y] y

The lwp-request program will use the name it is invoked with to
determine what HTTP method to use.  I can set up alias for the most
common HTTP methods.  These alias are also installed in
/usr/bin.

Do you want to install the GET alias? [n] n
Do you want to install the HEAD alias? [n] n
Do you want to install the POST alias? [n] n

Checking for URI........... ok
Checking for HTML::Parser.. ok
Checking for MIME::Base64.. ok
Checking for Net::FTP...... ok
Checking for Digest::MD5 .. ok

Checking if your kit is complete...
Looks good
Unable to find a perl 5 (by these names: /usr/bin/perl5.8.8 perl perl5 perl5.8.8 miniperl, in these dirs: /usr/local/sbi
n /sbin /usr/sbin /usr/lib/portage/bin /usr/local/bin /bin /usr/bin /opt/bin /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 /opt
/blackdown-jdk-1.4.2.03/bin /opt/blackdown-jdk-1.4.2.03/jre/bin /usr/bin)
Writing Makefile for LWP
/bin/sh: /0: No such file or directory
make: *** [blib/lib/.exists] Error 127

!!! ERROR: dev-perl/libwww-perl-5.805 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3258:   Called src_compile
  libwww-perl-5.805.ebuild, line 26:   Called perl-module_src_compile
  perl-module.eclass, line 138:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-perl/libwww-perl-5.805/temp/build.log'.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-02-16 15:51:12 UTC
emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.16.28-xenU x86_64)
=================================================================
System uname: 2.6.16.28-xenU x86_64 Intel(R) Pentium(R) D CPU 3.20GHz
Gentoo Base System version 1.13.0_alpha12
Timestamp of tree: Thu, 15 Feb 2007 11:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/wildfire/resources/security/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/mine"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bitmap-fonts bzip2 caps cli cracklib crypt cups dlloader dri fortran gdbm glibc-omitfp iconv ipv6 isdnlog ithreads java5 kerberos ldap libg++ logrotate midi ncurses nls no-old-linux nptl nptlonly pam pcre perl postgres ppds pppd python readline reflection session skey slp spl ssl tcpd threads truetype-fonts type1-fonts ucs2 unicode vhosts xinetd xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2007-02-16 18:10:12 UTC
FEATURES="-userpriv" helps here
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2007-02-16 21:40:10 UTC
portage user's env was a little frelled. dev-zero said in irc it was ultimately an nss-ldap issue (? - i just repeating here). portage (the user) was also having problems running other perl scripts, like 

my $stderr_duped = 1;
my $version_check = qq{/usr/bin/perl5.8.8 -le "require 5; print qq{VER_OK}"};
close STDERR if $stderr_duped;
$val = `$version_check`;
open STDERR, '>&STDERR_COPY' if $stderr_duped;
print $val;
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2007-04-15 11:31:39 UTC
*** Bug 171334 has been marked as a duplicate of this bug. ***