Skip to content

Don't fail if missing dependency is in excludeLibraryPatterns#226

Closed
remleduff wants to merge 0 commit into
linuxdeploy:masterfrom
remleduff:master
Closed

Don't fail if missing dependency is in excludeLibraryPatterns#226
remleduff wants to merge 0 commit into
linuxdeploy:masterfrom
remleduff:master

Conversation

@remleduff
Copy link
Copy Markdown

@remleduff remleduff commented Oct 25, 2022

We're trying to build an AppImage with one specific library that is excluded so that it comes from the host rather than the AppImage, using the --exclude command line option.

However, our CI build systems don't include that library at all, and this fails with:

ERROR: Could not find dependency: libcuda.so.1 
ERROR: Failed to deploy dependencies for existing files 

This is unfortunate, because libcuda.so.1 was excluded, and not expected to be part of the appimage in the first place.

Making this a warning allows our build to succeed, and the resulting AppImage uses libcuda from the host as expected.

(This addresses the issue from #225)

@TheAssassin
Copy link
Copy Markdown
Member

Thanks!

@awesomebytes
Copy link
Copy Markdown

Hey, just trying to bring this up. I'm in a similar setup, and I would also like to avoid failing here. Can this be merged?

Thanks for your efforts!

@StrikerTheHedgefox
Copy link
Copy Markdown

Please merge this, I'm running into the same problem.

@TheAssassin
Copy link
Copy Markdown
Member

Hm, I wonder why it wasn't merged back then. After all, I approved it, apparently. It has merge conflicts now, though, that need to be fixed.

@TheAssassin
Copy link
Copy Markdown
Member

Hm, why was this closed now? I've rebased the remote branch...

I see. I should have pushed to HEAD:master... Sorry @remleduff! I'll create a new PR from my repo.

@TheAssassin
Copy link
Copy Markdown
Member

Merged in #332. Thanks @remleduff for your contribution!

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

Successfully merging this pull request may close these issues.

4 participants