From owner-freebsd-ports-bugs@freebsd.org Thu Oct 5 12:42:08 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E760E37D8B for ; Thu, 5 Oct 2017 12:42:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 147AC6FEFD for ; Thu, 5 Oct 2017 12:42:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v95Cg7w3049884 for ; Thu, 5 Oct 2017 12:42:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 222792] devel/pijul: Fix Poudriere build Date: Thu, 05 Oct 2017 12:42:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 12:42:08 -0000 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.=