"make[1]: execvp: printf: Argument list too long"

René J. V. Bertin rjvbertin at gmail.com
Sun Aug 18 09:10:00 UTC 2019


René J.V. Bertin wrote:

> There's no `string hash` function as far as I've seen.

There's this, but that doesn't really shorten the paths by all that much (just 
not even a factor 2):

{{{
     package require md5
     ui_msg "${portpath}:\n[md5::md5 -hex ${portpath}]"
}}}

/opt/local/var/macports/sources/macfork-ports/devel/nodejs10:
E141F7E7B85E90E2113100FAF71C53CD


Should make *some* difference in cases where the path is repeated a gazillion 
times, though...

R.



More information about the macports-dev mailing list