Bug 187959

Summary: graphics/jbig2dec build problem (tests)
Product: Ports & Packages Reporter: hirner
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: rakuco, wollman
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.txt none

Description hirner 2014-03-26 16:00:00 UTC
I'm reporting this issue because I was told by the FreeBSD port
system when trying to build graphics/jbig2dec with this configuration:

---------- /var/db/ports/graphics_jbig2dec/options 
# This file is auto-generated by 'make config'.
# Options for jbig2dec-0.11_1
_OPTIONS_READ=jbig2dec-0.11_1
_FILE_COMPLETE_OPTIONS_LIST=PNG TESTS
OPTIONS_FILE_SET+=PNG
OPTIONS_FILE_SET+=TESTS
----------

The make log file containing the error messages is attached.

Fix: Workaround: disable TESTS flag

Patch attached with submission follows:
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-06-21 18:18:44 UTC
A commit references this bug:

Author: rakuco
Date: Sat Jun 21 18:18:17 UTC 2014
New revision: 358728
URL: http://svnweb.freebsd.org/changeset/ports/358728

Log:
  Replace an invocation of "/usr/bin/env python" with ${PYTHON_CMD}.

  lang/python is not brought in by USE_PYTHON since r336850, which broke the
  TESTS option (it's off by default).

  PR:		187959

Changes:
  head/graphics/jbig2dec/Makefile
Comment 2 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-06-21 18:19:02 UTC
Fixed, thank you for the report
Comment 3 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-06-23 19:26:19 UTC
*** Bug 185358 has been marked as a duplicate of this bug. ***