Bug 32008

Summary: python3-config --configdir prints invalid path
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: python3-devAssignee: Grigory Ustinov <grenka>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: george, glebfm, grenka, imz, vitty
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2016-04-21 13:09:51 MSK
python3-3.5-alt3

python3-config switched from a Python implementation (in 3.3) to a shell implementation in python3-3.5. (Related issue: https://bugzilla.altlinux.org/show_bug.cgi?id=31933 )

python3-config --configdir prints invalid path:

$ python3-config --configdir
/usr/lib/python3.5/config-3.5m
$ l -d /usr/lib/python3.5/config-3.5m
ls: cannot access /usr/lib/python3.5/config-3.5m: No such file or directory
$ 

In 3.3 (with a Python implementation):

$ python3-config --configdir
/usr/lib64/python3.3/config-3.3m
$ l -d /usr/lib64/python3.3/config-3.3m
drwxr-xr-x 2 root root 4096 мар 18 17:45 /usr/lib64/python3.3/config-3.3m/
$ rpm -qf /usr/lib64/python3.3/config-3.3m
python3-base-3.3.1-alt7
$ 

I'm going to simply switch back to the Python implementation to fix this.

I'm not sure whether this is a bug of the Fedora lib64 patch or an upstream. That's basically why I'm writing it down here.
Comment 1 Repository Robot 2016-04-21 14:04:43 MSK
python3-3.5.1-alt4 -> sisyphus:

* Wed Apr 20 2016 Ivan Zakharyaschev <imz@altlinux> 3.5.1-alt4
- put the Python implementation of python3-config back (as in 3.3)
  because it prints more correct values for --configdir (ALT#32008).