Bug 38140
| Summary: | kumir2 builds and uses bundled zlib | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Dmitry V. Levin <ldv> |
| Component: | kumir2 | Assignee: | Andrey Cherepanov <cas> |
| Status: | RESOLVED FIXED | QA Contact: | qa-sisyphus |
| Severity: | major | ||
| Priority: | P5 | CC: | cas, dd, rauty |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Причина: в src/tools/pictomir2course/CMakeLists.txt выбор встроенной копии zlib (версии 1.2.3) был жёстко включён условием if(1), поэтому на всех платформах pictomir2course статически собирался с ней, а системная zlib не использовалась. Проверка из описания бага сейчас ничего не показывает только из-за LTO (символы стали локальными), но копия по-прежнему внутри: ldd /usr/bin/pictomir2course не показывает libz. Исправление: на не-Windows платформах ищется системная zlib через find_package(ZLIB) и pictomir2course линкуется с libz.so.1; встроенная копия остаётся только для Windows и как запасной вариант, если системной zlib нет. В пакете дополнительно будет BuildRequires: zlib-devel, а встроенная копия удаляется в %prep. Исправление предложено в апстрим: https://github.com/a-a-maly/kumir2/pull/41 Войдёт в следующую сборку пакета. kumir2-2.1.0-alt14.gita1a0c7da -> sisyphus: Fri Oct 23 2026 Ajrat Makhmutov <rauty@altlinux> 2.1.0-alt14.gita1a0c7da - Add version 2 to the menu entry names (Closes: 37683). - Link pictomir2course against the system zlib (Closes: 38140). - Fix the editor crash on Wayland and on layout switch (Closes: 45176). - Show the real last modified date instead of 1970 (Closes: 53337). - Apply the Grasshopper color settings (Closes: 53386). - Show the Turtle and its trail after the first run (Closes: 61178). - Keep the Draw picture inside the field after the first run (Closes: 61179). - Drop the deprecated Packager tag. - Point URL at the upstream GitHub repository, use the clonable VCS URL. |

Description
Dmitry V. Levin 2020-02-23 17:05:35 MSK