Opened 9 years ago

Closed 11 months ago

#33772 closed defect (fixed)

texinfo: cannot display the flex documentation

Reported by: akimd (Akim Demaille) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: texinfo

Description

Open the info doc of flex with info, go to the node "Multiple Input Buffer", and see that node ending with:

                 yyin = fopen( yytext, "r" );

                 if ( ! yyin )
                     error( ... );

and all the rest is missing. If you read directly the info file, you will find:

         <incl>[^ \t\n]+   { /* got the include file name */
                 yyin = fopen( yytext, "r" );

                 if ( ! yyin )
                     error( ... );

                        yypush_buffer_state(yy_create_buffer( yyin, YY_BUF_SIZE ));

                 BEGIN(INITIAL);
                 }

and it continues.

Emacs displays properly this documentation.

$ info --version
info (GNU texinfo) 4.13

Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Marked as nomaintainer@macports, I don't know where I should send this.

Change History (8)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

I don't know whose bug this is either, but I would be surprised if this were a MacPorts-specific problem. Do you see this problem with any other ports' info files? If so, try asking the developers of info for help. If you just see the problem with flex's info files, try asking the developers of flex for help.

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Port: texinfo added; info removed
Summary: info: cannot display the flex documentationtexinfo: cannot display the flex documentation

comment:3 Changed 9 years ago by akimd (Akim Demaille)

Yesterday I have asked a friend to try on his Linux box, and the documentation was properly displayed (both Flex and Texinfo were provided by his distro). I still have to compare the info files themselves to see what the difference is.

comment:4 Changed 9 years ago by akimd (Akim Demaille)

I did the following experiments:

  • read my flex.info from MacPorts on a GNU/Linux: it works as expected.
  • read the GNU/Linux's flex.info on my MacPorts: it fails. I have changed some words in this flex.info to make sure this is really that one which is read, and it is.
  • FWIW, flex.info is stamped by makeinfo 4.8 in the MacPorts, 4.13 on the GNU/Linux, and there seems to be an off-by-one difference, but does not seem have any impact given the previous results.

So really, I'd say this is something wrong in info, not in flex.

comment:5 Changed 8 years ago by jmroot (Joshua Root)

Apparently the 4.13 release was slightly botched and 4.13a was released almost immediately afterwards. Does it makes any difference to this bug if the port uses the 4.13a sources?

comment:6 Changed 11 months ago by jmroot (Joshua Root)

Is this still a problem with the current version?

comment:7 in reply to:  6 Changed 11 months ago by akimd (Akim Demaille)

Replying to jmroot:

Is this still a problem with the current version?

Nope, it works. Cheers!

comment:8 Changed 11 months ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.