After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756368 - gtkdocize mistakenly parses options from comments in configure.ac
gtkdocize mistakenly parses options from comments in configure.ac
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.24
Other Mac OS
: Normal normal
: 1.25
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-11 00:49 UTC by Philip Chimento
Modified: 2015-10-14 06:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Chimento 2015-10-11 00:49:41 UTC
If the following line is in configure.ac:

GTK_DOC_CHECK(1.20)  # Comment, with a comma

Then gtkdocize will mistakenly think the comma in the comment indicates options that it should add to its command-line invocation, and add "with a comma" to its argv. Issuing "gtkdocize" with no arguments will then give the cryptic error message "gtkdocize: too many arguments".
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2015-10-14 06:13:56 UTC
commit e7e15d2818a521389d159046bc09890dbab329f8
Author: Stefan Sauer <ensonic@users.sf.net>
Date:   Wed Oct 14 08:10:35 2015 +0200

    gtkdocize: drop text behind the macro
    
    This can be a comment or another macro. In neither case we want to accidentially
    pick up options from that part.
    
    Fixes #756368