Bug 1792630 - Doesn't build in Rawhide (meson doesn't find c++ compiler)
Summary: Doesn't build in Rawhide (meson doesn't find c++ compiler)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: weston
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gerd Pokorra
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-18 15:51 UTC by David Abdurachmanov
Modified: 2020-01-20 13:25 UTC (History)
3 users (show)

Fixed In Version: weston-7.0.93-1.fc32
Clone Of:
Environment:
Last Closed: 2020-01-20 13:25:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Abdurachmanov 2020-01-18 15:51:28 UTC
Description of problem:

Cannot rebuild weston-7.0.0-2.fc32 package in Rawhide because meson wants to find c++ compiler which is not in dependencies. I don't think weston actually needs C++ compiler, does it? Does meson look for C++ compiler unconditionally?

[..]
Dependency gobject-2.0 found: YES (cached)
Dependency egl found: YES (cached)
Dependency glesv2 found: YES (cached)
Dependency wayland-egl found: YES (cached)
Found CMake: /usr/bin/cmake (3.16.2)

clients/meson.build:320:2: ERROR: Unknown compiler(s): ['c++', 'g++', 'clang++', 'pgc++', 'icpc']
The follow exceptions were encountered:
Running "c++ --version" gave "[Errno 2] No such file or directory: 'c++'"
Running "g++ --version" gave "[Errno 2] No such file or directory: 'g++'"
Running "clang++ --version" gave "[Errno 2] No such file or directory: 'clang++'"
Running "pgc++ --version" gave "[Errno 2] No such file or directory: 'pgc++'"
Running "icpc --version" gave "[Errno 2] No such file or directory: 'icpc'"

A full log can be found at /root/rpmbuild/BUILD/weston-7.0.0/x86_64-redhat-linux-gnu/meson-logs/meson-log.txt
error: Bad exit status from /var/tmp/rpm-tmp.VIUaIA (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.VIUaIA (%build)


Version-Release number of selected component (if applicable):

weston-7.0.0-2.fc32

Comment 1 Gerd Pokorra 2020-01-20 13:25:41 UTC
Update to RC1 for Weston 8.0 (version 7.0.93)
The Release Candidate do not have this mason dependency for g++.


Note You need to log in before you can comment on or make changes to this bug.