Odesláno z aplikace Pošta pro Windows

 

Od: Jonathan Billings
Odesláno:pondělí 3. října 2022 1:03
Komu: Community support for Fedora users
Předmět: Re: shortwave internet radio building process for AArch64 severe issues

 

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

Dear MR Billings,

           Thank you for your useful advice and for warning related to be careful while using Root user account while running foreign scripts and apps.

Dnf install openssl-devel

Really has solved Meson long crash messages list.

But unfortunately, I can not install libadwaita-1 so version 1 of this library.

Typing

Dnf install libadwaita-devel

Install The development release of this library, 4 Alpha, but it is too new. As A result, Meson do not allow Me to use so new library.

What do you think?

Can i modify build script to exclude The version library numbers to avoid such errors?

Or rather no, because resulting compiled Binary could be unusable and very unstable?

 

But how to find old version of libadwaita-1 version.