Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2017 02:51:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 219077] libsysdecode build broken with bsdgrep
Message-ID:  <bug-219077-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: markj@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219077-8>