@platforma-sdk/r-builder 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/lib/linux.js +40 -5
package/package.json
CHANGED
package/scripts/lib/linux.js
CHANGED
|
@@ -145,15 +145,50 @@ async function buildRDist(logger, buildDir, installRoot, rRoot) {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
const systemLibs = [
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
// Don't include glibc standard libraries and libstdc++ into the R distribution.
|
|
149
|
+
// We MUST use system glibc to avoid compatibility issues between system and R runtime and
|
|
150
|
+
// to keep integrity of glibc libraries set we can't include parts of it into the R distribution.
|
|
151
151
|
/libc\.so(\.[0-9.]+)?$/,
|
|
152
152
|
/libstdc\+\+\.so(\.[0-9.]+)?$/,
|
|
153
|
-
/
|
|
153
|
+
/libBrokenLocale\.so(\.[0-9.]+)?$/,
|
|
154
|
+
/libanl\.so(\.[0-9.]+)?$/,
|
|
155
|
+
/libc_malloc_debug\.so(\.[0-9.]+)?$/,
|
|
154
156
|
/libdl\.so(\.[0-9.]+)?$/,
|
|
157
|
+
/libm\.so(\.[0-9.]+)?$/,
|
|
158
|
+
/libmemusage\.so(\.[0-9.]+)?$/,
|
|
159
|
+
/libmvec\.so(\.[0-9.]+)?$/,
|
|
160
|
+
/libnsl\.so(\.[0-9.]+)?$/,
|
|
161
|
+
/libnss_compat\.so(\.[0-9.]+)?$/,
|
|
162
|
+
/libnss_dns\.so(\.[0-9.]+)?$/,
|
|
163
|
+
/libnss_files\.so(\.[0-9.]+)?$/,
|
|
164
|
+
/libnss_hesiod\.so(\.[0-9.]+)?$/,
|
|
165
|
+
/libpcprofile\.so(\.[0-9.]+)?$/,
|
|
166
|
+
/libpthread\.so(\.[0-9.]+)?$/,
|
|
167
|
+
/libresolv\.so(\.[0-9.]+)?$/,
|
|
155
168
|
/librt\.so(\.[0-9.]+)?$/,
|
|
156
|
-
/
|
|
169
|
+
/libthread_db\.so(\.[0-9.]+)?$/,
|
|
170
|
+
/libutil\.so(\.[0-9.]+)?$/,
|
|
171
|
+
|
|
172
|
+
// Don't include Core libraries that are not part of glibc, but known to be highly
|
|
173
|
+
// dependent on linux core and are known to exist on most of the systems.
|
|
174
|
+
/ld-linux-x86-64\.so(\.[0-9.]+)?$/,
|
|
175
|
+
/libcom_err\.so(\.[0-9.]+)?$/,
|
|
176
|
+
/libcrypt\.so(\.[0-9.]+)?$/,
|
|
177
|
+
/libselinux\.so(\.[0-9.]+)?$/,
|
|
178
|
+
/libacl\.so(\.[0-9.]+)?$/,
|
|
179
|
+
/libattr\.so(\.[0-9.]+)?$/,
|
|
180
|
+
/libblkid\.so(\.[0-9.]+)?$/,
|
|
181
|
+
/libmount\.so(\.[0-9.]+)?$/,
|
|
182
|
+
|
|
183
|
+
// Security and authentication libraries
|
|
184
|
+
/libpam\.so(\.[0-9.]+)?$/,
|
|
185
|
+
/libaudit\.so(\.[0-9.]+)?$/,
|
|
186
|
+
/libcap\.so(\.[0-9.]+)?$/,
|
|
187
|
+
|
|
188
|
+
// System management libraries
|
|
189
|
+
/libsystemd\.so(\.[0-9.]+)?$/,
|
|
190
|
+
/libudev\.so(\.[0-9.]+)?$/,
|
|
191
|
+
/libapparmor\.so(\.[0-9.]+)?$/,
|
|
157
192
|
];
|
|
158
193
|
|
|
159
194
|
function collectDependencies(logger, installDir, patchElf = false) {
|