Bug 426101 - gtk-doc.make buggy
Summary: gtk-doc.make buggy
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk-doc
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-18 16:04 UTC by Nils Philippsen
Modified: 2008-02-05 22:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-05 22:46:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nils Philippsen 2007-12-18 16:04:10 UTC
Description of problem:

When running gtkdocize, gtk-doc.make gets installed which contains shell code
that is slightly buggy:

...
         if test `which gtkdoc-rebase` != ""; then \
...

This is missing quotes around the backticks and probably should redirect stderr
to /dev/null.

Version-Release number of selected component (if applicable):
gtk-doc-1.9-1.fc9

How reproducible:
Reproducible.

Steps to Reproduce:
In a project which uses gtk-doc to generate documentation (e.g. gimp):
1. Run gtk-docize
2. build
3. install
  
Actual results:

As can be seen in
http://koji.fedoraproject.org/koji/getfile?taskID=298358&name=build.log (which
is an F8 build, but gtk-doc.make was generated with gtk-doc-1.9 by upstream):

which: no gtkdoc-rebase in (/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/root/bin)
/bin/sh: line 11: test: !=: unary operator expected

Expected results:
- no stray messages by which that it didn't find gtkdoc-rebase
- no error messages because the backticks returned an empty string

Comment 1 Matthias Clasen 2008-02-05 22:46:42 UTC
There have been multiple iterations over this upstream. I believe what we
currently have in rawhide works better.


Note You need to log in before you can comment on or make changes to this bug.