mainAutoconf - Support: sr #110346, Revert to looking for yywrap in...

 
 

sr #110346: Revert to looking for yywrap in AC_PROG_LEX

Submitter:  Zack Weinberg <zackw>
Submitted:  Fri 30 Oct 2020 09:08:22 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 02 Nov 2020 10:24:45 PM UTC, comment #1: 

Fixed by 46f384f850b455cdb366bafbcf4e992606b3f2c0.

Zack Weinberg <zackw>
Group administrator
Fri 30 Oct 2020 09:08:22 PM UTC, original submission:  

Commit 29ede6b96feee29c0c477d1659081bbdb82cd8b3 caused AC_PROG_LEX to stop looking for a library that provides yywrap.  This broke several packages in a Debian archive rebuild:

undefined symbol: yywrap|libmatheval 1.1.11+dfsg-4
undefined symbol: yywrap|snacc 1.3.1-7
undefined symbol: yywrap|splint 1:3.1.2+dfsg-2
undefined symbol: yywrap|tcpxtract 1.0.1-15
undefined symbol: yywrap|wide-dhcpv6 20080615-23

We should go all the way back to the 2.69 behavior, which was to set LEXLIB to -ll or -lfl if that library defines yywrap, but allow AC_PROG_LEX to succeed if neither -ll nor -lfl exists on the system, even if a lex program that doesn't define yywrap would need it.  (This behavior was a bug, but people have come to depend on it.  See https://savannah.gnu.org/support/index.php?110269 and the thread starting from https://lists.gnu.org/r/autoconf-patches/2020-07/msg00013.html for gory details.)

To provide a path away from bug-compatibility, we could add an optional argument to AC_PROG_LEX which can be either [yywrap] or [noyywrap], meaning to look for yywrap and fail configure if it's unavailable, and to not look for yywrap at all, respectively.

Zack Weinberg <zackw>
Group administrator

 

(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 zackw (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-02 zackw StatusNone Done
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code