[Bug 267158] [NEW PORT] devel/arm-compute-library

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Mar 2023 01:35:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267158

--- Comment #19 from Robert Clausecker <fuz@FreeBSD.org> ---
Build fails on amd64, armv7 and arm64 FreeBSD 13.1:

===> Checking for items in STAGEDIR missing from pkg-plist                      
Error: Orphaned:
include/wrkdirs/usr/ports/devel/computelibrary/work/ComputeLibrary-23.02/include/BUILD.bazel
Error: Orphaned:
include/wrkdirs/usr/ports/devel/computelibrary/work/ComputeLibrary-23.02/include/CL/cl.h 
Error: Orphaned:
include/wrkdirs/usr/ports/devel/computelibrary/work/ComputeLibrary-23.02/include/CL/cl_d3d10
.h                                                    
(...)
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: include/CL/cl.h
Error: Missing: include/CL/cl_d3d10.h
(...)

Looks like you didn't use COPYTREE_SHARE correctly.  Revisit the Porter's
Handbook for the correct usage.  You also forgot about the BUILD.bazel file.

Build also fails on i386 FreeBSD 13.1:

g++12 -o build/src/common/cpuinfo/CpuInfo.o -c -DARCH_ARM -Wextra
-Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2
-Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy
-Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic
-Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation
-fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS
-DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS
-DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABL
E_NHWC_KERNELS -DENABLE_NCHW_KERNELS -fPIC -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP
-DARM_COMPUTE_CPP_SCHEDULER=1 -D
ENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED
-DARM_COMPUTE_OPENCL_ENABLED -DARM_COMPUTE_VERSION_MAJOR=30
-DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I.
-Ibuild/build/src/core -Ibuild/src/core src/common/cpuinfo/CpuInfo.cpp         
                                               cc1plus: sorry, unimplemented:
64-bit mode not compiled in

It appears that the port tries to build itself in 64 bit mode despite the
target being i386.

I must ask you to provide at least one successful build log (including stage-qa
and check-plist, ideally with Poudriere) before I will look at your next
revision.

-- 
You are receiving this mail because:
You are the assignee for the bug.