tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Where are we on changing python from 37 to 38?



Am Fri, 13 Nov 2020 10:15:16 +0100
schrieb "Dr. Thomas Orgis" <thomas.orgis%uni-hamburg.de@localhost>: 

> Oh. So it's this error:
> 
> 	ImportError: This platform lacks a functioning sem_open
> 	implementation, therefore, the required synchronization
> 	primitives needed will not function, see issue 3770.
> 
> But that one's very old. The error seems to reapear from time to time.
> I'm not building with the base gcc, but I do use the base libc which
> does define sem_open (but according to manpage only for standard POSIX
> 2001, not 2008, which might be a difference).
> 
> I'll report once I tried this today.

Tried it. Excerpts:

checking for sem_open... yes
checking for sem_timedwait... yes
checking for sem_getvalue... yes
checking for sem_unlink... yes
checking for sendfile... yes
checking for setegid... yes
checking for seteuid... yes
checking for setgid... yes

Installs fine.

It's using the CentOS libc:

 ldd .prefix/bin/python3.8
        linux-vdso.so.1 =>  (0x00007fffcb1aa000)
        libpython3.8.so.1.0 => /sw/env/gcc-8.4.0_openmpi-3.1.6/pkgsrc/2020Q3/lib/libpython3.8.so.1.0 (0x0000145cc338a000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000145cc3153000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000145cc2f37000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000145cc2d33000)
        libutil.so.1 => /lib64/libutil.so.1 (0x0000145cc2b30000)
        libm.so.6 => /lib64/libm.so.6 (0x0000145cc282e000)
        libc.so.6 => /lib64/libc.so.6 (0x0000145cc2460000)
        libfreebl3.so => /lib64/libfreebl3.so (0x0000145cc225d000)
        /lib64/ld-linux-x86-64.so.2 (0x0000145cc36c9000)

This is on a box that is on CentOs 7.8 … update to 7.9 imminent.


At least with my GCC 8.4.0, there is no issue. If it's desired, I could
just test the system's old compiler, too. Or we ignore the bulk failure
until someone comes along that really is using the old CentOS compiler
for pkgsrc.


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg


Home | Main Index | Thread Index | Old Index