NetBSD Problem Report #56507

From www@netbsd.org  Thu Nov 18 13:32:24 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id F075C1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 18 Nov 2021 13:32:23 +0000 (UTC)
Message-Id: <20211118133222.96DC31A923A@mollari.NetBSD.org>
Date: Thu, 18 Nov 2021 13:32:22 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: hgrep fails to build with stable rust
X-Send-Pr-Version: www-1.0

>Number:         56507
>Category:       pkg
>Synopsis:       hgrep fails to build with stable rust
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 18 13:35:00 +0000 2021
>Closed-Date:    Tue Dec 28 10:20:36 +0000 2021
>Last-Modified:  Tue Dec 28 10:20:36 +0000 2021
>Originator:     nia
>Release:        current
>Organization:
The NetBSD Foundation
>Environment:
>Description:
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for hgrep-0.2.1
warning: Both `/tmp/work/textproc/hgrep/work/hgrep-0.2.1/.cargo/config` and `/tmp/work/textproc/hgrep/work/hgrep-0.2.1/.cargo/config.toml` exist. Using `/tmp/work/textproc/hgrep/work/hgrep-0.2.1/.cargo/config`
error: failed to load manifest for workspace member `/tmp/work/textproc/hgrep/work/hgrep-0.2.1/assets/builder`

Caused by:
  failed to parse manifest at `/tmp/work/textproc/hgrep/work/hgrep-0.2.1/assets/builder/Cargo.toml`

Caused by:
  feature `edition2021` is required

  this Cargo does not support nightly features, but if you
  switch to nightly channel you can add
  `cargo-features = ["edition2021"]` to enable this feature
*** Error code 101

Stop.
make[1]: stopped in /usr/pkgsrc/textproc/hgrep
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/hgrep

>How-To-Repeat:

>Fix:
Downgrade hgrep?

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->pin
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Fri, 19 Nov 2021 13:38:03 +0000
Responsible-Changed-Why:
Over to maintainer.


From: pin <voidpin@protonmail.com>
To: gnats-bugs@netbsd.org
Cc: pin@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, hauke@NetBSD.org, nia@pkgsrc.org
Subject: Re: pkg/56507 (hgrep fails to build with stable rust)
Date: Fri, 19 Nov 2021 13:54:23 +0000

 =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me=
 ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90

 On Friday, November 19th, 2021 at 2:38 PM, <hauke@NetBSD.org> wrote:

 > Synopsis: hgrep fails to build with stable rust
 >
 > Responsible-Changed-From-To: pkg-manager->pin
 >
 > Responsible-Changed-By: hauke@NetBSD.org
 >
 > Responsible-Changed-When: Fri, 19 Nov 2021 13:38:03 +0000
 >
 > Responsible-Changed-Why:
 >
 > Over to maintainer.

 Yes, I'm aware of this. The same issue goes for sysutils/broot and devel/gi=
 t-cliff.

 All these require rust-1.56 to build.
 I was hopping that it would be updated within a few days, which didn't happ=
 en yet.

 I've been running rust-1.56 on my system for 3 weeks now.

 Sorry about this, I'm checking every rust package now before updating but, =
 hopefully rust gets updated soon. Hopefully as well, llvm gets bumped to ve=
 rsion 13, which seems to be required by rust-1.56 on some platforms. Not th=
 e case of NetBSD amd64 where rust-1.56 seems happy with llvm-12.

 Regards,
 pin

From: Havard Eidnes <he@NetBSD.org>
To: voidpin@protonmail.com
Cc: gnats-bugs@netbsd.org, pin@netbsd.org, pkgsrc-bugs@netbsd.org,
 hauke@NetBSD.org, nia@pkgsrc.org
Subject: Re: pkg/56507 (hgrep fails to build with stable rust)
Date: Sat, 20 Nov 2021 17:38:27 +0100 (CET)

 > Yes, I'm aware of this. The same issue goes for sysutils/broot
 > and devel/git-cliff.
 >
 > All these require rust-1.56 to build.
 > I was hopping that it would be updated within a few days, which
 > didn't happen yet.

 ...but now it did.

 - H=E5vard

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56507 (hgrep fails to build with stable rust)
Date: Wed, 22 Dec 2021 21:16:17 +0000

 On Sat, Nov 20, 2021 at 04:40:02PM +0000, Havard Eidnes wrote:
  >  > Yes, I'm aware of this. The same issue goes for sysutils/broot
  >  > and devel/git-cliff.
  >  >
  >  > All these require rust-1.56 to build.
  >  > I was hopping that it would be updated within a few days, which
  >  > didn't happen yet.
  >  
  >  ...but now it did.

 ...so this is fixed now, then?

 -- 
 David A. Holland
 dholland@netbsd.org

From: pin <voidpin@protonmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56507 (hgrep fails to build with stable rust)
Date: Wed, 22 Dec 2021 21:26:29 +0000

 =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me=
 ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90

 On Wednesday, December 22nd, 2021 at 10:20 PM, David Holland <dholland-pbug=
 s@netbsd.org> wrote:

 > The following reply was made to PR pkg/56507; it has been noted by GNATS.
 >
 > From: David Holland dholland-pbugs@netbsd.org
 >
 > To: gnats-bugs@netbsd.org
 >
 > Cc:
 >
 > Subject: Re: pkg/56507 (hgrep fails to build with stable rust)
 >
 > Date: Wed, 22 Dec 2021 21:16:17 +0000
 >
 > On Sat, Nov 20, 2021 at 04:40:02PM +0000, Havard Eidnes wrote:
 >
 > > > Yes, I'm aware of this. The same issue goes for sysutils/broot
 >
 > > > and devel/git-cliff.
 >
 > > > All these require rust-1.56 to build.
 >
 > > > I was hopping that it would be updated within a few days, which
 >
 > > > didn't happen yet.
 >
 > > ...but now it did.
 >
 > ...so this is fixed now, then?
 >
 > ---------------------------------
 >
 > David A. Holland
 >
 > dholland@netbsd.org

 Yes, hgrep builds fine after updating rust to >=3D 1.56

 I didn't find the time to ssh into gnats, though.

 /Pedro

State-Changed-From-To: open->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Tue, 28 Dec 2021 10:20:36 +0000
State-Changed-Why:
resolved via the sausage machine churning


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.