https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222201
Bug ID: 222201 Summary: fgrep / grep -F broken if WITH_BSD_GREP set Product: Base System Version: 11.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: rozhuk...@gmail.com fgrep / grep -F broken if WITH_BSD_GREP set in /etc/src.conf in all cases return: literal expressions not supported at compile time. Test: fgrep "mail" /etc/defaults/rc.conf will fail with: literal expressions not supported at compile time /usr/src/usr.bin/grep/grep.c: case GREP_FIXED: #if defined(REG_NOSPEC) cflags |= REG_NOSPEC; #elif defined(REG_LITERAL) cflags |= REG_LITERAL; #else errx(2, "literal expressions not supported at compile time"); #endif break; Make buildworld broken/fail. To fix system I copy grep from more old system and rebuild+reinstall world without WITH_BSD_GREP in /etc/src.conf. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"