[MacPorts] #57242: ragel @7.0.0.11: libstdc++ not available on Mojave
MacPorts
noreply at macports.org
Thu Oct 4 08:47:26 UTC 2018
#57242: ragel @7.0.0.11: libstdc++ not available on Mojave
--------------------+--------------------
Reporter: pguyot | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: mojave | Port: ragel
--------------------+--------------------
ragel depends on libstdc++ because colm generates (unused for ragel)
includes of ext/stdio_filebuf.h
This is commented in Portfile:
{{{
# fatal error: 'ext/stdio_filebuf.h' file not found
configure.cxx_stdlib libstdc++
}}}
libstdc++ is not installed on Mojave and build fails:
{{{
...
libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../aapl
-I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-pipe -Os -stdlib=libstdc++
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -MT libfsm_la-fsmgraph.lo -MD -MP -MF .deps/libfsm_la-
fsmgraph.Tpo -c fsmgraph.cc -fno-common -DPIC -o .libs/libfsm_la-
fsmgraph.o
warning: include path for stdlibc++ headers not found; pass '-std=libc++'
on the command line to use the libc++ standard library instead
[-Wstdlibcxx-not-found]
warning: include path for stdlibc++ headers not found; pass '-std=libc++'
on the command line to use the libc++ standard library instead
[-Wstdlibcxx-not-found]
warning: include path for stdlibc++ headers not found; pass '-std=libc++'
on the command line to use the libc++ standard library instead
[-Wstdlibcxx-not-found]
warning: include path for stdlibc++ headers not found; pass '-std=libc++'
on the command line to use the libc++ standard library instead
[-Wstdlibcxx-not-found]
warning: warninginclude path for stdlibc++ headers not found; pass
'-std=libc++' on the command line to use the libc++ standard library
instead [-Wstdlibcxx-not-found]:
include path for stdlibc++ headers not found; pass '-std=libc++' on the
command line to use the libc++ standard library instead [-Wstdlibcxx-not-
found]
warningwarning: include path for stdlibc++ headers not found; pass
'-std=libc++' on the command line to use the libc++ standard library
instead [-Wstdlibcxx-not-found]
: include path for stdlibc++ headers not found; pass '-std=libc++' on the
command line to use the libc++ standard library instead [-Wstdlibcxx-not-
found]
In file included from fsmap.cc:23:
In file included from ./fsmgraph.h:27:
./ragel.h:27:10: fatal error: 'iostream' file not found
#include <iostream>
^~~~~~~~~~
...
}}}
Not sure if colm should be patched.
--
Ticket URL: <https://trac.macports.org/ticket/57242>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list