AppImages that bundle *everything* #225

Open
aferrero2707 opened this Issue Sep 4, 2016 · 10 comments

Comments

Projects
None yet
3 participants

As suggested in issue #224 I am trying to create a GIMP recipe that bundles all libraries, without blacklisting.
The standard recipe is presently not working on some distributions (Kubuntu 16.04 LiveCD for example), and I hope that the full bundling will solve such incompatibilities.

I have followed the example for sigil (https://github.com/probonopd/AppImages/blob/master/recipes/sigil/Recipe), but somehow I still cannot get the appimage to run correctly. In particular, the gimp executable crashes with a

free(): invalid next size (normal)

error that I cannot really interpret.

The full-bundling recipe can be found here: https://gist.github.com/aferrero2707/aea9aa96648078b306d6034daaf0372d

Does anyone have an idea how to fix that?

Thanks in advance!

This comment has been minimized.

Show comment Hide comment
@probonopd

probonopd Sep 4, 2016

Owner

Don't bundle everything, it is neither recommended not supported. I also have issues with it.

Owner

probonopd commented Sep 4, 2016

Don't bundle everything, it is neither recommended not supported. I also have issues with it.

@probonopd probonopd changed the title from Help needed with fully bundled Recipe for GIMP to AppImages that bundle *everything* Nov 5, 2016

This comment has been minimized.

Show comment Hide comment
@darealshinji

darealshinji Nov 24, 2016

Contributor

If you really need newer versions of libc6, libstdc++6 or similar base libraries, running an AppImage inside a chroot might be an option.

Contributor

darealshinji commented Nov 24, 2016

If you really need newer versions of libc6, libstdc++6 or similar base libraries, running an AppImage inside a chroot might be an option.

This comment has been minimized.

Show comment Hide comment
@probonopd

probonopd Nov 24, 2016

Owner

Doesn't a chroot need root?

Owner

probonopd commented Nov 24, 2016

Doesn't a chroot need root?

This comment has been minimized.

Show comment Hide comment
@darealshinji

darealshinji Nov 24, 2016

Contributor

schroot doesn't. But you need to be root to set it up. So... yeah.
Isn't it possible to use fuse to setup a chroot without root rights?

Contributor

darealshinji commented Nov 24, 2016

schroot doesn't. But you need to be root to set it up. So... yeah.
Isn't it possible to use fuse to setup a chroot without root rights?

This comment has been minimized.

Show comment Hide comment
@probonopd

probonopd Nov 24, 2016

Owner

...or use something like fakechroot

Owner

probonopd commented Nov 24, 2016

...or use something like fakechroot

This comment has been minimized.

Show comment Hide comment
@probonopd

probonopd Nov 29, 2016

Owner

or proot as is used by https://github.com/fsquillace/junest

Owner

probonopd commented Nov 29, 2016

or proot as is used by https://github.com/fsquillace/junest

This comment has been minimized.

Show comment Hide comment
@probonopd

probonopd Jul 23, 2017

Owner

Also check https://github.com/lvml/makeaoi, a tool that bundles "everything"

Owner

probonopd commented Jul 23, 2017

Also check https://github.com/lvml/makeaoi, a tool that bundles "everything"

This comment has been minimized.

Show comment Hide comment
@probonopd

probonopd Aug 20, 2017

Owner

Another option may be to edit everything with patchelf so that absolutely no libraries get loaded from the system anymore (check with LD_DEBUG=libs!), and then in AppRun invoke the application like so:

"$APPDIR"/lib/x86_64-linux-gnu/ld-2.23.so "$APPDIR"/usr/bin/appstreamcli "$@"

Seems to have worked for me where all other options have failed me.

Owner

probonopd commented Aug 20, 2017

Another option may be to edit everything with patchelf so that absolutely no libraries get loaded from the system anymore (check with LD_DEBUG=libs!), and then in AppRun invoke the application like so:

"$APPDIR"/lib/x86_64-linux-gnu/ld-2.23.so "$APPDIR"/usr/bin/appstreamcli "$@"

Seems to have worked for me where all other options have failed me.

@probonopd probonopd referenced this issue in ximion/appstream Aug 20, 2017

Closed

Statically linked appstreamcli #128

This comment has been minimized.

Show comment Hide comment
@probonopd

probonopd Feb 2, 2018

Owner

Another option that automates this:

https://github.com/Intoli/exodus#how-it-works

Owner

probonopd commented Feb 2, 2018

Another option that automates this:

https://github.com/Intoli/exodus#how-it-works

This comment has been minimized.

Show comment Hide comment

@probonopd probonopd referenced this issue in AppImage/appimage.github.io Mar 11, 2018

Open

Add Blink SIP client (unofficial) #435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment