mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Issue with distfile names, extraction and var


From: Gregorio Litenstein
Subject: Re: [Mingw-cross-env-list] Issue with distfile names, extraction and variables in download/extraction steps.
Date: Wed, 11 Sep 2019 11:47:54 -0700

I think I have gotten to the root of this issue.


I need to be able to access $(TARGET) when the file is downloaded and checksummed. Evidently this would require a patch to MXE (or some workaround to get that bit of information into the proper scope) but I’m not quite sure how to go about it.


Any ideas?


-- 
Gregorio Litenstein Goldzweig 
glit_ind.png
Médico Cirujano
 


On September 9, 2019 at 07:52:29, Gregorio Litenstein (address@hidden) wrote:

So…

I have two packages:

1) foo-bootstrap
2) foo

foo-bootstrap defines its filename as foo-1.0.1-something.tar.xz
foo defines its filename as foo-1.1.0-something-else.tar.xz

In this case, both something and something-else are derived from $(TARGET) or $(BUILD)

Behavior I’m seeing right now is, if I try “make foo”, after having done foo-bootstrap, it will directly go into build stage (without downloading anything) and it fails due to a wrong package name (because apparently $(TARGET) and $(BUILD) are not accessible at this stage even though it’s obvious they are already known if the folder is able to be created.

Beside this, the file doesn’t exist (due to not having downloaded it)

If I delete the foo-bootstrap file from mxe/pkg, “make foo” will download the file from foo-bootstrap instead and fail in the same way.

Does anybody have an idea why this might be happening? And  if it is a bug in the mxe Makefile, where should I go hunting for it? I tried debugging it yesterday but am not that experienced with make so I’m not sure exactly which function does what and what order they’re called in…

-- 
Gregorio Litenstein Goldzweig 
glit_ind.png
Médico Cirujano
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]