pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35549: multimedia/xine-lib not finding libXv with Xorg 6.9



>Number:         35549
>Category:       pkg
>Synopsis:       multimedia/xine-lib not finding libXv with Xorg 6.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 05 00:10:00 +0000 2007
>Originator:     Mathieu
>Release:        3.1.0_PATCH
>Organization:
>Environment:
>Description:
make configure says:

checking for XV... gnome-config: not found
test: -R/usr/pkg/xorg/lib: unexpected operator
checking for libXv.so... libXv.so not found in /usr/pkg/xorg/lib 
-R/usr/pkg/xorg/lib
checking for libXv.a... libXv.a not found in /usr/pkg/xorg/lib 
-R/usr/pkg/xorg/lib

And then, with make package:

pkg_create: can't stat `/usr/pkg/lib/xine/plugins/1.1.3/xineplug_vo_out_xv.a'
pkg_create: can't stat `/usr/pkg/lib/xine/plugins/1.1.3/xineplug_vo_out_xv.so'
=> Registering installation for xine-lib-1.1.3nb5
pkg_admin: xine-lib-1.1.3nb5: File 
`/usr/pkg/lib/xine/plugins/1.1.3/xineplug_vo_out_xv.a' is in +
CONTENTS but not on filesystem!
pkg_admin: xine-lib-1.1.3nb5: File 
`/usr/pkg/lib/xine/plugins/1.1.3/xineplug_vo_out_xv.so' is in 
+CONTENTS but not on filesystem!
xine-lib-1.1.3nb5 requires installed package ImageMagick-6.3.1.6nb1
xine-lib-1.1.3nb5 requires installed package MesaLib-6.4.2nb3
xine-lib-1.1.3nb5 requires installed package SDL-1.2.11nb1
xine-lib-1.1.3nb5 requires installed package aalib-1.4.0.5nb2
xine-lib-1.1.3nb5 requires installed package flac-1.1.3nb1
xine-lib-1.1.3nb5 requires installed package freetype2-2.2.1nb2
xine-lib-1.1.3nb5 requires installed package glu-6.4.2
xine-lib-1.1.3nb5 requires installed package glut-6.4.2
xine-lib-1.1.3nb5 requires installed package libcdio-0.76nb4
xine-lib-1.1.3nb5 requires installed package libvorbis-1.1.2
xine-lib-1.1.3nb5 requires installed package mng-1.0.9nb1
xine-lib-1.1.3nb5 requires installed package png-1.2.16
xine-lib-1.1.3nb5 requires installed package speex-1.0.5
xine-lib-1.1.3nb5 requires installed package vcdimager-0.7.23nb2
xine-lib-1.1.3nb5 requires installed package xorg-libs-6.9.0nb10
=> Checking file-check results for xine-lib-1.1.3nb5
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/lib/xine/plugins/1.1.3/xineplug_vo_out_xv.a
ERROR:         /usr/pkg/lib/xine/plugins/1.1.3/xineplug_vo_out_xv.so
*** Error code 1

Stop.

>How-To-Repeat:
X11_TYPE=xorg

>Fix:
In the configure script, at the line 31411 (before rerunning autoconf)
reading:

xv_path=`echo $X_LIBS | sed -e 's/\-L\(.*\)/\1/'`

$X_LIBS value is '-L/usr/pkg/xorg/lib -R/usr/pkg/xorg/lib', and $xv_path
is bogusly set because of the unexpected -R. Adding a better regexp to
m4/xv.m4 seems to fix it:

--- m4/xv.m4.orig       2006-11-05 15:16:59.000000000 +0000
+++ m4/xv.m4    2007-02-04 22:43:46.000000000 +0000
@@ -70,7 +70,7 @@
 
   # Set xv_path if its not done already
   if test x$xv_path = x; then
-    xv_path=`echo $X_LIBS | sed -e 's/\-L\(.*\)/\1/'`
+    xv_path=`echo $X_LIBS | sed -e 's/^ *-L *\([[^ ]]*\).*$/\1/'`
   fi
 
   if test x$xv_path = x; then




Home | Main Index | Thread Index | Old Index