Summary: | pandoc: too old | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Yuri N. Sedunov <aris> |
Component: | pandoc | Assignee: | Leonid <ytinka7> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | blocker | ||
Priority: | P3 | CC: | ancieg, antohami, lav, protvin, respublica, sbolshakov, slev, ytinka7 |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
Bug Depends on: | |||
Bug Blocks: | 46625 |
Description
Yuri N. Sedunov
2024-05-28 14:58:53 MSK
ping! Подождите пока закончится бутстрап до свежей версии ghc Леонид, можете подготовить готовый пример спека для сборки подобных пакетов и их зависимостей, либо самостоятельно обновить pandoc? В ближайшие пару дней обновлю Статьи будут на https://www.altlinux.org/Haskell И https://www.altlinux.org/Haskell/RPM https://www.altlinux.org/Haskell/Vendored (Ответ для Leonid на комментарий #8) > В ближайшие пару дней обновлю Не выходит каменный цветок? В процессе Куда-то не туда заносит ваш pandoc. RROR:root:Cannot convert document: b'Could not find data file /usr/src/.local/state/cabal/store/ghc-9.6.6/pandoc-3.6.4-9c52d30b4a3ec455cc2a346f7323d06437c1ab1b1f6a097620df44253a7040aa/share/data/templates/default.html5\n' pandoc-3.6.4.1-alt1 -> sisyphus: Wed Apr 23 2025 Leonid Znamenok <respublica@altlinux> 3.6.4.1-alt1 - 3.6.4.1 (ALT#50484) (ALT#49673) - rebuilt with rpm-build-haskell-vendored Не успел коммит отменить. Говорят, что в пакете есть тесты. Надо бы их прогнать при сборке. https://pandoc.org/installing.html#running-tests -------------------------------------------------------------------- Running tests Pandoc comes with an automated test suite. To run with cabal, cabal test; to run with stack, stack test. To run particular tests (pattern-matching on their names), use the -p option: cabal test --test-options='-p markdown' Or with stack: stack test --test-arguments='-p markdown' It is often helpful to add -j4 (run tests in parallel) and --hide-successes (don’t clutter output with successes) to the test arguments as well. If you add a new feature to pandoc, please add tests as well, following the pattern of the existing tests. The test suite code is in test/test-pandoc.hs. If you are adding a new reader or writer, it is probably easiest to add some data files to the test directory, and modify test/Tests/Old.hs. Otherwise, it is better to modify the module under the test/Tests hierarchy corresponding to the pandoc module you are changing. ---------------------------------------------------------------------------- В chroot'е тесты пройдут. Плюс ещё на некоторых форматах сторонние файлы не требуются и конвертация проходит. Проблема тут из-за схемы сборки с вендорингом, буду чинить. Пересборкой geeqie еще можно проверить ваши грядущие исправления. Package: geeqie-2.5-alt1 Status: Sisyphus/x86_64 test rebuild failed URL: http://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2025/0430/error/geeqie-2.5-alt1 ... [6/186] Generating README.html with a custom command FAILED: README.html /usr/bin/pandoc ../README.md -o README.html Could not find data file /usr/src/.local/state/cabal/store/ghc-9.6.6/pandoc-3.6.4-9c52d30b4a3ec455cc2a346f7323d06437c1ab1b1f6a097620df44253a7040aa/share/data/abbreviations И libgssdp1.6 FAILED: doc/gssdp-device-sniffer.1 /usr/bin/pandoc ../doc/gssdp-device-sniffer.md /usr/src/RPM/BUILD/gssdp-1.6.3/doc/metadata.yml -s -t man -o doc/gssdp-device-sniffer.1 Could not find data file /usr/src/.local/state/cabal/store/ghc-9.6.6/pandoc-3.6.4-9c52d30b4a3ec455cc2a346f7323d06437c1ab1b1f6a097620df44253a7040aa/share/data/templates/default.man Спасибо. Перед обновлением стоило проверить пересборку всего зависящего от pandoc. (In reply to Leonid Znamenok from comment #18) > Спасибо. > > Перед обновлением стоило проверить пересборку всего зависящего от pandoc. Глядя на заметное количество FTBFS -- cтоило, да. Когда ожидать работоспособный pandoc ? Сейчас локально собирается. Если новых ошибок не вылезет, то сегодня будет. 3.6.4.1-alt2 в репозитории. |