Opened 10 years ago

Closed 10 years ago

#46813 closed defect (fixed)

git @2.3.0_0+doc: post-extract fails if distpath contains spaces

Reported by: larryv (Lawrence Velázquez) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: git

Description

% port -v installed git
The following ports are currently installed:
  git @2.2.2_0+credential_osxkeychain+doc+pcre+perl5_16+python27 (active) platform='darwin 11' archs='x86_64'
% sudo port upgrade git
--->  Computing dependencies for git
--->  Fetching distfiles for git
--->  Verifying checksums for git
--->  Extracting git
--->  Applying patches to git
--->  Configuring git
--->  Building git
--->  Staging git into destroot
Error: Failed to destroot git: /opt/local/var/macports/build/_Users_larryv_Projects_MacPorts_git_trunk_dports_devel_git/git/work/destroot/opt/local/share/doc/git-doc/RelNotes: no such file or directory
Error: See /opt/local/var/macports/logs/_Users_larryv_Projects_MacPorts_git_trunk_dports_devel_git/git/main.log for details.
Error: Follow http://guide.macports.org/#project.tickets to report a bug.
sudo port upgrade git  67.06s user 13.94s system 294% cpu 27.505 total
%

This seems to have been introduced by r132649; the only file in my docdestroot directory is git-subtree.html.

Attachments (3)

main.log (383.8 KB) - added by larryv (Lawrence Velázquez) 10 years ago.
main.10.8.log (383.8 KB) - added by larryv (Lawrence Velázquez) 10 years ago.
build log from Mountain Lion
main.10.9.log (385.7 KB) - added by larryv (Lawrence Velázquez) 10 years ago.
build log from Mavericks

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by larryv (Lawrence Velázquez)

Attachment: main.log added

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Summary: git @2.2.2_0+credential_osxkeychain+doc+pcre+perl5_16+python27: post-destroot fails on 10.7 due to missing “RelNotes”git @2.2.2_0+credential_osxkeychain+doc+pcre+perl5_16+python27: post-destroot fails on 10.7 and 10.8 due to missing “RelNotes”

Same problem on 10.8.

Changed 10 years ago by larryv (Lawrence Velázquez)

Attachment: main.10.8.log added

build log from Mountain Lion

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

And 10.9.

Changed 10 years ago by larryv (Lawrence Velázquez)

Attachment: main.10.9.log added

build log from Mavericks

comment:3 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed
Summary: git @2.2.2_0+credential_osxkeychain+doc+pcre+perl5_16+python27: post-destroot fails on 10.7 and 10.8 due to missing “RelNotes”git @2.3.0_0+doc: post-extract fails if distpath contains spaces

Okay, the problem is that distpath in my VMs contains a space, so the post-extract script added by the doc variant was choking. Fixed in r132812.

Note: See TracTickets for help on using tickets.