Bug 220574

Summary: deskutils/calibre: failed to start due to absent (?) python2
Product: Ports & Packages Reporter: Igor Pavlov <igor.arabesc.pavlov>
Component: Individual Port(s)Assignee: Guido Falsi <madpilot>
Status: Closed FIXED    
Severity: Affects Only Me Flags: madpilot: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Igor Pavlov 2017-07-08 23:00:20 UTC
After one of the latest updates calibre stopped to start, it says there is no python2 but it's there:

# service calibre start
Starting calibre.
env: python2: No such file or directory
/usr/local/etc/rc.d/calibre: WARNING: failed to start calibre

# python2 --version
Python 2.7.13
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-07-09 10:14:41 UTC
A commit references this bug:

Author: madpilot
Date: Sun Jul  9 10:13:49 UTC 2017
New revision: 445400
URL: https://svnweb.freebsd.org/changeset/ports/445400

Log:
  - Fix python shebangs [1]

  While here:

  - Remove unneeded include bsd.port.pre/post.mk
  - Use PREFIX and LOCALBASE substitutions in startup script

  PR:		220574 [1]
  Submitted by:	Igor Pavlov <igor.arabesc.pavlov@gmail.com>

Changes:
  head/deskutils/calibre/Makefile
  head/deskutils/calibre/files/calibre.in
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2017-07-09 10:16:09 UTC
Hi,

This really looks like an interpreter PATH problem.

I made a commit which should fix this issue.

Can you please test with the ports tree after revision 445400 and report back?

Thanks!
Comment 3 Igor Pavlov 2017-07-09 11:45:20 UTC
It works, thanks.
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2017-07-09 12:41:38 UTC
Thanks for confirming it works.