Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Oct 2017 12:42:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222792] devel/pijul: Fix Poudriere build
Message-ID:  <bug-222792-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222792
           Summary: devel/pijul: Fix Poudriere build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cs@FreeBSD.org
          Reporter: tobik@freebsd.org
                CC: cs@FreeBSD.org
 Attachment #186920 maintainer-approval?(cs@FreeBSD.org)
             Flags:
          Assignee: cs@FreeBSD.org
                CC: cs@FreeBSD.org
             Flags: maintainer-feedback?(cs@FreeBSD.org)

Created attachment 186920
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186920&action=
=3Dedit
pijul.diff

Currently Pijul doesn't build in Poudriere at all since it fetches
dependencies during the build (see the error message below).  This is
exactly the sort of thing the cargo macro is supposed to prevent.

CARGO_CONFIGURE=3Dno should only be set if the port has all crate
dependencies in the tarball already or has no dependencies at all.
This is clearly not the case here.

INSTALL_TARGET is not used by cargo.mk.

Use CARGO_CRATES to list all dependent crates.  `make cargo-crates`
will conveniently generate this list for you from
${WRKSRC}/Cargo.lock.

Building the backtrace-sys crate requires USES=3Dgmake.

Note that we have to set DISTFILES=3D${DISTNAME}${EXTRACT_SUFX}
explicitly for now because of a bug in cargo.mk.  It currently
ignores/overrides the default DISTFILES when CARGO_CRATES is set which
means pijule-0.8.0.tar.gz is not being fetched/extracted properly without
it.

=3D=3D=3D>  Building for pijul-0.8.0=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
    Updating registry `https://github.com/rust-lang/crates.io-index`=20=20=
=20=20=20=20=20=20=20=20=20=20
warning: spurious network error (2 tries remaining): [12/-1] curl error: Co=
uld
not resolve host: github.com=20=20=20=20=20=20=20=20=20=20=20

warning: spurious network error (1 tries remaining): [12/-1] curl error: Co=
uld
not resolve host: github.com

error: failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  [12/-1] curl error: Could not resolve host: github.com

*** Error code 101

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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