From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 111132] Build problem: meson build can not find wayland-scanner
Date: Mon, 15 Jul 2019 06:33:19 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2140589048=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id BD6B68981B
for ; Mon, 15 Jul 2019 06:33:19 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============2140589048==
Content-Type: multipart/alternative; boundary="15631723993.03f8D8D0.6530"
Content-Transfer-Encoding: 7bit
--15631723993.03f8D8D0.6530
Date: Mon, 15 Jul 2019 06:33:19 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D111132
Bug ID: 111132
Summary: Build problem: meson build can not find
wayland-scanner
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: vbelsare91@gmail.com
CC: mesa-dev@lists.freedesktop.org, shevegen@gmail.com
Depends on: 111126
+++ This bug was initially created as a clone of Bug #111126 +++
I am trying to compile mesa 19.1.2 from source.
Meson version is: 0.51.1
Here is the log so far:
Version: 0.51.1
Source dir: /Depot/Temp/rbt/mesa-19.1.2
Build dir: /Depot/Temp/rbt/mesa-19.1.2/BUILD_DIRECTORY
Build type: native build
Program python found: YES (/System/Index/bin/python)
Project name: mesa
Project version: 19.1.2
Appending CFLAGS from environment: '-O2 -fPIC -fno-strict-overflow -Wno-err=
or'
C compiler for the build machine: ccache cc (gcc 9.1.0 "cc (GCC) 9.1.0")
C++ compiler for the build machine: ccache c++ (gcc 9.1.0 "c++ (GCC) 9.1.0")
Appending CFLAGS from environment: '-O2 -fPIC -fno-strict-overflow -Wno-err=
or'
C compiler for the host machine: ccache cc (gcc 9.1.0 "cc (GCC) 9.1.0")
C++ compiler for the host machine: ccache c++ (gcc 9.1.0 "c++ (GCC) 9.1.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program pkg-config found: YES (/System/Index/bin/pkg-config)
Found pkg-config: /System/Index/bin/pkg-config (0.29.2)
Run-time dependency vdpau found: YES 1.2
Run-time dependency xvmc found: YES 1.0.11
Found CMake: /System/Index/bin/cmake (3.14.5)
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)
Run-time dependency libva found: YES 1.5.0
WARNING: Project targetting '>=3D 0.45' but tried to use feature introduced=
in
'0.46.0': Python Module
Program python3 found: YES (/System/Index/bin/python3)
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 if "__attribute__((const))" compiles: YES=20
Checking if "__attribute__((flatten))" compiles: YES=20
Checking if "__attribute__((malloc))" compiles: YES=20
Checking if "__attribute__((pure))" compiles: YES=20
Checking if "__attribute__((unused))" compiles: YES=20
Checking if "__attribute__((warn_unused_result))" compiles: YES=20
Checking if "__attribute__((weak))" compiles: YES=20
Checking if "__attribute__((format(...)))" compiles: YES=20
Checking if "__attribute__((packed))" compiles: YES=20
Checking if "__attribute__((returns_nonnull))" compiles: YES=20
Checking if "__attribute__((visibility(...)))" compiles: YES=20
Checking if "__attribute__((alias(...)))" compiles: YES=20
Checking if "__attribute__((__noreturn__))" compiles: 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=3Dincompatible-pointer-types: YES=
=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: NO=20
Compiler for C supports arguments -Wmissing-field-initializers: YES=20
Compiler for C supports arguments -Wformat-truncation: YES=20
Compiler for C supports arguments -fvisibility=3Dhidden: YES=20
Compiler for C++ supports arguments -Werror=3Dreturn-type: YES=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: NO=20
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES=20
Compiler for C++ supports arguments -Wmissing-field-initializers: YES=20
Compiler for C++ supports arguments -Wformat-truncation: YES=20
Compiler for C supports arguments -Woverride-init: YES=20
Compiler for C supports arguments -Winitializer-overrides: NO=20
Compiler for C++ supports arguments -fvisibility=3Dhidden: YES=20
Compiler for C supports arguments -Werror=3Dpointer-arith: 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=3Dvla: 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 not-found links: YES=20
Header has symbol "major" : YES=20
Checking if "xlocale.h" compiles: NO=20
Checking if "sys/sysctl.h" compiles: YES=20
Checking if "linux/futex.h" compiles: YES=20
Checking if "endian.h" compiles: YES=20
Checking if "dlfcn.h" compiles: YES=20
Checking if "execinfo.h" compiles: YES=20
Checking for function "strtof" : YES=20
Checking for function "mkostemp" : YES=20
Checking for function "posix_memalign" : YES=20
Checking for function "timespec_get" : YES=20
Checking for function "memfd_create" : 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
Checking for function "dlopen" : NO=20
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: 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.11
Run-time dependency threads found: YES=20
Checking for function "pthread_setaffinity_np" with dependency threads: YES=
=20
Run-time dependency expat found: YES 2.2.6
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.99
Run-time dependency libdrm_amdgpu found: YES 2.4.99
Run-time dependency libdrm_radeon found: YES 2.4.99
Run-time dependency libdrm_nouveau found: YES 2.4.99
Run-time dependency libdrm found: YES 2.4.99
llvm-config found: YES (/System/Index/bin/llvm-config) 8.0.0
Run-time dependency LLVM (modules: amdgpu, asmparser, bitreader, bitwriter,
engine, ipo, mcdisassembler, mcjit, native) found: YES 8.0.0
Run-time dependency libelf found: YES 0.176
Run-time dependency valgrind found: NO (tried pkgconfig)
Program bison found: YES (/System/Index/bin/bison)
Program flex found: YES (/System/Index/bin/flex)
Run-time dependency libunwind found: YES 1.3.1
Found pkg-config: /System/Index/bin/pkg-config (0.29.2)
Found CMake: /System/Index/bin/cmake (3.14.5)
Build-time dependency wayland-scanner found: NO (tried pkgconfig and cmake)
meson.build:1361:2: ERROR: Dependency "wayland-scanner" not found, tried
pkgconfig and cmake
A full log can be found at
/Depot/Temp/rbt/mesa-19.1.2/BUILD_DIRECTORY/meson-logs/meson-log.txt
---------------------------------------------------------------------------=
--
meson can not find wayland scanner, but it is right at
/usr/bin/wayland-scanner.
Additionally all the .pc files of wayland reside at /usr/lib/pkgconfig/.
Note that I have wayland installed via appdir-prefix at
/Programs/Wayland/1.17.0/
and then use symlinks (similar to what the program called stow does).
llvm on the other hand is installed into the prefix /usr/.
I am not sure why the meson build can find cmake and pkg-config without a
problem, but not wayland-scanner.
cmake version is: 3.14.5
Content of wayland-scanner.pc is:
prefix=3D/Programs/Wayland/1.17.0
exec_prefix=3D${prefix}
datarootdir=3D${prefix}/share
pkgdatadir=3D${datarootdir}/wayland
wayland_scanner=3D${exec_prefix}/bin/wayland-scanner
Name: Wayland Scanner
Description: Wayland scanner
Version: 1.17.0
I think there may be something failing but it is not stating why. If
possible it may be useful to have meson report a bit more to the
user in such an event, because "stat /usr/bin/wayland-scanner" works
fine, and the .pc file is there too, so I have no idea why meson
can not find it.
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=3D111126
[Bug 111126] Build problem: meson build can not find wayland-scanner
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15631723993.03f8D8D0.6530
Date: Mon, 15 Jul 2019 06:33:19 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
111132
|
| Summary |
Build problem: meson build can not find wayland-scanner
|
| Product |
DRI
|
| Version |
unspecified
|
| Hardware |
Other
|
| OS |
All
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
DRM/AMDgpu
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
vbelsare91@gmail.com
|
| CC |
mesa-dev@lists.freedesktop.org, shevegen@gmail.com
|
| Depends on |
111126
|
+++ This bug was initially created as a clone of Bug #111126 +++
I am trying to compile mesa 19.1.2 from source.
Meson version is: 0.51.1
Here is the log so far:
Version: 0.51.1
Source dir: /Depot/Temp/rbt/mesa-19.1.2
Build dir: /Depot/Temp/rbt/mesa-19.1.2/BUILD_DIRECTORY
Build type: native build
Program python found: YES (/System/Index/bin/python)
Project name: mesa
Project version: 19.1.2
Appending CFLAGS from environment: '-O2 -fPIC -fno-strict-overflow -Wno-err=
or'
C compiler for the build machine: ccache cc (gcc 9.1.0 "cc (GCC) 9.1.0=
")
C++ compiler for the build machine: ccache c++ (gcc 9.1.0 "c++ (GCC) 9=
.1.0")
Appending CFLAGS from environment: '-O2 -fPIC -fno-strict-overflow -Wno-err=
or'
C compiler for the host machine: ccache cc (gcc 9.1.0 "cc (GCC) 9.1.0&=
quot;)
C++ compiler for the host machine: ccache c++ (gcc 9.1.0 "c++ (GCC) 9.=
1.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program pkg-config found: YES (/System/Index/bin/pkg-config)
Found pkg-config: /System/Index/bin/pkg-config (0.29.2)
Run-time dependency vdpau found: YES 1.2
Run-time dependency xvmc found: YES 1.0.11
Found CMake: /System/Index/bin/cmake (3.14.5)
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)
Run-time dependency libva found: YES 1.5.0
WARNING: Project targetting '>=3D 0.45' but tried to use feature introdu=
ced in
'0.46.0': Python Module
Program python3 found: YES (/System/Index/bin/python3)
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 if "__attribute__((const))" compiles: YES=20
Checking if "__attribute__((flatten))" compiles: YES=20
Checking if "__attribute__((malloc))" compiles: YES=20
Checking if "__attribute__((pure))" compiles: YES=20
Checking if "__attribute__((unused))" compiles: YES=20
Checking if "__attribute__((warn_unused_result))" compiles: YES=20
Checking if "__attribute__((weak))" compiles: YES=20
Checking if "__attribute__((format(...)))" compiles: YES=20
Checking if "__attribute__((packed))" compiles: YES=20
Checking if "__attribute__((returns_nonnull))" compiles: YES=20
Checking if "__attribute__((visibility(...)))" compiles: YES=20
Checking if "__attribute__((alias(...)))" compiles: YES=20
Checking if "__attribute__((__noreturn__))" compiles: 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=3Dincompatible-pointer-types: YES=
=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: NO=20
Compiler for C supports arguments -Wmissing-field-initializers: YES=20
Compiler for C supports arguments -Wformat-truncation: YES=20
Compiler for C supports arguments -fvisibility=3Dhidden: YES=20
Compiler for C++ supports arguments -Werror=3Dreturn-type: YES=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: NO=20
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES=20
Compiler for C++ supports arguments -Wmissing-field-initializers: YES=20
Compiler for C++ supports arguments -Wformat-truncation: YES=20
Compiler for C supports arguments -Woverride-init: YES=20
Compiler for C supports arguments -Winitializer-overrides: NO=20
Compiler for C++ supports arguments -fvisibility=3Dhidden: YES=20
Compiler for C supports arguments -Werror=3Dpointer-arith: 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=3Dvla: 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 not-found links: =
YES=20
Header <sys/sysmacros.h> has symbol "major" : YES=20
Checking if "xlocale.h" compiles: NO=20
Checking if "sys/sysctl.h" compiles: YES=20
Checking if "linux/futex.h" compiles: YES=20
Checking if "endian.h" compiles: YES=20
Checking if "dlfcn.h" compiles: YES=20
Checking if "execinfo.h" compiles: YES=20
Checking for function "strtof" : YES=20
Checking for function "mkostemp" : YES=20
Checking for function "posix_memalign" : YES=20
Checking for function "timespec_get" : YES=20
Checking for function "memfd_create" : 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
Checking for function "dlopen" : NO=20
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: 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.11
Run-time dependency threads found: YES=20
Checking for function "pthread_setaffinity_np" with dependency th=
reads: YES=20
Run-time dependency expat found: YES 2.2.6
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.99
Run-time dependency libdrm_amdgpu found: YES 2.4.99
Run-time dependency libdrm_radeon found: YES 2.4.99
Run-time dependency libdrm_nouveau found: YES 2.4.99
Run-time dependency libdrm found: YES 2.4.99
llvm-config found: YES (/System/Index/bin/llvm-config) 8.0.0
Run-time dependency LLVM (modules: amdgpu, asmparser, bitreader, bitwriter,
engine, ipo, mcdisassembler, mcjit, native) found: YES 8.0.0
Run-time dependency libelf found: YES 0.176
Run-time dependency valgrind found: NO (tried pkgconfig)
Program bison found: YES (/System/Index/bin/bison)
Program flex found: YES (/System/Index/bin/flex)
Run-time dependency libunwind found: YES 1.3.1
Found pkg-config: /System/Index/bin/pkg-config (0.29.2)
Found CMake: /System/Index/bin/cmake (3.14.5)
Build-time dependency wayland-scanner found: NO (tried pkgconfig and cmake)
meson.build:1361:2: ERROR: Dependency "wayland-scanner" not found=
, tried
pkgconfig and cmake
A full log can be found at
/Depot/Temp/rbt/mesa-19.1.2/BUILD_DIRECTORY/meson-logs/meson-log.txt
---------------------------------------------------------------------------=
--
meson can not find wayland scanner, but it is right at
/usr/bin/wayland-scanner.
Additionally all the .pc files of wayland reside at /usr/lib/pkgconfig/.
Note that I have wayland installed via appdir-prefix at
/Programs/Wayland/1.17.0/
and then use symlinks (similar to what the program called stow does).
llvm on the other hand is installed into the prefix /usr/.
I am not sure why the meson build can find cmake and pkg-config without a
problem, but not wayland-scanner.
cmake version is: 3.14.5
Content of wayland-scanner.pc is:
prefix=3D/Programs/Wayland/1.17.0
exec_prefix=3D${prefix}
datarootdir=3D${prefix}/share
pkgdatadir=3D${datarootdir}/wayland
wayland_scanner=3D${exec_prefix}/bin/wayland-scanner
Name: Wayland Scanner
Description: Wayland scanner
Version: 1.17.0
I think there may be something failing but it is not stating why. If
possible it may be useful to have meson report a bit more to the
user in such an event, because "stat /usr/bin/wayland-scanner" wo=
rks
fine, and the .pc file is there too, so I have no idea why meson
can not find it.
Referenced Bugs:
-
[Bug 11112=
6] Build problem: meson build can not find wayland-scanner
You are receiving this mail because:
- You are the assignee for the bug.
=
--15631723993.03f8D8D0.6530--
--===============2140589048==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============2140589048==--