Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40342 - Can't build ebuild dev-perl/perl-tk-800.025-r1
Summary: Can't build ebuild dev-perl/perl-tk-800.025-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 20:41 UTC by Scott Emmons
Modified: 2004-02-23 17:42 UTC (History)
0 users

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 Scott Emmons 2004-02-03 20:41:05 UTC
I am unable to emerge dev-perl/perl-tk-800.025-r1, as I get some strange behavior during the patch phase where the ebuild attempt to access Perforce.

Reproducible: Always
Steps to Reproduce:
1. emerge perl-tk
Actual Results:  
When emerging dev-perl/perl-tk-800.025-r1 I get the output+error:

Calculating dependencies ...done!
>>> emerge (1 of 4) dev-perl/perl-tk-800.025-r1 to /
>>> md5 src_uri ;-) Tk800.025.tar.gz
>>> Unpacking source...
>>> Unpacking Tk800.025.tar.gz to /opt/portage/portage/perl-tk-800.025-r1/work
 * Applying perl-tk-800.025-dirtarget.patch...

 * A dry-run of patch command succeeded, but actually
 * applying the patch failed!

 * Failed Patch: perl-tk-800.025-dirtarget.patch!
 *
 * Include in your bugreport the contents of:
 *
 *  
/opt/portage/portage/perl-tk-800.025-r1/temp/perl-tk-800.025-dirtarget.patch-400.out


!!! ERROR: dev-perl/perl-tk-800.025-r1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: perl-tk-800.025-dirtarget.patch!

And the referenced output file:

***** perl-tk-800.025-dirtarget.patch *****

===========================================

PATCH COMMAND:  patch  -p0 <
/usr/portage/dev-perl/perl-tk/files/perl-tk-800.025-dirtarget.patch

===========================================
Get file pTk/Makefile.PL from Perforce with lock? [y]
patching file pTk/Makefile.PL
===========================================

ACTUALLY APPLYING perl-tk-800.025-dirtarget.patch...

===========================================
Get file pTk/Makefile.PL from Perforce with lock? [y]
Path '/opt/portage/portage/perl-tk-800.025-r1/work/Tk800.025/pTk/Makefile.PL' is
not under client's root '/home/scotte/p4'.
patch: **** Can't get file pTk/Makefile.PL from Perforce

As you can see, for some reason it is attempting access Perforce, even though
that has nothing to do with this at all!

I can emerge dev-perl/perl-tk-800.025 just fine, and have not had this problem
in emerging several hundred other packages, even though the ebuild for this
doesn't look particularly strange... I moved the p4 binaries out of the way,
which resulted in:

***** perl-tk-800.025-dirtarget.patch *****

===========================================

PATCH COMMAND:  patch  -p0 <
/usr/portage/dev-perl/perl-tk/files/perl-tk-800.025-dirtarget.patch

===========================================
Get file pTk/Makefile.PL from Perforce with lock? [y]
patching file pTk/Makefile.PL
===========================================

ACTUALLY APPLYING perl-tk-800.025-dirtarget.patch...

===========================================
Get file pTk/Makefile.PL from Perforce with lock? [y]
sh: line 1: p4: command not found
patch: **** Can't get file pTk/Makefile.PL from Perforce
r
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-02-21 04:07:22 UTC
Which variables have you reset in your make.conf? It almost looks like there is a conflict between what you've set as your PORTAGE_* vars (I see that it is running the ebuild out of /opt/portage/protage, and that it is attempting to build in /home/scotte/p4). 
Comment 2 Scott Emmons 2004-02-23 15:25:05 UTC
Interesting... The problem has gone away. The ebuild does not appear to have been updated (Jan 10), and my make.conf has not changed (posted here), nor my use of perforce, but somehow it magically built OK.

OK to close this, I guess. Bizzare!
Comment 3 Eric Sammer (RETIRED) gentoo-dev 2004-02-23 17:42:24 UTC
This is odd indeed. I'm going to tentatively close this bug. Please reopen if the problem resurfaces. Thanks for the report.