Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] `999-collected-rdeps` includes  both musl and glibc as runtime dep 
@ 2023-08-19  4:35 Luciogi
  2023-08-19  6:39 ` classabbyamp
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Luciogi @ 2023-08-19  4:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 5280 bytes --]

New issue by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/issues/45667

Description:
I am trying to package android-studio
here is template file
```bash
# Template file for 'android-studio'
pkgname=android-studio
version=2022.3.1.18
revision=1
archs="x86_64"
hostmakedepends="tar"
depends="alsa-lib freetype glibc libXtst libXrender libglvnd busybox-core"
short_desc="Official Android IDE"
maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
license="Apache-2.0"
homepage="http://tools.android.com"
# changelog="https://developer.android.com/studio/releases/index.html"
distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-${version}-linux.tar.gz"
checksum=24215e1324a6ac911810b2cc1afb2d735cf745dfbc06918a42b8d6fbc6bf7433
repository=nonfree
restricted=yes
python_version=3
nopie=yes
nostrip=yes
noshlibprovides=yes

# These files are not run or loaded on the host thus skip scanning their runtime deps
skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
 /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
 /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
 /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
 /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
 /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
 /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
 /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
 /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
 /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
 /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
 /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
 /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
 /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
 /opt/android-studio/plugins/android/resources/perfetto/x86/traced
 /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
 /opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
 /opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
 /opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
 /opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
 /opt/android-studio/plugins/android/resources/installer/x86/installer
 /opt/android-studio/plugins/android/resources/installer/x86_64/installer
 /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
 /opt/android-studio/plugins/android/resources/installer/test-installer
 /opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
 /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
 /opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
 /opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
 /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
 /opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
 /opt/android-studio/plugins/android/resources/transport/x86/transport
 /opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
 /opt/android-studio/plugins/android/lib/libwebp_jni.so
 /opt/android-studio/plugins/android/lib/libwebp_jni64.so"

do_install() {
	vmkdir opt/${pkgname}
	vcopy bin opt/${pkgname}/
	vcopy lib opt/${pkgname}/
	vcopy jbr opt/${pkgname}/
	vcopy plugins opt/${pkgname}/
	vcopy build.txt opt/${pkgname}/ # read as IDE version information
	vcopy product-info.json opt/${pkgname}/
	vmkdir usr/bin
	ln -s /opt/android-studio/bin/studio.sh ${DESTDIR}/usr/bin/android-studio

	# The version of host-side simpleperf bundled with Android Studio (as of 3.4.2) requires
	# libncurses.so.5, which is not provided by Void Linux. However, as host-side simpleperf
	# parsing is a fairly recent addition, we can just disable it...

	rm -r ${DESTDIR}/opt/android-studio/plugins/android/resources/simpleperf/linux-x86_64
	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio.vmoptions
	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio64.vmoptions

	vinstall "${FILESDIR}/android-studio.desktop" 644 usr/share/applications/
	chmod -R ugo+rX ${DESTDIR}/opt
}
```

This is output from hook
```
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 999-collected-rdeps ...
   alsa-lib>=0 alsa-lib>=1.0.20_1 busybox-core>=0 bzip2>=1.0.5_1 freetype>=0 freetype>=2.12.1_1 glib>=2.76.0_1 glibc>=0 glibc>=2.36_1 libX11>=1.2_1 libXext>=1.0.5_1 libXi>=1.2.1_1 libXrender>=0 libXrender>=0.9.4_1 libXtst>=0 libXtst>=1.0.3_1 libcxx>=3.4_1 libedit>=20130712.3.1_1 libgcc>=4.4.0_1 libglvnd>=0 libstdc++>=4.4.0_1 libxml2>=2.7.0_1 musl>=1.1.24_7 ncurses-libs>=6.0_1 openjdk8-jre>=8u20_1 zlib>=1.2.3_1
```
is this possible to overwrite auto generated runtime dependencies ?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
@ 2023-08-19  6:39 ` classabbyamp
  2023-08-19  7:39 ` Luciogi
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2023-08-19  6:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/45667#issuecomment-1684860476

Comment:
can you post the full output of the build?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
  2023-08-19  6:39 ` classabbyamp
@ 2023-08-19  7:39 ` Luciogi
  2023-08-19  8:00 ` classabbyamp
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Luciogi @ 2023-08-19  7:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 15880 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/issues/45667#issuecomment-1684881799

Comment:
@classabbyamp 

here are logs
```
% ./xbps-src pkg android-studio
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> android-studio-2022.3.1.18_1: removing autodeps, please wait...
=> android-studio-2022.3.1.18_1: building for x86_64...
   [host] tar-1.35_1: found (https://repo-default.voidlinux.org/current)
=> android-studio-2022.3.1.18_1: installing host dependencies: tar-1.35_1 ...
=> android-studio-2022.3.1.18_1: running do-fetch hook: 00-distfiles ...
=> android-studio-2022.3.1.18_1: running do-extract hook: 00-distfiles ...
=> android-studio-2022.3.1.18_1: extracting distfile(s), please wait...
=> android-studio-2022.3.1.18_1: running do-patch hook: 00-patches ...
=> android-studio-2022.3.1.18_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> android-studio-2022.3.1.18_1: running pre-configure hook: 01-override-config ...
=> android-studio-2022.3.1.18_1: running pre-configure hook: 02-script-wrapper ...
=> android-studio-2022.3.1.18_1: running pre-build hook: 02-script-wrapper ...
=> android-studio-2022.3.1.18_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> android-studio-2022.3.1.18_1: running pre-install hook: 00-libdir ...
=> android-studio-2022.3.1.18_1: running pre-install hook: 02-script-wrapper ...
=> android-studio-2022.3.1.18_1: running pre-install hook: 98-fixup-gir-path ...
=> android-studio-2022.3.1.18_1: running do_install ...
=> android-studio-2022.3.1.18_1: running post-install hook: 00-compress-info-files ...
=> android-studio-2022.3.1.18_1: running post-install hook: 00-fixup-gir-path ...
=> android-studio-2022.3.1.18_1: running post-install hook: 00-libdir ...
=> android-studio-2022.3.1.18_1: running post-install hook: 00-uncompress-manpages ...
=> android-studio-2022.3.1.18_1: running post-install hook: 01-remove-misc ...
=> android-studio-2022.3.1.18_1: running post-install hook: 02-remove-libtool-archives ...
=> android-studio-2022.3.1.18_1: running post-install hook: 02-remove-perl-files ...
=> android-studio-2022.3.1.18_1: running post-install hook: 02-remove-python-bytecode-files ...
=> android-studio-2022.3.1.18_1: running post-install hook: 03-remove-empty-dirs ...
=> WARNING: android-studio-2022.3.1.18_1: removed empty dir: /usr/lib
=> android-studio-2022.3.1.18_1: running post-install hook: 04-create-xbps-metadata-scripts ...
   Added trigger 'update-desktopdb' for the 'INSTALL' script.
   Added trigger 'update-desktopdb' for the 'REMOVE' script.
=> android-studio-2022.3.1.18_1: running post-install hook: 05-generate-gitrevs ...
=> android-studio-2022.3.1.18_1: running post-install hook: 06-strip-and-debug-pkgs ...
=> android-studio-2022.3.1.18_1: running post-install hook: 10-pkglint-devel-paths ...
=> android-studio-2022.3.1.18_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> android-studio-2022.3.1.18_1: running post-install hook: 12-rename-python3-c-bindings ...
=> android-studio-2022.3.1.18_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> android-studio-2022.3.1.18_1: running post-install hook: 14-fix-permissions ...
=> android-studio-2022.3.1.18_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 03-rewrite-python-shebang ...
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/uu.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/profile.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/chardet/langhebrewmodel.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/chardet/langbulgarianmodel.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/chardet/langrussianmodel.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/chardet/langgreekmodel.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/languages.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/chardet/langhungarianmodel.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/chardet/langturkishmodel.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/chardet/langthaimodel.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pip/_vendor/requests/certs.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/site-packages/pkg_resources/_vendor/appdirs.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/tabnanny.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/pydoc.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/cProfile.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/timeit.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/platform.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/trace.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/smtplib.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/webbrowser.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/pdb.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/tarfile.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/smtpd.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/quopri.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/encodings/rot_13.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/cgi.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/base64.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python/lldb/utils/symbolication.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python/lldb/utils/in_call_stack.py
   Shebang converted to '#!/usr/bin/python3': /opt/android-studio/bin/restart.py
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 04-generate-runtime-deps ...
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/installer/x86_64/installer
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/installer/x86/installer
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/transport/x86/transport
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/x86/traced
=> Skipping dependency scan for /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
   SONAME: libc.so.6 <-> glibc>=2.36_1
   SONAME: libncurses.so.6 <-> ncurses-libs>=6.0_1
   SONAME: libpthread.so.0 <-> glibc>=2.36_1
   SONAME: ld-linux-x86-64.so.2 <-> glibc>=2.36_1
   SONAME: libgcc_s.so.1 <-> libgcc>=4.4.0_1
   SONAME: libm.so.6 <-> glibc>=2.36_1
   SONAME: libpython3.10.so.1.0 <-> android-studio (ignored)
   SONAME: libform.so.6 <-> android-studio (ignored)
   SONAME: libpanel.so.6 <-> android-studio (ignored)
   SONAME: libxml2.so.2 <-> libxml2>=2.7.0_1
   SONAME: libedit.so.0 <-> libedit>=20130712.3.1_1
   SONAME: libdl.so.2 <-> glibc>=2.36_1
   SONAME: libz.so.1 <-> zlib>=1.2.3_1
   SONAME: librt.so.1 <-> glibc>=2.36_1
   SONAME: libc++.so.1 <-> libcxx>=3.4_1
   SONAME: libutil.so.1 <-> glibc>=2.36_1
   SONAME: libncursesw.so.5 <-> android-studio-2022.3.1.18_1 (ignored)
   SONAME: libtinfo.so.5 <-> android-studio-2022.3.1.18_1 (ignored)
   SONAME: libcrypt.so.1 <-> glibc>=2.36_1
   SONAME: libnsl.so.1 <-> glibc>=2.36_1
   SONAME: libpanelw.so.5 <-> android-studio-2022.3.1.18_1 (ignored)
   SONAME: libbz2.so.1 <-> bzip2>=1.0.5_1
   SONAME: libstdc++.so.6 <-> libstdc++>=4.4.0_1
   SONAME: liblldb.so.17 <-> android-studio (ignored)
   SONAME: libc++.so <-> android-studio (ignored)
   SONAME: liblog.so <-> android-studio-2022.3.1.18_1 (ignored)
   SONAME: libm.so <-> android-studio-2022.3.1.18_1 (ignored)
   SONAME: libdl.so <-> android-studio-2022.3.1.18_1 (ignored)
   SONAME: libc.so <-> musl>=1.1.24_7
   SONAME: libandroid.so <-> android-studio-2022.3.1.18_1 (ignored)
   SONAME: libmediandk.so <-> android-studio-2022.3.1.18_1 (ignored)
   SONAME: libglib-2.0.so.0 <-> glib>=2.76.0_1
   SONAME: libgio-2.0.so.0 <-> glib>=2.76.0_1
   SONAME: libgobject-2.0.so.0 <-> glib>=2.76.0_1
   SONAME: libjava.so <-> openjdk8-jre>=8u20_1
   SONAME: libjvm.so <-> openjdk8-jre>=8u20_1
   SONAME: libawt.so <-> openjdk8-jre>=8u20_1
   SONAME: libX11.so.6 <-> libX11>=1.2_1
   SONAME: libXext.so.6 <-> libXext>=1.0.5_1
   SONAME: libawt_xawt.so <-> openjdk8-jre>=8u20_1
   SONAME: libnet.so <-> android-studio (ignored)
   SONAME: libjli.so <-> openjdk8-jre>=8u20_1
   SONAME: libnio.so <-> android-studio (ignored)
   SONAME: libasound.so.2 <-> alsa-lib>=1.0.20_1
   SONAME: libXrender.so.1 <-> libXrender>=0.9.4_1
   SONAME: libXtst.so.6 <-> libXtst>=1.0.3_1
   SONAME: libXi.so.6 <-> libXi>=1.2.1_1
   SONAME: libfreetype.so.6 <-> freetype>=2.12.1_1
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 05-prepare-32bit ...
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 06-shlib-provides ...
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 90-set-timestamps ...
=> android-studio-2022.3.1.18_1: setting mtimes to Fri Aug 18 10:33:58 PM UTC 2023
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 99-pkglint ...
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 999-collected-rdeps ...
   alsa-lib>=1.0.20_1 bzip2>=1.0.5_1 freetype>=2.12.1_1 glib>=2.76.0_1 glibc>=2.36_1 libX11>=1.2_1 libXext>=1.0.5_1 libXi>=1.2.1_1 libXrender>=0.9.4_1 libXtst>=1.0.3_1 libcxx>=3.4_1 libedit>=20130712.3.1_1 libgcc>=4.4.0_1 libstdc++>=4.4.0_1 libxml2>=2.7.0_1 musl>=1.1.24_7 ncurses-libs>=6.0_1 openjdk8-jre>=8u20_1 zlib>=1.2.3_1
=> android-studio-2022.3.1.18_1: running do-pkg hook: 00-gen-pkg ...
=> Creating android-studio-2022.3.1.18_1.x86_64.xbps for repository /host/binpkgs/android-studio/nonfree ...
=> android-studio-2022.3.1.18_1: running post-pkg hook: 00-register-pkg ...
=> Registering new packages to /host/binpkgs/android-studio/nonfree
index: added `android-studio-2022.3.1.18_1' (x86_64).
index: 1 packages registered.
=> android-studio-2022.3.1.18_1: removing autodeps, please wait...
=> android-studio-2022.3.1.18_1: cleaning build directory...
=> android-studio: removing files from destdir...


```

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
  2023-08-19  6:39 ` classabbyamp
  2023-08-19  7:39 ` Luciogi
@ 2023-08-19  8:00 ` classabbyamp
  2023-08-19  8:10 ` Luciogi
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2023-08-19  8:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/45667#issuecomment-1684886735

Comment:
> `   SONAME: libc.so <-> musl>=1.1.24_7`

that's where the musl is coming from. something in the package is looking for libc.so. you can find out what by using `readelf -d <some executable or shared object file>` and looking for it on a  line with `(NEEDED)` on it

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
                   ` (2 preceding siblings ...)
  2023-08-19  8:00 ` classabbyamp
@ 2023-08-19  8:10 ` Luciogi
  2023-08-19  8:10 ` Luciogi
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Luciogi @ 2023-08-19  8:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/issues/45667#issuecomment-1684889128

Comment:
I found the file that's next?
```
% readelf -d lib/jna/amd64/libjnidispatch.so 

Dynamic section at offset 0x1d480 contains 23 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [../build/libjnidispatch.so]
 0x0000000000000010 (SYMBOLIC)           0x0
 0x000000000000000c (INIT)               0x41f0
 0x000000000000000d (FINI)               0x18778
 0x0000000000000004 (HASH)               0x1b8
 0x000000006ffffef5 (GNU_HASH)           0x818
 0x0000000000000005 (STRTAB)             0x2080
 0x0000000000000006 (SYMTAB)             0xd00
 0x000000000000000a (STRSZ)              4720 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x21d6d0
 0x0000000000000002 (PLTRELSZ)           1368 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x3c98
 0x0000000000000007 (RELA)               0x34d0
 0x0000000000000008 (RELASZ)             1992 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x3490
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x32f0
 0x000000006ffffff9 (RELACOUNT)          79
 0x0000000000000000 (NULL)               0x0
```

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
                   ` (3 preceding siblings ...)
  2023-08-19  8:10 ` Luciogi
@ 2023-08-19  8:10 ` Luciogi
  2023-08-19  8:13 ` Luciogi
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Luciogi @ 2023-08-19  8:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/issues/45667#issuecomment-1684889128

Comment:
I found the file. What's next?
```
% readelf -d lib/jna/amd64/libjnidispatch.so 

Dynamic section at offset 0x1d480 contains 23 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [../build/libjnidispatch.so]
 0x0000000000000010 (SYMBOLIC)           0x0
 0x000000000000000c (INIT)               0x41f0
 0x000000000000000d (FINI)               0x18778
 0x0000000000000004 (HASH)               0x1b8
 0x000000006ffffef5 (GNU_HASH)           0x818
 0x0000000000000005 (STRTAB)             0x2080
 0x0000000000000006 (SYMTAB)             0xd00
 0x000000000000000a (STRSZ)              4720 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x21d6d0
 0x0000000000000002 (PLTRELSZ)           1368 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x3c98
 0x0000000000000007 (RELA)               0x34d0
 0x0000000000000008 (RELASZ)             1992 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x3490
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x32f0
 0x000000006ffffff9 (RELACOUNT)          79
 0x0000000000000000 (NULL)               0x0
```

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
                   ` (4 preceding siblings ...)
  2023-08-19  8:10 ` Luciogi
@ 2023-08-19  8:13 ` Luciogi
  2023-08-19  8:14 ` classabbyamp
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Luciogi @ 2023-08-19  8:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2991 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/issues/45667#issuecomment-1684889128

Comment:
I found the file. What's next?
```
% readelf -d lib/jna/amd64/libjnidispatch.so 

Dynamic section at offset 0x1d480 contains 23 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [../build/libjnidispatch.so]
 0x0000000000000010 (SYMBOLIC)           0x0
 0x000000000000000c (INIT)               0x41f0
 0x000000000000000d (FINI)               0x18778
 0x0000000000000004 (HASH)               0x1b8
 0x000000006ffffef5 (GNU_HASH)           0x818
 0x0000000000000005 (STRTAB)             0x2080
 0x0000000000000006 (SYMTAB)             0xd00
 0x000000000000000a (STRSZ)              4720 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x21d6d0
 0x0000000000000002 (PLTRELSZ)           1368 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x3c98
 0x0000000000000007 (RELA)               0x34d0
 0x0000000000000008 (RELASZ)             1992 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x3490
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x32f0
 0x000000006ffffff9 (RELACOUNT)          79
 0x0000000000000000 (NULL)               0x0
```
---
```
readelf -d lib/pty4j/linux/x86-64/libpty.so 

Dynamic section at offset 0x2e08 contains 25 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libpty.so]
 0x000000000000000c (INIT)               0xef8
 0x000000000000000d (FINI)               0x1b00
 0x0000000000000019 (INIT_ARRAY)         0x202df0
 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x202df8
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x1f0
 0x0000000000000005 (STRTAB)             0x7c8
 0x0000000000000006 (SYMTAB)             0x2a0
 0x000000000000000a (STRSZ)              564 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x203000
 0x0000000000000002 (PLTRELSZ)           936 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0xb50
 0x0000000000000007 (RELA)               0xa90
 0x0000000000000008 (RELASZ)             192 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0xa70
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x9fc
 0x000000006ffffff9 (RELACOUNT)          3
 0x0000000000000000 (NULL)               0x0

```

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
                   ` (5 preceding siblings ...)
  2023-08-19  8:13 ` Luciogi
@ 2023-08-19  8:14 ` classabbyamp
  2023-08-19  8:29 ` Luciogi
  2023-08-19 18:44 ` [ISSUE] [CLOSED] " Luciogi
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2023-08-19  8:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/45667#issuecomment-1684889895

Comment:
those aren't the ones, they both say `NEEDED libc.so.6`, which is glibc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
                   ` (6 preceding siblings ...)
  2023-08-19  8:14 ` classabbyamp
@ 2023-08-19  8:29 ` Luciogi
  2023-08-19 18:44 ` [ISSUE] [CLOSED] " Luciogi
  8 siblings, 0 replies; 10+ messages in thread
From: Luciogi @ 2023-08-19  8:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 21872 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/issues/45667#issuecomment-1684892834

Comment:
```
File: ./plugins/android/resources/screen-sharing-agent/x86_64/libscreen-sharing-agent.so

Dynamic section at offset 0x5f440 contains 32 entries:
  Tag        Type                         Name/Value
 0x0000000000000003 (PLTGOT)             0x60838
 0x0000000000000002 (PLTRELSZ)           5904 (bytes)
 0x0000000000000017 (JMPREL)             0x150a0
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000007 (RELA)               0xb698
 0x0000000000000008 (RELASZ)             39432 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffff9 (RELACOUNT)          1062
 0x0000000000000006 (SYMTAB)             0x298
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000005 (STRTAB)             0x4468
 0x000000000000000a (STRSZ)              17800 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x89f0
 0x0000000000000004 (HASH)               0x9d78
 0x0000000000000001 (NEEDED)             Shared library: [liblog.so]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so]
 0x0000000000000001 (NEEDED)             Shared library: [libandroid.so]
 0x0000000000000001 (NEEDED)             Shared library: [libmediandk.so]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so]
 0x000000000000001a (FINI_ARRAY)         0x5cd38
 0x000000000000001c (FINI_ARRAYSZ)       16 (bytes)
 0x0000000000000019 (INIT_ARRAY)         0x60418
 0x000000000000001b (INIT_ARRAYSZ)       40 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x000000006ffffff0 (VERSYM)             0xb09c
 0x000000006ffffffc (VERDEF)             0xb618
 0x000000006ffffffd (VERDEFNUM)          1
 0x000000006ffffffe (VERNEED)            0xb634
 0x000000006fffffff (VERNEEDNUM)         3
 0x0000000000000000 (NULL)               0x0

File: ./plugins/android/resources/screen-sharing-agent/armeabi-v7a/libscreen-sharing-agent.so

Dynamic section at offset 0x33958 contains 32 entries:
  Tag        Type                         Name/Value
 0x00000003 (PLTGOT)                     0x34b9c
 0x00000002 (PLTRELSZ)                   2224 (bytes)
 0x00000017 (JMPREL)                     0xd948
 0x00000014 (PLTREL)                     REL
 0x00000011 (REL)                        0xa580
 0x00000012 (RELSZ)                      13256 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffa (RELCOUNT)                   1069
 0x00000006 (SYMTAB)                     0x1cc
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000005 (STRTAB)                     0x2fac
 0x0000000a (STRSZ)                      18445 (bytes)
 0x6ffffef5 (GNU_HASH)                   0x77bc
 0x00000004 (HASH)                       0x8ba4
 0x00000001 (NEEDED)                     Shared library: [liblog.so]
 0x00000001 (NEEDED)                     Shared library: [libm.so]
 0x00000001 (NEEDED)                     Shared library: [libdl.so]
 0x00000001 (NEEDED)                     Shared library: [libandroid.so]
 0x00000001 (NEEDED)                     Shared library: [libmediandk.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
 0x0000001a (FINI_ARRAY)                 0x32d98
 0x0000001c (FINI_ARRAYSZ)               8 (bytes)
 0x00000019 (INIT_ARRAY)                 0x34944
 0x0000001b (INIT_ARRAYSZ)               20 (bytes)
 0x0000001e (FLAGS)                      BIND_NOW
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x6ffffff0 (VERSYM)                     0x9f48
 0x6ffffffc (VERDEF)                     0xa504
 0x6ffffffd (VERDEFNUM)                  1
 0x6ffffffe (VERNEED)                    0xa520
 0x6fffffff (VERNEEDNUM)                 3
 0x00000000 (NULL)                       0x0

File: ./plugins/android/resources/screen-sharing-agent/arm64-v8a/libscreen-sharing-agent.so

Dynamic section at offset 0x59578 contains 30 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [liblog.so]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so]
 0x0000000000000001 (NEEDED)             Shared library: [libandroid.so]
 0x0000000000000001 (NEEDED)             Shared library: [libmediandk.so]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so]
 0x0000000000000019 (INIT_ARRAY)         0x65f30
 0x000000000000001b (INIT_ARRAYSZ)       40 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x65f58
 0x000000000000001c (FINI_ARRAYSZ)       16 (bytes)
 0x0000000000000004 (HASH)               0x1c8
 0x000000006ffffef5 (GNU_HASH)           0x1508
 0x0000000000000005 (STRTAB)             0x6b00
 0x0000000000000006 (SYMTAB)             0x28a0
 0x000000000000000a (STRSZ)              17633 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x69798
 0x0000000000000002 (PLTRELSZ)           4776 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x14ed0
 0x0000000000000007 (RELA)               0xb5d0
 0x0000000000000008 (RELASZ)             39168 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x000000006ffffffe (VERNEED)            0xb570
 0x000000006fffffff (VERNEEDNUM)         3
 0x000000006ffffff0 (VERSYM)             0xafe2
 0x000000006ffffff9 (RELACOUNT)          1051
 0x0000000000000000 (NULL)               0x0

File: ./plugins/android/resources/screen-sharing-agent/x86/libscreen-sharing-agent.so

Dynamic section at offset 0x59a20 contains 32 entries:
  Tag        Type                         Name/Value
 0x00000003 (PLTGOT)                     0x5ac20
 0x00000002 (PLTRELSZ)                   1960 (bytes)
 0x00000017 (JMPREL)                     0xd2f0
 0x00000014 (PLTREL)                     REL
 0x00000011 (REL)                        0x9f90
 0x00000012 (RELSZ)                      13152 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffa (RELCOUNT)                   1062
 0x00000006 (SYMTAB)                     0x1cc
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000005 (STRTAB)                     0x2dac
 0x0000000a (STRSZ)                      17722 (bytes)
 0x6ffffef5 (GNU_HASH)                   0x72e8
 0x00000004 (HASH)                       0x8674
 0x00000001 (NEEDED)                     Shared library: [liblog.so]
 0x00000001 (NEEDED)                     Shared library: [libm.so]
 0x00000001 (NEEDED)                     Shared library: [libdl.so]
 0x00000001 (NEEDED)                     Shared library: [libandroid.so]
 0x00000001 (NEEDED)                     Shared library: [libmediandk.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
 0x0000001a (FINI_ARRAY)                 0x58e70
 0x0000001c (FINI_ARRAYSZ)               8 (bytes)
 0x00000019 (INIT_ARRAY)                 0x5aa0c
 0x0000001b (INIT_ARRAYSZ)               20 (bytes)
 0x0000001e (FLAGS)                      BIND_NOW
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x6ffffff0 (VERSYM)                     0x9998
 0x6ffffffc (VERDEF)                     0x9f14
 0x6ffffffd (VERDEFNUM)                  1
 0x6ffffffe (VERNEED)                    0x9f30
 0x6fffffff (VERNEEDNUM)                 3
 0x00000000 (NULL)                       0x0

File: ./plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so

Dynamic section at offset 0x693ad8 contains 30 entries:
  Tag        Type                         Name/Value
 0x0000000000000003 (PLTGOT)             0x695300
 0x0000000000000002 (PLTRELSZ)           22176 (bytes)
 0x0000000000000017 (JMPREL)             0xb0938
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000007 (RELA)               0x30760
 0x0000000000000008 (RELASZ)             524760 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffff9 (RELACOUNT)          18731
 0x0000000000000006 (SYMTAB)             0x298
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000005 (STRTAB)             0xd810
 0x000000000000000a (STRSZ)              106792 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x27938
 0x0000000000000004 (HASH)               0x2b168
 0x0000000000000001 (NEEDED)             Shared library: [liblog.so]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so]
 0x000000000000001a (FINI_ARRAY)         0x669f20
 0x000000000000001c (FINI_ARRAYSZ)       16 (bytes)
 0x0000000000000019 (INIT_ARRAY)         0x6948c8
 0x000000000000001b (INIT_ARRAYSZ)       528 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x000000006ffffff0 (VERSYM)             0x2f518
 0x000000006ffffffc (VERDEF)             0x306e4
 0x000000006ffffffd (VERDEFNUM)          1
 0x000000006ffffffe (VERNEED)            0x30700
 0x000000006fffffff (VERNEEDNUM)         3
 0x0000000000000000 (NULL)               0x0

File: ./plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so

Dynamic section at offset 0x36d71c contains 30 entries:
  Tag        Type                         Name/Value
 0x00000003 (PLTGOT)                     0x36ef34
 0x00000002 (PLTRELSZ)                   8576 (bytes)
 0x00000017 (JMPREL)                     0x59930
 0x00000014 (PLTREL)                     REL
 0x00000011 (REL)                        0x2e598
 0x00000012 (RELSZ)                      177048 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffa (RELCOUNT)                   18982
 0x00000006 (SYMTAB)                     0x1cc
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000005 (STRTAB)                     0x972c
 0x0000000a (STRSZ)                      109569 (bytes)
 0x6ffffef5 (GNU_HASH)                   0x24330
 0x00000004 (HASH)                       0x28cfc
 0x00000001 (NEEDED)                     Shared library: [liblog.so]
 0x00000001 (NEEDED)                     Shared library: [libm.so]
 0x00000001 (NEEDED)                     Shared library: [libdl.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
 0x0000001a (FINI_ARRAY)                 0x358f78
 0x0000001c (FINI_ARRAYSZ)               8 (bytes)
 0x00000019 (INIT_ARRAY)                 0x36e614
 0x0000001b (INIT_ARRAYSZ)               264 (bytes)
 0x0000001e (FLAGS)                      BIND_NOW
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x6ffffff0 (VERSYM)                     0x2d270
 0x6ffffffc (VERDEF)                     0x2e51c
 0x6ffffffd (VERDEFNUM)                  1
 0x6ffffffe (VERNEED)                    0x2e538
 0x6fffffff (VERNEEDNUM)                 3
 0x00000000 (NULL)                       0x0

File: ./plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so

Dynamic section at offset 0x609190 contains 28 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [liblog.so]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so]
 0x0000000000000019 (INIT_ARRAY)         0x5ee7a8
 0x000000000000001b (INIT_ARRAYSZ)       528 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x5ee9b8
 0x000000000000001c (FINI_ARRAYSZ)       16 (bytes)
 0x0000000000000004 (HASH)               0x1c8
 0x000000006ffffef5 (GNU_HASH)           0x4590
 0x0000000000000005 (STRTAB)             0x153d8
 0x0000000000000006 (SYMTAB)             0x7dd0
 0x000000000000000a (STRSZ)              106521 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x619390
 0x0000000000000002 (PLTRELSZ)           11304 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0xb1ca0
 0x0000000000000007 (RELA)               0x30628
 0x0000000000000008 (RELASZ)             530040 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x000000006ffffffe (VERNEED)            0x305c8
 0x000000006fffffff (VERNEEDNUM)         3
 0x000000006ffffff0 (VERSYM)             0x2f3f2
 0x000000006ffffff9 (RELACOUNT)          18951
 0x0000000000000000 (NULL)               0x0

File: ./plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so

Dynamic section at offset 0x65ed78 contains 30 entries:
  Tag        Type                         Name/Value
 0x00000003 (PLTGOT)                     0x660194
 0x00000002 (PLTRELSZ)                   7360 (bytes)
 0x00000017 (JMPREL)                     0x57b00
 0x00000014 (PLTREL)                     REL
 0x00000011 (REL)                        0x2cef8
 0x00000012 (RELSZ)                      175112 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffa (RELCOUNT)                   18754
 0x00000006 (SYMTAB)                     0x1cc
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000005 (STRTAB)                     0x900c
 0x0000000a (STRSZ)                      106689 (bytes)
 0x6ffffef5 (GNU_HASH)                   0x230d0
 0x00000004 (HASH)                       0x27908
 0x00000001 (NEEDED)                     Shared library: [liblog.so]
 0x00000001 (NEEDED)                     Shared library: [libm.so]
 0x00000001 (NEEDED)                     Shared library: [libdl.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
 0x0000001a (FINI_ARRAY)                 0x64a5b0
 0x0000001c (FINI_ARRAYSZ)               8 (bytes)
 0x00000019 (INIT_ARRAY)                 0x65fc70
 0x0000001b (INIT_ARRAYSZ)               264 (bytes)
 0x0000001e (FLAGS)                      BIND_NOW
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x6ffffff0 (VERSYM)                     0x2bcb4
 0x6ffffffc (VERDEF)                     0x2ce7c
 0x6ffffffd (VERDEFNUM)                  1
 0x6ffffffe (VERNEED)                    0x2ce98
 0x6fffffff (VERNEEDNUM)                 3
 0x00000000 (NULL)                       0x0

File: ./plugins/android/resources/perfetto/x86_64/libperfetto.so

Dynamic section at offset 0x16e4f8 contains 29 entries:
  Tag        Type                         Name/Value
 0x0000000000000003 (PLTGOT)             0x16f850
 0x0000000000000002 (PLTRELSZ)           5832 (bytes)
 0x0000000000000017 (JMPREL)             0x204b8
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000007 (RELA)               0x71b0
 0x0000000000000008 (RELASZ)             103176 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffff9 (RELACOUNT)          3811
 0x0000000000000006 (SYMTAB)             0x2c0
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000005 (STRTAB)             0x38c0
 0x000000000000000a (STRSZ)              8933 (bytes)
 0x0000000000000004 (HASH)               0x5ba8
 0x0000000000000001 (NEEDED)             Shared library: [liblog.so]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so]
 0x000000000000000e (SONAME)             Library soname: [libperfetto.so]
 0x000000000000001a (FINI_ARRAY)         0x15f410
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x000000006ffffff0 (VERSYM)             0x6cd4
 0x000000006ffffffc (VERDEF)             0x7154
 0x000000006ffffffd (VERDEFNUM)          1
 0x000000006ffffffe (VERNEED)            0x7170
 0x000000006fffffff (VERNEEDNUM)         2
 0x0000000000000000 (NULL)               0x0

File: ./plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so

Dynamic section at offset 0xd5918 contains 29 entries:
  Tag        Type                         Name/Value
 0x00000003 (PLTGOT)                     0xd6c3c
 0x00000002 (PLTRELSZ)                   1904 (bytes)
 0x00000017 (JMPREL)                     0xe628
 0x00000014 (PLTREL)                     REL
 0x00000011 (REL)                        0x5ce0
 0x00000012 (RELSZ)                      35144 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffa (RELCOUNT)                   3899
 0x00000006 (SYMTAB)                     0x1f0
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000005 (STRTAB)                     0x24e0
 0x0000000a (STRSZ)                      8762 (bytes)
 0x00000004 (HASH)                       0x471c
 0x00000001 (NEEDED)                     Shared library: [liblog.so]
 0x00000001 (NEEDED)                     Shared library: [libdl.so]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so]
 0x00000001 (NEEDED)                     Shared library: [libm.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
 0x0000000e (SONAME)                     Library soname: [libperfetto.so]
 0x0000001a (FINI_ARRAY)                 0xccbf0
 0x0000001c (FINI_ARRAYSZ)               8 (bytes)
 0x0000001e (FLAGS)                      BIND_NOW
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x6ffffff0 (VERSYM)                     0x5804
 0x6ffffffc (VERDEF)                     0x5c64
 0x6ffffffd (VERDEFNUM)                  1
 0x6ffffffe (VERNEED)                    0x5c80
 0x6fffffff (VERNEEDNUM)                 3
 0x00000000 (NULL)                       0x0

File: ./plugins/android/resources/perfetto/arm64-v8a/libperfetto.so

Dynamic section at offset 0x14f268 contains 29 entries:
  Tag        Type                         Name/Value
 0x0000000000000003 (PLTGOT)             0x15f850
 0x0000000000000002 (PLTRELSZ)           5832 (bytes)
 0x0000000000000017 (JMPREL)             0x20c08
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000007 (RELA)               0x7168
 0x0000000000000008 (RELASZ)             105120 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffff9 (RELACOUNT)          3892
 0x0000000000000006 (SYMTAB)             0x2c0
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000005 (STRTAB)             0x38c0
 0x000000000000000a (STRSZ)              8861 (bytes)
 0x0000000000000004 (HASH)               0x5b60
 0x0000000000000001 (NEEDED)             Shared library: [liblog.so]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so]
 0x000000000000000e (SONAME)             Library soname: [libperfetto.so]
 0x000000000000001a (FINI_ARRAY)         0x14f190
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x000000006ffffff0 (VERSYM)             0x6c8c
 0x000000006ffffffc (VERDEF)             0x710c
 0x000000006ffffffd (VERDEFNUM)          1
 0x000000006ffffffe (VERNEED)            0x7128
 0x000000006fffffff (VERNEEDNUM)         2
 0x0000000000000000 (NULL)               0x0

File: ./plugins/android/resources/perfetto/x86/libperfetto.so

Dynamic section at offset 0x152a9c contains 29 entries:
  Tag        Type                         Name/Value
 0x00000003 (PLTGOT)                     0x153c44
 0x00000002 (PLTRELSZ)                   1888 (bytes)
 0x00000017 (JMPREL)                     0xe3d0
 0x00000014 (PLTREL)                     REL
 0x00000011 (REL)                        0x5d80
 0x00000012 (RELSZ)                      34384 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffa (RELCOUNT)                   3809
 0x00000006 (SYMTAB)                     0x1f0
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000005 (STRTAB)                     0x2570
 0x0000000a (STRSZ)                      8727 (bytes)
 0x00000004 (HASH)                       0x4788
 0x00000001 (NEEDED)                     Shared library: [liblog.so]
 0x00000001 (NEEDED)                     Shared library: [libdl.so]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so]
 0x00000001 (NEEDED)                     Shared library: [libm.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
 0x0000000e (SONAME)                     Library soname: [libperfetto.so]
 0x0000001a (FINI_ARRAY)                 0x149ca0
 0x0000001c (FINI_ARRAYSZ)               4 (bytes)
 0x0000001e (FLAGS)                      BIND_NOW
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x6ffffff0 (VERSYM)                     0x5894
 0x6ffffffc (VERDEF)                     0x5d04
 0x6ffffffd (VERDEFNUM)                  1
 0x6ffffffe (VERNEED)                    0x5d20
 0x6fffffff (VERNEEDNUM)                 3
 0x00000000 (NULL)                       0x0
```

Ok Now I found all of them

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ISSUE] [CLOSED] `999-collected-rdeps` includes  both musl and glibc as runtime dep 
  2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
                   ` (7 preceding siblings ...)
  2023-08-19  8:29 ` Luciogi
@ 2023-08-19 18:44 ` Luciogi
  8 siblings, 0 replies; 10+ messages in thread
From: Luciogi @ 2023-08-19 18:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 5287 bytes --]

Closed issue by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/issues/45667

Description:
I am trying to package android-studio
here is template file
```bash
# Template file for 'android-studio'
pkgname=android-studio
version=2022.3.1.18
revision=1
archs="x86_64"
hostmakedepends="tar"
depends="alsa-lib freetype glibc libXtst libXrender libglvnd busybox-core"
short_desc="Official Android IDE"
maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
license="Apache-2.0"
homepage="http://tools.android.com"
# changelog="https://developer.android.com/studio/releases/index.html"
distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-${version}-linux.tar.gz"
checksum=24215e1324a6ac911810b2cc1afb2d735cf745dfbc06918a42b8d6fbc6bf7433
repository=nonfree
restricted=yes
python_version=3
nopie=yes
nostrip=yes
noshlibprovides=yes

# These files are not run or loaded on the host thus skip scanning their runtime deps
skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
 /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
 /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
 /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
 /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
 /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
 /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
 /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
 /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
 /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
 /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
 /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
 /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
 /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
 /opt/android-studio/plugins/android/resources/perfetto/x86/traced
 /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
 /opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
 /opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
 /opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
 /opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
 /opt/android-studio/plugins/android/resources/installer/x86/installer
 /opt/android-studio/plugins/android/resources/installer/x86_64/installer
 /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
 /opt/android-studio/plugins/android/resources/installer/test-installer
 /opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
 /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
 /opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
 /opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
 /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
 /opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
 /opt/android-studio/plugins/android/resources/transport/x86/transport
 /opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
 /opt/android-studio/plugins/android/lib/libwebp_jni.so
 /opt/android-studio/plugins/android/lib/libwebp_jni64.so"

do_install() {
	vmkdir opt/${pkgname}
	vcopy bin opt/${pkgname}/
	vcopy lib opt/${pkgname}/
	vcopy jbr opt/${pkgname}/
	vcopy plugins opt/${pkgname}/
	vcopy build.txt opt/${pkgname}/ # read as IDE version information
	vcopy product-info.json opt/${pkgname}/
	vmkdir usr/bin
	ln -s /opt/android-studio/bin/studio.sh ${DESTDIR}/usr/bin/android-studio

	# The version of host-side simpleperf bundled with Android Studio (as of 3.4.2) requires
	# libncurses.so.5, which is not provided by Void Linux. However, as host-side simpleperf
	# parsing is a fairly recent addition, we can just disable it...

	rm -r ${DESTDIR}/opt/android-studio/plugins/android/resources/simpleperf/linux-x86_64
	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio.vmoptions
	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio64.vmoptions

	vinstall "${FILESDIR}/android-studio.desktop" 644 usr/share/applications/
	chmod -R ugo+rX ${DESTDIR}/opt
}
```

This is output from hook
```
=> android-studio-2022.3.1.18_1: running pre-pkg hook: 999-collected-rdeps ...
   alsa-lib>=1.0.20_1 busybox-core>=0 bzip2>=1.0.5_1 freetype>=2.12.1_1 glib>=2.76.0_1 glibc>=2.36_1 libX11>=1.2_1 
libXext>=1.0.5_1 libXi>=1.2.1_1 libXrender>=0.9.4_1  libXtst>=1.0.3_1 libcxx>=3.4_1 libedit>=20130712.3.1_1 libgcc>=4.4.0_1
 libstdc++>=4.4.0_1 libxml2>=2.7.0_1 musl>=1.1.24_7 ncurses-libs>=6.0_1 openjdk8-jre>=8u20_1 zlib>=1.2.3_1
```
auto generated deps contain some dependencies which are not useful 
is this possible to overwrite auto generated runtime dependencies ?

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-08-19 18:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-19  4:35 [ISSUE] `999-collected-rdeps` includes both musl and glibc as runtime dep Luciogi
2023-08-19  6:39 ` classabbyamp
2023-08-19  7:39 ` Luciogi
2023-08-19  8:00 ` classabbyamp
2023-08-19  8:10 ` Luciogi
2023-08-19  8:10 ` Luciogi
2023-08-19  8:13 ` Luciogi
2023-08-19  8:14 ` classabbyamp
2023-08-19  8:29 ` Luciogi
2023-08-19 18:44 ` [ISSUE] [CLOSED] " Luciogi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).