Bug 211937 - graphics/py-mayavi: Fix builds on 9.3 systems due to missing libexecinfo
Summary: graphics/py-mayavi: Fix builds on 9.3 systems due to missing libexecinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2016-08-17 12:01 UTC by vladimir.chukharev
Modified: 2016-08-19 16:04 UTC (History)
0 users

See Also:
vladimir.chukharev: maintainer-feedback+
koobs: merge-quarterly?


Attachments
Patch (822 bytes, patch)
2016-08-17 12:01 UTC, vladimir.chukharev
vladimir.chukharev: maintainer-approval+
Details | Diff

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