New comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/issues/25183#issuecomment-1104513185 Comment: Ok, so: - dbg doesn't work because jdk11 is built with `--with-native-debug-symbols=none` - this should work with `internal`, and xbps-src should strip them correctly (tested with jdk17 and gdb) - I currently don't see any way to strip inside the jmods - alpine ships jmods as a subpackage, but with `--with-native-debug-symbols=none` - arch leaves all debug info and jmods in the main jdk package and does not set any debug-related configure options (not sure how they have such a small package size?) personally I think subpackaging them is the best option for now, but I don't know much about writing java and what jmods might be needed for.