[mythtv-commits] Ticket #13505: Rewrite python shebangs during 'make install' step

MythTV noreply at mythtv.org
Sun Jan 5 04:55:37 UTC 2020


#13505: Rewrite python shebangs during 'make install' step
-------------------------------+-----------------------------
 Reporter:  rcrdnalor          |          Owner:  Bill Meek
     Type:  Patch - Feature    |         Status:  accepted
 Priority:  minor              |      Milestone:  31.0
Component:  Bindings - Python  |        Version:  Master Head
 Severity:  medium             |     Resolution:
 Keywords:  python shebang     |  Ticket locked:  0
-------------------------------+-----------------------------

Comment (by Gary Buhrmaster):

 (how time flys when you are looking for a distraction)

 Revised patch will be attached which uses QMAKE_EXTRA_COMPILERS to
 "compile" the python scripts to adjust the shebangs as needed.  This
 should resolve the issue with permission error messages for a 'make clean'
 after a 'sudo make install' (at least it works for me).

 There is an artifact when doing a 'make clean' with a message about not
 being able to delete a directory, but it is actually deleted later in the
 process.  The fix that immediately comes to mind involves doing full
 subdir .pro file recursion, which does not seem to be worthwhile for a
 message.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13505#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list