Skip to content

Bug: sort -V not supported on NetBSD #237

@SirWumpus

Description

@SirWumpus

Is there an existing issue for this?

  • I have searched for existing issues and did not find anything like this

Describe the bug

Low priority.

Copying from From #234 (comment) so as not to lose the thread.

After installing pandoc, attempted to generate gmake markdown the following error on NetBSD.

elf$ gmake markdown
=-=-=-=-= IOCCC begin gmake markdown =-=-=-=-=
You want to markdown?
bin/gen-top-html.sh markdown
sort: unknown option -- V
usage: sort [-bdfHilmnrSsu] [-k kstart[,kend]] [-o output] [-R char] [-T dir]
             [-t char] [file ...]
   or: sort -C|-c [-bdfilnru] [-k kstart[,kend]] [-o output] [-R char]
             [-t char] [file]
bin/pandoc-wrapper.sh: ERROR: pandoc: /usr/pkg/bin/pandoc version: 3.7.0.2 <= minimum allowed: 3.1.12.2
bin/pandoc-wrapper.sh: Warning: pandoc version must be >= 3.1.12.2
bin/pandoc-wrapper.sh: Warning: install a more up to date pandoc and/or use -p pandoc_tool to refer an up to date pandoc
bin/md2html.sh: ERROR: pandoc wrapper tool: bin/pandoc-wrapper.sh  -- .tmp.md2html.sh.STRIPPED_MD.1010.tmp - failed, error code: 5
bin/gen-top-html.sh: ERROR: md2html.sh: bin/md2html.sh -U https://www.ioccc.org/markdown.html -v 0 -t bin/gen-top-html.sh -D ./ -m markdown.md -- markdown.md markdown.html failed, error: 100
bin/gen-top-html.sh: Warning: EXIT_CODE set to: 1
bin/gen-top-html.sh: Warning: about to exit 1
gmake: *** [Makefile:704: markdown] Error 1


elf$ pkgin list | grep pandoc
...
pandoc-3.7.0.2       Conversion between documentation formats
pandoc-cli-3.7.0.2nb1 Conversion between documentation formats
elf$

From @xexyl
#234 (comment)

Hmmm ... that might be a flaw in the logic of verge(1). What do you think @lcn2?

If so one of us might have to fix it - but perhaps not until after this coming IOCCC?

What you expect

Don't know. Never ran this before.

Environment

  • OS: Windows 10 Home hosting NetBSD 10.1 VM using VirtualBox
  • Device: MSI Laptop
  • Compiler:

Anything else?

No response

Metadata

Metadata

Labels

background priorityWhile this issue is needs to be solved, it is of a somewhat lower priority.bugSomething isn't workingpost-IOCCC29All work and comments delayed until post-IOCCC29 and post IOCCC judge vacation.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions