Ryan Schmidt ryandesign at macports.org
Thu Apr 3 17:10:53 PDT 2014

On Apr 3, 2014, at 19:01, Joshua Root wrote:

> On 2014-4-4 10:35 , Ryan Schmidt wrote:
>> On Apr 3, 2014, at 02:19, Joshua Root wrote:
>>> So, no bugs have been reported against the beta. Unless anyone has a
>>> last-minute urgent regression, I guess I'll just go ahead and tag the
>>> final release tomorrow.
>> Two problems I have:
>> 1. I changed the way the environment variables are output, to be sorted and one per line:
>> https://trac.macports.org/ticket/40703
>> This is easier to read. However for reasons I don’t understand, I don’t always see them in log output; sometimes I just see:
>> DEBUG: Environment: 
>> Has anybody else noticed this? Could someone take a look at this and see why that might be?
> Yes, anddam was having this problem yesterday with some ports, but I
> couldn't reproduce it.

All I changed was one line in environment_array_to_string, making it so that the string it returns now contains newlines. The only place where environment_array_to_string gets called, it’s just sent over to ui_debug as:

ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]”

Can ui_debug not accept multiline strings? I am having trouble locating where ui_debug is defined.

More information about the macports-dev mailing list