Package Details: docbook2mdoc 1.1.0-0

Git Clone URL: https://aur.archlinux.org/docbook2mdoc.git (read-only, click to copy)
Package Base: docbook2mdoc
Description: DocBook refentry to mdoc(7) converter
Upstream URL: https://mandoc.bsd.lv/docbook2mdoc/
Licenses: custom: ISC
Submitter: KingofToasters
Maintainer: KingofToasters
Last Packager: KingofToasters
Votes: 0
Popularity: 0.000000
First Submitted: 2019-04-18 11:47 (UTC)
Last Updated: 2019-05-05 07:03 (UTC)

Latest Comments

vpzomtrrfrt commented on 2026-05-15 06:47 (UTC)

Doesn't seem to build:

==> Making package: docbook2mdoc 1.1.0-0 (Fri May 15 06:46:48 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading docbook2mdoc-1.1.0.tgz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100  26732 100  26732   0      0  48726      0                              0
  -> Found docbook2mdoc.patch
==> Validating source files with sha256sums...
    docbook2mdoc-1.1.0.tgz ... Passed
    docbook2mdoc.patch ... Passed
==> Extracting sources...
  -> Extracting docbook2mdoc-1.1.0.tgz with bsdtar
==> Starting prepare()...
File Makefile is read-only; trying to patch anyway
patching file Makefile
File node.h is read-only; trying to patch anyway
patching file node.h
==> Starting build()...
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/colin/docbook2mdoc/src=/usr/src/debug/docbook2mdoc -flto=auto -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings   -c -o xmalloc.o xmalloc.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/colin/docbook2mdoc/src=/usr/src/debug/docbook2mdoc -flto=auto -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings   -c -o node.o node.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/colin/docbook2mdoc/src=/usr/src/debug/docbook2mdoc -flto=auto -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings   -c -o parse.o parse.c
parse.c: In function ‘xml_entity’:
parse.c:424:37: error: implicit declaration of function ‘strtonum’; did you mean ‘strtouq’? [-Wimplicit-function-declaration]
  424 |                         codepoint = strtonum(name + 1, 0, 0x10ffff, &ccp);
      |                                     ^~~~~~~~
      |                                     strtouq
parse.c: In function ‘parse_file’:
parse.c:1038:52: warning: passing argument 1 of ‘dirname’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1038 |         if (save_fname == NULL && (fname = dirname(fname)) != NULL &&
      |                                                    ^~~~~
In file included from parse.c:24:
/usr/include/libgen.h:26:29: note: expected ‘char *’ but argument is of type ‘const char *’
   26 | extern char *dirname (char *__path) __THROW;
      |                       ~~~~~~^~~~~~
parse.c:1040:23: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1040 |                 (void)chdir(fname);
      |                       ^~~~~~~~~~~~
make: *** [<builtin>: parse.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...