Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiconfig build error likely due to meson / libglvnd #300

Open
mintel1 opened this issue May 1, 2024 · 1 comment
Open

Multiconfig build error likely due to meson / libglvnd #300

mintel1 opened this issue May 1, 2024 · 1 comment
Labels
build Issue related to build system infrastructure

Comments

@mintel1
Copy link
Collaborator

mintel1 commented May 1, 2024

Although I've been able to get Morpheus installed with all tests passing, I wanted to try the multi-config install, but it's giving me some errors.

Command to run:

conan install ./ -pr:h .conan2/profiles/msvc/193/x64-release -pr:b .conan2/profiles/msvc/193/x64-release --build missing -c tools.cmake.cmaketoolchain:generator="Ninja Multi-Config"

Output on screen:

...snip
automake/1.16.5: Already installed! (26 of 31)

-------- Installing package libglvnd/1.7.0 (27 of 31) --------
libglvnd/1.7.0: Building from source
libglvnd/1.7.0: Package libglvnd/1.7.0:0a05e518917f2a0dcac6c430b571c412f88d2801
libglvnd/1.7.0: Copying sources to build folder
libglvnd/1.7.0: Building your package in /home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b
libglvnd/1.7.0: Calling generate()
libglvnd/1.7.0: Generators folder: /home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release/conan
WARN: deprecated: Please, do not use a Conan option value directly. Convert 'options.egl' into a valid Pythondata type, e.g, bool(self.options.shared)
WARN: deprecated: Please, do not use a Conan option value directly. Convert 'options.gles1' into a valid Pythondata type, e.g, bool(self.options.shared)
WARN: deprecated: Please, do not use a Conan option value directly. Convert 'options.gles2' into a valid Pythondata type, e.g, bool(self.options.shared)
WARN: deprecated: Please, do not use a Conan option value directly. Convert 'options.tls' into a valid Pythondata type, e.g, bool(self.options.shared)
WARN: deprecated: Please, do not use a Conan option value directly. Convert 'options.dispatch_tls' into a valid Pythondata type, e.g, bool(self.options.shared)
WARN: deprecated: Please, do not use a Conan option value directly. Convert 'options.headers' into a valid Pythondata type, e.g, bool(self.options.shared)
libglvnd/1.7.0: Generating aggregated env files
libglvnd/1.7.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
libglvnd/1.7.0: Calling build()
libglvnd/1.7.0: Meson configure cmd: meson setup --native-file "/home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release/conan/conan_meson_native.ini" "/home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release" "/home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/src" --prefix=/
libglvnd/1.7.0: RUN: meson setup --native-file "/home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release/conan/conan_meson_native.ini" "/home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release" "/home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/src" --prefix=/
The Meson build system
Version: 1.4.0
Source dir: /home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/src
Build dir: /home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release
Build type: native build
Project name: glvnd
Project version: 1.7.0

../src/meson.build:24:0: ERROR: Unknown compiler(s): [['cl']]
The following exception(s) were encountered:
Running `cl '/?'` gave "[Errno 2] No such file or directory: 'cl'"

A full log can be found at /home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release/meson-logs/meson-log.txt

libglvnd/1.7.0: ERROR:
Package '0a05e518917f2a0dcac6c430b571c412f88d2801' build failed
libglvnd/1.7.0: WARN: Build folder /home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release
ERROR: libglvnd/1.7.0: Error in build() method, line 98
	meson.configure()
	ConanException: Error 1 while executing
(.venv) mintel@Ubuntu-2204-jammy-amd64-base:~/code/Morpheus$ meson setup --native-file "/home/mintel/code/Morpheus/.conan2/p/b/libgl5f9e0940cbd99/b/build-release/conan/conan_meson_native.ini" "/home/mintel/code/Morpheus/.conan2/p/b/libgl5f9e0940cbd99/b/build-release" "/home/mintel/code/Morpheus/.conan2/p/b/libgl5f9e0940cbd99/b/src" --prefix=/
The Meson build system
Version: 0.61.2
Source dir: /home/mintel/code/Morpheus/.conan2/p/b/libgl5f9e0940cbd99/b/src
Build dir: /home/mintel/code/Morpheus/.conan2/p/b/libgl5f9e0940cbd99/b/build-release
Build type: native build
Project name: glvnd
Project version: 1.7.0

.conan2/p/b/libgl5f9e0940cbd99/b/src/meson.build:24:0: ERROR: Unknown compiler(s): [['cl']]
The following exception(s) were encountered:
Running "cl /?" gave "[Errno 2] No such file or directory: 'cl'"

A full log can be found at /home/mintel/code/Morpheus/.conan2/p/b/libgl5f9e0940cbd99/b/build-release/meson-logs/meson-log.txt

I installed meson today with sudo apt install meson, but the error is still here.

Log file contents:

Build started at 2024-05-01T22:04:45.207304
Main binary: /home/mintel/code/Morpheus/.venv/bin/python3
Build Options: -Dprefix=/ --native-file=/home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release/conan/conan_meson_native.ini
Python system: Linux
The Meson build system
Version: 1.4.0
Source dir: /home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/src
Build dir: /home/mintel/code/Morpheus/.conan2/p/b/libgld683ab9d19cf9/b/build-release
Build type: native build
Project name: glvnd
Project version: 1.7.0
-----------
Detecting compiler via: `cl '/?'` -> [Errno 2] No such file or directory: 'cl'

../src/meson.build:24:0: ERROR: Unknown compiler(s): [['cl']]
The following exception(s) were encountered:
Running `cl '/?'` gave "[Errno 2] No such file or directory: 'cl'"

@mintel1 mintel1 added the build Issue related to build system infrastructure label May 1, 2024
@mintel1
Copy link
Collaborator Author

mintel1 commented May 1, 2024

My default profile:

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issue related to build system infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant