Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72878 - Tk-TableMatrix-1.1 fails to install since dir_target is not defined (in ExtUtils-MakeMaker-6.20)
Summary: Tk-TableMatrix-1.1 fails to install since dir_target is not defined (in ExtUt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-29 18:39 UTC by Rafael Darder Calvo
Modified: 2005-07-18 03:48 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 Rafael Darder Calvo 2004-11-29 18:39:18 UTC
When i emerge mythtv, the first dependency is Tk-TableMatrix-1.1 and it fails to install, because the installer uses the MakeMaker package and the object dir_target is not defined in version 6.20. I emerged ExtUtils-MakeMaker-6.21 and Tk-TableMatrix went fine. 

Reproducible: Always
Steps to Reproduce:
1. ExtUtils-MakeMaker installed is <= 6.20
2. emerge Tk-TableMatrix
3. 

Actual Results:  
it should fail due to call to dir_target() 

Expected Results:
Comment 1 smouge 2004-12-06 11:05:03 UTC
I had the same problem and solution as stated here worked for me. An other solution I found was to edit the /usr/portage/dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.1.ebuild
and to remove the # in front of the epatch call. THis also worked for me
Comment 2 Roman Valls 2005-02-21 10:36:01 UTC
Same issue here, I re-emerged ExtUtils-MakeMaker as stated plus perltk to get Tk-TableMatrix emerged properly.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-03-07 07:05:39 UTC
Without any hint as to which version of perl you are using, there's nothing that can be said in this bug.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-04-18 09:50:14 UTC
No follow up posts to help out in over a month - closing. Please reopen or open a new bug (with emerge info, perl -V info). Thanks :)
Comment 5 Daniel Black (RETIRED) gentoo-dev 2005-06-05 06:29:31 UTC
Finding dependencies for tkTableUtil.c 
ignore 'error Tk 8.4 must be compiled with tcl.h from Tcl 8.4' 
Finding dependencies for tkTableWin.c 
ignore 'error Tk 8.4 must be compiled with tcl.h from Tcl 8.4' 
Writing Makefile for Tk::pTk 
Writing Makefile for Tk::pod 
Finding dependencies for TableMatrix.xs 
Writing Makefile for Tk::TableMatrix 
==> Your Makefile has been rebuilt. <== 
==> Please rerun the make command.  <== 
false 
make: *** [Makefile] Error 1 
 
!!! ERROR: dev-perl/Tk-TableMatrix-1.2 failed. 
!!! Function perl-module_src_compile, Line 107, Exitcode 2 
!!! compilation failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 
 
beer portage # emerge info 
Portage 2.0.51.22-r1 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.4.20041102-r1, 
2.6.11-gentoo-r9 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.4.16 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.8 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.4.3-r4, 1.5.16 
virtual/os-headers:  2.6.11-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict userpriv 
usersandbox" 
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo" 
MAKEOPTS="-j10" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage/" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dfx 3dnow 3dnowex X aalib acpi4linux aim alsa arts artswrappersuid avi 
berkdb bootsplash bzip2 caps cddb cdparanoia cdr cle266 crypt cups curl dga 
directfb divx4linux djbfft dlloader dnd dvb dvd dvdr dvdread encode erandom esd 
fam fbcon ffmpeg flac flash fltk fmod foomaticdb fortran gdbm gif gimpprint 
glut gphoto2 gpm gstreamer hardened hardenedphp i8x0 icq idea imagemagick imap 
imlib ipv6 jabber java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal 
ldap libwww lm_sensors lzo mad mbox memlimit mikmod mmx mmxext motif mozsvg 
mpeg msdav msn music mysql nas ncurses net nls nptl oav ogg oggvorbis openal 
opengl pam pcap pda pdflib perl php pic png povray python qt quicktime readline 
samba scanner sdl slang slp snmp socks5 spamassassin spell sse ssl svga tcltk 
tcpd tiff transcode transparent-proxy truetype truetype-fonts type1-fonts v4l 
v4l2 vhosts vorbis x86 xanim xine xinerama xml2 xmms xscreensaver xv xvid zlib 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
 
beer portage # emerge -pv ExtUtils-MakeMaker 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild   R   ] perl-core/ExtUtils-MakeMaker-6.21  0 kB 
 
perl -V 
Summary of my perl5 (revision 5 version 8 subversion 5) configuration: 
  Platform: 
    osname=linux, osvers=2.6.11-hardened-r1, archname=i686-linux 
    uname='linux beer 2.6.11-hardened-r1 #2 thu may 12 19:07:57 est 2005 i686 
amd athlon(tm) xp 2500+ authenticamd gnulinux ' 
    config_args='-des -Darchname=i686-linux -Dcccdlflags=-fPIC 
-Dccdlflags=-rdynamic -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr 
-Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-O2 -march=athlon-xp 
-fomit-frame-pointer -pipe -Duselargefiles -Dd_semctl_semun 
-Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 
-Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 
-Dinstallman3dir=/var/tmp/portage/perl-5.8.5-r5/image//usr/share/man/man3 
-Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0 5.8.0/i686-linux 5.8.2 
5.8.2/i686-linux 5.8.4 5.8.4/i686-linux  -Dcf_by=Gentoo -Ud_csh -Di_ndbm 
-Di_gdbm -Di_db' 
    hint=recommended, useposix=true, d_sigaction=define 
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef 
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef 
    use64bitint=undef use64bitall=undef uselongdouble=undef 
    usemymalloc=n, bincompat5005=undef 
  Compiler: 
    cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64', 
    optimize='-O2 -march=athlon-xp -fomit-frame-pointer -pipe', 
    cppflags='-DPERL5 -fno-strict-aliasing -pipe' 
    ccversion='', gccversion='3.3.5-20050130 (Gentoo Hardened 
3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)', gccosandvers='' 
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8 
    alignbytes=4, prototype=define 
  Linker and Libraries: 
    ld='gcc', ldflags =' -L/usr/local/lib' 
    libpth=/usr/local/lib /lib /usr/lib 
    libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc 
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc 
    libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a 
    gnulibc_version='2.3.4' 
  Dynamic Linking: 
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' 
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' 
 
 
Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES 
  Built under linux 
  Compiled at May 13 2005 07:30:46 
  @INC: 
    /etc/perl 
    /usr/lib/perl5/site_perl/5.8.5/i686-linux 
    /usr/lib/perl5/site_perl/5.8.5 
    /usr/lib/perl5/site_perl/5.8.2 
    /usr/lib/perl5/site_perl/5.8.2/i686-linux 
    /usr/lib/perl5/site_perl/5.8.4 
    /usr/lib/perl5/site_perl/5.8.4/i686-linux 
    /usr/lib/perl5/site_perl 
    /usr/lib/perl5/vendor_perl/5.8.5/i686-linux 
    /usr/lib/perl5/vendor_perl/5.8.5 
    /usr/lib/perl5/vendor_perl/5.8.4 
    /usr/lib/perl5/vendor_perl/5.8.4/i686-linux 
    /usr/lib/perl5/vendor_perl 
    /usr/lib/perl5/5.8.5/i686-linux 
    /usr/lib/perl5/5.8.5 
    /usr/local/lib/site_perl 
    /usr/lib/perl5/site_perl/5.8.2 
    /usr/lib/perl5/site_perl/5.8.2/i686-linux 
    /usr/lib/perl5/site_perl/5.8.4 
    /usr/lib/perl5/site_perl/5.8.4/i686-linux 
    . 
 
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2005-06-05 07:04:45 UTC
Which version of perl-tk are you working with? I'm wondering if the note about 
backwards compatibility fixes for <804 is misleading.  
Comment 7 Daniel Black (RETIRED) gentoo-dev 2005-06-05 07:19:55 UTC
dev-perl/perl-tk-804.027 
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2005-06-05 07:32:31 UTC
dragonH - can you try this without distcc and a -j of 10? or at least bring the 
-j down to 2/3 (how many of procs you have on the same machine)? 
Comment 9 Daniel Black (RETIRED) gentoo-dev 2005-06-05 14:43:39 UTC
distcc wasn't the problem  Also tried reducing to -j2.  Load wasn't too bad - 
was about 2. 
 
I ended up reemerging perl-tk that seemed to have been compiled at a future 
date. After that all came good. Amazing what you think of when your awake. 
Thanks Michael and sorry if this was a goose chase. 
Comment 10 Michael Cummings (RETIRED) gentoo-dev 2005-06-05 14:56:34 UTC
No worries. I asked about the distcc/-j flags just because I've seen them be 
funky (ok, so that was years ago, but still). Glad it all worked out - i'll 
leave this open for a few more days just in case it rears its head again. 
(barring anyone else closing it of course) 
Comment 11 Michael Cummings (RETIRED) gentoo-dev 2005-07-18 03:48:07 UTC
Forgot to close this :)