[issue11102] configure doesn't find "major()" on HP-UX v11.31

2020-06-18 Thread Michael Osipov


Change by Michael Osipov <1983-01...@gmx.net>:


--
nosy: +michael-o

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find "major()" on HP-UX v11.31

2020-05-01 Thread Zackery Spytz


Change by Zackery Spytz :


--
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find "major()" on HP-UX v11.31

2020-05-01 Thread Zackery Spytz


Change by Zackery Spytz :


--
nosy: +ZackerySpytz
nosy_count: 2.0 -> 3.0
pull_requests: +19172
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/19856

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find major() on HP-UX v11.31

2014-09-27 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
nosy:  -r.david.murray
stage: commit review - needs patch
versions: +Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11102
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find major() on HP-UX v11.31

2011-06-15 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Well, one way might be to set up and maintain an HP/UX buildbot :)

Other than that, just keep bugging us periodically until someone gets around to 
doing it.

--
nosy: +r.david.murray
stage:  - commit review
type:  - compile error

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11102
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find major() on HP-UX v11.31

2011-06-14 Thread Oren Held

Oren Held o...@held.org.il added the comment:

Any tip on how to make this patch get committed? :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11102
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find major() on HP-UX v11.31

2011-02-04 Thread Oren Held

Oren Held o...@held.org.il added the comment:

Just a small note: after this patch applied, building Python 2.7.1 was 
successful on Linux (SLES 11, RHEL 5, Ubuntu 10.10), Solaris 10, and HP-UX 11 
v3. (I didn't get to build Python on other platforms)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11102
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find major() on HP-UX v11.31

2011-02-02 Thread Oren Held

New submission from Oren Held o...@held.org.il:

The effect eventually is that on HP-UX v3 there are no os.major() and 
os.minor() functions.

I tried to dig deeper to find out what's wrong, and it seems that 'configure' 
script fails on 'major' check and thus disables the 'major' feature:

'configure' finds well that /usr/include/sys/sysmacros.h has makedev(), 
major(), minor() definitions (MAJOR_IN_SYSMACROS==1).

The problem is that including sys/sysmacros.h is not enough, it depends (but 
doesn't #include) sys/types.h for the definition of dev_t (needed by makedev() 
macro).


See attached config.log for configure's behavior.

--
components: Build
files: config.log
messages: 127757
nosy: Oren_Held
priority: normal
severity: normal
status: open
title: configure doesn't find major() on HP-UX v11.31
versions: Python 2.7
Added file: http://bugs.python.org/file20652/config.log

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11102
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find major() on HP-UX v11.31

2011-02-02 Thread Oren Held

Oren Held o...@held.org.il added the comment:

Attaching a patch I've made for fixing the problem in HP-UX, simply by 
#including sys/types.h on the configure test..

1. I'm not sure it'll be good for all platforms; maybe we need more 'configure' 
magic here to make it #include sys/types.h on this configure test only when 
needed (e.g. HP-UX v3).

2. Once 'configure' decides to enable the os.major feature, 'make' simply 
compiles it well - I didn't have to fix things in Modules/posixmodule.c 
(apparently sys/types.h is already loaded). I'm not sure it's smart to count on 
it.

--
keywords: +patch
Added file: 
http://bugs.python.org/file20653/python-configure-hpux-major-fix.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11102
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11102] configure doesn't find major() on HP-UX v11.31

2011-02-02 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

AFAICT, including sys/types.h by default in the test should be fine. It's a 
standard header file (atleast for Posixish systems), so it should always be 
present, and including it shouldn't cause harm even if it's not needed.

--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11102
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com