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

Applications packaged on Ubuntu 16.04 do not work on 20.04 #1076

Open
sarthakpati opened this issue Oct 1, 2020 · 18 comments
Open

Applications packaged on Ubuntu 16.04 do not work on 20.04 #1076

sarthakpati opened this issue Oct 1, 2020 · 18 comments

Comments

@sarthakpati
Copy link

Describe the bug
I first saw this problem with a collaborator who is running this application.

To Reproduce
Steps to reproduce the behavior:

BraTSPipeline -u

Error message:

symbol lookup error: <some-random-path>/BraTSPipeline: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm, version Qt_5

Expected behavior
This should work.

CaPTk Version
1.8.0

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version: 20.04 LTS

Additional context
Cross-posted in CBICA/CaPTk#1336

@probonopd
Copy link
Member

@probonopd
Copy link
Member

Please provide a direct download link to the CaPTk*.AppImage file so that it can be tested in https://github.com/AppImage/appimage.github.io/. Thanks!

@sarthakpati
Copy link
Author

Thanks for the reminder [ref]; working on getting you a link for the latest AppImage right now.

@sarthakpati
Copy link
Author

Here you go: ftp://www.nitrc.org/home/groups/captk/downloads/CaPTk-1.8.0.bin

I will keep this link persistent, until I figure out a better mechanism to automate this via CI.

@probonopd
Copy link
Member

probonopd commented Oct 1, 2020

Thanks, but we'd need a http(s) link to an *.AppImage. Not an ftp:// link to a .bin.

@sarthakpati
Copy link
Author

probonopd added a commit to AppImage/appimage.github.io that referenced this issue Oct 1, 2020
probonopd added a commit to AppImage/appimage.github.io that referenced this issue Oct 1, 2020
@probonopd
Copy link
Member

Unfortunately it doesn't get picked up from within a git respository, but if you could put it on https://github.com/CBICA/precompiledBinaries/releases it might work. Thanks!

@sarthakpati
Copy link
Author

Unfortunately it doesn't get picked up from within a git respository, but if you could put it on https://github.com/CBICA/precompiledBinaries/releases it might work. Thanks!

https://github.com/CBICA/precompiledBinaries/releases/tag/0.0.1

probonopd added a commit to AppImage/appimage.github.io that referenced this issue Oct 4, 2020
@probonopd
Copy link
Member

probonopd commented Oct 6, 2020

Thank you @sarthakpati. It passes the test on Ubuntu xenial 16.04 at least in the sense that it starts and then shows a dialog box concerning the lack of graphics drivers on the headless test machine. So if it stops working on 20.04, then something weird is going on.

By the way, what is BraTSPipeline and how do you launch it?

@sarthakpati
Copy link
Author

By the way, what is BraTSPipeline and how do you launch it?

It is a command line application and you can launch the help message via CaPTk BraTSPipeline -u.

@probonopd
Copy link
Member

It is a command line application

Ah, so inside the AppImage there is more than one "payload" binary? Then deploying and testing the main one is not sufficient. We need to deploy (and test) the secondary ones as well...

@sarthakpati
Copy link
Author

Unfortunately, yes. This application consists of a number of "mini applications"...

@probonopd
Copy link
Member

OK, how did you AppImage-fy/deploy those? (i.e., make sure their dependencies are properly bundled)?

@sarthakpati
Copy link
Author

Apart from Qt, all other dependencies are statically linked for each executable.

@sarthakpati
Copy link
Author

Hi @probonopd, any update on this?

@probonopd
Copy link
Member

Can you please run the AppImage with sudo strace -f ... and see if you can find out what is causing the error?

@sarthakpati
Copy link
Author

Hi @probonopd: one of our developers is working on this and will directly reply here.

@sarthakpati
Copy link
Author

Hi @probonopd: one of our developers is working on this and will directly reply here.

This was tried on a fresh 20.04 installation and this message didn't come up.

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