Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2022 23:41:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267703] science/vmd: Build failure
Message-ID:  <bug-267703-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267703

            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 -DVMDN=
UMPY
-DVMDQUICKSURF -DVMDWITHCARBS -DVMDPOLYHEDRA -DVMDSURF -DVMDMSMS
-DVMDNANOSHAPER -DVMDTCL -DVMDTK  -DVMDSTATICPLUGINS  -DVMDGUI -DVMDFLTK=20
-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/inc=
lude
-I. -c VMDTkinterMenu.C -o ../FREEBSDAMD64/VMDTkinterMenu.o
Compiling  VMDTkinterMenu.C  -->  VMDTkinterMenu.o  ...
VMDTkinterMenu.C:73:19: error: use of undeclared identifier 'PyString_AsStr=
ing'
      char *str =3D PyString_AsString(result);
                  ^
1 error generated.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
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 =3D 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_InitModu=
le'=20=20
  PyObject *m =3D 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.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267703-7788>