Date: Sun, 17 Sep 2006 13:29:32 +0400 From: "Vladimir Grebenschikov" <vova@fbsd.ru> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/103322: security/gnome-ssh-askpass doesn't work: Undefined symbol "pthread_getschedparam" Message-ID: <1158485372.15052@vbook.fbsd.ru> Resent-Message-ID: <200609170930.k8H9ULSW098252@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103322 >Category: ports >Synopsis: security/gnome-ssh-askpass doesn't work: Undefined symbol "pthread_getschedparam" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 17 09:30:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Vladimir Grebenschikov >Release: FreeBSD 7.0-CURRENT i386 >Organization: SWsoft >Environment: System: FreeBSD 7.0-CURRENT #8: Sat Sep 2 01:16:05 MSD 2006 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK >Description: $ gnome-ssh-askpass2 GTK Accessibility Module initialized /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam" $ >How-To-Repeat: ust build security/gnome-ssh-askpass on 7-CURRENT and start it. >Fix: workaround: start it with: LD_PRELOAD=/usr/lib/libc_r.so fix: Index: Makefile =================================================================== RCS file: /usr/ncvs/ports/security/gnome-ssh-askpass/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 5 Nov 2005 05:21:48 -0000 1.8 +++ Makefile 17 Sep 2006 09:20:41 -0000 @@ -23,7 +23,11 @@ USE_X_PREFIX= yes USE_GNOME= gtk20 +.include <bsd.port.pre.mk> + do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gnome-ssh-askpass2 ${PREFIX}/bin -.include <bsd.port.mk> +CFLAGS+= ${PTHREAD_LIBS} + +.include <bsd.port.post.mk> Index: files/patch-pthread-libs =================================================================== RCS file: files/patch-pthread-libs diff -N files/patch-pthread-libs --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-pthread-libs 17 Sep 2006 09:22:31 -0000 @@ -0,0 +1,11 @@ +--- contrib/Makefile.orig Mon Sep 30 04:44:40 2002 ++++ contrib/Makefile Sun Sep 17 13:21:44 2006 +@@ -7,7 +7,7 @@ + `gnome-config --libs gnome gnomeui` + + gnome-ssh-askpass2: gnome-ssh-askpass2.c +- $(CC) `pkg-config --cflags gtk+-2.0` \ ++ $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` \ + gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \ + `pkg-config --libs gtk+-2.0` + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1158485372.15052>