Thread overview
[Issue 23225] OpenBSD: cpp invocation cannot find files
Jul 01, 2022
mhh
Jul 01, 2022
Brian Callahan
Jul 04, 2022
Dlang Bot
Jul 04, 2022
Dlang Bot
July 01, 2022
https://issues.dlang.org/show_bug.cgi?id=23225

mhh <maxhaton@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxhaton@gmail.com

--- Comment #1 from mhh <maxhaton@gmail.com> ---
Walter just changed the makefile to build the .c files using dmd, so maybe this doesn't play nice with an llvm toolchain underneath

--
July 01, 2022
https://issues.dlang.org/show_bug.cgi?id=23225

--- Comment #2 from Brian Callahan <bcallah@openbsd.org> ---
(In reply to mhh from comment #1)
> Walter just changed the makefile to build the .c files using dmd, so maybe this doesn't play nice with an llvm toolchain underneath

I tried to replicate this on FreeBSD just now. Everything built fine on FreeBSD. That also has an llvm toolchain underneath.

--
July 04, 2022
https://issues.dlang.org/show_bug.cgi?id=23225

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibara created dlang/dmd pull request #14267 "Fix Issue 23225 - OpenBSD: cpp invocation cannot find files" fixing this issue:

- Fix Issue 23225 - OpenBSD: cpp invocation cannot find files

  A bug in the shell script that lives in /usr/bin/cpp eats the -o
  flag in the CPP invocation, which breaks ImportC. This workaround
  is to use /usr/libexec/cpp instead, which is the actual CPP binary.

https://github.com/dlang/dmd/pull/14267

--
July 04, 2022
https://issues.dlang.org/show_bug.cgi?id=23225

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14267 "Fix Issue 23225 - OpenBSD: cpp invocation cannot find files" was merged into master:

- 8e873ea24729805168d42f0bb560b5bb60404dff by Brian Callahan:
  Fix Issue 23225 - OpenBSD: cpp invocation cannot find files

  A bug in the shell script that lives in /usr/bin/cpp eats the -o
  flag in the CPP invocation, which breaks ImportC. This workaround
  is to use /usr/libexec/cpp instead, which is the actual CPP binary.

https://github.com/dlang/dmd/pull/14267

--