[MacPorts] #58878: netpbm @10.87.01_0: Destroot failed, backslash in group name
MacPorts
noreply at macports.org
Sun Dec 22 14:20:09 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 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"
}}}
Notice in yesterday's `libnetpbm.main.log` (above), that the group name
was misinterpreted at one point, somewhere inside TCL. The "r" character
following backslash was treated as if it was backslash escaped, i.e. `\r`,
therefore interpreted as the `<cr>` control character. Also the original
backslash was left in place, making this an incorrect escape conversion.
Surprisingly, this unwanted conversion was NOT done consistently. Notice
the second message line, for example. (I had to replace the <cr>
character in the first line, for legible display in this Trac message.)
{{{
:debug:destroot system: chown -R dallured:PSD\<cr>ain
/Volumes/RM1_Homes/dallured/port/mp/var/macports/build/_Volumes_RM1_Homes_dallured_port_mp_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/libnetpbm/work/destroot
:info:destroot chown: PSD\rain: illegal group name
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58878#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list