Bug 176131 - multimedia/libva has incomplete dependencies causing libva-glx.so to not be configured to build under poudriere
Summary: multimedia/libva has incomplete dependencies causing libva-glx.so to not be c...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 23:40 UTC by Chris Dukes
Modified: 2013-02-20 21:30 UTC (History)
0 users

See Also:


Attachments
file.diff (742 bytes, patch)
2013-02-13 23:40 UTC, Chris Dukes
no flags Details | Diff
mm-libva1 (28.99 KB, text/plain; charset=UTF-8)
2013-02-14 14:42 UTC, Chris Dukes
no flags Details
libva.diff (395 bytes, patch)
2013-02-14 21:29 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dukes 2013-02-13 23:40:00 UTC
Found this while trying to track down a config bug in multimedia/xbmc under poudriere.
I expect most people building this already have the x11/xorg-libraries, graphics/libGL, and x11/glproto installed prior to attempting to build this package.  Unfortunately, that isn't the case if using a clean build environment like poudriere.

Fix: Add the appropriate dependencies to the BUILD_DEPENDS and LIB_DEPENDS, may need to actually be in RUN_DEPENDS or revised properly for LIB_DEPENDS.

The attached patch seems to address the issue, but probably needs to be finessed slightly.

Patch attached with submission follows:
How-To-Repeat: Build under poudriere with pkgng enabled in the poudriere environment.

Note the following section of the build.

===>   Registering installation for libva-1.1.0_2
pkg: lstat(/usr/local/include/va/va_backend_glx.h): No such file or directory
pkg: lstat(/usr/local/include/va/va_glx.h): No such file or directory
pkg: lstat(/usr/local/lib/libva-glx.la): No such file or directory
pkg: lstat(/usr/local/lib/libva-glx.so): No such file or directory
pkg: lstat(/usr/local/lib/libva-glx.so.1): No such file or directory
pkg: lstat(/usr/local/libdata/pkgconfig/libva-glx.pc): No such file or directory
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-13 23:40:08 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-13 23:40:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2013-02-14 09:57:02 UTC
Hi,

I have been unable to reproduce this problem in poudriere or tinderbox.

It could be some problem with glproto, perhaps, but I'm not quite sure.

Could you send me a full log from a "poudriere testport -o 
multimedia/libva" run so I can investigate what is really happening?

Thank you!

-- 
Guido Falsi <madpilot@FreeBSD.org>
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2013-02-14 10:03:12 UTC
State Changed
From-To: open->feedback

Ask for further information from submitter.
Comment 5 Chris Dukes 2013-02-14 14:42:30 UTC
Log of poudriere testport -o multimedia/libva showing GLX does not 
configure and libva-glx.* doesn't get built or installed.

Comment 6 Guido Falsi freebsd_committer freebsd_triage 2013-02-14 21:29:36 UTC
I'm not really sure what is happening. Anyway I am quite sure the reason 
the port is not compiling in glx pieces is it is missing the glproto.pc 
pkgconf file. Please try the build again with the attached patch(adding 
glproto to USE_X11) and see if this fixes it.

Thanks.

-- 
Guido Falsi <madpilot@FreeBSD.org>
Comment 7 Chris Dukes 2013-02-20 16:14:03 UTC
On Thu, Feb 14, 2013 at 10:29:36PM +0100, Guido Falsi wrote:
> I'm not really sure what is happening. Anyway I am quite sure the
> reason the port is not compiling in glx pieces is it is missing the
> glproto.pc pkgconf file. Please try the build again with the
> attached patch(adding glproto to USE_X11) and see if this fixes it.

Guido,

That fixes it.
Thank you.

-- 
Chris Dukes.
Comment 8 Guido Falsi freebsd_committer freebsd_triage 2013-02-20 21:23:03 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 9 dfilter service freebsd_committer freebsd_triage 2013-02-20 21:23:09 UTC
Author: madpilot
Date: Wed Feb 20 21:22:56 2013
New Revision: 312677
URL: http://svnweb.freebsd.org/changeset/ports/312677

Log:
  - Add dependency on glproto
  - Bump PORTREVISION
  
  PR:		ports/176131
  Submitted by: 	Christopher Dukes <chris.dukes.aix@gmail.com>

Modified:
  head/multimedia/libva/Makefile

Modified: head/multimedia/libva/Makefile
==============================================================================
--- head/multimedia/libva/Makefile	Wed Feb 20 21:15:12 2013	(r312676)
+++ head/multimedia/libva/Makefile	Wed Feb 20 21:22:56 2013	(r312677)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libva
 PORTVERSION=	1.1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	multimedia
 MASTER_SITES=	http://cgit.freedesktop.org/${PORTNAME}/snapshot/
 
@@ -16,7 +16,7 @@ BUILD_DEPENDS=	${LOCALBASE}/include/linu
 LIB_DEPENDS=	drm:${PORTSDIR}/graphics/libdrm
 
 USE_BZIP2=	yes
-USE_XORG=	pciaccess xext xfixes
+USE_XORG=	glproto pciaccess xext xfixes 
 USE_GL=		gl
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtoolize
 ACLOCAL_ARGS=	-I.
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"