[MacPorts] #58878: netpbm @10.87.01_0: Destroot failed, backslash in group name

MacPorts noreply at macports.org
Sun Dec 22 14:47:34 UTC 2024


#58878: netpbm @10.87.01_0: Destroot failed, backslash in group name
---------------------------+------------------------
  Reporter:  Dave-Allured  |      Owner:  ryandesign
      Type:  defect        |     Status:  reopened
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  haspatch
      Port:  netpbm        |
---------------------------+------------------------

Comment (by ryandesign):

 Replying to [comment:13 Dave-Allured]:
 > Replying to [comment:11 ryandesign]:
 > > What does it say in
 /Volumes/RM1_Homes/dallured/port/mp/libexec/macports/lib/port1.0/port_autoconf.tcl
 for `variable install_group`? Maybe it has been recorded incorrectly
 there.
 >
 > No, that one is correct.  I checked carefully; there is no hidden binary
 code in that string.
 > {{{
 > variable install_group "PSD\rain"
 > }}}

 I don't believe that's correct. Within quotation-mark-delimited strings,
 interpolation occurs. For example, escape sequences like `\r` are replaced
 with other values (e.g. a carriage return); we don't want that here. We
 want to save the value to the variable literally without any
 interpretation or replacement. To accomplish that, we need to be using
 curly-brace-delimited strings, e.g.:

 {{{
 variable install_group {PSD\rain}
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58878#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list