[MacPorts] #52285: ansible @2.1.1.0.1: ERROR: "xsltproc" returned non-zero exit status 5 (was: Ansible 2.1.1.0.1 build error)

MacPorts noreply at macports.org
Tue Sep 20 13:41:16 CEST 2016


#52285: ansible @2.1.1.0.1: ERROR: "xsltproc" returned non-zero exit status 5
------------------------------+---------------------------
  Reporter:  dhamilton2007@…  |      Owner:  adfernandes@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.4
Resolution:                   |   Keywords:
      Port:  ansible          |
------------------------------+---------------------------
Changes (by ryandesign@…):

 * cc: adfernandes@… (removed)
 * owner:  macports-tickets@… => adfernandes@…
 * port:  Ansible 2.1.1.0.1 => ansible


Old description:

> When installing Ansible I get the following error:
>

> {{{
> --->  Fetching archive for ansible
> --->  Attempting to fetch ansible-2.1.1.0.1_0.darwin_15.noarch.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/ansible
> --->  Attempting to fetch ansible-2.1.1.0.1_0.darwin_15.noarch.tbz2 from
> http://lil.fr.packages.macports.org/ansible
> --->  Attempting to fetch ansible-2.1.1.0.1_0.darwin_15.noarch.tbz2 from
> https://packages.macports.org/ansible
> --->  Fetching distfiles for ansible
> --->  Verifying checksums for ansible
> --->  Extracting ansible
> --->  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
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port ansible failed
> }}}
> Taking a look at the last part of the log:
>
> {{{
> ...
> :info:build changing mode of build/scripts-2.7/ansible-galaxy from 644 to
> 755
> :info:build changing mode of build/scripts-2.7/ansible-console from 644
> to 755
> :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.1.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.1.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.activate org.macports.build org.macports.destroot
> org.macports.install
> :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
> }}}
> This appears to be the same issue as reported for Ansible 2.1.0.0.1:
> [https://trac.macports.org/ticket/51839] although this is for a
> completely fresh installation of Ansible rather than an upgrade.

New description:

 When installing Ansible I get the following error:


 {{{
 --->  Fetching archive for ansible
 --->  Attempting to fetch ansible-2.1.1.0.1_0.darwin_15.noarch.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/ansible
 --->  Attempting to fetch ansible-2.1.1.0.1_0.darwin_15.noarch.tbz2 from
 http://lil.fr.packages.macports.org/ansible
 --->  Attempting to fetch ansible-2.1.1.0.1_0.darwin_15.noarch.tbz2 from
 https://packages.macports.org/ansible
 --->  Fetching distfiles for ansible
 --->  Verifying checksums for ansible
 --->  Extracting ansible
 --->  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
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port ansible failed
 }}}
 Taking a look at the last part of the log:

 {{{
 ...
 :info:build changing mode of build/scripts-2.7/ansible-galaxy from 644 to
 755
 :info:build changing mode of build/scripts-2.7/ansible-console from 644 to
 755
 :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.1.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.1.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.activate org.macports.build org.macports.destroot
 org.macports.install
 :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
 }}}
 This appears to be the same issue as reported for Ansible 2.1.0.0.1:
 #51839 although this is for a completely fresh installation of Ansible
 rather than an upgrade.

--

Comment:

 #51839 mentioned it was a problem with a SourceForge server. Maybe try
 again later?

-- 
Ticket URL: <https://trac.macports.org/ticket/52285#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list