[Gtk2-perl-bugs] [Bug 573099] New: Fail to generate podindex due to quoting problem

View: New views
5 Messages — Rating Filter:   Alert me  

[Gtk2-perl-bugs] [Bug 573099] New: Fail to generate podindex due to quoting problem

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=573099

  gnome-perl | Glib | Ver: unspecified
           Summary: Fail to generate podindex due to quoting problem
           Product: gnome-perl
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Glib
        AssignedTo: gtk2-perl-bugs@...
        ReportedBy: 11285613@...
         QAContact: gtk2-perl-bugs@...
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I am guessing this is only a problem on Windows:

Generating POD...
c:\Perl\bin\perl.exe -I blib\lib -I blib\arch -MGlib::GenPod -MGlib \
                -e "add_types (qq(doctypes));
Glib::GenPod::set_copyright(qqCopyright); Glib::GenPod::set_copyright(qq(C));
Glib::GenPod::set_copyright(qq2003-2008); Glib::GenPod::set_copyright(qqby);
Glib::GenPod::set_copyright(qqthe); Glib::GenPod::set_copyright(qqgtk2-perl);
Glib::GenPod::set_copyright(qqteam.\n\nThis);
Glib::GenPod::set_copyright(qqsoftware); Glib::GenPod::set_copyright(qqis);
Glib::GenPod::set_copyright(qqlicensed); Glib::GenPod::set_copyright(qqunder);
Glib::GenPod::set_copyright(qqthe); Glib::GenPod::set_copyright(qqLGPL.);
Glib::GenPod::set_copyright(qqSee); Glib::GenPod::set_copyright(qqL<Glib>);
Glib::GenPod::set_copyright(qqfor); Glib::GenPod::set_copyright(qqa);
Glib::GenPod::set_copyright(qqfull); Glib::GenPod::set_copyright(qqnotice.\n);
Glib::GenPod::set_main_mod(qq(Glib));  xsdoc2pod(q(build/doc.pl), q(blib\lib),
q(build/podindex));"
Backslash found where operator expected at -e line 1, near "n\"
syntax error at -e line 1, near "n\"
syntax error at -e line 1, near ".)"
syntax error at -e line 1, near "Glib>"
Execution of -e aborted due to compilation errors.
dmake.exe:  c:\MinGW\bin\startup\config.mk:  line 5:  Warning: -- Macro `OS'
redefined after use
dmake.exe:  c:\MinGW\bin\startup\startup.mk:  line 140:  Warning: -- More than
one prerequisite
for %-target. Use :| ruleop or indirect prerequisites.
dmake.exe:  c:\MinGW\bin\startup\startup.mk:  line 144:  Warning: -- More than
one prerequisite
for %-target. Use :| ruleop or indirect prerequisites.
dmake.exe:  makefile:  line 428:  Warning: -- The .SUFFIXES target has no
special meaning and is deprecated.
dmake.exe:  Warning: -- Found file corresponding to virtual target
[blib\lib\Glib\GenPod.pm].
dmake.exe:  Warning: -- Found file corresponding to virtual target
[build\podindex].
dmake.exe:  Warning: -- Found file corresponding to virtual target
[blib\lib\Glib\ParseXSDoc.pm].
dmake.exe:  Warning: -- Found file corresponding to virtual target
[build\doc.pl].
dmake.exe:  Error code 137, while making 'build\podindex'


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=573099.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 573099] Fail to generate podindex due to quoting problem

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=573099

  gnome-perl | Glib | Ver: unspecified




------- Comment #1 from Martin Schlemmer  2009-02-25 11:09 UTC -------
Created an attachment (id=129483)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=129483&action=view)
Glib-quoting-fix.patch


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=573099.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 573099] Fail to generate podindex due to quoting problem

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=573099

  gnome-perl | Glib | Ver: unspecified

Torsten Schoenfeld changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kaffeetisch@...




------- Comment #2 from Torsten Schoenfeld  2009-03-08 19:02 UTC -------
Something went terribly wrong there.  How did this one call to
Glib::GenPod::set_copyright turn into dozens of calls?  Does dmake interpret
the q{} syntax in some special way?  Or does the generated Makefile contain all
these calls already?


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=573099.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 573099] Fail to generate podindex due to quoting problem

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=573099

  gnome-perl | Glib | Ver: unspecified




------- Comment #3 from Martin Schlemmer  2009-03-09 11:27 UTC -------
The Makefile is fine - seems like dmake interprets {} specially (see below).
The command dmake calls is:

-----<dmake verbose output>-----
dmake:  >>>> Making [build\podindex::{2}]
dmake:  Updating [build\podindex], (1236594519 > 0)
C:\Perl\bin\perl.exe -l -e "print qq{@ARGV}" -- Generating POD...
Generating POD...
C:\Perl\bin\perl.exe -I blib\lib -I blib\arch -MGlib::GenPod -MGlib \
                -e "add_types (qq(doctypes));
Glib::GenPod::set_copyright(qqCopyright); Glib::GenPod::set_copyright(qq(C));
Glib::GenPod::set_copyright(qq2003-2008); Glib::GenPod::set_copyright(qqby);
Glib::GenPod::set_copyright(qqthe); Glib::GenPod::set_copyright(qqgtk2-perl);
Glib::GenPod::set_copyright(qqteam.\n\nThis);
Glib::GenPod::set_copyright(qqsoftware); Glib::GenPod::set_copyright(qqis);
Glib::GenPod::set_copyright(qqlicensed); Glib::GenPod::set_copyright(qqunder);
Glib::GenPod::set_copyright(qqthe); Glib::GenPod::set_copyright(qqLGPL.);
Glib::GenPod::set_copyright(qqSee); Glib::GenPod::set_copyright(qqL<Glib>);
Glib::GenPod::set_copyright(qqfor); Glib::GenPod::set_copyright(qqa);
Glib::GenPod::set_copyright(qqfull); Glib::GenPod::set_copyright(qqnotice.\n);
Glib::GenPod::set_main_mod(qq(Glib));  xsdoc2pod(q(build/doc.pl), q(blib\lib),
q(build/podindex));"
Backslash found where operator expected at -e line 1, near "n\"
syntax error at -e line 1, near "n\"
syntax error at -e line 1, near ".)"
syntax error at -e line 1, near "Glib>"
Execution of -e aborted due to compilation errors.
dmake:  Error code 137, while making 'build\podindex'
-----<dmake verbose output>-----

-----<dmake man page snippit>-----
       The final non-standard macro expansion is of the form:

              string1{token_list}string2

       where string1, string2 and token_list are expanded.   After  expansion,
       string1  is  prepended to each token found in token_list and string2 is
       appended to each resulting token from the  previous  prepend.   string1
       and  string2  are  not  delimited  by white space whereas the tokens in
       token_list are.  A null token in the token list is specified using  "".
       Thus using another example we have:

              test/{f1 f2}.o     --> test/f1.o test/f2.o
              test/ {f1 f2}.o    --> test/ f1.o f2.o
              test/{f1 f2} .o    --> test/f1 test/f2 .o
              test/{"f1"  ""}.o  --> test/f1.o test/.o

              and

              test/{d1 d2}/{f1 f2}.o --> test/d1/f1.o test/d1/f2.o
                                         test/d2/f1.o test/d2/f2.o

       This  last  expansion  is  activated  only when the first characters of
       token_list appear immediately after the opening '{' with no intervening
       white  space.   The reason for this restriction is the following incom-
       patibility with Bourne Shell recipes.  The line

              { echo hello;}

       is valid /bin/sh syntax; while

              {echo hello;}

       is not. Hence the latter triggers the enhanced  macro  expansion  while
       the  former causes it to be suppressed.  See the SPECIAL MACROS section
       for a description of the special macros that dmake defines  and  under-
       stands.
-----<dmake man page snippit>-----


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=573099.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 573099] Fail to generate podindex due to quoting problem

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=573099

  gnome-perl | Glib | Ver: unspecified

Torsten Schoenfeld changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #129483|none                        |committed
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from Torsten Schoenfeld  2009-03-19 17:30 UTC -------
Aha, OK.  Patch committed.  Thanks!


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=573099.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs