JoseExposito / touche

The desktop application to configure Touchégg
GNU General Public License v3.0
543 stars 26 forks source link

Unable to build on EndeavourOS #79

Closed appleparan closed 2 years ago

appleparan commented 2 years ago

Describe the bug

When building 2.0.6 in arch based distro, appstream-util check failed.

Expected behaviour

Build without error

Actual behaviour

==================================== 3/3 =====================================
test:         Validate appstream file
start time:   15:07:06
duration:     0.10s
result:       killed by signal 11 SIGSEGV
command:      MALLOC_PERTURB_=119 /usr/bin/appstream-util validate-relax data/com.github.joseexposito.touche.appdata.xml
----------------------------------- stdout -----------------------------------
data/com.github.joseexposito.touche.appdata.xml: 
----------------------------------- stderr -----------------------------------

(appstream-util:17440): GLib-GIO-CRITICAL **: 00:07:06.932: g_proxy_resolver_lookup: assertion 'G_IS_PROXY_RESOLVER (resolver)' failed
==============================================================================

Summary of Failures:

3/3 Validate appstream file FAIL            0.10s   killed by signal 11 SIGSEGV

Ok:                 2   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Your environment

JoseExposito commented 2 years ago

Hi!

g_proxy_resolver_lookup docs read:

"Looks into the system proxy configuration to determine what proxy, if any, to use to connect to uri"

I imagine it is doing some kind of validation of the URLs present in https://github.com/JoseExposito/touche/blob/master/data/app.appdata.xml.in.in

Could you check that your proxy configuration is correct and that you can reach the URLs present in that file, please? Also, make sure you have internet connection while building, i.e., if you are building inside a container or similar, make sure it can reach the internet.

You'd probably have more luck contacting one of your distro maintainers, I have never user EndeavourOS.

appleparan commented 2 years ago

After digging the issue, I found that it is a bug of appstream-glib and is fixed. Close the issue because it doesn't belong to touche issue.