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

butterfly: Add package #3728

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Kiri2002
Copy link
Contributor

@Kiri2002 Kiri2002 commented Mar 27, 2024

test in extra-x86_64-build with dependence "fvm"(in #3727). namcap:

butterfly E: ELF file ('usr/share/butterfly/butterfly') outside of a valid path.
butterfly W: ELF file ('usr/lib/butterfly/libapp.so') lacks FULL RELRO, check LDFLAGS.
butterfly W: ELF file ('usr/lib/butterfly/libapp.so') lacks GNU_PROPERTY_X86_FEATURE_1_SHSTK.
butterfly W: ELF file ('usr/lib/butterfly/libflutter_linux_gtk.so') lacks GNU_PROPERTY_X86_FEATURE_1_SHSTK.
butterfly W: ELF file ('usr/lib/butterfly/libpdfium.so') lacks GNU_PROPERTY_X86_FEATURE_1_SHSTK.
butterfly W: Referenced library 'libdynamic_color_plugin.so' is an uninstalled dependency (needed in files ['usr/share/butterfly/butterfly'])
butterfly W: Referenced library 'liburl_launcher_linux_plugin.so' is an uninstalled dependency (needed in files ['usr/share/butterfly/butterfly'])
butterfly W: Referenced library 'libfile_selector_linux_plugin.so' is an uninstalled dependency (needed in files ['usr/share/butterfly/butterfly'])
butterfly W: Referenced library 'libprinting_plugin.so' is an uninstalled dependency (needed in files ['usr/share/butterfly/butterfly'])
butterfly W: Referenced library 'libflutter_linux_gtk.so' is an uninstalled dependency (needed in files ['usr/lib/butterfly/libscreen_retriever_plugin.so', 'usr/share/butterfly/butterfly', 'usr/lib/butterfly/libflutter_secure_storage_linux_plugin.so', 'usr/lib/butterfly/libfile_selector_linux_plugin.so', 'usr/lib/butterfly/libdynamic_color_plugin.so', 'usr/lib/butterfly/liburl_launcher_linux_plugin.so', 'usr/lib/butterfly/libwindow_manager_plugin.so'])
butterfly W: Referenced library 'libflutter_secure_storage_linux_plugin.so' is an uninstalled dependency (needed in files ['usr/share/butterfly/butterfly'])
butterfly W: Referenced library 'libscreen_retriever_plugin.so' is an uninstalled dependency (needed in files ['usr/share/butterfly/butterfly'])
butterfly W: Referenced library 'libwindow_manager_plugin.so' is an uninstalled dependency (needed in files ['usr/share/butterfly/butterfly'])
butterfly W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/butterfly/libflutter_linux_gtk.so')
butterfly W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/lib/butterfly/libflutter_linux_gtk.so')
butterfly W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/lib/butterfly/libpdfium.so')
butterfly W: Dependency included, but may not be needed ('jsoncpp')

for the first"outside of a valid path", I checked:

~> readelf -d /usr/share/butterfly/butterfly |grep run                                                                                                             03/27/2024 10:17:24 PM PM
 0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN/lib]

and [$ORIGIN/lib] is the link of /usr/lib/butterfly, it just fine.

I also tried not link lib to share/pkg, and set the bin's runpath to /usr/lib/xxx, but failed.

@Kiri2002 Kiri2002 mentioned this pull request Mar 27, 2024
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.

None yet

1 participant