Failure compiling libgraphviz238-shlibs-2.46.0-4
"Lucier, Bradley J" <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Sorry, I’m having some trouble with email, I don’t know whether this got sent out.
Installed on Big Sur 11.6 as in
https://sourceforge.net/p/fink/mailman/message/37159913/
With the following workaround because 11.6 doesn’t match 11.5:
[Bradleys-Mac-mini:~/programs/fink] lucier% git diff
diff --git a/perlmod/Fink/Services.pm b/perlmod/Fink/Services.pm
index a16e8298..1db9203e 100644
--- a/perlmod/Fink/Services.pm
+++ b/perlmod/Fink/Services.pm
@@ -1369,6 +1369,7 @@ sub get_osx_vers {
my $sw_vers = get_osx_vers_long();
my $darwin_osx = get_darwin_equiv();
$sw_vers =~ s/^(\d+\.\d+).*$/$1/;
+ return $sw_vers;
if ($sw_vers != $darwin_osx) {
die "$sw_vers does not match the expected value of $darwin_osx. Please run `fink selfupdate` to download a newer version of fink";
}
I get the following error:
D_LOADING=1 -I/opt/sw/lib/ocaml -Dint64=int64_t -fpermissive -I/opt/sw/include -g -O2 -fPIE -fPIC -MT libgv_ocaml_la-gv.lo -MD -MP -MF .deps/libgv_ocaml_la-gv.Tpo -c -o libgv_ocaml_la-gv.lo `test -f 'gv.cpp' || echo './'`gv.cpp
libtool: compile: g++ -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/opt/sw/lib/ocaml -Dint64=int64_t -fpermissive -I/opt/sw/include -g -O2 -fPIC -MT libgv_ocaml_la-gv.lo -MD -MP -MF .deps/libgv_ocaml_la-gv.Tpo -c gv.cpp -fno-common -DPIC -o .libs/libgv_ocaml_la-gv.o
In file included from gv.cpp:16:
In file included from ../../lib/gvc/gvc.h:17:
In file included from ../../lib/common/types.h:35:
In file included from ../../lib/common/geom.h:20:
In file included from ../../lib/common/arith.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:309:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:417:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
/opt/sw/lib/ocaml/version:1:1: error: expected unqualified-id
4.08.1
^
/opt/sw/lib/ocaml/version:3:3: error: invalid preprocessing directive
# The version string is the first line of this file.
^
/opt/sw/lib/ocaml/version:4:3: error: invalid preprocessing directive
# It must be in the format described in stdlib/sys.mli
^
In file included from gv.cpp:16:
In file included from ../../lib/gvc/gvc.h:17:
In file included from ../../lib/common/types.h:35:
In file included from ../../lib/common/geom.h:20:
In file included from ../../lib/common/arith.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:309:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:417:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t' in the global namespace
using ::ptrdiff_t;
~~^
In file included from gv.cpp:16:
In file included from ../../lib/gvc/gvc.h:17:
In file included from ../../lib/common/types.h:35:
In file included from ../../lib/common/geom.h:20:
In file included from ../../lib/common/arith.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:309:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:418:
/opt/sw/lib/ocaml/version:1:1: error: expected unqualified-id
4.08.1
^
/opt/sw/lib/ocaml/version:3:3: error: invalid preprocessing directive
# The version string is the first line of this file.
^
/opt/sw/lib/ocaml/version:4:3: error: invalid preprocessing directive
# It must be in the format described in stdlib/sys.mli
^
In file included from gv.cpp:16:
In file included from ../../lib/gvc/gvc.h:17:
In file included from ../../lib/common/types.h:35:
In file included from ../../lib/common/geom.h:20:
In file included from ../../lib/common/arith.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:310:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:121:
/opt/sw/lib/ocaml/version:1:1: error: expected unqualified-id
4.08.1
^
/opt/sw/lib/ocaml/version:3:3: error: invalid preprocessing directive
# The version string is the first line of this file.
^
/opt/sw/lib/ocaml/version:4:3: error: invalid preprocessing directive
# It must be in the format described in stdlib/sys.mli
^
10 errors generated.
make[4]: *** [libgv_ocaml_la-gv.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /tmp/fink.YYRZU failed, exit code 2
### execution of /tmp/fink.hUKjV failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-libgraphviz238-shlibs-2.46.0-4
(Reading database ... 52830 files and directories currently installed.)
Removing fink-buildlock-libgraphviz238-shlibs-2.46.0-4 (2021.09.15-14.55.15) ...
Failed: phase compiling: libgraphviz238-shlibs-2.46.0-4 failed
Before reporting any errors, please run "fink selfupdate" and try again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,
with a carbon copy to the maintainer:
David Fang <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-rsync Wed Sep 15 14:54:36 2021, 11.3, x86_64
Trees: local/main stable/main
No recognized Xcode.app installed
Xcode command-line tools: 12.5.1.0.1.1623191612
Max. Fink build jobs: 1
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users