Bug 247002 - graphics/mesa-dri: configure fails with "dependency wayland-protocols not found"
Summary: graphics/mesa-dri: configure fails with "dependency wayland-protocols not found"
Status: Closed DUPLICATE of bug 246997
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-05 14:33 UTC by Marco Beishuizen
Modified: 2020-06-05 14:39 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Beishuizen 2020-06-05 14:33:18 UTC
updating graphics/mesa-dri fails to configure with an error:

[...]
===>  Configuring for mesa-dri-19.0.8_1
The Meson build system
Version: 0.54.2
Source dir: /usr/ports/graphics/mesa-dri/work/mesa-19.0.8
Build dir: /usr/ports/graphics/mesa-dri/work/mesa-19.0.8/_build
Build type: native build
Program python found: NO
Program python2 found: NO
Program python3 found: YES (/usr/ports/graphics/mesa-dri/work/.bin/python3)
Project name: mesa
Project version: 19.0.8
Using 'CC' from environment with value: 'cc'
Using 'CFLAGS' from environment with value: '-O2 -pipe -march=nocona  -fstack-protector-strong -fno-strict-aliasing '
Using 'LDFLAGS' from environment with value: ' -Wl,-rpath=/usr/local/llvm80/lib -fstack-protector-strong '
Using 'CPPFLAGS' from environment with value: ''
Using 'CXX' from environment with value: 'c++'
Using 'CXXFLAGS' from environment with value: '-O2 -pipe -march=nocona -fstack-protector-strong -fno-strict-aliasing  '
Using 'LDFLAGS' from environment with value: ' -Wl,-rpath=/usr/local/llvm80/lib -fstack-protector-strong '
Using 'CPPFLAGS' from environment with value: ''
Using 'CC' from environment with value: 'cc'
Using 'CFLAGS' from environment with value: '-O2 -pipe -march=nocona  -fstack-protector-strong -fno-strict-aliasing '
Using 'LDFLAGS' from environment with value: ' -Wl,-rpath=/usr/local/llvm80/lib -fstack-protector-strong '
Using 'CPPFLAGS' from environment with value: ''
C compiler for the host machine: cc (clang 8.0.1 "FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)")
C linker for the host machine: cc ld.lld 8.0.1
Using 'CXX' from environment with value: 'c++'
Using 'CXXFLAGS' from environment with value: '-O2 -pipe -march=nocona -fstack-protector-strong -fno-strict-aliasing  '
Using 'LDFLAGS' from environment with value: ' -Wl,-rpath=/usr/local/llvm80/lib -fstack-protector-strong '
Using 'CPPFLAGS' from environment with value: ''
C++ compiler for the host machine: c++ (clang 8.0.1 "FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)")
C++ linker for the host machine: c++ ld.lld 8.0.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program pkg-config found: YES (/usr/local/bin/pkg-config)
Using 'PKG_CONFIG' from environment with value: 'pkgconf'
Found pkg-config: /usr/local/bin/pkgconf (1.6.3)
Run-time dependency vdpau found: YES 1.4
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.17.3)
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libva found: YES 1.7.0
Checking for function "bswap32" : YES 
Checking for function "bswap64" : YES 
Checking for function "clz" : YES 
Checking for function "clzll" : YES 
Checking for function "ctz" : YES 
Checking for function "expect" : YES 
Checking for function "ffs" : YES 
Checking for function "ffsll" : YES 
Checking for function "popcount" : YES 
Checking for function "popcountll" : YES
Checking for function "unreachable" : YES 
Checking if "__attribute__((const))" compiles: YES 
Checking if "__attribute__((flatten))" compiles: YES 
Checking if "__attribute__((malloc))" compiles: YES 
Checking if "__attribute__((pure))" compiles: YES 
Checking if "__attribute__((unused))" compiles: YES 
Checking if "__attribute__((warn_unused_result))" compiles: YES 
Checking if "__attribute__((weak))" compiles: YES 
Checking if "__attribute__((format(...)))" compiles: YES 
Checking if "__attribute__((packed))" compiles: YES 
Checking if "__attribute__((returns_nonnull))" compiles: YES 
Checking if "__attribute__((visibility(...)))" compiles: YES 
Checking if "__attribute__((alias(...)))" compiles: YES 
Checking if "__attribute__((__noreturn__))" compiles: YES 
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -fno-math-errno: YES 
Compiler for C supports arguments -fno-trapping-math: YES 
Compiler for C supports arguments -Qunused-arguments: YES
Compiler for C supports arguments -Wmissing-field-initializers: YES 
Compiler for C supports arguments -Wformat-truncation: NO 
Compiler for C supports arguments -fvisibility=hidden: YES 
Compiler for C++ supports arguments -Werror=return-type: YES 
Compiler for C++ supports arguments -fno-math-errno: YES 
Compiler for C++ supports arguments -fno-trapping-math: YES 
Compiler for C++ supports arguments -Qunused-arguments: YES 
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES 
Compiler for C++ supports arguments -Wmissing-field-initializers: YES 
Compiler for C++ supports arguments -Wformat-truncation: NO 
Compiler for C supports arguments -Woverride-init: YES 
Compiler for C supports arguments -Winitializer-overrides: YES 
Compiler for C++ supports arguments -fvisibility=hidden: YES 
Compiler for C supports arguments -Werror=pointer-arith: YES 
Compiler for C++ supports arguments -Werror=pointer-arith: YES 
Compiler for C supports arguments -Werror=vla: YES 
Compiler for C++ supports arguments -Werror=vla: YES 
Checking if "GCC atomic builtins" links: YES 
Checking if "GCC 64bit atomics" with dependency not-found links: YES 
Header <sys/sysmacros.h> has symbol "major" : NO
Header <sys/mkdev.h> has symbol "major" : NO 
Checking if "xlocale.h" compiles: YES 
Checking if "sys/sysctl.h" compiles: NO 
Checking if "linux/futex.h" compiles: NO 
Checking if "endian.h" compiles: NO 
Checking if "dlfcn.h" compiles: YES 
Checking for function "strtof" : YES 
Checking for function "mkostemp" : YES 
Checking for function "posix_memalign" : YES 
Checking for function "timespec_get" : YES 
Checking for function "memfd_create" : NO 
Checking if "strtod has locale support" links: YES 
Checking if "Bsymbolic" links: YES 
Checking if "gc-sections" links: YES 
Checking if "version-script" links: YES 
Checking if "dynamic-list" links: YES 
Compiler for C supports link arguments -Wl,--build-id=sha1: YES 
Checking for function "dlopen" : YES 
Checking for function "dladdr" with dependency not-found: YES 
Checking for function "dl_iterate_phdr" : YES
Checking for function "clock_gettime" : YES 
Run-time dependency zlib found: YES 1.2.10
Run-time dependency threads found: YES
Checking for function "pthread_setaffinity_np" with dependency threads: NO 
Run-time dependency expat found: YES 2.2.8
Library m found: YES
Message: libdrm 2.4.97 needed because amdgpu has the highest requirement
Run-time dependency libdrm_intel found: YES 2.4.102
Run-time dependency libdrm_amdgpu found: YES 2.4.102
Run-time dependency libdrm_radeon found: YES 2.4.102
Run-time dependency libdrm found: YES 2.4.102
llvm-config found: YES (/usr/local/bin/llvm-config90) 9.0.1
Run-time dependency LLVM (modules: amdgpu, asmparser, bitreader, bitwriter, engine, ipo, mcdisassembler, mcjit, native) found: YES 9.0.1
Run-time dependency libelf found: NO (tried pkgconfig and cmake)
Library elf found: YES
Run-time dependency valgrind found: NO (tried pkgconfig)
Program bison found: YES (/usr/local/bin/bison)
Program flex found: YES (/usr/bin/flex)
Run-time dependency libunwind found: YES 1.4.0
Using 'PKG_CONFIG' from environment with value: 'pkgconf'
Found pkg-config: /usr/local/bin/pkgconf (1.6.3)
Build-time dependency wayland-scanner found: YES 1.18.0
Program /usr/local/bin/wayland-scanner found: YES (/usr/local/bin/wayland-scanner)
Run-time dependency wayland-protocols found: NO (tried pkgconfig and cmake)

meson.build:1303:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig and cmake

A full log can be found at /usr/ports/graphics/mesa-dri/work/mesa-19.0.8/_build/meson-logs/meson-log.txt
===>  Script "configure" failed unexpectedly.
Please report the problem to x11@FreeBSD.org [maintainer] and attach the
"/usr/ports/graphics/mesa-dri/work/mesa-19.0.8/_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

Stop.
make[1]: stopped in /usr/ports/graphics/mesa-dri
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/mesa-dri

===>>> make build failed for graphics/mesa-dri
===>>> Aborting update

===>>> Update for graphics/mesa-dri failed
===>>> Aborting update
[...]

uname -a: FreeBSD yokozuna 12.1-RELEASE-p5 FreeBSD 12.1-RELEASE-p5 YOKOZUNA  amd64
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2020-06-05 14:39:30 UTC

*** This bug has been marked as a duplicate of bug 246997 ***