Bug 32008 - python3-config --configdir prints invalid path
Summary: python3-config --configdir prints invalid path
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-dev (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-21 13:09 MSK by Ivan Zakharyaschev
Modified: 2016-04-21 14:04 MSK (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).