From owner-freebsd-gnome@FreeBSD.ORG Wed Feb 11 11:56:53 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A13D16A4CE for ; Wed, 11 Feb 2004 11:56:53 -0800 (PST) Received: from postal2.es.net (proxy.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42ADB43D1D for ; Wed, 11 Feb 2004 11:56:53 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Wed, 11 Feb 2004 11:56:51 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id C326C5D08; Wed, 11 Feb 2004 11:56:51 -0800 (PST) To: a@jenisch.at In-Reply-To: Message from a@jenisch.at <20040211143120.GB31195@athena.oekb.co.at> Date: Wed, 11 Feb 2004 11:56:51 -0800 From: "Kevin Oberman" Message-Id: <20040211195651.C326C5D08@ptavv.es.net> cc: freebsd-gnome@freebsd.org Subject: Re: Compile errors in gtk20, gstreamer (FreeBSD 5.2) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 19:56:53 -0000 > From: a@jenisch.at > Date: Wed, 11 Feb 2004 15:31:20 +0100 > Sender: owner-freebsd-gnome@freebsd.org > > Hi, > > After doing a full portupgrade (portupgrade -arR) on my FreeBSD 5.2 > box I ended up with X-win not working. > > In detail I did the following: > > cvup-ed the ports-tree as of today > pkgdb -F > portsdb -Uu > portupgrade -arR > > > Futher investigation reveled that during the portupgrade various > gnome-related things didn't compile; they failed compilation with > errors like this: > > ------------------------------ < Cut here > ------------------------------ > > . > . > . > rebuilding global_registry > added plugin lavenc with 1 feature(s) > added plugin xvideosink with 1 feature(s) > added plugin wavparse with 2 feature(s) > added plugin wavenc with 1 feature(s) > added plugin vumeter with 1 feature(s) > Abort trap (core dumped) > *** Error code 134 > > Stop in /usr/ports/multimedia/gstreamer. > *** Error code 1 > > Stop in /usr/ports/multimedia/gstreamer. > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade92070.16 make reinstall > egrep: /var/db/pkg/gstreamer-0.6.4/+CONTENTS: No such file or directory > ---> Restoring the old version > rebuilding global_registry > > ------------------------------ < Cut here > ------------------------------ > > likewise gtk-2.0 seems to also fail compilation: > > /bin/sh ../../mkinstalldirs /usr/X11R6/etc/gtk-2.0 > ../../gtk/gtk-query-immodules-2.0 > /usr/X11R6/etc/gtk-2.0/gtk.immodules > Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) > Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) > Abort trap (core dumped) > *** Error code 134 > > Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20. > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade92070.2 make reinstall > egrep: /var/db/pkg/gtk-2.2.4_1/+CONTENTS: No such file or directory > ---> Restoring the old version > > ------------------------------ < Cut here > ------------------------------ > > This in fact leaves the system in a state where X can't be run (at > least as far as gnome is concerned) > > > > So my questions are: > > o) Has anybody else seen this before? Yes. I am currently recovering from this. > o) What can I do against it? Update your system. I believe that this is a result of a kernel bug in the semaphore code that causes python to crash. I am afraid the ONLY fix is to update the OS to CURRENT, although its likely that the fix has been made to RELENG5_2. If you are running 5.2-Release, I'd try that first. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634