You are not logged in.

#1 2026-11-17 19:43:38

NullTerminated
Member
Registered: 2026-11-17
Posts: 5

pandoc 3.11 in current package broken

Hi!

I am very new to arch linux, so please excuse that I do not yet know all rules and processes.

I installed pandoc 3.11 and it is broken. I am heavily using KDE-style XML syntax definitions and they do not work with pandoc release 3.11. The bug seems to have been fixed in the meantime. I downloaded the compiled pandoc 3.14 from the pandoc site and the issue is gone.

So I have two questions:

When the current version of a software in a pacman package is buggy and the bug has been fixed, how do I get the new version into the pacman package?

When the current version of a software in a package is buggy and the bug is not yet been reported, where do I report it? To the upsteam provider of the source, which I would assume in this case?

You can also point me to some documentation where I can learn what to do in these cases.

Thank you very much!
Best regards
NullTerminated

Offline

#2 2026-11-17 21:19:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,996

Re: pandoc 3.11 in current package broken

https://bbs.archlinux.org/viewtopic.php?id=130138 - #6

When the current version of a software in a package is buggy and the bug is not yet been reported, where do I report it?

I downloaded the compiled pandoc 3.14 from the pandoc site and the issue is gone.

If the bug has been fixed upstream, there's nothing to file there.
As for the arch package, see https://gitlab.archlinux.org/archlinux/ … rk_items/8

What *is* the bug, do you know which patch fixed it upstream?

Offline

#3 2026-11-17 22:36:24

NullTerminated
Member
Registered: 2026-11-17
Posts: 5

Re: pandoc 3.11 in current package broken

seth wrote:

What *is* the bug, do you know which patch fixed it upstream?

I know it is a sin to use AI and not my own intelligence, however, AI tells me the following which seems to be exactly what has been wrong:

AI says it is related to changes in Skylighting.

These are the two relevant Pandoc issues:

    #11921 – Keywords not resolved in syntaxes provided via --syntax-definition

    #11923 – Behaviour of include in list depends on argument order

The correction was included in Pandoc 3.12.1.

See also:

    Pandoc 3.12.1 release

    Skylighting 0.15 changelog

Your Pandoc 3.11 is linked against Skylighting 0.15, but apparently lacks the corresponding fix in Pandoc's syntax-definition loading code.

There are two possible ways to address this:

    Upgrade Pandoc to a version containing the fix.

    Backport the Pandoc 3.12.1 change into your Arch pandoc-cli 3.11 package.

I would recommend the first if upgrading is possible.

Offline

#4 2026-11-17 22:58:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,996

Re: pandoc 3.11 in current package broken

I meant more like "what error do you get from pandoc"

https://github.com/jgm/pandoc/issues/11921 and https://github.com/jgm/pandoc/issues/11923 are regressions in 3.12 that explicitly didn't exist in 3.11 - not an expert on sins but it's always a good idea to use SI - "some intelligence"… tongue

Offline

#5 2026-11-18 00:17:24

NullTerminated
Member
Registered: 2026-11-17
Posts: 5

Re: pandoc 3.11 in current package broken

I observe two errors.

During running pandoc, I get lots of warnings or the form

[WARNING] Could not highlight code block:
  Keyword with unresolved list "unixcommands"

Nevertheless pandoc produces result xhtml files. However, they are also wrong. At least some of the tags are missing class names like, for example "sourceCode". Maybe also the structure of the tags has changed but I didn't look so deep into the xhtml. But the result that is displayed by the browser looks very different. This is  due to the heavy css styling I am using and which no longer works as expected.

Offline

#6 2026-11-18 09:54:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,996

Re: pandoc 3.11 in current package broken

I get lots of warnings or the form

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
The error seems to stem from https://archlinux.org/packages/?sort=&q … =&flagged= and was *introduced* with 0.15 what entered the repos Sep 27, 2026 (and then was rebuild 32 times because haskell sucks)

Post the actual output, but you're sure the problem is fixed in 3.14 because you tested that, not just because the AI told you so?

Offline

#7 Today 13:35:02

NullTerminated
Member
Registered: 2026-11-17
Posts: 5

Re: pandoc 3.11 in current package broken

Ok.

(1) I am absolutely definitely positively sure that the error is gone in pandoc 3.14 as downloaded from the pandoc site, the exact version being:

[as@zeus inst]$  pandoc --version
pandoc 3.14
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /home/as/.local/share/pandoc
Copyright (C) 2006-2025 John MacFarlane. Web:  [url]https://pandoc.org[/url]
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.

(2) The pandoc from the arch package in comparison:

[as@zeus inst]$ pacman -Qi pandoc
Name            : pandoc-cli
Version         : 3.11-89
Description     : Conversion between documentation formats
Architecture    : x86_64
URL             : [url]https://pandoc.org[/url]
Licenses        : GPL-2.0-or-later
Groups          : None
Provides        : pandoc
Depends On      : ghc-libs  haskell-pandoc  haskell-pandoc-lua-engine  haskell-pandoc-server  haskell-safe  haskell-temporary  haskell-wai-extra  haskell-warp  hslua-cli
Optional Deps   : None
Required By     : None
Optional For    : ripgrep-all
Conflicts With  : pandoc
Replaces        : pandoc
Installed Size  : 168.37 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : Wed Nov 18 22:28:21 2026
Install Date    : Sat Nov 21 14:28:33 2026
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

(3) Here is the exact output from pandoc 3.11:

[as@zeus inst]$ make
pandoc --defaults=global.yaml --defaults=local.yaml --extract-media=../../../../web/tux/inst/images md/arch_zeus.md -o ../../../../web/tux/inst/xhtml/arch_zeus.xhtml
[WARNING] Could not highlight code block:
  Keyword with unresolved list "unixcommands"
[WARNING] Could not highlight code block:
  Keyword with unresolved list "unixcommands"
[...]

The [...] represents an exact repetition or the two lines

[WARNING] Could not highlight code block:
  Keyword with unresolved list "unixcommands"

and nothing else. And I even counted this to give you exact proof (note, that 173 * 2 + 1 = 347):

[as@zeus inst]$ make 2>&1 | grep WARNING - | wc -l
173
[as@zeus inst]$ make 2>&1 | grep unixcommands - | wc -l
173
[as@zeus inst]$ make 2>&1 | wc -l
347

Please tell me, if you want more information, I will try to provide what you want.

Last edited by NullTerminated (Today 14:58:43)

Offline

#8 Today 14:46:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,996

Re: pandoc 3.11 in current package broken

Please use [code][/code] tags. Edit your post in this regard.

You're not using --syntax-definition so this doesn't seem to be the upstream bugs but https://github.com/massifrg/pandoc/comm … 57b7ccd617 might have captured your situation as well
I pointed out your situation in the previously linked bug for the pending updates.

Offline

#9 Today 15:01:31

NullTerminated
Member
Registered: 2026-11-17
Posts: 5

Re: pandoc 3.11 in current package broken

I am using syntax-definition. Here my yaml files:

[as@zeus inst]$ cat global.yaml 
from: markdown

to: html5

template: ../../../templates/book.template

standalone: true

metadata:
  link-citations: true
  reference-section-title: References

variables:
    lang: en-GB
    js: ../../../js/nav.js

table-of-contents: true
toc-depth: 6
number-sections: true

syntax-definition: ../../../asshell.xml

highlight-style: pygments

section-divs: true

filters:
- ../../../lua/fixes.lua
- ../../../lua/table.lua

css:
- ../../../styles/variables.css
- ../../../styles/all.css
- ../../../styles/nav.css
- ../../../styles/main.css
- ../../../styles/pandoc.css

[as@zeus inst]$ cat local.yaml 
bibliography:
  ./../lit.bib

filters:
- ../../../lua/table.lua
- ../../../lua/fixes.lua
- ../../../lua/diagram.lua
- ../../../lua/image-paths.lua

css:
- ../../styles/tux.css

toc-depth: 3

Offline

#10 Today 15:45:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,996

Re: pandoc 3.11 in current package broken

Whatever the local cause is, the linked upstream bugs are explicitly 3.12 regressions ¯\_(ツ)_/¯

Offline

Board footer

Powered by FluxBB