Bug 211937

Summary: graphics/py-mayavi: Fix builds on 9.3 systems due to missing libexecinfo
Product: Ports & Packages Reporter: vladimir.chukharev
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People Keywords: easy
Priority: --- Flags: vladimir.chukharev: maintainer-feedback+
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch vladimir.chukharev: maintainer-approval+

Description vladimir.chukharev 2016-08-17 12:01:23 UTC
Created attachment 173776 [details]
Patch

Report from pkg-fallout@freebsd.org informs that graphics/py-mayavi fails to build packages on 93amd64-default and 93i386-default.

The reason is a lack of libexecinfo.so.1 on older systems. The solution is to add USES=execinfo so that a library dependence on devel/libexecinfo is automatically added.

This is done by the attached patch. Also, it simplifies stripping by using PYTHONPREFIX_SITELIBDIR variable and bumps port revision.

poudriere builds the patched port in a 9Samd64 jail alright.

 $ uname -a
FreeBSD vovaasus 10.3-STABLE FreeBSD 10.3-STABLE #19 r303310: Tue Jul 26 00:48:51 EEST 2016     root@vovaasus:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-08-19 16:04:58 UTC
A commit references this bug:

Author: amdmi3
Date: Fri Aug 19 16:04:00 UTC 2016
New revision: 420477
URL: https://svnweb.freebsd.org/changeset/ports/420477

Log:
  - Add missing USES=execinfo, fixing build on 9.x

  PR:		211937
  Submitted by:	Vladimir.Chukharev@gmail.com (maintainer)

Changes:
  head/graphics/py-mayavi/Makefile