Re: Unable to update graphviz

James Kolata <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Ruby compiled nicely but there was another error.  Also, I don’t know the dependencies for graphviz but I might
later run into the fact that "system-perl5302” is missing, which affects several other packages.

Here is the error info:

make[4]: Entering directory '/opt/sw/src/fink.build/libgraphviz238-shlibs-2.49.3-1/graphviz-2.49.3/tclpkg/gv’
.
.
.

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [Makefile:1828: libgv_tcl.la] Error 1
make[4]: Leaving directory '/opt/sw/src/fink.build/libgraphviz238-shlibs-2.49.3-1/graphviz-2.49.3/tclpkg/gv'
make[3]: *** [Makefile:2810: all-recursive] Error 1
make[3]: Leaving directory '/opt/sw/src/fink.build/libgraphviz238-shlibs-2.49.3-1/graphviz-2.49.3/tclpkg/gv'
make[2]: *** [Makefile:653: all-recursive] Error 1
make[2]: Leaving directory '/opt/sw/src/fink.build/libgraphviz238-shlibs-2.49.3-1/graphviz-2.49.3/tclpkg'
make[1]: *** [Makefile:829: all-recursive] Error 1
make[1]: Leaving directory '/opt/sw/src/fink.build/libgraphviz238-shlibs-2.49.3-1/graphviz-2.49.3'
make: *** [Makefile:637: all] Error 2
### execution of /tmp/fink.7I5sC failed, exit code 2
### execution of /tmp/fink.xWivy failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-libgraphviz238-shlibs-2.49.3-1

.
.
.
Failed: phase compiling: libgraphviz238-shlibs-2.49.3-1 failed

Package manager version: 0.45.99.git
Distribution version: selfupdate-rsync Thu Nov 11 08:58:18 2021, 11.3, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 13.1
Xcode command-line tools: 13.1.0.0.1.1633545042
Max. Fink build jobs:  1


[ESCs-MacBook-Pro:~] jkolata1% clang -v
Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

This may also be important:

Undefined symbols for architecture x86_64:
  "_TclFreeObj", referenced from:
      SWIG_Tcl_MethodCommand(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o
      SWIG_Tcl_ObjectDelete(void*) in libgv_tcl_la-gv_tcl.o
  "_Tcl_AppendElement", referenced from:
      SWIG_Tcl_MethodCommand(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o
  "_Tcl_AppendResult", referenced from:
      _wrap_digraph(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o
      _wrap_strictgraph(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o
      _wrap_strictdigraph(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o
      _wrap_readstring(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o
      _wrap_read(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o
      _wrap_graph(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o
      _wrap_node(void*, Tcl_Interp*, int, Tcl_Obj* const*) in libgv_tcl_la-gv_tcl.o

JJK




> On Nov 11, 2021, at 5:07 AM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 11/9/21 7:08 PM, James Kolata wrote:
>> vm.c:2295:9: error: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>>         rb_native_mutex_destroy(&vm->waitpid_lock);
>>         ^
>> vm.c:2489:34: warning: expression does not compute the number of elements in this array; element type is 'const int', not 'VALUE' (aka 'unsigned long') [-Wsizeof-array-div]
>>                              sizeof(ec->machine.regs) / sizeof(VALUE));
>>                                     ~~~~~~~~~~~~~~~~  ^
>> vm.c:2489:34: note: place parentheses around the 'sizeof(VALUE)' expression to silence this warning
>> 5 warnings and 1 error generated.
>> make: *** [Makefile:419: vm.o] Error 1
>> ### execution of make failed, exit code 2
>> ### execution of /tmp/fink.YOkA5 failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-ruby26-2.6.7-1
>> (Reading database ... 153227 files and directories currently installed.)
>> Removing fink-buildlock-ruby26-2.6.7-1 (2021.11.09-18.59.30) ...
>> Failed: phase compiling: ruby26-2.6.7-1 failed
> 
> I pushed a new version of ruby26. Does that fix the failure?
> 
> Hanspeter
> 
>

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.