pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: a possible incompatibility between lang/mozjs78 and lang/rust



You mean this?    Daisuke

---------------------------------------------------------------------------
gmake[3]: Leaving directory
'/source/netbsd/pkgsrc/2021Q1/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build/js/src'
error: failed to parse manifest at
`/source/netbsd/pkgsrc/2021Q1/pkgsrc/lang/mozjs78/work/firefox-78.4.0/Cargo.toml`

Caused by:
  dependency (nix) specification is ambiguous. Only one of `branch`,
`tag` or `rev` is allowed.
gmake[3]: *** [/source/netbsd/pkgsrc/2021Q1/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/makefiles/rust.mk:299:
force-cargo-library-build] Error 101
gmake[3]: Leaving directory
'/source/netbsd/pkgsrc/2021Q1/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build/js/src/rust'
gmake[2]: *** [/source/netbsd/pkgsrc/2021Q1/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/recurse.mk:74:
js/src/rust/target] Error 2
---------------------------------------------------------------------------

---------------------------------------------------------------------------
gmake[3]: Leaving directory
'/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build/mfbt/tests'
    Updating git repository `https://github.com/shravanrn/nix/`
error: failed to resolve patches for
`https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to load source for dependency `nix`

Caused by:
  Unable to update
https://github.com/shravanrn/nix/?rev=4af6c367603869a30fddb5ffb0aba2b9477ba92e

Caused by:
  failed to fetch into:
/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/.home/.cargo/git/db/nix-bcf9654e7f420cf5

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  the SSL certificate is invalid; class=Ssl (16); code=Certificate (-17)
gmake[3]: *** [/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/makefiles/rust.mk:299:
force-cargo-library-build] Error 101
gmake[3]: Leaving directory
'/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build/js/src/rust'
gmake[2]: *** [/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/recurse.mk:74:
js/src/rust/target] Error 2
gmake[2]: Leaving directory
'/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build'
gmake[1]: *** [/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/recurse.mk:34:
compile] Error 2
gmake[1]: Leaving directory
'/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build'
gmake: *** [/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/rules.mk:390:
all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/mozjs78
---------------------------------------------------------------------------

On Fri, 30 Apr 2021 at 15:49, Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
>
> On Fri, Apr 30, 2021 at 03:09:25PM +0800, Kinoshita Daisuke wrote:
> > Hello everyone,
> >
> > I am struggling with lang/mozjs78 for a few days.
> > As a dependency, lang/mozjs78 is required, and I tried to compile it
> > using pkgsrc-current.
> > But compilation of lang/mozjs78 fails with pkgsrc-current.
> >
> > I have checked dependencies of lang/mozjs78, and have tried some
> > combinations of versions of packages.
> > It seems that lang/mozjs78 is successfully compiled when using
> > lang/rust version 1.49.
> > And, compilation of lang/mozjs78 fails when using lang/rust version 1.50.
> >
> > I haven't used rust, and it is difficult for me to go further.
> > And, I just want to report about it.
> >
> > Here is the error message I saw when rust 1.50 is used for compilation.
> >
> > ---------------------------------------------------------------------------
> > gmake[3]: Leaving directory
> > '/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build/js/src'
> > gmake[2]: Leaving directory
> > '/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build'
> > gmake[1]: *** [/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/recurse.mk:34:
> > compile] Error 2
> > gmake[1]: Leaving directory
> > '/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build'
> > gmake: *** [/source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/rules.mk:390:
> > all] Error 2
> > *** Error code 2
> >
> > Stop.
> > make[1]: stopped in /source/netbsd/pkgsrc/current/pkgsrc/lang/mozjs78
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/pkgsrc/lang/mozjs78
>
>
> I think further up there is something about trying to use git to grab "nix"
>
> P


Home | Main Index | Thread Index | Old Index