Bug 220574 - deskutils/calibre: failed to start due to absent (?) python2
Summary: deskutils/calibre: failed to start due to absent (?) python2
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: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-08 23:00 UTC by Igor Pavlov
Modified: 2017-07-09 12:41 UTC (History)
0 users

See Also:
madpilot: maintainer-feedback+


Attachments

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