FS#34802 - [gdb] .pyc files are not included with the package

Attached to Project: Arch Linux
Opened by Peter Wu (Lekensteyn) - Tuesday, 16 April 2013, 07:16 GMT
Last edited by Allan McRae (Allan) - Monday, 29 April 2013, 06:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

gdb does not create pre-compiled python code. This causes the system to create them when gdb is run as root:

find /usr/share -name \*.pyc -exec pacman -Qo {} \;
error: No package owns /usr/share/gdb/python/gdb/types.pyc
error: No package owns /usr/share/gdb/python/gdb/printing.pyc
error: No package owns /usr/share/gdb/python/gdb/prompt.pyc
error: No package owns /usr/share/gdb/python/gdb/command/pretty_printers.pyc
error: No package owns /usr/share/gdb/python/gdb/command/__init__.pyc
error: No package owns /usr/share/gdb/python/gdb/command/prompt.pyc
error: No package owns /usr/share/gdb/python/gdb/command/explore.pyc
error: No package owns /usr/share/glib-2.0/gdb/glib.pyc

Package version: 7.5.1-1
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 29 April 2013, 06:07 GMT
Reason for closing:  Won't fix
Comment by Allan McRae (Allan) - Monday, 29 April 2013, 06:07 GMT
We have no policy on packaging and pyc files. Until we do, I will distribute the package as "make install" creates it.

Loading...