Message240296
We (Solaris engineering) have hit this issue after migrating from 2.6
being our default version of Python to 2.7 being the default. The
specific component that broke was vim (version 7.4), trying to compile
if_python.c:
"/usr/include/python2.7/pyport.h", line 645: identifier redeclared:
gethostname
current : function(pointer to char, int) returning int
previous: function(pointer to char, unsigned long) returning int :
"/usr/include/unistd.h", line 412
We had this patched out in Python 2.6's Include/pyport.h:
-#ifdef SOLARIS
-/* Unchecked */
-extern int gethostname(char *, int);
-#endif
but for some reason that patch was not propagated to our 2.7 line.
Until today, that is; I will be applying that patch shortly to both
2.7 and 3.4. |
|
Date |
User |
Action |
Args |
2015-04-09 01:33:09 | jbeck | set | recipients:
+ jbeck, jcea, r.david.murray, wiz, python-dev, risto3 |
2015-04-09 01:33:09 | jbeck | set | messageid: <1428543189.17.0.881777518646.issue19561@psf.upfronthosting.co.za> |
2015-04-09 01:33:09 | jbeck | link | issue19561 messages |
2015-04-09 01:33:08 | jbeck | create | |
|