Skip to content

Unable to build documentation for 4.14.0-rc3(?) #781

@ikerexxe

Description

@ikerexxe

After including the patch from #780 I generated a new tarball following the instruction from #777, and I face several problems when building the man pages (log below). This is the first time that I generate the tarball so that might be the problem. I've been checking the problem and I don't know what's happening, so any help would be much appreciated.

make[3]: Entering directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
if grep -q SHADOW-CONFIG-HERE ../groupdel.8.xml ; then \
    sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' ../groupdel.8.xml > groupdel.8.xml; \
else \
    sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' ../groupdel.8.xml > groupdel.8.xml; \
fi
itstool -i ../its.rules -d -l da -m messages.mo -o . groupdel.8.xml
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1645, in <module>
    doc.apply_its_file(itsfile, userparams=userparams)
  File "/usr/bin/itstool", line 789, in apply_its_file
    doc = libxml2.parseFile(filename)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed
make[3]: *** [Makefile:706: groupdel.8.xml] Error 1
make[3]: Leaving directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
make[3]: *** Waiting for unfinished jobs....
make[3]: Entering directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
if grep -q SHADOW-CONFIG-HERE ../chfn.1.xml ; then \
    sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' ../chfn.1.xml > chfn.1.xml; \
else \
    sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' ../chfn.1.xml > chfn.1.xml; \
fi
itstool -i ../its.rules -d -l da -m messages.mo -o . chfn.1.xml
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1645, in <module>
    doc.apply_its_file(itsfile, userparams=userparams)
  File "/usr/bin/itstool", line 789, in apply_its_file
    doc = libxml2.parseFile(filename)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed
make[3]: *** [Makefile:706: chfn.1.xml] Error 1
make[3]: Leaving directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
make[3]: Entering directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
if grep -q SHADOW-CONFIG-HERE ../gshadow.5.xml ; then \
    sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' ../gshadow.5.xml > gshadow.5.xml; \
else \
    sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' ../gshadow.5.xml > gshadow.5.xml; \
fi
itstool -i ../its.rules -d -l da -m messages.mo -o . gshadow.5.xml
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1645, in <module>
    doc.apply_its_file(itsfile, userparams=userparams)
  File "/usr/bin/itstool", line 789, in apply_its_file
    doc = libxml2.parseFile(filename)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed
make[3]: *** [Makefile:706: gshadow.5.xml] Error 1
make[3]: Leaving directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
make[3]: Entering directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
if grep -q SHADOW-CONFIG-HERE ../logoutd.8.xml ; then \
    sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' ../logoutd.8.xml > logoutd.8.xml; \
else \
    sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' ../logoutd.8.xml > logoutd.8.xml; \
fi
itstool -i ../its.rules -d -l da -m messages.mo -o . logoutd.8.xml
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1645, in <module>
    doc.apply_its_file(itsfile, userparams=userparams)
  File "/usr/bin/itstool", line 789, in apply_its_file
    doc = libxml2.parseFile(filename)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed
make[3]: *** [Makefile:706: logoutd.8.xml] Error 1
make[3]: Leaving directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
make[3]: Entering directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
if grep -q SHADOW-CONFIG-HERE ../sg.1.xml ; then \
    sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' ../sg.1.xml > sg.1.xml; \
else \
    sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' ../sg.1.xml > sg.1.xml; \
fi
itstool -i ../its.rules -d -l da -m messages.mo -o . sg.1.xml
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1645, in <module>
    doc.apply_its_file(itsfile, userparams=userparams)
  File "/usr/bin/itstool", line 789, in apply_its_file
    doc = libxml2.parseFile(filename)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed
make[3]: *** [Makefile:706: sg.1.xml] Error 1
make[3]: Leaving directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
make[3]: Entering directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
if grep -q SHADOW-CONFIG-HERE ../groups.1.xml ; then \
    sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' ../groups.1.xml > groups.1.xml; \
else \
    sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' ../groups.1.xml > groups.1.xml; \
fi
itstool -i ../its.rules -d -l da -m messages.mo -o . groups.1.xml
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1645, in <module>
    doc.apply_its_file(itsfile, userparams=userparams)
  File "/usr/bin/itstool", line 789, in apply_its_file
    doc = libxml2.parseFile(filename)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed
make[3]: *** [Makefile:706: groups.1.xml] Error 1
make[3]: Leaving directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
make[3]: Entering directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
if grep -q SHADOW-CONFIG-HERE ../newgrp.1.xml ; then \
    sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' ../newgrp.1.xml > newgrp.1.xml; \
else \
    sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' ../newgrp.1.xml > newgrp.1.xml; \
fi
itstool -i ../its.rules -d -l da -m messages.mo -o . newgrp.1.xml
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1645, in <module>
    doc.apply_its_file(itsfile, userparams=userparams)
  File "/usr/bin/itstool", line 789, in apply_its_file
    doc = libxml2.parseFile(filename)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed
make[3]: *** [Makefile:706: newgrp.1.xml] Error 1
make[3]: Leaving directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
make[3]: Entering directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
if grep -q SHADOW-CONFIG-HERE ../nologin.8.xml ; then \
    sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' ../nologin.8.xml > nologin.8.xml; \
else \
    sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' ../nologin.8.xml > nologin.8.xml; \
fi
itstool -i ../its.rules -d -l da -m messages.mo -o . nologin.8.xml
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1645, in <module>
    doc.apply_its_file(itsfile, userparams=userparams)
  File "/usr/bin/itstool", line 789, in apply_its_file
    doc = libxml2.parseFile(filename)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed
make[3]: *** [Makefile:706: nologin.8.xml] Error 1
make[3]: Leaving directory '/home/ipedrosa/fedpkg/shadow-utils/shadow-4.14.0/man/da'
rm logoutd.8.xml chfn.1.xml gshadow.5.xml newgrp.1.xml groupdel.8.xml sg.1.xml nologin.8.xml groups.1.xml
make[2]: *** [Makefile:750: all-recursive] Error 1
make[1]: *** [Makefile:462: all-recursive] Error 1
make: *** [Makefile:390: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.MkhlVc (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.MkhlVc (%build)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions