From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 10 10:50:12 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF81E16A41F for ; Sat, 10 Sep 2005 10:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 547FF43D4C for ; Sat, 10 Sep 2005 10:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8AAoCj5056236 for ; Sat, 10 Sep 2005 10:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8AAoCBc056235; Sat, 10 Sep 2005 10:50:12 GMT (envelope-from gnats) Resent-Date: Sat, 10 Sep 2005 10:50:12 GMT Resent-Message-Id: <200509101050.j8AAoCBc056235@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Grégory Nou Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FC2D16A41F for ; Sat, 10 Sep 2005 10:45:58 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB6DA43D45 for ; Sat, 10 Sep 2005 10:45:57 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j8AAjvOC001352 for ; Sat, 10 Sep 2005 10:45:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j8AAjvRr001351; Sat, 10 Sep 2005 10:45:57 GMT (envelope-from nobody) Message-Id: <200509101045.j8AAjvRr001351@www.freebsd.org> Date: Sat, 10 Sep 2005 10:45:57 GMT From: Grégory Nou To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/85939: Fix for audio/xmms-imms-1.2a X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 10:50:13 -0000 >Number: 85939 >Category: ports >Synopsis: Fix for audio/xmms-imms-1.2a >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: Sat Sep 10 10:50:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Grégory Nou >Release: Freebsd-7.0-current >Organization: >Environment: FreeBSD * 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Sep 3 11:34:31 CEST 2005 root@*:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: audio/xmms-imms is marked as broken, and schedulded for deletion. >How-To-Repeat: >Fix: I had to solve three problems : * /usr/local/lib/libgthread12.so.3: undefined reference to `pthread_cond_timedwait' I've googled and have seen other threads concerning this issue, but the only solution I found don't seem to work for me. (http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2005-March/055289.html) This post (http://lists.freebsd.org/pipermail/freebsd-stable/2004-November/009439.html) points out nvidia-driver, which I currently have. Is it really related ? I finally made some weird hacks and it seems to work : I've backed libgthread12.so* and I replaced them with libqthread, set LDFLAGS="-L${LOCALBASE}/lib -L${PTHREAD_LIBS}" and used gtk-2.0 and glib-2.0 instead of gtk12 and glib12. Still, I think that libgthread-> libqthread is enough to make it work(libgthread12 -> libgthread-2.0 did not do the job). However, I don't really understand what I made : I assumed that libgthread12 was refering to gtk12or glib12, and as I don't usually use them, it was not risky. Am I right there ? * I also experienced linking problems : I changed manually work/imms-1.2a/vars.mk LDFLAGS = -L/usr/X11R6/lib `xmms-config --libs` -lc -lm -ltag to : LDFLAGS = -L/usr/X11R6/lib `xmms-config --libs` -lc -lm -ltag -lpcre -lsqlite3 * libtag now installs libtag.so.5, but imms is looking for libtag.so.4 (would patching the LIB_DEPENDS line in the main Makefile do the trick ?) By the way, this version is outdated, the new one is 2.2.1. But patching the new version to make it compile is not as easy as I imagine first. >Release-Note: >Audit-Trail: >Unformatted: