perhaps do you know an answer to my previous question on macports?

macports at parvis.nl macports at parvis.nl
Tue Mar 27 00:11:06 UTC 2018


>> On Mar 26, 2018, at 5:42 PM, Paul de Vries <paul.de.vries at xs4all.nl> wrote:
>> 
>> I use the trick "make SHELL='sh -x' <target>" to see where the make process errors, but I cannot find a way to set it (temporary).
>> 
>> build.env         SHELL='sh -x' doesn't work.
>> build.args-append SHELL='sh -x' doesn't work.
>> 
>> Is it possible?
>> 
>> perhaps i can find an answer if i knew in which file the 'port' command executes make ?


> On 2018-03-27, at 00:08, Craig Treleaven <ctreleaven at macports.org> wrote:
> 
> Sorry, I’m not familiar with that trick.  Are you saying that there is not enough detail in main.log to help determine the cause of a build failure?  Setting debug verbosity with the -d flag gets the same detail echoed to the terminal.
> 
> The default build command is make:
> 
> https://guide.macports.org/#reference.phases.build
> 
> I supose you could override it:
> 
> build.cmd      make SHELL='sh -x'
> 
> Craig

YES this is it.

thanks, paul.


More information about the macports-dev mailing list