Bug#987324: rust-hashbrown: missing ahash feature makes building hashlink crate impossible

2022-05-28 Thread Jonas Smedegaard
Quoting Jonas Smedegaard (2022-05-28 16:18:26)
> Quoting peter green (2022-05-28 14:49:00)
> > > Package rust-ahash is now in Debian, which should help fix this bug.
> > > 
> > >  - Jonas
> > 
> > 
> > I looked but the new packages don't seem to be installable.
> > 
> > >  2 binary packages have unsatisfiable dependencies high
> > > 
> > > The dependencies of librust-ahash+compile-time-rng-dev=0.7.6-3 cannot 
> > > be satisfied in unstable on amd64 because: unsatisfied dependency on 
> > > librust-const-random-0.1+default-dev (>= 0.1.12) | 
> > > librust-const-random-0.1+default-dev (>= 0.1.12)
> > > The dependencies of librust-ahash-dev=0.7.6-3 cannot be satisfied in 
> > > unstable on amd64 because: unsatisfied dependency on 
> > > librust-atomic-polyfill-0.1+default-dev
> > > 
> 
> Yeah - as you know (since you filed the bugreport), all packages
> involving librust-once-cell-dev currently fails to build from source due
> to bug#1011645 :-(
> 
> I meant to say that the availability of the package is a step towards
> this bugreport getting fixed - not that it was possible to fix right
> now.

Thanks for the quick fix of bug#1011645.

I have now released rust-ahash with a fix for the first of the above
bugs.  I don't recognize librust-atomic-polyfill-0.1+default-dev being
declared anywhere, however.  Please double-check that you used a
pristine Debian unstable system where you experience that error, and if
it persists then please file a bugreport.

Kind regards,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#987324: rust-hashbrown: missing ahash feature makes building hashlink crate impossible

2022-05-28 Thread Jonas Smedegaard
Quoting peter green (2022-05-28 14:49:00)
> > Package rust-ahash is now in Debian, which should help fix this bug.
> > 
> >  - Jonas
> 
> 
> I looked but the new packages don't seem to be installable.
> 
> >  2 binary packages have unsatisfiable dependencies high
> > 
> > The dependencies of librust-ahash+compile-time-rng-dev=0.7.6-3 cannot 
> > be satisfied in unstable on amd64 because: unsatisfied dependency on 
> > librust-const-random-0.1+default-dev (>= 0.1.12) | 
> > librust-const-random-0.1+default-dev (>= 0.1.12)
> > The dependencies of librust-ahash-dev=0.7.6-3 cannot be satisfied in 
> > unstable on amd64 because: unsatisfied dependency on 
> > librust-atomic-polyfill-0.1+default-dev
> > 

Yeah - as you know (since you filed the bugreport), all packages
involving librust-once-cell-dev currently fails to build from source due
to bug#1011645 :-(

I meant to say that the availability of the package is a step towards
this bugreport getting fixed - not that it was possible to fix right
now.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#987324: rust-hashbrown: missing ahash feature makes building hashlink crate impossible

2022-05-28 Thread peter green

Package rust-ahash is now in Debian, which should help fix this bug.

 - Jonas



I looked but the new packages don't seem to be installable.


 2 binary packages have unsatisfiable dependencies high

The dependencies of librust-ahash+compile-time-rng-dev=0.7.6-3 cannot be 
satisfied in unstable on amd64 because: unsatisfied dependency on 
librust-const-random-0.1+default-dev (>= 0.1.12) | 
librust-const-random-0.1+default-dev (>= 0.1.12)
The dependencies of librust-ahash-dev=0.7.6-3 cannot be satisfied in 
unstable on amd64 because: unsatisfied dependency on 
librust-atomic-polyfill-0.1+default-dev





Bug#987324: rust-hashbrown: missing ahash feature makes building hashlink crate impossible

2022-05-27 Thread Jonas Smedegaard
Package rust-ahash is now in Debian, which should help fix this bug.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#987324: rust-hashbrown: missing ahash feature makes building hashlink crate impossible

2021-04-21 Thread Daniel Kahn Gillmor
Package: rust-hashbrown
Version: 0.9.1-2
Control: forwarded -1 https://github.com/kyren/hashlink/issues/6

I'm trying to build the hashlink crate, which is needed by a transitive
dependency of future work on Sequoia (https://sequoia-pgp.org).

However, the build of hashlink 0.6.0 fails with an error:

```
error[E0599]: no variant or associated item named `default` found for enum 
`DefaultHashBuilder` in the current scope
  --> src/linked_hash_map.rs:50:57
   |
50 | hash_builder: hash_map::DefaultHashBuilder::default(),
   | ^^^ variant or 
associated item not found in `DefaultHashBuilder`

error[E0599]: no variant or associated item named `default` found for enum 
`DefaultHashBuilder` in the current scope
  --> src/linked_hash_map.rs:60:57
   |
60 | hash_builder: hash_map::DefaultHashBuilder::default(),
   | ^^^ variant or 
associated item not found in `DefaultHashBuilder`

error: aborting due to 2 previous errors
```

I reported this to the hashlink project upstream, and @nathaniel-daniel
identified the problem as being the stripping of the ahash feature from
the hashbrown crate in debian.

Presumably this means that we need the ahash crate in debian first; and
then we should enable that feature for the hashbrown crate.

 --dkg


signature.asc
Description: PGP signature