From avatar@rift.ath.cx  Fri Apr  4 00:42:14 2003
Return-Path: <avatar@rift.ath.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DDC7A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Apr 2003 00:42:14 -0800 (PST)
Received: from rift.ath.cx (h88n2fls32o836.telia.com [217.208.105.88])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DF47D43FBF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Apr 2003 00:42:13 -0800 (PST)
	(envelope-from avatar@rift.ath.cx)
Received: from rift.ath.cx (localhost [127.0.0.1])
	by rift.ath.cx (8.12.8/8.12.8) with ESMTP id h348fMA3069132
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 4 Apr 2003 10:41:22 +0200 (CEST)
	(envelope-from avatar@rift.ath.cx)
Received: (from avatar@localhost)
	by rift.ath.cx (8.12.8/8.12.8/Submit) id h348fILY069119;
	Fri, 4 Apr 2003 10:41:18 +0200 (CEST)
Message-Id: <200304040841.h348fILY069119@rift.ath.cx>
Date: Fri, 4 Apr 2003 10:41:18 +0200 (CEST)
From: David Holm <david@realityrift.com>
Reply-To: David Holm <david@realityrift.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: editors/openoffice (1.0.2) compilation hangs
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50595
>Category:       ports
>Synopsis:       editors/openoffice (1.0.2) compilation hangs
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    openoffice
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 04 00:50:13 PST 2003
>Closed-Date:    Tue Apr 29 06:05:14 PDT 2003
>Last-Modified:  Tue Apr 29 06:05:14 PDT 2003
>Originator:     David Holm
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD rift.ath.cx 4.8-RC FreeBSD 4.8-RC #1: Tue Mar 18 19:01:16 CET 2003 avatar@rift.ath.cx:/usr/obj/usr/src/sys/BRITAIN i386


	
>Description:
I'm trying to upgrade my openoffice 1.0.2-2 to a newer 1.0.2-2 (or rather portupgrade wants to do it).
Some time through the compilation it just hangs and top tells me that saxparser is using 97.5% CPU. Yesterday I realized it had been running for 45h so I killed the compilation and restarted it, but this morning the same thing had happened.
The last lines to show up during compilation are:
caledata_is_IS.obj
echo dummy remove 
dummy remove
rm -f ../../unxfbsd.pro/misc/localedata_it_CH.cxx
../../unxfbsd.pro/bin/saxparser it_CH it_CH.xml ../../unxfbsd.pro/misc/localedata_it_CH.cxx ../../unxfbsd.pro/bin/applicat.rdb

and if I abort it with ctrl+c it says:
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice/work/oo_1.0.2_src/i18npool/source/localedata_ascii


---* TG_SLO.MK *---

I'm compiling it with gcc32-20030326 (from ports) and with the following flags set in make.conf:

CPUFLAGS?=i686
CFLAGS= -O3 -pipe
CXXFLAGS= ${CFLAGS} -fmemoize-lookups -fsave-memoized

WITHOUT_KDE=true
WITH_HOTSPOT=true
WITH_NATIVE_THREADS=true
WANT_THREADS_SUPPORT=true
WITH_THREADS=true
WITH_TTF_BYTECODE_ENABLED=true


>How-To-Repeat:
I'm not sure how to repeat this as I have installed an older version of 1.0.2 from ports successfully.
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->openoffice 
Responsible-Changed-By: arved 
Responsible-Changed-When: Sat Apr 5 10:39:20 PST 2003 
Responsible-Changed-Why:  
Over to Maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50595 
State-Changed-From-To: open->analyzed 
State-Changed-By: mbr 
State-Changed-When: Sat Apr 5 10:47:18 PST 2003 
State-Changed-Why:  
Unfortunatly this can still happen. I experience it 
with 1 of 100 builds. The problem is buggy locking 
in rtld, which needs to be cleaned up. 

In the meantime just restart the compile and it will 
not hang anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50595 
State-Changed-From-To: analyzed->closed 
State-Changed-By: mbr 
State-Changed-When: Tue Apr 29 06:04:35 PDT 2003 
State-Changed-Why:  
rtld bug. May hopefully change when we use kernel threads. 
Until then we have to live with it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50595 
>Unformatted:
