[Bug 219077] libsysdecode build broken with bsdgrep

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 5 02:51:55 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219077

            Bug ID: 219077
           Summary: libsysdecode build broken with bsdgrep
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: markj at FreeBSD.org

The libsysdecode build uses a script, mkioctls, to generate one of the
libsysdecode source files. When bsdgrep is installed as /usr/bin/grep, the
generated source file contains mangled preprocessor directives:

  30 #include <cam/cam_compat.h:#define>                                        
  31 #include <cam/cam_compat.h>                                                
  32 #include <cam/scsi/scsi_enc.h:#define>                                     
  33 #include <cam/scsi/scsi_enc.h>                                             
  34 #include <cam/scsi/scsi_pass.h:#define>                                    
  35 #include <cam/scsi/scsi_pass.h>
  ...

With GNU grep, there's no such problem.

I tested with a tree at r317820.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list