Opened 14 years ago

Closed 14 years ago

#25805 closed defect (fixed)

git-core @1.7.2 +gitweb staging error, cannot stat gitweb.css

Reported by: larryv (Lawrence Velázquez) Owned by: maccheck@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: takashi@…
Port: git-core

Description

I just attempted to upgrade git-core @1.7.1+bash_completion+doc+gitweb+svn to @1.7.2. All went well until the destroot stage, when MacPorts halted with this error:

Error: Target org.macports.destroot returned:
     xinstall: Cannot stat: gitweb.css, No such file or directory
Log for git-core is at: /opt/local/var/macports/logs/
    _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_git-core/
    main.log
Error: Unable to upgrade port: 1

I then tried

port uninstall git-core
port clean --all git-core
port install git-core +bash_completion+doc+gitweb+svn

but ran into the same error again. However, installing git-core without +gitweb succeeds.

I am using MacPorts 1.9.1 on Mac OS X Snow Leopard 10.6.4 with Xcode 3.2.2 (1650) 64-bit.

Attachments (2)

main.log (148.2 KB) - added by larryv (Lawrence Velázquez) 14 years ago.
The log specified in the error message.
Portfile.patch (791 bytes) - added by maccheck@… 14 years ago.

Download all attachments as: .zip

Change History (7)

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

Attachment: main.log added

The log specified in the error message.

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

Owner: changed from macports-tickets@… to maccheck@…
Summary: git-core 1.7.2 staging error, cannot stat gitweb.cssgit-core @1.7.2 +gitweb staging error, cannot stat gitweb.css

Please remember to cc the maintainer.

comment:2 Changed 14 years ago by takashi@…

Cc: takashi@… added

Cc Me!

Changed 14 years ago by maccheck@…

Attachment: Portfile.patch added

comment:3 Changed 14 years ago by maccheck@…

Git changed the source file structure for the static gitweb components. I haven't realized this as I didn't build git-core in that variant. The attached patch should fix it.

comment:4 in reply to:  3 Changed 14 years ago by larryv (Lawrence Velázquez)

Replying to maccheck@…:

Git changed the source file structure for the static gitweb components. I haven't realized this as I didn't build git-core in that variant. The attached patch should fix it.

I can now build git-core +gitweb after applying the patch. Thanks!

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Committed, r70002.

Note: See TracTickets for help on using tickets.