pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44611: libvdpau fails to build on SunOS [patch]
>Number: 44611
>Category: pkg
>Synopsis: multimedia/libvdpau fails to build on SunOS [patch]
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 20 10:05:00 +0000 2011
>Originator: Aleksey Cheusov
>Release: NetBSD 5.1
>Organization:
>Environment:
System: SunOS sunos 5.11 oi_148 i86pc i386 i86pc Solaris
Architecture: x86_64
Machine: amd64
>Description:
(This is a maintainer's request)
CC= /opt/sunstudio12.1/bin/cc -m64
CXX= /opt/sunstudio12.1/bin/CC -m64
CPP= /opt/sunstudio12.1/bin/cc -m64 -E
LD is Sun's ld.
"bmake build" ends like the following
libtool: link: cc -m64 -G -z defs -h libvdpau.so.1 -o
.libs/libvdpau.so.1.0.0 .libs/vdpau_wrapper.o
-L/tmp/obj-pkgsrc/multimedia/libvdpau2/work/.buildlink/lib -lc -m64
-Wl,-R/usr/pkg/lib
Undefined first referenced
symbol in file
XFree .libs/vdpau_wrapper.o
ld: fatal: symbol referencing errors. No output written to
.libs/libvdpau.so.1.0.0
gmake[2]: *** [libvdpau.la] Error 1
>How-To-Repeat:
Build multimedia/libvdpau on OpenSolaris
>Fix:
Upstream has been notified about this problem.
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libvdpau/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 9 Nov 2010 00:39:56 -0000 1.2
+++ distinfo 20 Feb 2011 09:58:13 -0000
@@ -3,3 +3,4 @@
SHA1 (libvdpau-0.4.1.tar.gz) = d09deff305e4927bc96fca8383f991d137e64d45
RMD160 (libvdpau-0.4.1.tar.gz) = 94bd82e0c1a9d1fd3854bec4718720b9bc6894f1
Size (libvdpau-0.4.1.tar.gz) = 456607 bytes
+SHA1 (patch-src_Makefile.in) = eee1081fdc114e7bcd8c1a74b8fa60c2f4d479dc
Index: patches/patch-src_Makefile.in
===================================================================
RCS file: patches/patch-src_Makefile.in
diff -N patches/patch-src_Makefile.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_Makefile.in 20 Feb 2011 09:58:13 -0000
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Fix for SunOS/SunStudio/Sun ld
+--- src/Makefile.in.orig 2010-09-08 20:07:03.000000000 +0300
++++ src/Makefile.in 2011-02-25 07:33:48.524607086 +0200
+@@ -249,7 +249,7 @@
+ $(DLOPEN_LIBS) \
+ $(XEXT_LIBS)
+
+-libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined
++libvdpau_la_LDFLAGS = -version-info 1:0:0
+ libvdpauincludedir = $(includedir)/vdpau
+ libvdpauinclude_HEADERS = \
+ $(top_srcdir)/include/vdpau/vdpau.h \
Home |
Main Index |
Thread Index |
Old Index