[MacPorts] #64108: graphviz @2.49.3_0 +ocaml: build fails due to unresolved memcpy call
MacPorts
noreply at macports.org
Wed Dec 1 22:24:03 UTC 2021
#64108: graphviz @2.49.3_0 +ocaml: build fails due to unresolved memcpy call
--------------------+----------------------
Reporter: outis | Owner: (none)
Type: defect | Status: new
Priority: Low | Milestone:
Component: ports | Version:
Keywords: | Port: graphviz
--------------------+----------------------
Building graphviz with the +ocaml variant fails, independent of what other
variants are included.
The log file (also attached) has an error about being unable to match
memcpy due to an argument type that appears to be the source:
{{{
[...]
:info:build ocamlc -c swig.mli
:info:build libtool: compile: /usr/bin/clang++ -std=c++11 -DHAVE_CONFIG_H
-I. -I../.. -I../../lib -I../../lib/gvc -I../../lib/common
-I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1
-I/usr/lib/ocaml -Dint64=int64_t -I/opt/local/include
-I/opt/local/lib/ocaml
-isysroot/Applications/Devel/Mac/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-I/opt/local/include -fpermissive -Wno-unused-function -Wno-unused-
variable -Os -stdlib=libc++
-isysroot/Applications/Devel/Mac/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -MT libgv_ocaml_la-gv_ocaml.lo -MD -MP -MF .deps
/libgv_ocaml_la-gv_ocaml.Tpo -c gv_ocaml.cpp -fno-common -DPIC -o .libs
/libgv_ocaml_la-gv_ocaml.o
:info:build /bin/sh ../../libtool --tag=CXX --mode=link
/usr/bin/clang++ -std=c++11 -Wno-unused-function -Os -stdlib=libc++
-isysroot/Applications/Devel/Mac/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -module -avoid-version -L/opt/local/lib
-Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Applications/Devel/Mac/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -o
libgv_go.la -rpath /opt/local/lib/graphviz/go libgv_go_la-gv.lo
libgv_go_la-gv_builtins.lo libgv_go_la-gv_dummy_init.lo libgv_go_la-
gv_go.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la
../../lib/cdt/libcdt.la -lc
:info:build gv_ocaml.cpp:1324:2: error: no matching function for call to
'memcpy'
:info:build memcpy(String_val(SWIG_Field(vv,0)),p,len);
:info:build ^~~~~~
:info:build
/Applications/Devel/Mac/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:72:7:
note: candidate function not viable: no known conversion from 'const char
*' to 'void *' for 1st argument
:info:build void *memcpy(void *__dst, const void *__src, size_t __n);
:info:build ^
}}}
== System Info
* OS X 10.14.6
* XCode 10.3
--
Ticket URL: <https://trac.macports.org/ticket/64108>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list