Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230393 - Emerging perl-gcpan/WordNet-QueryData-1.47 fails with app-portage/g-cpan-0.15.0-r1
Summary: Emerging perl-gcpan/WordNet-QueryData-1.47 fails with app-portage/g-cpan-0.15...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 20:42 UTC by Tassilo Horn
Modified: 2010-02-12 21:04 UTC (History)
0 users

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


Attachments
The build.log (build.log,1.76 KB, text/plain)
2008-07-01 20:44 UTC, Tassilo Horn
Details
The ebuild environment file (environment,89.03 KB, text/plain)
2008-07-01 20:45 UTC, Tassilo Horn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Horn 2008-07-01 20:42:53 UTC
The output is:

>>> Emerging (1 of 4) perl-gcpan/WordNet-QueryData-1.47 to /
 * WordNet-QueryData-1.47.tar.gz RMD160 SHA1 SHA256 size ;-) ...          [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking WordNet-QueryData-1.47.tar.gz ;-) ...                         [ ok ]
>>> Unpacking source...
>>> Unpacking WordNet-QueryData-1.47.tar.gz to /var/tmp/portage/perl-gcpan/WordNet-QueryData-1.47/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/perl-gcpan/WordNet-QueryData-1.47/work/WordNet-QueryData-1.47 ...
 * Using ExtUtils::MakeMaker
*** Please set the WNHOME environment variable to the location of your
***   WordNet installation.  QueryData.pm will not work otherwise.
*** Alternatively, you can make the installation in the default
***   location, C:\Program Files\WordNet\3.0 on Windows, or /usr/local/WordNet-3.0 on unix.
 * 
 * ERROR: perl-gcpan/WordNet-QueryData-1.47 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2384:  Called perl-module_src_compile
 *             environment, line 2109:  Called perl-module_src_prep
 *             environment, line 2162:  Called die
 * The specific snippet of code:
 *               echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none' PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)";
 *  The die message:
 *   Unable to build! (are you using USE="build"?)
 * 
 * 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/perl-gcpan/WordNet-QueryData-1.47/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/perl-gcpan/WordNet-QueryData-1.47/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/overlays/private/'
 * 

 * Messages for package perl-gcpan/WordNet-QueryData-1.47:

 * 
 * ERROR: perl-gcpan/WordNet-QueryData-1.47 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2384:  Called perl-module_src_compile
 *             environment, line 2109:  Called perl-module_src_prep
 *             environment, line 2162:  Called die
 * The specific snippet of code:
 *               echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none' PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)";
 *  The die message:
 *   Unable to build! (are you using USE="build"?)
 * 
 * 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/perl-gcpan/WordNet-QueryData-1.47/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/perl-gcpan/WordNet-QueryData-1.47/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/overlays/private/'

I'll attach the complete build.log.

Reproducible: Always




Portage 2.2_rc1 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.2.5
Timestamp of tree: Tue, 01 Jul 2008 20:17:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://de-mirror.org/distro/gentoo/ http://gentoo.mirror.web4u.cz/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlays/private /usr/local/portage/overlays/gentoo-lisp-overlay /usr/local/portage/layman/emacs /usr/local/portage/layman/gnash-cvs"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa amd64 avahi berkdb bluetooth branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt css cups curl curlwrappers cvs cxx dbm dbus dga djvu dri dvd dvdr dvdread emacs encode exif expat fam ffmpeg fftw firefox flac fontconfig ftp gdbm gif gimp glut gnuplot gnutls gpm graphviz gsl gtk hal htmlhandbook iconv icq idn ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java java6 javascript jingle jpeg jpeg2k kde kdehiddenvisibility kerberos latex lcms ldap libedit libnotify libsamplerate lzo m17n-lib mad maildir mhash midi mikmod mime mmap mmx mmxext mng mp3 mpeg mpi mplayer msn mudflap multilib musepack nas ncurses networkmanager nls nntp nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oscar pam pcre pdf perl png posix ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline recode reflection rss ruby sasl scanner sdl session slp smp snmp sockets speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink syslog taglib tcpd theora threads tidy tiff truetype unicode usb videos vorbis wifi wmf x264 xcb xcomposite xine xinerama xml xmlrpc xorg xosd xpm xprint xulrunner xv xvid zeroconf 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tassilo Horn 2008-07-01 20:44:42 UTC
Created attachment 159149 [details]
The build.log
Comment 2 Tassilo Horn 2008-07-01 20:45:49 UTC
Created attachment 159151 [details]
The ebuild environment file
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2008-07-04 07:04:07 UTC
(In reply to comment #0)

> *** Please set the WNHOME environment variable to the location of your
> ***   WordNet installation.  QueryData.pm will not work otherwise.
> *** Alternatively, you can make the installation in the default
> ***   location, C:\Program Files\WordNet\3.0 on Windows, or
> /usr/local/WordNet-3.0 on unix.

Does setting WNHOME help?
What do you think we should do?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-12 21:04:43 UTC
Manually exporting WNHOME=/usr solves this, I tested. There's no way g-cpan can be expected to cater for some of the bizzare buildscript stuff. g-cpan misses the dep on the wordnet libs anyway for the same reason.