Re: Problem compiling ports

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Tue, 30 Nov 2021 21:57:56 UTC
It would be better making new special handling like BE_AMDGPU for it.
Building with BE_STANDARD just for this would be a pain for some users.

(CC'ing freebsd-ports ML.)


On Tue, 30 Nov 2021 17:45:30 +0000
Brooks Davis <brooks@freebsd.org> wrote:

> In the config for devel/llvm11, is BE_STANDARD enabled?  If not, you
> won't have the web assembly backend.
> 
> -- Brooks
> 
> On Tue, Nov 30, 2021 at 05:24:45PM +0000, Filippo Moretti via current wrote:
> > error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-wasi"'
> > 1 error generated.
> > gmake[3]: *** [Makefile:380: /usr/ports/devel/wasi-libc/work/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/build/dlmalloc/src/dlmalloc.o] Error 1
> > error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-wasi"'
> > 1 error generated.
> > gmake[3]: *** [Makefile:440: startup_files] Error 1
> > gmake[3]: Leaving directory '/usr/ports/devel/wasi-libc/work/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96'
> > ===> Compilation failed unexpectedly.
> > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> > the maintainer.
> > *** Error code 1
> > 
> > Stop.
> > make[2]: stopped in /usr/ports/devel/wasi-libc
> > *** Error code 1
> > 
> > Stop.
> > make[1]: stopped in /usr/ports/devel/wasi-libcxx*** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/ports/www/firefox
> > 
> > ===>>> make build failed for www/firefox
> > ===>>> Aborting update
> > 
> > 
> > ??File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 799, in <lambda>
> > ?????? eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
> > ?? File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in load
> > ?????? self.require(*args, **kwargs)
> > ?? File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2472, in require
> > ?????? items = working_set.resolve(reqs, env, installer, extras=self.extras)
> > ?? File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 772, in resolve
> > ?????? raise DistributionNotFound(req, requirers)
> > pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution was not found and is required by the application
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/ports/devel/py-pycparser
> > 
> > ===>>> make build failed for devel/py-pycparser@py38
> > ===>>> Aborting update
> > 
> > FreeBSD sting 14.0-CURRENT FreeBSD 14.0-CURRENT #62 heads/main-n251146-d109559ddbf: Mon Nov 29 12:18:48 CET 2021???????? root@sting:/usr/obj/usr/src/amd64.amd64/sys/STING?? amd64
> > 
> > 


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>