bugGNU Networking Utilities - Bugs: bug #65263, FTBFS with GCC 14

 
 

bug #65263: FTBFS with GCC 14

Submitter:  Xi Ruoyao <xry111>
Submitted:  Tue 06 Feb 2024 08:13:04 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 06 Feb 2024 08:13:04 AM UTC, original submission:  

With ncurses-6.4-20230520, a "compatibility" symlink /usr/lib/libcurses.so -> libncurses.so, and GCC 14, telnet FTBFS with:

telnet.c: In function 'init_term':
telnet.c:767:9: error: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration]
  767 |   err = tgetent (termbuf, tname);
      |         ^~~~~~~
      |         getenv

The problem is ncurses curse.h does not have a prototype for tgetent, but our configuration system does not try term.h or termcap.h after finding tgetent in -lcurses.

Xi Ruoyao <xry111>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by xry111 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code