pkgsrc-Bugs archive

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

pkg/47404: pkgsrc/devel/py-pysvn build problem



>Number:         47404
>Category:       pkg
>Synopsis:       pkgsrc/devel/py-pysvn build problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 04 13:10:00 +0000 2013
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzone 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
py-pysvn doesn't build correctly (at least not using the solaris ld)

   "LDLIBS=-L%(svn_lib_dir)s -Wl,--rpath ...."

an extra '-' when specifying rpath seems to cause the problem
>How-To-Repeat:

>Fix:
richard@devzone:~/src/pkgsrc/devel/py-pysvn$ cvs diff
? patches/patch-Source_setup__configure.py
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-pysvn/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    16 Nov 2012 00:43:11 -0000      1.4
+++ distinfo    4 Jan 2013 12:59:44 -0000
@@ -4,3 +4,4 @@ SHA1 (pysvn-1.7.5.tar.gz) = 912d7081a829
 RMD160 (pysvn-1.7.5.tar.gz) = d412aab74737d371a184a327ceadc971a00340ab
 Size (pysvn-1.7.5.tar.gz) = 333366 bytes
 SHA1 (patch-Source_pysvn__client__cmd__checkin.cpp) = 
d4a6ab9709fea7728519fa3a34044bf93ef24bd2
+SHA1 (patch-Source_setup__configure.py) = 
2d2fd50f90a32be2f646b4f0b4fe3860d6af411a


richard@devzone:~/src/pkgsrc/devel/py-pysvn$ diff -u -p /dev/null 
patches/patch-Source_setup__configure.py 
--- /dev/null   2013-01-04 13:23:59.000000000 +0100
+++ patches/patch-Source_setup__configure.py    2013-01-04 13:59:33.222582141 
+0100
@@ -0,0 +1,40 @@
+$NetBSD$
+
+--- Source/setup_configure.py.orig     2010-12-31 13:19:01.000000000 +0000
++++ Source/setup_configure.py
+@@ -458,7 +458,7 @@ CCFLAGS=-Wall -fPIC %(includes)s %(debug
+ PYCXX=%(pycxx_dir)s
+ PYCXXSRC=%(pycxx_src_dir)s
+ LDSHARED=g++ -shared %(debug_cflags)s
+-LDLIBS=-L%(svn_lib_dir)s -Wl,--rpath -Wl,%(svn_lib_dir)s \
++LDLIBS=-L%(svn_lib_dir)s -Wl,-rpath -Wl,%(svn_lib_dir)s \
+ -lsvn_client-1 \
+ -lsvn_diff-1 \
+ -lsvn_repos-1 \
+@@ -480,7 +480,7 @@ CCFLAGS=-Wall -fPIC %(includes)s %(debug
+ PYCXX=%(pycxx_dir)s
+ PYCXXSRC=%(pycxx_src_dir)s
+ LDSHARED=g++ -shared %(debug_cflags)s
+-LDLIBS=-L%(svn_lib_dir)s -Wl,--rpath -Wl,%(svn_lib_dir)s \
++LDLIBS=-L%(svn_lib_dir)s -Wl,-rpath -Wl,%(svn_lib_dir)s \
+ -lsvn_client-1 \
+ -lsvn_diff-1 \
+ -lsvn_repos-1 \
+@@ -502,7 +502,7 @@ CCFLAGS=-Wall -fPIC %(includes)s %(debug
+ PYCXX=%(pycxx_dir)s
+ PYCXXSRC=%(pycxx_src_dir)s
+ LDSHARED=g++ -shared %(debug_cflags)s
+-LDLIBS=-L%(svn_lib_dir)s -Wl,--rpath -Wl,%(svn_lib_dir)s \
++LDLIBS=-L%(svn_lib_dir)s -Wl,-rpath -Wl,%(svn_lib_dir)s \
+ -lsvn_client-1 \
+ -lsvn_diff-1 \
+ -lsvn_repos-1 \
+@@ -548,7 +548,7 @@ CCFLAGS=-Wall -fPIC %(includes)s %(debug
+ PYCXX=%(pycxx_dir)s
+ PYCXXSRC=%(pycxx_src_dir)s
+ LDSHARED=g++ -shared %(debug_cflags)s
+-LDLIBS=-L%(svn_lib_dir)s -Wl,--rpath 
-Wl,/usr/lib:/usr/local/lib:%(svn_lib_dir)s \
++LDLIBS=-L%(svn_lib_dir)s -Wl,-rpath 
-Wl,/usr/lib:/usr/local/lib:%(svn_lib_dir)s \
+ -lsvn_client-1 \
+ -lsvn_diff-1 \
+ -lsvn_repos-1



Home | Main Index | Thread Index | Old Index