On Oct 2, 2022, at 04:05, Mgr. Janusz Chmiel <janusz.chmiel@volny.cz> wrote:

Here is Messon crash. Even upgrade to Fedora 36 did not help to Me.

[root@localhost Shortwave]# meson --prefix=/usr build

The Meson build system

Version: 0.62.2

Source dir: /root/Shortwave

Build dir: /root/Shortwave/build


I would suggest you avoid building software as root.  Especially code you might not trust or understand.  A misplaced environment variable and it might delete your whole OS.

For example, what if it had something like:

rm -rf /usr/$software_name

And the $software_name variable was undefined?

Run as a normal user, it would just give a bunch of errors about being unable to delete files in /usr.  Run as root, it would delete everything under /usr and the directory itself.

    DependencyMethods.SYSTEM:         lambda env, kwargs: system_class(name, env, kwargs),

  File "/usr/lib/python3.10/site-packages/mesonbuild/dependencies/misc.py", line 529, in __init__

    if not self.clib_compiler.has_header('openssl/ssl.h', '', env)[0]:

AttributeError: 'NoneType' object has no attribute 'has_header'

 

meson.build:12:0: ERROR: Unhandled python exception

 

    This is a Meson bug and should be reported!

[root@localhost Shortwave]



Most likely you need to install the “openssl-devel” package. (dnf install openssl-devel)

-- 
Jonathan Billings