I would like to give some more info, but... I'm not an expert of ebuilds... Reproducible: Always Steps to Reproduce: 1. emerge dev-perl/Tk-TableMatrix 2. 3. Actual Results: root # emerge dev-perl/Tk-TableMatrix Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/Tk-TableMatrix-1.01 to / >>> md5 src_uri ;-) Tk-TableMatrix-1.01.tar.gz >>> Unpacking source... >>> Unpacking Tk-TableMatrix-1.01.tar.gz to /var/tmp/portage/Tk-TableMatrix-1.01/work >>> Source unpacked. ### Note: 'Building Outside of Tk itself' Messages are Expected Here #### /usr/bin/perl is installed in /usr/lib/perl5/5.8.2/i686-linux okay PPM for perl5.008002 Test Compiling config/signedchar.c Test Compiling config/unsigned.c Test Compiling config/Ksprintf.c Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c Test Compiling config/tod.c Test Compiling -DTIMEOFDAY_TZ config/tod.c Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c Test Compiling -DTIMEOFDAY_DOTS config/tod.c Problem gettimeofday() Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.2 Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h /var/tmp/portage/Tk-TableMatrix-1.01/work/Tk-TableMatrix-1.01 does not start with /usr/lib/perl5/vendor_perl/5.8.2/i686-linux i.e. building outside Tk itself Note (probably harmless): No library found for -lpt /var/tmp/portage/Tk-TableMatrix-1.01/work/Tk-TableMatrix-1.01/pTk does not start with /usr/lib/perl5/vendor_perl/5.8.2/i686-linux i.e. building outside Tk itself Generating Dependencies for linux, win_arch=x Test Compiling config/Hstrtoul.c Test Compiling config/Hstrdup.c Test Compiling config/Hstrcasecmp.c Extracting mm.h Extracting tkTable.c Extracting tkTable.h Extracting tkTableCell.c Extracting tkTableCellSort.c Extracting tkTableCmds.c Extracting tkTableEdit.c Extracting tkTableTag.c Extracting tkTableUtil.c Extracting tkTableWin.c Extracting tkTableversion.h Extracting version.h Finding dependancies for tkTable.c ignore 'elif !defined(WIN32)' ignore 'elif defined(WIN32)' Finding dependancies for tkTableCell.c Finding dependancies for tkTableCellSort.c Finding dependancies for tkTableCmds.c Finding dependancies for tkTableEdit.c Finding dependancies for tkTableTag.c Finding dependancies for tkTableUtil.c Finding dependancies for tkTableWin.c ERROR from evaluation of /var/tmp/portage/Tk-TableMatrix-1.01/work/Tk-TableMatrix-1.01/pTk/Makefile.PL: Can't locate object method "dir_target" via package "PACK002" at ./Makefile.PL line 231. make: *** No targets specified and no makefile found. Stop. root # emerge info Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.12 distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl alsa apm arts avi berkdb bonobo canna cdr cjk crypt cups curl dga directfb doc dvb dvd encode fbcon foomaticdb freewnn gdbm ggi gif gphoto2 gstreamer gtk guile imap imlib jack java joystick jpeg kde libg++ lirc mad maildir mbox mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pdflib perl png postgres prelude python qt quicktime readline samba scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb vim-with-x wmf x86 xinerama xml xml2 xmms xv zlib"
I am experiencing the same issue - I found this patch floating around on the flotsam of the internet, it fixed this issue for me. --- pTk/Makefile.PL.ship 2003-11-16 10:43:39.000000000 +0000 +++ pTk/Makefile.PL 2003-11-16 10:44:09.000000000 +0000 @@ -228,11 +228,6 @@ my $self = shift; my $dep = $self->Tk::MMutil::mTk_postamble; -$dep .= $self->dir_target(@{$self->{'dir_targets'}}); - -$dep .= "config :: " . join(" \\\n\t",map($self->catfile($_,".exists"),@{$self->{'dir_targets'}})) . - "\n\t".$self->{NOECHO}."\$(NOOP)\n"; - if ($Tk::MMutil::IsWin32 or ($win_arch eq 'MSWin32' and $^O eq 'cygwin')) { my $cc = $Config{'cc'}; }
Created attachment 21933 [details] Updated ebuild using patch
Created attachment 21934 [details, diff] Patch for Tk-TableMatrix-1.01
Just added two patchs - an updated patch that works with epatch and an updated ebuild that applies the patch during the emerge process.
*** Bug 33546 has been marked as a duplicate of this bug. ***
OK, I've tested the provided patch against both a makemaker 6.20 (the "bad" one in this case) and a 6.03 EU::MM and both installed smoothly and appear to work fine. I'll post the patch and new ebuild shortly and close this out. Matt - if you see this - have thought about posting this patch to cpan bugtracking as well? I can't believe that we are the only ones hit by this bug.
Fixed thanks to matt; in portage now