[Bug 267703] science/vmd: Build failure
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267703] science/vmd: Build failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267703] science/vmd: Build failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267703] science/vmd: Build failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267703] science/vmd: Build failure"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Nov 2022 23:41:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267703 Bug ID: 267703 Summary: science/vmd: Build failure Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jwb@freebsd.org Just attempted to install on the latest 13.1-RELEASE. I also see that there is a newer vmd releaseavailable. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -m64 -Wall -O3 -ffast-math -DARCH_FREEBSDAMD64 -DVMDOPENGL -DVMDIMD -DVMDLIBTACHYON -DVMDPYTHON -DVMDTHREADS -DWKFTHREADS -DUSEPOSIXTHREADS -D_REENTRANT -DVMDNUMPY -DVMDQUICKSURF -DVMDWITHCARBS -DVMDPOLYHEDRA -DVMDSURF -DVMDMSMS -DVMDNANOSHAPER -DVMDTCL -DVMDTK -DVMDSTATICPLUGINS -DVMDGUI -DVMDFLTK -DGLX_GLXEXT_LEGACY -I/usr/local/include -I../lib/tachyon/src -I/usr/local/include/python3.9 -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/lib/python3.9/site-packages -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I../plugins/include -I../plugins/FREEBSDAMD64/molfile -I../lib/netcdf/include -I../lib/fltk/include -I. -c VMDTkinterMenu.C -o ../FREEBSDAMD64/VMDTkinterMenu.o Compiling VMDTkinterMenu.C --> VMDTkinterMenu.o ... VMDTkinterMenu.C:73:19: error: use of undeclared identifier 'PyString_AsString' char *str = PyString_AsString(result); ^ 1 error generated. gmake[1]: *** [Makefile:519: VMDTkinterMenu.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... PythonTextInterp.C:98:24: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations] PyObject *result = PyEval_CallObject(obj, arglist); ^ /usr/local/include/python3.9/ceval.h:24:5: note: expanded from macro 'PyEval_CallObject' PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) ^ /usr/local/include/python3.9/ceval.h:17:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( ^ /usr/local/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ PythonTextInterp.C:119:17: error: use of undeclared identifier 'Py_InitModule' PyObject *m = Py_InitModule((char *)"vmdcallbacks", CallbackMethods); ^ PythonTextInterp.C:144:3: error: no matching function for call to 'PySys_SetArgv' PySys_SetArgv(app->argc_m, (char **)app->argv_m); ^~~~~~~~~~~~~ /usr/local/include/python3.9/sysmodule.h:13:18: note: candidate function not viable: no known conversion from 'char **' to 'wchar_t **' for 2nd argument PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); ^ PythonTextInterp.C:149:34: error: use of undeclared identifier 'PyString_FromString' PySys_SetObject((char *)"ps1", PyString_FromString((char *)"")); ^ PythonTextInterp.C:150:34: error: use of undeclared identifier 'PyString_FromString' PySys_SetObject((char *)"ps2", PyString_FromString((char *)"... ")); ^ 1 warning and 4 errors generated. gmake[1]: *** [Makefile:519: PythonTextInterp.o] Error 1 1 warning generated. gmake[1]: Leaving directory '/usr/ports/science/vmd/work/vmd-1.9.3/src' *** Error code 2 Stop. make: stopped in /usr/ports/science/vmd -- You are receiving this mail because: You are the assignee for the bug.