Ticket #18958 (closed defect: fixed)
pango-1.22.4 missing gtk-doc dependency
| Reported by: | derhindemith@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | pango gtk-doc dependency | Cc: | dph@… |
| Port: | pango |
Description
Pango 1.22.4 with the +no_x11 variant does not install. It lacks the gtk-doc port. Installing that port solves the problem
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to ryandesign@…
comment:2 Changed 4 years ago by ryandesign@…
- Status changed from new to assigned
The error is my favorite "gtkdoc-rebase: command not found":
$ port install pango +no_x11 ---> Fetching pango ---> Verifying checksum(s) for pango ---> Extracting pango ---> Applying patches to pango ---> Configuring pango ---> Building pango ---> Staging pango into destroot Error: Target org.macports.destroot returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_pango/work/pango-1.24.0" && make install DESTDIR=/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_pango/work/destroot " returned error 2 Command output: -- Installing ./html/pango-Glyph-Storage.html -- Installing ./html/pango-Layout-Objects.html -- Installing ./html/pango-Miscellaneous-Utilities.html -- Installing ./html/pango-Modules.html -- Installing ./html/pango-OpenType-Font-Handling.html -- Installing ./html/pango-Scripts-and-Languages.html -- Installing ./html/pango-Tab-Stops.html -- Installing ./html/pango-Text-Attributes.html -- Installing ./html/pango-Text-Processing.html -- Installing ./html/pango-Version-Checking.html -- Installing ./html/pango-Vertical-Text.html -- Installing ./html/pango-Win32-Fonts-and-Rendering.html -- Installing ./html/pango-X-Fonts-and-Rendering.html -- Installing ./html/pango-Xft-Fonts-and-Rendering.html -- Installing ./html/pango-hierarchy.html -- Installing ./html/pango-querymodules.html -- Installing ./html/pango.devhelp -- Installing ./html/pango.devhelp2 -- Installing ./html/pango.html -- Installing ./html/rendering.html -- Installing ./html/right.png -- Installing ./html/rotated-text.png -- Installing ./html/style.css -- Installing ./html/tools.html -- Installing ./html/up.png /bin/sh: line 1: gtkdoc-rebase: command not found make[3]: *** [install-data-local] Error 127 make[2]: *** [install-am] Error 2 make[1]: *** [install] Error 2 make: *** [install-recursive] Error 1 Error: Status 1 encountered during processing.
See also #18200.
comment:4 Changed 4 years ago by ryandesign@…
- Summary changed from pango-1.22.4 missing dependency to pango-1.22.4 missing gtk-doc dependency
comment:5 Changed 4 years ago by dph@…
The gtk-doc doesn't appear to be a true dependency. The problem appears to be in the gtk-doc.make where there is a test for the existence of gtkdoc-rebase using which. It looks like the makefile writer is expecting 'which' to return a value which can be boolean tested into true.
comment:6 Changed 4 years ago by ryandesign@…
Yes, please see #18200. The bug has already been filed with the gtk-doc team, they've already put in a fix, it will be in the next version of gtk-doc, once it's released, the fix will start appearing in the next version of every software that uses gtk-doc.
comment:7 Changed 4 years ago by ryandesign@…
- Status changed from assigned to closed
- Resolution set to fixed
In r50151 I enabled gtk-doc in pango and added a dependency on gtk-doc, because 1) if gtk-doc is not requesed, pango still tries to use gtkdoc-rebase because the check for whether gtkdoc-rebase exists is written in a way that is incompatible with Mac OS X 10.4.x and earlier, so we would have to patch it to fix that (until gtk-doc 1.12 which fixed that problem is released and a new version of pango built using gtk-doc 1.12 is released); 2) even though pango already includes the documentation that gtk-doc generates, the included documentation has paths of the developer's system in it; rebuilding it gets paths to the version that has been installed.

