Opened 7 years ago

Closed 7 years ago

#55015 closed defect (fixed)

ansible @2.3.2.0-1: "make docs" failure - asciidoc returns non-zero exit status 1

Reported by: rseichter (Ralph Seichter) Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: blair (Blair Zajac), pedro.salgado@…
Port: ansible

Description

Installation of ansible 2.3.2.0 fails during "make docs" phase. Using "port clean ansible" does not resolve the issue.

# port -v install ansible
--->  Computing dependencies for ansible.
--->  Building ansible
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.3.2.0-1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
running build
running build_py
running build_scripts
sed "s/%VERSION%/2.3.2.0/" docs/man/man1/ansible.1.asciidoc.in > docs/man/man1/ansible.1.asciidoc
a2x -L -D docs/man/man1/ -d manpage -f manpage docs/man/man1/ansible.1.asciidoc
a2x: WARNING: --destination-dir option is only applicable to HTML based outputs
a2x: ERROR: "/opt/local/bin/asciidoc" --backend docbook -a "a2x-format=manpage"  --doctype manpage  --out-file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.3.2.0-1/docs/man/man1/ansible.1.xml" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.3.2.0-1/docs/man/man1/ansible.1.asciidoc" returned non-zero exit status 1
make: *** [docs/man/man1/ansible.1] Error 1
rm docs/man/man1/ansible.1.asciidoc
Command failed: make docs
Exit code: 2
Error: Failed to build ansible: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_ansible/ansible/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port ansible failed

Attachments (1)

main.log (8.6 MB) - added by rseichter (Ralph Seichter) 7 years ago.

Change History (7)

Changed 7 years ago by rseichter (Ralph Seichter)

Attachment: main.log added

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: blair pedro.salgado@… added
Owner: set to adfernandes
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers ansible), if any.

comment:2 Changed 7 years ago by rseichter (Ralph Seichter)

Indeed, I forgot the Cc settings, sorry.

comment:3 Changed 7 years ago by adfernandes (Andrew Fernandes)

Hmm... looking at the log, all the dependencies seem to be at their latest (correct) version.

I just removed and re-installed ansible and cannot reproduce, unfortunately.

I'll try a couple more things, including updating to ansible 2.4.1 (due out in a few days) and see if that fixes things.

Sorry for the problem - it's a real puzzler!

comment:4 Changed 7 years ago by rseichter (Ralph Seichter)

Please let me know if I can assist in narrowing this issue down.

comment:5 Changed 7 years ago by adfernandes (Andrew Fernandes)

Will be obviated by #55229, once that change is committed (and assuming that that change works...)

comment:6 Changed 7 years ago by adfernandes (Andrew Fernandes)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.