git-core fails to upgrade
Bjarne D Mathiesen
macintosh at mathiesen.info
Tue May 15 14:29:06 PDT 2012
Bjarne D Mathiesen wrote:
> Bjarne D Mathiesen wrote:
>> argggh ... found the error :-(
>>
>> It's still trying to reference Perl5.12 even though I've upgraded to
>> Perl5.14 & removed Perl5.12 completely from my computers ...
>>
>> now to find out exactly where it goes wrong ...
>>
>> :-)
>
> OK - Perl5.12 is hardcoded into the Portfile.
> I had orignally realized that, and changed all instaces of p5.12 to
> p5.12 in a local pathc-Portfile.
>
> however, I of course missed a reference to /macports/bin/perl5.12
>
> The attached pathc-Portfile fixes the problem generally ...
>
result with my patched Portfile ...
pro17:MacPorts root# ./portPatch.bash
created patch for portfiles/devel/git-core/Portfile.orig
patching file
/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/git-core/Portfile
pro17:MacPorts root# port upgrade git-core
---> Computing dependencies for sqlite3
---> Fetching archive for sqlite3
---> Fetching sqlite3
---> Attempting to fetch sqlite-autoconf-3071200.tar.gz from
http://lil.fr.distfiles.macports.org/sqlite3
---> Verifying checksum(s) for sqlite3
---> Extracting sqlite3
---> Applying patches to sqlite3
---> Configuring sqlite3
---> Building sqlite3
---> Staging sqlite3 into destroot
---> Installing sqlite3 à3.7.12_0
---> Cleaning sqlite3
---> Computing dependencies for sqlite3
---> Deactivating sqlite3 à3.7.11_0
---> Cleaning sqlite3
---> Activating sqlite3 à3.7.12_0
---> Cleaning sqlite3
Portfile changed since last build; discarding previous state.
---> Computing dependencies for git-core
---> Fetching archive for git-core
---> Fetching git-core
---> Verifying checksum(s) for git-core
---> Extracting git-core
---> Applying patches to git-core
---> Configuring git-core
---> Building git-core
---> Staging git-core into destroot
---> Installing git-core
à1.7.10.2_0+credential_osxkeychain+doc+pcre+python27
---> Cleaning git-core
---> Computing dependencies for git-core
---> Deactivating git-core
à1.7.10.1_0+credential_osxkeychain+doc+pcre+python27
---> Cleaning git-core
---> Activating git-core
à1.7.10.2_0+credential_osxkeychain+doc+pcre+python27
---> Cleaning git-core
pro17:MacPorts root#
At present, everything seems well :-)
--
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
More information about the macports-users
mailing list