Bug 192432 - multimedia/py-gstreamer fails configure
Summary: multimedia/py-gstreamer fails configure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-multimedia (Nobody)
Depends on:
Reported: 2014-08-06 12:54 UTC by Sascha Holzleiter
Modified: 2014-08-15 20:04 UTC (History)
2 users (show)

See Also:

py-gstreamer poudriere error log (19.01 KB, text/x-log)
2014-08-06 12:54 UTC, Sascha Holzleiter
no flags Details
Workaround diff (68 bytes, text/plain)
2014-08-15 14:11 UTC, troyax
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Holzleiter 2014-08-06 12:54:07 UTC
Created attachment 145418 [details]
py-gstreamer poudriere error log

Building py-gstreamer within my poudriere environment fails at configure stage with:

checking for libraries required to embed python... no
configure: error: could not find Python lib
===>  Script "configure" failed unexpectedly.

Full poudriere log is attached and available at:

Comment 1 John Marino freebsd_committer 2014-08-06 13:58:59 UTC
over to maintainer group...
Comment 2 troyax 2014-08-15 14:11:21 UTC
Created attachment 145820 [details]
Workaround diff
Comment 3 troyax 2014-08-15 14:11:54 UTC
I got the same error on FreeBSD 9.3 with my port tree, it seems to be LDFLAGS related - I've attached the diff of my modification of the Makefile.
Someone tried on FreeBSD 10, and the port compiled correctly.
Comment 4 Sascha Holzleiter 2014-08-15 14:24:28 UTC
With this workaround the port also compiles on my poudriere setup,
thanks for sharing!
Comment 5 commit-hook freebsd_committer 2014-08-15 20:03:30 UTC
A commit references this bug:

Author: kwm
Date: Fri Aug 15 20:03:22 UTC 2014
New revision: 365032
URL: http://svnweb.freebsd.org/changeset/ports/365032

  Add missing /libs in LDFLAGS, this should fix the build in some cases.

  While here, remove PTHREAD_* from CPPFLAGS and LDFLAGS.

  PR:		192432
  Submitted by:	sascha@root-login.org (PR), troyax@pholos.eu (fix)

Comment 6 Koop Mast freebsd_committer 2014-08-15 20:04:13 UTC
Nice catch, fixed!