[Pkg-javascript-devel] Bug#1004658: Help to compile a wasm package
Geert Stappers
stappers at debian.org
Mon Jan 31 16:29:23 GMT 2022
control: tag -1 -pending
I might be wrong about the removal of that tag, do feel free to re-add it.
On Mon, Jan 31, 2022 at 03:11:00PM +0100, Yadd wrote:
(fully quoted because I'm adding 1004658 at bugs.debian.org to the loop)
> On 31/01/2022 15:00, Geert Stappers wrote:
> > On Mon, Jan 31, 2022 at 01:09:43PM +0100, Yadd wrote:
> > > Hi all,
> > >
> > > to update a nodejs package,
> >
> > Which package is that? Please provide an URL.
>
> Hi
>
> thanks for your answer. Here is the working package:
> https://salsa.debian.org/js-team/node-source-map
>
> (embedded component source-map-mappings)
At https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004658#35
is adviced:
source-map-mappings should be packaged separately,
and then build-depended on from package node-source-map.
> > > I need to build a wasm file using cargo. I succeed to do it
> >
> > OKay, nice.
> >
> >
> > > but it downloads some package during build process:
> > > * libc-0.2.116
> > > * rand-0.4.6
> > > * vlq-0.5.1
> > >
> > > Which package do I have to install as dependency to avoid this ?
> >
> > Some how I do read "How to avoid dependency?"
> >
> > Please elaborate your question. Because I don't understand it,
> > but want to understand it.
>
> With network enabled, "cargo build" downloads these 3 packages and stores
> them in ~/.cargo
>
> > > PS: sorry, I don't know anything about rust packaging,
> > > neither rust/cargo themselves...
> > >
> >
> > Some how I do read "I fear the yet unknown rust and unknown cargo world"
> >
> > Just tell more about "starting point"
> > > to update a nodejs package,
>
> https://salsa.debian.org/js-team/node-source-map
>
> Cheers,
> Yadd
>
Now I understand the
} } } it builds
} } } there are dependencies (they are fetched by Cargo)
the problem^Wchallenge in my words
} } } It builds when Internet access is allowed.
} } } During "debian build" is Internet access not allowed
} } } (to prevent unreproduceable builds).
} } } How to get the missing build dependencies?
Rust packages / crates needs to packaged for Debian.
> > > * libc-0.2.116
With https://packages.debian.org/search?suite=stable§ion=all&arch=any&searchon=all&keywords=libc+rust
did I found `librust-libc-dev`.
> > > * rand-0.4.6
There is Debian package `librust-rand+libc-dev`.
> > > * vlq-0.5.1
That one seems to be missing.
Groeten
Geert Stappers
DD
--
Silence is hard to parse
More information about the Pkg-javascript-devel
mailing list