New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25367 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

docbook-xml using wrong dependency type

Reported by: jpbn@… Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: snc@…
Port: docbook-xml

Description (last modified by snc@…) (diff)

It seems that when install gtk-doc, if docbook-xml or docbook-xsl are already installed via archives or if port_cutleaves has been called, gtk-doc will the not be able to find all necessary elements. This is likely due to docbook-xml/xsl only specifying their dependencies as depends_build and not depends_lib.

Attachments

log (53.2 KB) - added by eoffermann@… 3 years ago.
Complete contents of log while installing gtk-doc

Change History

comment:1 Changed 3 years ago by jmr@…

  • Owner changed from macports-tickets@… to devans@…
  • Port set to gtk-doc
  • Description modified (diff)
  • Summary changed from upgrading macports to gtk-doc configure failure

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

It's impossible to tell what the problem is from the few lines of output you have provided; please attach the log.

Changed 3 years ago by eoffermann@…

Complete contents of log while installing gtk-doc

comment:2 Changed 3 years ago by eoffermann@…

I was having the same problem: The relevant offending bit from the log is here:

:info:configure checking for DocBook XML DTD V4.3 in XML catalog... not found
:info:configure configure: error: could not find DocBook XML DTD V4.3 in XML catalog
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/work/gtk-doc-1.15" && ./configure --prefix=/opt/local --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed
:debug:configure Backtrace: configure failure: shell command failed

comment:3 Changed 3 years ago by snc@…

  • Cc snc@… added

It seems that the dependency tree isn't being calculated correctly. Can you try the following:

sudo port uninstall docbook-xml docbook-xsl
sudo port install docbook-xml docbook-xsl
sudo port install gtk-doc

comment:4 Changed 3 years ago by devans@…

  • Status changed from new to closed
  • Resolution set to worksforme

I can't reproduce this problem, no response for 4 months, assume resolved.

comment:5 Changed 3 years ago by pete@…

The fix mentioned by by snc works for me.

comment:6 Changed 3 years ago by snc@…

  • Status changed from closed to reopened
  • Description modified (diff)
  • Resolution worksforme deleted
  • Port changed from gtk-doc to docbook-xsl docbook-xml
  • Summary changed from gtk-doc configure failure to docbook-xml/xsl missing dependencies

comment:7 Changed 3 years ago by snc@…

  • Status changed from reopened to new
  • Owner changed from devans@… to boeyms@…

comment:8 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Port changed from docbook-xsl docbook-xml to docbook-xml
  • Summary changed from docbook-xml/xsl missing dependencies to docbook-xml using wrong dependency type

This was fixed by r69380.

Note: See TracTickets for help on using tickets.