gtk-doc doesn't work with cmake

Bug #1652880 reported by Fahad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk-doc (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am using docker & ubuntu 16.04 and I got this error:

Scanning dependencies of target doc-raqm

[ 30%] Generating raqm/html_dir.stamp, raqm/html

[ 40%] Generating raqm/dir.stamp, raqm

[ 50%] Generating raqm/raqm-decl-list.txt, raqm/raqm-decl.txt, raqm/raqm-overrides.txt, raqm/raqm-sections.txt, raqm/raqm.types

/bin/sh: 1: /bin/gtkdoc-scan: not found

make[2]: *** [raqm/raqm-decl-list.txt] Error 127

CMakeFiles/doc-raqm.dir/build.make:92: recipe for target 'raqm/raqm-decl-list.txt' failed

CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/doc-raqm.dir/all' failed

make[1]: *** [CMakeFiles/doc-raqm.dir/all] Error 2

BTW, I test it with Fedora 25 and works fine but I need to get work under ubuntu for travis-ci.com
My cmake file here: https://github.com/Fahad-Alsaidi/libraqm/blob/cmake/CMakeLists.txt#L254

I report this bug for upstream but got closed as "RESOLVED NOTGNOME "
: https://bugzilla.gnome.org/show_bug.cgi?id=776205

Revision history for this message
Fahad (fahad-alsaidi) wrote :

I do this workaround to get things work:

 ln -s /usr/bin/gtkdoc-scan /bin/
 ln -s /usr/bin/gtkdoc-fixxref /bin/
 ln -s /usr/bin/gtkdoc-scangobj /bin/
 ln -s /usr/bin/gtkdoc-mkhtml /bin/
 ln -s /usr/bin/gtkdoc-mkdb /bin/

Revision history for this message
Bruce Mitchener (bruce-mitchener) wrote :

The patch on https://bugzilla.gnome.org/show_bug.cgi?id=792148 should fix this issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.