Date: Fri, 28 Oct 2022 10:21:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267400] graphics/mesa-dri: build error: Could not generate cargs for libdrm_amdgpu: Package valgrind was not found Message-ID: <bug-267400-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267400 Bug ID: 267400 Summary: graphics/mesa-dri: build error: Could not generate cargs for libdrm_amdgpu: Package valgrind was not found Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: rozhuk.im@gmail.com Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) ... =3D=3D=3D> Extracting for mesa-dri-22.2.2 =3D> SHA256 Checksum OK for mesa-22.2.2.tar.xz. =3D=3D=3D> Patching for mesa-dri-22.2.2 =3D=3D=3D> Applying FreeBSD patches for mesa-dri-22.2.2 from /usr/ports/graphics/mesa-dri/files /usr/bin/sed -i.bak -e '/SYSCONFDIR/ s|/etc|/usr/local/etc|g' -e '/DATADIR/ s|/usr/share|/usr/local/share|g'=20 /tmp/ports/usr/ports/graphics/mesa-dri/work/mesa-22.2.2/src/util/xmlconfig.c =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/pthread-stubs.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on package: py39-mako>0 - found =3D=3D=3D> mesa-dri-22.2.2 depends on executable: bison - found =3D=3D=3D> mesa-dri-22.2.2 depends on package: meson>=3D0.57.1_1 - found =3D=3D=3D> mesa-dri-22.2.2 depends on executable: ninja - found =3D=3D=3D> mesa-dri-22.2.2 depends on package: pkgconf>=3D1.3.0_1 - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/bin/python3.9 - fo= und =3D=3D=3D> mesa-dri-22.2.2 depends on executable: llvm-config13 - found =3D=3D=3D> mesa-dri-22.2.2 depends on executable: glslangValidator - found =3D=3D=3D> mesa-dri-22.2.2 depends on package: xorgproto>=3D0 - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= xv.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= xvmc.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= x11.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= xdamage.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= xext.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= xfixes.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/xshmfence.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= xv.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= xcb.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on file: /usr/local/libdata/pkgconfig/= xrandr.pc - found =3D=3D=3D> mesa-dri-22.2.2 depends on shared library: libzstd.so - found (/usr/local/lib/libzstd.so) =3D=3D=3D> mesa-dri-22.2.2 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so) =3D=3D=3D> mesa-dri-22.2.2 depends on shared library: libdrm.so - found (/usr/local/lib/libdrm.so) =3D=3D=3D> mesa-dri-22.2.2 depends on shared library: libglapi.so - found (/usr/local/lib/libglapi.so) =3D=3D=3D> mesa-dri-22.2.2 depends on shared library: libunwind.so - found (/usr/local/lib/libunwind.so) =3D=3D=3D> Configuring for mesa-dri-22.2.2 /usr/bin/printf "[binaries]\nllvm-config =3D '/usr/local/bin/llvm-config13'= " > /tmp/ports/usr/ports/graphics/mesa-dri/work/mesa-22.2.2/llvm.ini The Meson build system Version: 0.63.2 Source dir: /tmp/ports/usr/ports/graphics/mesa-dri/work/mesa-22.2.2 Build dir: /tmp/ports/usr/ports/graphics/mesa-dri/work/mesa-22.2.2/_build Build type: native build Program python3 found: YES (/tmp/ports/usr/ports/graphics/mesa-dri/work/.bin/python3) Project name: mesa Project version: 22.2.2 C compiler for the host machine: cc (clang 14.0.5 "FreeBSD clang version 14= .0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)") C linker for the host machine: cc ld.lld 14.0.5 C++ compiler for the host machine: c++ (clang 14.0.5 "FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)") C++ linker for the host machine: c++ ld.lld 14.0.5 Host machine cpu family: x86_64 Host machine cpu: x86_64 Checking if "-mtls-dialect=3Dgnu2" runs: DID NOT COMPILE Program glslangValidator found: YES (/usr/local/bin/glslangValidator) Found pkg-config: /usr/local/bin/pkgconf (1.8.0) Run-time dependency xvmc found: YES 1.0.12 Run-time dependency xv found: YES 1.0.11 Found CMake: /usr/local/bin/cmake (3.24.0) Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake) Run-time dependency libtizonia found: NO (tried pkgconfig and cmake) Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake) Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake) Program python3 found: YES (/tmp/ports/usr/ports/graphics/mesa-dri/work/.bin/python3) Fetching value of define "ETIME" :=20=20 Checking for function "bswap32" : YES=20 Checking for function "bswap64" : YES=20 Checking for function "clz" : YES=20 Checking for function "clzll" : YES=20 Checking for function "ctz" : YES=20 Checking for function "expect" : YES=20 Checking for function "ffs" : YES=20 Checking for function "ffsll" : YES=20 Checking for function "popcount" : YES=20 Checking for function "popcountll" : YES=20 Checking for function "unreachable" : YES=20 Checking for function "types_compatible_p" : YES=20 Compiler for C supports function attribute const: YES=20 Compiler for C supports function attribute flatten: YES=20 Compiler for C supports function attribute malloc: YES=20 Compiler for C supports function attribute pure: YES=20 Compiler for C supports function attribute unused: YES=20 Compiler for C supports function attribute warn_unused_result: YES=20 Compiler for C supports function attribute weak: YES=20 Compiler for C supports function attribute format: YES=20 Compiler for C supports function attribute packed: YES=20 Compiler for C supports function attribute returns_nonnull: YES=20 Compiler for C supports function attribute alias: YES=20 Compiler for C supports function attribute noreturn: YES=20 Compiler for C supports function attribute visibility:hidden: YES=20 Checking if "__uint128_t" compiles: YES=20 Checking for function "reallocarray" : YES=20 Compiler for C supports link arguments -Wl,--gc-sections: YES=20 Compiler for C supports arguments -Werror=3Dimplicit-function-declaration: = YES=20 Compiler for C supports arguments -Werror=3Dmissing-prototypes: YES=20 Compiler for C supports arguments -Werror=3Dreturn-type: YES=20 Compiler for C supports arguments -Werror=3Dempty-body: YES=20 Compiler for C supports arguments -Werror=3Dincompatible-pointer-types: YES= =20 Compiler for C supports arguments -Werror=3Dint-conversion: YES=20 Compiler for C supports arguments -Wimplicit-fallthrough: YES=20 Compiler for C supports arguments -Wno-missing-field-initializers: YES=20 Compiler for C supports arguments -Wno-format-truncation: NO=20 Compiler for C supports arguments -fno-math-errno: YES=20 Compiler for C supports arguments -fno-trapping-math: YES=20 Compiler for C supports arguments -Qunused-arguments: YES=20 Compiler for C supports arguments -fno-common: YES=20 Compiler for C supports arguments -Wno-microsoft-enum-value: YES=20 Compiler for C supports arguments -Wno-unused-function: YES=20 Compiler for C supports arguments -Werror=3Dformat: YES=20 Compiler for C supports arguments -Wformat-security: YES=20 Compiler for C supports arguments -ffunction-sections: YES=20 Compiler for C supports arguments -fdata-sections: YES=20 Compiler for C supports arguments -Wno-unused-variable: YES=20 Compiler for C supports arguments -Wno-unused-but-set-variable: YES=20 Compiler for C++ supports arguments -Werror=3Dreturn-type: YES=20 Compiler for C++ supports arguments -Werror=3Dempty-body: YES=20 Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES=20 Compiler for C++ supports arguments -Wno-missing-field-initializers: YES=20 Compiler for C++ supports arguments -Wno-format-truncation: NO=20 Compiler for C++ supports arguments -fno-math-errno: YES=20 Compiler for C++ supports arguments -fno-trapping-math: YES=20 Compiler for C++ supports arguments -Qunused-arguments: YES=20 Compiler for C++ supports arguments -flifetime-dse=3D1: NO=20 Compiler for C++ supports arguments -Wno-microsoft-enum-value: YES=20 Compiler for C++ supports arguments -Werror=3Dformat: YES=20 Compiler for C++ supports arguments -Wformat-security: YES=20 Compiler for C++ supports arguments -ffunction-sections: YES=20 Compiler for C++ supports arguments -fdata-sections: YES=20 Compiler for C++ supports arguments -Wno-unused-variable: YES=20 Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES=20 Compiler for C supports arguments -Wno-override-init: YES=20 Compiler for C supports arguments -Wno-initializer-overrides: YES=20 Compiler for C supports arguments -Werror=3Dpointer-arith: YES=20 Compiler for C supports arguments -Werror=3Dvla: YES=20 Compiler for C supports arguments -Werror=3Dgnu-empty-initializer: YES=20 Compiler for C++ supports arguments -Werror=3Dpointer-arith: YES=20 Compiler for C++ supports arguments -Werror=3Dvla: YES=20 Compiler for C++ supports arguments -Werror=3Dgnu-empty-initializer: YES=20 Checking if "GCC atomic builtins" compiles: YES=20 Checking if "GCC atomic builtins required -latomic" : links: YES=20 Checking if "GCC 64bit atomics" with dependency : links: YES=20 Library ws2_32 found: NO Header "sys/sysmacros.h" has symbol "major" : NO=20 Header "sys/mkdev.h" has symbol "major" : NO=20 Check usable header "sched.h" : YES=20 Checking for function "sched_getaffinity" : YES=20 Check usable header "sys/sysctl.h" : YES=20 Check usable header "xlocale.h" : YES=20 Check usable header "linux/futex.h" : NO=20 Check usable header "endian.h" : NO=20 Check usable header "dlfcn.h" : YES=20 Check usable header "sys/shm.h" : YES=20 Check usable header "cet.h" : YES=20 Check usable header "pthread_np.h" : YES=20 Checking for function "strtof" : YES=20 Checking for function "mkostemp" : YES=20 Checking for function "timespec_get" : YES=20 Checking for function "memfd_create" : YES=20 Checking for function "random_r" : NO=20 Checking for function "flock" : YES=20 Checking for function "strtok_r" : YES=20 Checking for function "getrandom" : YES=20 Checking for function "qsort_s" : YES=20 Checking if "GNU qsort_r" : links: NO=20 Checking if "BSD qsort_r" : links: YES=20 Header "time.h" has symbol "struct timespec" : YES=20 Checking for function "thrd_create" : NO=20 Header "errno.h" has symbol "program_invocation_name" : NO=20 Header "math.h" has symbol "issignaling" : NO=20 Checking for function "posix_memalign" : YES=20 Checking whether type "struct dirent" has member "d_type" : YES=20 Checking if "strtod has locale support" : links: YES=20 Checking if "Bsymbolic" : links: YES=20 Checking if "gc-sections" : links: YES=20 Checking if "version-script" : links: YES=20 Checking if "dynamic-list" : links: YES=20 Compiler for C supports link arguments -Wl,--build-id=3Dsha1: YES=20 Checking for function "dlopen" : YES=20 Checking for function "dladdr" with dependency : YES=20 Checking for function "dl_iterate_phdr" : YES=20 Checking for function "clock_gettime" : YES=20 Run-time dependency zlib found: YES 1.2.12 Run-time dependency libzstd found: YES 1.5.2 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: NO= =20 Run-time dependency expat found: YES 2.4.9 Library m found: YES Message: libdrm 2.4.110 needed because amdgpu has the highest requirement Run-time dependency libdrm_amdgpu found: NO (tried cmake) meson.build:1708:4: ERROR: Could not generate cargs for libdrm_amdgpu: Package valgrind was not found in the pkg-config search path. Perhaps you should add the directory containing `valgrind.pc' to the PKG_CONFIG_PATH environment variable Package 'valgrind', required by 'libdrm', not found A full log can be found at /tmp/ports/usr/ports/graphics/mesa-dri/work/mesa-22.2.2/_build/meson-logs/m= eson-log.txt =3D=3D=3D> Script "configure" failed unexpectedly. Please report the problem to x11@FreeBSD.org [maintainer] and attach the "/tmp/ports/usr/ports/graphics/mesa-dri/work/mesa-22.2.2/_build/meson-logs/= meson-log.txt" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 .... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267400-7788>