variables from the command line are set incorrectly (extra quotes)

Jeremy Huddleston Sequoia jeremyhu at macports.org
Thu Feb 27 00:45:08 PST 2014


I just noticed this issue with recent base.  It wasn't an issue 4 weeks ago because I had to have it working when I filed
http://trac.macports.org/ticket/42282 


$ sudo port -v -s destroot boost configure.compiler=macports-clang-3.3
--->  Computing dependencies for boost.
--->  Configuring boost
Error: org.macports.configure for port boost returned: Invalid value for configure.compiler: "macports-clang-3.3"
Warning: targets not executed for boost: org.macports.destroot org.macports.configure org.macports.build
Please see the log file for port boost for details:
    /opt/local/var/macports/logs/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_boost/boost/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port boost failed


Note that the error line is:
    set compiler [option configure.compiler]
    ...
    return -code error "Invalid value for configure.compiler: $compiler"

so $configure.compiler is being set to "macports-clang-3.3" (quotes included).

Has anyone been messing with how command options are read in from the command line?  It seems some quoting got messed up.

--Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4145 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140227/80d46156/attachment.p7s>


More information about the macports-dev mailing list