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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219077

            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>=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
  31 #include <cam/cam_compat.h>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20
  32 #include <cam/scsi/scsi_enc.h:#define>=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
  33 #include <cam/scsi/scsi_enc.h>=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
  34 #include <cam/scsi/scsi_pass.h:#define>=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
  35 #include <cam/scsi/scsi_pass.h>
  ...

With GNU grep, there's no such problem.

I tested with a tree at r317820.

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



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