[Bug 220548] "make cargo-crates" doesn't strip branch name

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 7 21:41:52 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220548

            Bug ID: 220548
           Summary: "make cargo-crates" doesn't strip branch name
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: freebsd-ports-bugs at FreeBSD.org, tobik at freebsd.org

Created attachment 184161
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184161&action=edit
v0

Not sure how much maintainers are supposed to edit "make cargo-crates" output
but the following is probably not hard to fix.

https://github.com/servo/servo/blob/6e2e7151d8/Cargo.lock#L42 has

  [[package]]
  name = "angle"
  version = "0.2.0"
  source =
"git+https://github.com/servo/angle?branch=servo#a1371e8a160128677af863d1d73f150862ba42b2"

which becomes

  GH_TUPLE=    
servo:angle?branch=servo:a1371e8a160128677af863d1d73f150862ba42b2:angle \

and leads to

  $ make makesum
  =>
servo-angle?branch=servo-a1371e8a160128677af863d1d73f150862ba42b2_GH0.tar.gz
doesn't seem to exist in /distfiles/.
  => Attempting to fetch
https://codeload.github.com/servo/angle?branch=servo/tar.gz/a1371e8a160128677af863d1d73f150862ba42b2?dummy=/servo-angle?branch=servo-a1371e8a160128677af863d1d73f150862ba42b2_GH0.tar.gz
  fetch:
https://codeload.github.com/servo/angle?branch=servo/tar.gz/a1371e8a160128677af863d1d73f150862ba42b2?dummy=/servo-angle?branch=servo-a1371e8a160128677af863d1d73f150862ba42b2_GH0.tar.gz:
Bad Request
  => Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/servo-angle?branch=servo-a1371e8a160128677af863d1d73f150862ba42b2_GH0.tar.gz
  fetch:
http://distcache.FreeBSD.org/ports-distfiles/servo-angle?branch=servo-a1371e8a160128677af863d1d73f150862ba42b2_GH0.tar.gz:
Not Found
  => Couldn't fetch it - please try to retrieve this
  => port manually into /distfiles/ and try again.
  *** Error code 1

but fetching succeeds after ?branch=servo is removed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list