Hello,

attached is the updated port for alacritty including a "pre-configure"
target data size check taken from the lang/rust port.
ok?

On Sat, Aug 10, 2019 at 9:14 PM Eric Auge <eau+o...@unix4fun.net> wrote:
>
> Hello,
>
> On Sat, Aug 10, 2019 at 7:39 PM Theo Buehler <t...@theobuehler.org> wrote:
> >
> > On Wed, Aug 07, 2019 at 09:18:31AM +0200, Eric Auge wrote:
> > > Hello,
> > >=20
> > > is the updated port all ok?
> >
> > I could not build this with a login class staff user without bumping
> > ulimit -d quite a bit (I ended up doubling it). Should there perhaps be
> > a warning similar to the one in lang/rust?
>
> at the pre-configure target?
> ok, I will send an updated port in a few after re-testing it with the
> additional warning.
>
> >
> > LLVM ERROR: out of memory
> > error: Could not compile `alacritty`.
> >
>
> I was wondering how to deal with that from the port POV in my first
> reply to Brian:
> ...
> Additionally on OpenBSD, there is a comment on alacritty project:
> "The default user limits in OpenBSD are insufficient to build
> Alacritty. A datasize-cur of at least 3GB is recommended (see
> login.conf)."
>
> How should I deal with this from the port POV?
> ...
>
>
> > Caused by:
> >   process didn't exit successfully: `/usr/local/bin/rustc --edition=3D2018 =
> > --crate-name alacritty alacritty/src/main.rs --color never --crate-type bin=
> >  --emit=3Ddep-info,link -C opt-level=3D3 -C lto -C debuginfo=3D1 --cfg 'fea=
> > ture=3D"default"' -C metadata=3D34165af3ffc40356 -C extra-filename=3D-34165=
> > af3ffc40356 --out-dir /usr/ports/pobj/alacritty-0.3.3/build-amd64/target/re=
> > lease/deps -L dependency=3D/usr/ports/pobj/alacritty-0.3.3/build-amd64/targ=
> > et/release/deps --extern alacritty_terminal=3D/usr/ports/pobj/alacritty-0.3=
> > =2E3/build-amd64/target/release/deps/libalacritty_terminal-c754dfeab36402eb=
> > =2Erlib --extern clap=3D/usr/ports/pobj/alacritty-0.3.3/build-amd64/target/=
> > release/deps/libclap-9637bb071988a172.rlib --extern crossbeam_channel=3D/us=
> > r/ports/pobj/alacritty-0.3.3/build-amd64/target/release/deps/libcrossbeam_c=
> > hannel-f53712b3a546b2cf.rlib --extern env_logger=3D/usr/ports/pobj/alacritt=
> > y-0.3.3/build-amd64/target/release/deps/libenv_logger-a5dfb8ebfd133b30.rlib=
> >  --extern log=3D/usr/ports/pobj/alacritty-0.3.3/build-amd64/target/release/=
> > deps/liblog-be423954d857bbd9.rlib --extern serde_yaml=3D/usr/ports/pobj/ala=
> > critty-0.3.3/build-amd64/target/release/deps/libserde_yaml-022d6ddaeaf5d04e=
> > =2Erlib --extern time=3D/usr/ports/pobj/alacritty-0.3.3/build-amd64/target/=
> > release/deps/libtime-d0c34424d8a465ea.rlib --extern xdg=3D/usr/ports/pobj/a=
> > lacritty-0.3.3/build-amd64/target/release/deps/libxdg-eeeb620cbb933477.rlib=
> >  -L/usr/X11R6/lib -L native=3D/usr/ports/pobj/alacritty-0.3.3/build-amd64/t=
> > arget/release/build/libloading-26ba8eff14b79f78/out -L native=3D/usr/X11R6/=
> > lib -L native=3D/usr/X11R6/lib` (signal: 6, SIGABRT: process abort signal)
> > *** Error 101 in . (/usr/ports/devel/cargo/cargo.port.mk:171 'do-build': @c=
> > d /usr/ports/pobj/alacritty-0.3.3/alacritty-0.3.3 && /usr/bin/env...)
> > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2777 '/usr/ports=
> > /pobj/alacritty-0.3.3/build-amd64/.build_done')
> > *** Error 1 in /usr/ports/x11/alacritty (/usr/ports/infrastructure/mk/bsd.p=
> > ort.mk:2447 'all')
> >

Attachment: alacritty-2019081100.tgz
Description: Binary data

Reply via email to