Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error recipes Brave | Signal | Anydesk #464

Open
osielgomes opened this issue Mar 15, 2021 · 9 comments
Open

Error recipes Brave | Signal | Anydesk #464

osielgomes opened this issue Mar 15, 2021 · 9 comments

Comments

@osielgomes
Copy link

osielgomes commented Mar 15, 2021

Hello!

I am trying to run these recipes without success, each of them presents an error, in searching for a solution on a forum in my country they commented that it might be a pkg2toappimage error.

PS: I'm sorry, did I post in the right place?

@probonopd
Copy link
Member

Hello, yes, this is the right place to ask.

Can you please post the command that you are using, the last few lines of the exact error message, and the system (distribution and version) you are using?

@osielgomes
Copy link
Author

Hello, yes, this is the right place to ask.

Can you please post the command that you are using, the last few lines of the exact error message, and the system (distribution and version) you are using?

Environment
Fedora 33 (Workstation Edition)

First I did this
wget "https://raw.githubusercontent.com/AppImage/pkg2appimage/master/pkg2appimage"
chmod +x "pkg2appimage"
sudo mv "pkg2appimage" /usr/bin/

command: pkg2appimage Signal
Message console:

  • sed -ne 's|^([[:blank:]])([a-zA-Z0-9_])[[:blank:]]:[[:blank:]]"(.)"[[:blank:]]$|\1\2\3|p' -e 's|^([[:blank:]])([a-zA-Z0-9_])[[:blank:]][:-][[:blank:]](.)[[:blank:]]$|\1\2\3|p' /tmp/_recipe.yml
  • awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
    if (length($3) > 0) {
    vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("")}
    printf("%s%s%s=("%s")\n", "
    ",vn, $2, $3);
    }
    }'
  • sed s/_=/+=/g
  • sed -i -e 's|^_script+=("||g' /tmp/recipe_script
  • sed -i -e 's|")$||g' /tmp/recipe_script
  • bash -ex /tmp/recipe_script
  • mv 'opt/Signal/' usr/bin/
    mv: cannot stat 'opt/Signal/
    ': No such file or directory

command: pkg2appimage Brave
Message console:

It just worked now, but another one I tried was Vivaldi


command: pkg2appimage Vivaldi
Message console:

  • awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
    if (length($3) > 0) {
    vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("")}
    printf("%s%s%s=("%s")\n", "
    ",vn, $2, $3);
    }
    }'
  • sed s/_=/+=/g
  • sed -i -e 's|^_script+=("||g' /tmp/recipe_script
  • sed -i -e 's|")$||g' /tmp/recipe_script
  • bash -ex /tmp/recipe_script
  • sed -i -e 's|/usr/bin||g' vivaldi-stable.desktop
    sed: can't read vivaldi-stable.desktop: No such file or directory

command: pkg2appimage Anydesk
Message console:

*$|\1\2\3|p' /tmp/_recipe.yml

Thank you....

@osielgomes
Copy link
Author

Brave generated the image but it doesn't run, below is the output

[osiel@localhost Signal]$ ./brave-browser-1.21.76.glibc2.18-x86_64.AppImage
/usr/bin/AppImageLauncher: /lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so)
QSocketNotifier: Can only be used with threads started with QThread
"/proc/50448/root"
"/proc/50448/root"
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0)
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1)
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0)
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0)
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1)
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0)
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0)
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1)
/tmp/.mount_brave-wCLYd4/usr/bin/brave: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[50539:50539:0315/152923.131142:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
/proc/self/exe: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libgio-2.0.so.0)
/proc/self/exe: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1)
/proc/self/exe: /tmp/.mount_brave-wCLYd4/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libkrb5support.so.0)
[50503:50554:0315/152923.640426:ERROR:nss_util.cc(169)] Error initializing NSS with a persistent database (sql:/home/osiel/.pki/nssdb): /lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure
[50503:50554:0315/152923.640481:ERROR:nss_util.cc(127)] Error initializing NSS without a persistent database: NSS error code: -5925
[50503:50554:0315/152923.640488:FATAL:nss_util.cc(129)] nss_error=-5925, os_error=0
/tmp/.mount_brave-wCLYd4/usr/bin//brave-browser: line 48: 50503 Trace/breakpoint trap (core dumped) "$HERE/brave" "$@"

@probonopd
Copy link
Member

probonopd commented Mar 15, 2021

/lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure seems to be the culprit.

Also see

Just for fun, can you try to run these AppImages on an Ubuntu xenial Live medium?

@osielgomes
Copy link
Author

/lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure seems to be the culprit.

Also see

Just for fun, can you try to run these AppImages on an Ubuntu xenial Live medium?

I performed the following test of what I had on hand. This same appImage generated in Fedora I ran in a notebook with Elementary OS 5.1.7 and the error was this

tati@dell:~/Teste$ ./brave-browser-1.21.76.glibc2.18-x86_64.AppImage
[6891:6891:0315/160752.828142:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[6864:6876:0315/160753.409573:ERROR:nss_util.cc(169)] Error initializing NSS with a persistent database (sql:/home/tati/.pki/nssdb): libsoftokn3.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente
[6864:6876:0315/160753.409635:ERROR:nss_util.cc(127)] Error initializing NSS without a persistent database: NSS error code: -5925
[6864:6876:0315/160753.409649:FATAL:nss_util.cc(129)] nss_error=-5925, os_error=0
[6895:6923:0315/160753.432271:ERROR:ssl_client_socket_impl.cc(924)] handshake failed; returned -1, SSL error code 1, net_error -3
/tmp/.mount_brave-BPLwhx/usr/bin//brave-browser, linha 48: 6864 Trace/breakpoint trap "$HERE/brave" "$@"

@osielgomes
Copy link
Author

Excuse my ignorance, but I read the links and it is still not clear what the solution would be on Signal Brave and Anydesk.
I figured the problem would be the recipe or something because they are old I thought the link changed or whatever.

Ps I'm using a translator... Sorry for any mistakes or anything out of context (rsrs)

@probonopd
Copy link
Member

Please contact the authors of Brave | Signal | Anydesk for officially supported AppImages. Thanks.

@osielgomes
Copy link
Author

Ok. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants