Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64531 closed defect (fixed)

gzip step in destroot doesn't escape arguments

Reported by: mohd-akram (Mohamed Akram) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 2.7.2
Component: base Version: 2.7.1
Keywords: Cc:
Port:

Description

Trying to port stdman and it fails:

DEBUG: system -W /opt/local/var/macports/build/_Users_mohamed_.ports_lang_stdman/stdman/work/destroot/opt/local/share/man: /usr/bin/gzip -d -f man3/std::chrono::operator<<(std::chrono::month_day_last).3.gz &&  /usr/bin/gzip -9vnf man3/std::chrono::operator<<(std::chrono::month_day_last).3
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/usr/bin/gzip -d -f man3/std::chrono::operator<<(std::chrono::month_day_last).3.gz &&  /usr/bin/gzip -9vnf man3/std::chrono::operator<<(std::chrono::month_day_last).3'

Attachments (1)

Portfile (809 bytes) - added by mohd-akram (Mohamed Akram) 3 years ago.
portfile for testing

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by mohd-akram (Mohamed Akram)

Attachment: Portfile added

portfile for testing

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In b6bac45ea9525d3762a9b1c1bdcfe521d72c76b1/macports-base (master):

portdestroot: use shellescape where needed

Fixes: #64531

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:3 Changed 3 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.7.2
Note: See TracTickets for help on using tickets.