[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2020-12-22 Thread Jakub Kulik
Change by Jakub Kulik : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2020-11-09 Thread Jakub Kulik
Change by Jakub Kulik : -- pull_requests: +22106 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23208 ___ Python tracker ___ _

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2020-11-09 Thread Jakub Kulik
Jakub Kulik added the comment: And for the reference, Solaris distros are already removing this code: https://github.com/oracle/solaris-userland/blob/master/components/python/python37/patches/15-gethostname.patch https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/python/pyth

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2020-11-09 Thread Jakub Kulik
Jakub Kulik added the comment: I think this code should be removed. It was added in its current form more than 20 years ago with the intention to add function declarations missing from system include files: https://github.com/python/cpython/commit/1e0c2f4bee43728930bd5f4dc77283f09c4ba004 Tod

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2015-04-08 Thread John Beck
John Beck added the comment: 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: i

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2014-06-10 Thread Thomas Klausner
Changes by Thomas Klausner : -- nosy: +wiz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2014-04-21 Thread Michael Stahl
Michael Stahl added the comment: (note that i haven't used any Solaris myself since 2011) * the #ifdef SOLARIS block still exists in current hg checkout * according to comment http://bugs.python.org/msg18910 the SOLARIS macro can not be defined during a build of python itself, so: - the #ifd

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2014-04-20 Thread James Bostock
James Bostock added the comment: I have not compiled Python from source code for many years and no longer have access to Solaris machines so I cannot say whether or not this is still a problem. -- ___ Python tracker

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2014-04-19 Thread R. David Murray
R. David Murray added the comment: Can you confirm that this is really still a problem, despite the Solaris cleanup in issue 1759169? -- ___ Python tracker ___

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2014-04-15 Thread Michael Stahl
Michael Stahl added the comment: we carry a patch in LibreOffice for exactly this problem: http://cgit.freedesktop.org/libreoffice/core/tree/external/python3/python-3.3.0-i42553.patch.2 this was found many years ago in OOo: https://issues.apache.org/ooo/show_bug.cgi?id=42553 there is at least

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2014-03-11 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg213157 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ae1707d427a by R David Murray in branch 'default': whatsnew: summary section tweaks. http://hg.python.org/cpython/rev/9ae1707d427a -- nosy: +python-dev ___ Python tracker

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread Richard PALO
Richard PALO added the comment: Sure, attached is a simple test found on the internet, compiled with the following reproduces the problem: richard@devzone:~/src$ /opt/local/gcc48/bin/g++ -o tp tp.cpp -DSOLARIS -I/opt/local/include/python2.7 -L/opt/local/lib -lpython2.7 In file included from

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread R. David Murray
Changes by R. David Murray : -- assignee: jcea -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread R. David Murray
R. David Murray added the comment: Libreoffice is a big thing to compile as a test...do you know of any smaller packages that exhibit the bug? I've added jcea to nosy, he set up the OpenIndiana buildbots and may be able to help clarify the issue. I'm not willing to opine on it since I don't k

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread Richard PALO
Richard PALO added the comment: I don't believe the problem is a question solely of building the python sources, but also certain dependent application sources... I know of at least libreoffice building against python and this problem has come up. The workaround was to apply the patch indic

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread R. David Murray
R. David Murray added the comment: We have an OpenIndian buildbot that compiles from our source, so no distro changes. Can you sort out why this isn't a problem on the buildbut but is for you? Your patch files says 2.6, so is it possible it is fixed in 2.7? -- nosy: +r.david.murray

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2013-11-12 Thread Richard PALO
Build files: Python26-10-gethostname.patch keywords: patch messages: 202690 nosy: risto3 priority: normal severity: normal status: open title: request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined type: compile error versions: Python 2.7, Python 3.3 Added file:

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2010-09-04 Thread R. David Murray
R. David Murray added the comment: I'm not sure it was appropriate to close this bug in isolation without confirmation that it is no longer a problem, but I'm also guessing that it is in fact no longer a problem due to the fix to issue 1759169. So because that seems likely I'm leaving it clo

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2010-09-04 Thread Mark Lawrence
Mark Lawrence added the comment: No reply to msg114296. -- resolution: -> out of date status: pending -> closed ___ Python tracker ___

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close in a couple of weeks unless someone states this is still a problem. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker ___

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2009-02-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Build -None dependencies: +Solaris 8 declares gethostname(). stage: -> test needed type: -> compile error versions: +Python 2.6 -Python 2.4 ___ Python tracker __