Opened 8 years ago

Closed 8 years ago

#51839 closed defect (invalid)

Ansible 2.1.0.0.1_0; org.macports.build for port ansible returned: command execution failed

Reported by: anufant@… Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: blair (Blair Zajac), steenzout (Pedro Salgado)
Port: ansible

Description

During upgrade ansible from 2.0.1.0.1_0 to 2.1.0.0.1_0 I've got an error

--->  Configuring ansible
--->  Building ansible
Error: org.macports.build for port ansible returned: command execution failed
Please see the log file for port ansible for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible/ansible/main.log
Error: Unable to upgrade port: 1

main.log:

:info:build changing mode of build/scripts-2.7/ansible-vault from 644 to 755
:debug:build Executing proc-post-org.macports.build-build-0
:info:build sed "s/%VERSION%/2.1.0.0/" docs/man/man1/ansible.1.asciidoc.in > docs/man/man1/ansible.1.asciidoc
:info:build a2x -D docs/man/man1/ -d manpage -f manpage docs/man/man1/ansible.1.asciidoc
:info:build a2x: WARNING: --destination-dir option is only applicable to HTML based outputs
:info:build a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0  "/opt/local/etc/asciidoc/docbook-xsl/manpage.xsl" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.1.0.0-1/docs/man/man1/ansible.1.xml" returned non-zero exit status 5
:info:build make: *** [docs/man/man1/ansible.1] Error 1
:info:build rm docs/man/man1/ansible.1.asciidoc
:info:build Command failed: make docs
:info:build Exit code: 2
:error:build org.macports.build for port ansible returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"proc-post-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $post $targetname"
:info:build Warning: targets not executed for ansible: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port ansible for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible/ansible/main.log

if I try to execute xsltproc command above which cause an error, I got error:

compilation error: file /opt/local/etc/asciidoc/docbook-xsl/manpage.xsl line 12 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

and url http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl is not accessible

Change History (4)

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

Cc: blair@… pedro.salgado@… added
Owner: changed from macports-tickets@… to adfernandes@…

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

comment:2 Changed 8 years ago by adfernandes (Andrew Fernandes)

Hmm. It would appear that this is a bug in either asciidoc or the port containing xsltproc, no? Or just the souceforge mirror for the .xsl being down?

comment:3 in reply to:  2 Changed 8 years ago by anufant@…

Replying to adfernandes@…:

Hmm. It would appear that this is a bug in either asciidoc or the port containing xsltproc, no? Or just the souceforge mirror for the .xsl being down?

I'm sorry. Indeed, there was a trouble with .xml file on sourceforge.net. NOw it's ok, so ticket can be closed.

comment:4 Changed 8 years ago by adfernandes (Andrew Fernandes)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.