Bug 1792630

Summary: Doesn't build in Rawhide (meson doesn't find c++ compiler)
Product: [Fedora] Fedora Reporter: David Abdurachmanov <david.abdurachmanov>
Component: westonAssignee: Gerd Pokorra <gp>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gp, negativo17, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: weston-7.0.93-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-20 13:25:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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++.