NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/57533: usr.bin/xlint/lint1 fails to build on Solaris 11.4 host - basic/extended regex issue - Posix



The following reply was made to PR bin/57533; it has been noted by GNATS.

From: Luke Mewburn <luke%mewburn.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/57533: usr.bin/xlint/lint1 fails to build on Solaris 11.4
 host - basic/extended regex issue - Posix
Date: Sat, 22 Jul 2023 00:49:44 +1000

 On 23-07-20 20:40, palle%lyckegaard.dk@localhost wrote:
   | >Number:         57533
   | >Category:       bin
   | >Synopsis:       usr.bin/xlint/lint1 fails to build on Solaris 11.4 host - basic/extended regex issue - Posix
   | The Makefile in usr.bin/xlint/lint1 has issues with the invocation of the 'sed -E' command on a Posix compliant system like Solaris 11.4.
   | 
   | The following error message in displayed:
   | 
   | sed -E  -e 's,.*(....)/([0-9]{2})/0?([0-9]+).*,\2 \3\, \1,'  -e 's,^01,January,'  -e 's,^02,February,'  -e 's,^03,March,'  -e 's,^04,April,'  -e 's,^05,May,'  -e 's,^06,June,'  -e 's,^07,July,'  -e 's,^08,August,'  -e 's,^09,September,'  -e 's,^10,October,'  -e 's,^11,November,'  -e 's,^12,December,'  -e 1q  /export/home/palle/git/netbsd_src/usr.bin/xlint/lint1/err.c > lint.7.date
   | + sed -E -e 's,.*(....)/([0-9]{2})/0?([0-9]+).*,\2 \3\, \1,' -e 's,^01,January,' -e 's,^02,February,' -e 's,^03,March,' -e 's,^04,April,' -e 's,^05,May,' -e 's,^06,June,' -e 's,^07,July,' -e 's,^08,August,' -e 's,^09,September,' -e 's,^10,October,' -e 's,^11,November,' -e 's,^12,December,' -e 1q /export/home/palle/git/netbsd_src/usr.bin/xlint/lint1/err.c
   | sed: illegal option -- E
   | Usage:  sed [-n] script [file...]
   |         sed [-n] [-e script]...[-f script_file]...[file...]
 
 
 That Makefile probably just needs to be adapted to ${TOOL_SED}.
 I'll try that for you
 


Home | Main Index | Thread Index | Old Index