Opened 9 years ago

Closed 9 years ago

#48297 closed defect (fixed)

docbook-utils fails to build: missing dependency on sgmlspl

Reported by: jlrobins Owned by: lockhart (Thomas Lockhart)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: docbook-utils

Description

While trying to build docbook-utils based off of relatively clean macports installation, build / installation fails:

jlrobins$ sudo port install docbook-utils
--->  Computing dependencies for docbook-utils
--->  Building docbook-utils
Error: org.macports.build for port docbook-utils returned: command execution failed
Please see the log file for port docbook-utils for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_docbook-utils/docbook-utils/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port docbook-utils failed

The tail of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_docbook-utils/docbook-utils/main.log reads:

:info:build SGML_CATALOG_FILES=/opt/local/etc/sgml/catalog \
:info:build 	SGML_SEARCH_PATH=../../doc:.. \
:info:build 		onsgmls ../../doc/docbook-utils.sgml | \
:info:build 		sgmlspl ../../helpers/docbook2man-spec.pl
:info:build /bin/sh: sgmlspl: command not found
:info:build /bin/sh: sgmlspl: command not found
:info:build /bin/sh: sgmlspl: command not found
:info:build /bin/sh: sgmlspl: command not found
:info:build /bin/sh: sgmlspl: command not found
:info:build /bin/sh: sgmlspl: command not found
:info:build make[2]: *** [docbook2texi-spec.pl.1] Error 127
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [docbook2man-spec.pl.1] Error 127
:info:build make[2]: *** [sgmldiff.1] Error 127
:info:build make[2]: *** [backend-spec.7] Error 127
:info:build make[2]: *** [frontend-spec.7] Error 127
:info:build make[2]: *** [jw.1] Error 127
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_docbook-utils/docbook-utils/work/docbook-utils-0.6.14/doc/man'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_docbook-utils/docbook-utils/work/docbook-utils-0.6.14/doc'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_docbook-utils/docbook-utils/work/docbook-utils-0.6.14'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_docbook-utils/docbook-utils/work/docbook-utils-0.6.14" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port docbook-utils returned: command execution failed
:debug:build Error code: CHILDSTATUS 6109 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for docbook-utils: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port docbook-utils for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_docbook-utils/docbook-utils/main.log

Looks ultimately like missing dependency upon package which provides /opt/local/bin/sgmlspl ?

Change History (5)

comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to tlockhart1976@…
Port: docbook-utils added

Thanks for the report. In future tickets, please Cc any port maintainers (port info --maintainers docbook-utils).

comment:2 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

That files comes from p5.16-sgmlspm

/opt/local/bin/sgmlspl-5.16@ -> /opt/local/libexec/perl5.16/sgmlspl

which is already listed as a dependency.

I would guess that it will need to be patched to find it.

comment:4 Changed 9 years ago by lockhart (Thomas Lockhart)

This works for me:

sudo port uninstall docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 iso8879 docbook-xml-4.2 openjade docbook-sgml-4.2 docbook-utils p5.22-sgmlspm docbook-dsssl docbook-xml-5.0 docbook-xsl docbook-xsl-ns sgml-common
sudo rm -rf /opt/local/etc/sgml /opt/local/etc/xml
sudo port install -s docbook-utils

The issues were addressed in tickets #50220 and #50219. I believe that this ticket should be retired.

comment:5 Changed 9 years ago by mf2k (Frank Schima)

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