pkgsrc-Bugs archive

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

pkg/48978: security/libgpg-error does not build on Solaris 10



>Number:         48978
>Category:       pkg
>Synopsis:       security/libgpg-error does not build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 09 07:15:00 +0000 2014
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
security/libgpg-error fails to link on Solaris 10:

libtool: link: gcc -O2 
-I/pkgsrc/source/pkgsrc/security/libgpg-error/work.pkgsrc-i86/.buildlink/include
 -Wl,-R/usr/pkgsrc/20140707/lib -o .libs/gpg-error gpg_error-strsource-sym.o 
gpg_error-strerror-sym.o gpg_error-gpg-error.o  
-L/pkgsrc/source/pkgsrc/security/libgpg-error/work.pkgsrc-i86/.buildlink/lib 
./.libs/libgpg-error.so 
/pkgsrc/source/pkgsrc/security/libgpg-error/work.pkgsrc-i86/.buildlink/lib/libintl.so
 
/pkgsrc/source/pkgsrc/security/libgpg-error/work.pkgsrc-i86/.buildlink/lib/libiconv.so
 -lc -R/usr/pkgsrc/20140707/lib 
-R/pkgsrc/source/pkgsrc/security/libgpg-error/work.pkgsrc-i86/.buildlink/lib
Undefined                       first referenced
 symbol                             in file
sched_yield                         ./.libs/libgpg-error.so
ld: fatal: Symbol referencing errors. No output written to .libs/gpg-error

>How-To-Repeat:

>Fix:
diff -u -r1.1 Makefile
--- Makefile    2014/07/09 07:07:16     1.1
+++ Makefile    2014/07/09 07:10:38
@@ -48,6 +48,8 @@
 PLIST.nls=     yes
 .endif
 
+LDFLAGS.SunOS+=-lrt
+
 TEST_TARGET=           check
 
 .include "../../converters/libiconv/buildlink3.mk"



Home | Main Index | Thread Index | Old Index