repo icon indicating copy to clipboard operation
repo copied to clipboard

butterfly: Add package

Open Kiri2002 opened this issue 10 months ago • 0 comments

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 avatar Mar 27 '24 14:03 Kiri2002