gcc44 and local ports directory
Jack Howarth
howarth at bromo.med.uc.edu
Sat Sep 12 18:48:12 PDT 2009
On Sat, Sep 12, 2009 at 09:36:44PM -0400, Jeremy Lavergne wrote:
> Does running tar jft indicate that this produces the directory "build" ?
>
> It would seem the wrong directory is being extracted since you can't cd
> to it.
>
> On Sep 12, 2009, at 9:34 PM, Jack Howarth wrote:
>
>> /opt/local/var/macports/distfiles/gcc44/gcc-objc-4.4.1.tar.bz2
What I get is...
[Macintosh-2:lang/gcc44/files] howarth% ls -l /opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work
total 0
drwxrwxrwx 63 root admin 2142 Sep 12 21:44 gcc-4.4.1
with no "/opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build".
I think the error...
DEBUG: Executing org.macports.patch (gcc44)
---> Applying patches to gcc44
Error: Target org.macports.patch returned: couldn't change working directory to "/opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build": no such file or directory
DEBUG: Backtrace: couldn't change working directory to "/opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build": no such file or directory
while executing
"_cd [option worksrcpath]"
(procedure "portpatch::patch_main" line 24)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gcc44): org.macports.build org.macports.patch org.macports.configure
Error: Status 1 encountered during processing.
means it isn't changing into /opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/gcc-4.4.1
to apply the patch. The current Portfile doesn't have any patchfiles listed in it so I can't crib. I've
tried...
patchfiles gcc44-config.guess.diff
worksrcdir build
patch.dir ${worksrcpath}
but that doesn't work either. The patch file is configured as -p0.
Jack
More information about the macports-dev
mailing list