Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jul 2017 21:41:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220548] "make cargo-crates" doesn't strip branch name
Message-ID:  <bug-220548-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220548

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: freebsd-ports-bugs@FreeBSD.org, tobik@freebsd.org

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

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

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

  [[package]]
  name =3D "angle"
  version =3D "0.2.0"
  source =3D
"git+https://github.com/servo/angle?branch=3Dservo#a1371e8a160128677af863d1=
d73f150862ba42b2"

which becomes

  GH_TUPLE=3D=20=20=20=20
servo:angle?branch=3Dservo:a1371e8a160128677af863d1d73f150862ba42b2:angle \

and leads to

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

but fetching succeeds after ?branch=3Dservo is removed.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220548-13>