Bug 220800 - multimedia/gtk-recordmydesktop: wrong python shebang
Summary: multimedia/gtk-recordmydesktop: wrong python shebang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2017-07-17 14:19 UTC by Pavel Timofeev
Modified: 2018-02-12 20:14 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (rm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Timofeev 2017-07-17 14:19:27 UTC
I found very useful application in the ports tree. But there is a small bug there

[pavel.timofeev@ptimofeev ~]$ gtk-recordMyDesktop 
bash: /usr/local/bin/gtk-recordMyDesktop: /usr/local/bin/python: bad interpreter: No such file or directory


[pavel.timofeev@ptimofeev ~]$ head -1 /usr/local/bin/gtk-recordMyDesktop
#!/usr/local/bin/python


Please, fix
Comment 1 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2017-07-24 09:11:30 UTC
Thanks for the report, will fix soon. I also discovered that it is looking for locales in a wrong place.
Comment 2 Ian Trudel 2017-09-17 12:48:49 UTC
Got the same problem. 

Temporary fix (as root):

ln -s /usr/local/bin/python2.7 /usr/local/bin/python
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-02-10 06:35:37 UTC
ping!
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-02-11 19:42:04 UTC
A commit references this bug:

Author: rm
Date: Sun Feb 11 19:41:31 UTC 2018
New revision: 461521
URL: https://svnweb.freebsd.org/changeset/ports/461521

Log:
  multimedia/gtk-recordmydesktop: fix runtime

  - fix runtime by correcting shebang line
  - set LICENSE_FILE
  - set NO_ARCH since this package does not contain platform dependent files
  - seitch to USES=localbase and correct requred python version
  - bump PORTREVISION to reflect package changes

  PR:		220800
  Reported by:	timp87@gmail.com
  MFH:		2018Q1

Changes:
  head/multimedia/gtk-recordmydesktop/Makefile
Comment 5 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2018-02-11 19:46:15 UTC
Fixed, thank you! Sorry for such a long delay(
Comment 6 commit-hook freebsd_committer freebsd_triage 2018-02-12 20:14:43 UTC
A commit references this bug:

Author: rm
Date: Mon Feb 12 20:14:02 UTC 2018
New revision: 461649
URL: https://svnweb.freebsd.org/changeset/ports/461649

Log:
  MFH: r461521

  multimedia/gtk-recordmydesktop: fix runtime

  - fix runtime by correcting shebang line
  - set LICENSE_FILE
  - set NO_ARCH since this package does not contain platform dependent files
  - seitch to USES=localbase and correct requred python version
  - bump PORTREVISION to reflect package changes

  PR:		220800
  Reported by:	timp87@gmail.com
  Approved by:	portmgr (riggs)

Changes:
_U  branches/2018Q1/
  branches/2018Q1/multimedia/gtk-recordmydesktop/Makefile