pkgsrc-Bugs archive

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

pkg/34562: subversion-base compile fails on solaris



>Number:         34562
>Category:       pkg
>Synopsis:       subversion-base compile fails on solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 19 22:05:00 +0000 2006
>Originator:     john heasley
>Release:        NetBSD 3.99.17
>Organization:
        
>Environment:
        
        
System: NetBSD guelah 3.99.17 NetBSD 3.99.17 (guelah) #1: Tue Apr 18 01:51:21 
UTC 2006 root@oak:/sys/arch/sparc64/compile/guelah sparc64
Architecture: sparc64
Machine: sparc64
>Description:
The build of devel/subversion-base fails on solaris 9 due to missing linker
include of gettext-lib (-lintl).

cd subversion/svn && /bin/ksh /home/pkgsrc/devel/subversion-base/work/subversion
-1.4.0/libtool --tag=CC --silent --mode=link gcc -static-libgcc -D_LARGEFILE64_S
OURCE -mcpu=v9 -mtune=ultrasparc -m64 -D__sparc_v9__  -g -static-libgcc -static-
libgcc -D_LARGEFILE64_SOURCE -mcpu=v9 -mtune=ultrasparc -m64 -D__sparc_v9__ -pip
e -I/usr/pkg/include -I/usr/include   -pthread   -L/usr/pkg/lib -Wl,-R/usr/pkg/l
ib -L/usr/lib -Wl,-R/usr/lib    -L/usr/pkg/lib  -rpath /usr/pkg/lib -o svn  add-
cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o
 delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o list-cm
d.o lock-cmd.o log-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o notify.o prop
del-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o reso
lved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o unlock-cmd.o update-c
md.o util.o ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/l
ibsvn_wc/libsvn_wc-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversi
on/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_diff/libsvn_diff-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la /usr/pkg/lib/libaprutil-0.la -lexp
at /usr/pkg/lib/libapr-0.la -lsendfile -lrt -lm -lsocket  -lresolv -lnsl -lpthre
ad -ldl /usr/pkg/lib/libneon.la -lsocket  -lz

Undefined                       first referenced
 symbol                             in file
libintl_bind_textdomain_codeset     ../../subversion/libsvn_subr/.libs/libsvn_su
br-1.so
libintl_bindtextdomain              ../../subversion/libsvn_subr/.libs/libsvn_su
br-1.so
libintl_dgettext                    blame-cmd.o
ld: fatal: Symbol referencing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
*** Error code 1

>How-To-Repeat:
        
>Fix:
Not sure; devel/subversion/Makefile.common includes gettext-lib/buildlink3.
This patch works for me.

--- configure.orig      2006-09-07 23:22:11.000000000 +0000
+++ configure   2006-09-19 19:22:35.088202000 +0000
@@ -20672,6 +20672,7 @@
 if test "$ac_cv_search_bindtextdomain" != no; then
   test "$ac_cv_search_bindtextdomain" = "none required" || 
LIBS="$ac_cv_search_bindtextdomain $LIBS"
 
+  LIBS="$LIBS -lintl"
 else
 
                     { echo "$as_me:$LINENO: WARNING: bindtextdomain() not 
found.  Disabling NLS." >&5

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index