bugGNU nano - Bugs: bug #49969, building from git fails when...

 
 

bug #49969: building from git fails when makeinfo is missing

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sun 01 Jan 2017 03:49:05 PM UTC  
 
Severity: 3 - NormalStatus: Wont Fix
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 06 Jan 2017 07:18:56 PM UTC, comment #1:

The conditional inclusion of the doc/texinfo subdir meant that, when nano was configured and built and installed from a tarball on a system that lacked the 'makeinfo' program, that then the prebuilt and packaged nano.info and nano.html would not be installed on the user's system. Probably that is even a "violation" of the GNU standards, but at least it is silly.

It would be possible to avoid a build from git failing when 'makeinfo' is missing (by simply touching nano.info and nano.html in that case), but that would mean that when the user is not aware of this and edits the texi file, this will not result in regenrating the Info and Html manuals, and the user will be perplexed why her changes don't make it into the actual manual.

Anyway, if someone who wants to build from git but does not want to install the texinfo package, then they can just 'touch doc/nano.info doc/nano.html' and carry on.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sun 01 Jan 2017 03:49:05 PM UTC, original submission:

When the system lacks a makeinfo program, building nano from git fails. Before the recent change of putting all docs into a single directory, this situation worked. So, /that/ is what having the texinfo stuff in a subdir was good for: to be able to recurse into it /conditionally/.

To reproduce, rename /usr/bin/makeinfo to something else, rerun ./configure, rm doc/nano.info, and run make. Result:

/home/ben/Repositories/NANO/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.

Looking into fixing this, it does not seem possible to conditionally set the info_TEXINFOS variable... Bleh.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Jan 2017 10:59:18 AM UTCbensOpen/ClosedOpen=>Closed
    Fri 06 Jan 2017 07:18:56 PM UTCbensStatusIn Progress=>Wont Fix
      Summarythe build fails when makeinfo is missing=>building from git fails when makeinfo is missing
    Wed 04 Jan 2017 10:42:22 AM UTCbensStatusNone=>In Progress
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1