Hello,
The latest mercurial version of vim fails with the below error. python
--version == 2.7.3
gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -pipe -ftracer
-fgcse-after-reload -march=corei7-avx -mcx16 -msahf -mno-movbe
-mno-aes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4
-mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2
-msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param
l1-cache-size=32 --param l1-cache-line-size=64 --param
l2-cache-size=3072 -mtune=corei7-avx -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=1 -I/usr/include -D_LARGEFILE64_SOURCE=1 -o
objects/if_tcl.o if_tcl.c
if_python3.c:84:0: warning: "PyString_Check" redefined [enabled by default]
In file included from /usr/include/python2.7/Python.h:94:0,
from if_python3.c:59:
/usr/include/python2.7/stringobject.h:58:0: note: this is the location
of the previous definition
if_python3.c:91:0: warning: "PyInt_Check" redefined [enabled by default]
In file included from /usr/include/python2.7/Python.h:86:0,
from if_python3.c:59:
/usr/include/python2.7/intobject.h:30:0: note: this is the location of
the previous definition
if_python3.c:154:0: warning: "PyMapping_Items" redefined [enabled by default]
In file included from /usr/include/python2.7/Python.h:133:0,
from if_python3.c:59:
/usr/include/python2.7/abstract.h:1354:0: note: this is the location
of the previous definition
if_python3.c:187:0: warning: "PyBytes_AsStringAndSize" redefined
[enabled by default]
In file included from /usr/include/python2.7/Python.h:97:0,
from if_python3.c:59:
/usr/include/python2.7/bytesobject.h:26:0: note: this is the location
of the previous definition
if_python3.c:301:49: warning: 'struct PyModuleDef' declared inside
parameter list [enabled by default]
if_python3.c:301:49: warning: its scope is only this definition or
declaration, which is probably not what you want [enabled by default]
if_python3.c: In function 'Py3Init_vim':
if_python3.c:1797:9: warning: assignment makes pointer from integer
without a cast [enabled by default]
if_python3.c: In function 'init_structs':
if_python3.c:2006:38: error: invalid application of 'sizeof' to
incomplete type 'struct PyModuleDef'
if_python3.c:2007:5: error: invalid use of undefined type 'struct PyModuleDef'
if_python3.c:2008:5: error: invalid use of undefined type 'struct PyModuleDef'
if_python3.c:2009:5: error: invalid use of undefined type 'struct PyModuleDef'
if_python3.c:2010:5: error: invalid use of undefined type 'struct PyModuleDef'
make[1]: *** [objects/if_python3.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/pkgmk/distfiles/vim/src'
make: *** [first] Error 2
Any thoughts, please?
Thanks
Joe
=======> ERROR: Building
'/var/pkgmk/packages/vim-mercurial#mercurial-1.pkg.tar.gz' failed.
-- Packages where update failed
vim-mercurial
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php