NetBSD Problem Report #15648

Received: (qmail 18763 invoked from network); 18 Feb 2002 02:48:21 -0000
Message-Id: <20020218024819.8C78D9745@pc1.whooppee.com>
Date: Sun, 17 Feb 2002 18:48:19 -0800 (PST)
From: paul@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@gnats.netbsd.org
Subject: misc/openoffice fails to build
X-Send-Pr-Version: 3.95

>Number:         15648
>Category:       pkg
>Synopsis:       misc/openoffice fails to build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    mrauch
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 18 02:49:00 +0000 2002
>Closed-Date:    Thu Mar 07 13:00:47 +0000 2002
>Last-Modified:  Wed May 13 13:33:37 +0000 2015
>Originator:     Paul Goyette
>Release:        NetBSD 1.5ZA (approx. 1 Feb 2002)
>Organization:
----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | 9DC5 05CF 1AE7 DC42 CCC6 |  paul@whooppee.com   |
|  & World Cruiser | 6858 051E 7AD2 A6B2 4954 | pgoyette@juniper.net |
----------------------------------------------------------------------
>Environment:
System: NetBSD pc1.whooppee.com 1.5ZA NetBSD 1.5ZA (PC1) #12: Mon Feb 4 17:17:31 PST 2002 paul@pc1.whooppee.com:/usr/src/sys/arch/i386/compile/PC1 i386
Architecture: i386
Machine: i386
>Description:
	misc/openoffice fails to "make install".

------------------------------
Making: ../unxbsdi.pro/misc/zip641bi.flt
------------------------------
Making Module-Definitionfile : ../unxbsdi.pro/misc/zip641bi.def
just a dummy for UNIX
cp -f /usr/pkgsrc/misc/openoffice/work.i386/oo_641_src/solenv/src/default_description.xml ../unxbsdi.pro/misc/zip_dflt.xml
xml2cmp -func ../unxbsdi.pro/misc/zip_dflt_description.cxx ../unxbsdi.pro/misc/zip_dflt.xml
xml2cmp: Command not found.
dmake:  Error code 1, while making '../unxbsdi.pro/misc/zip_dflt_description.cxx'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /usr/pkgsrc/misc/openoffice/work.i386/oo_641_src/unzip/util
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop.

>How-To-Repeat:
	cd /usr/pkgsrc/misc/openoffice
	make install
>Fix:
	unknown
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->mrauch 
Responsible-Changed-By: mrauch 
Responsible-Changed-When: Mon Feb 18 00:45:57 PST 2002 
Responsible-Changed-Why:  
I'll take care of it. 

From: Michael Rauch <mrauch@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: Re: pkg/15648
Date: Thu, 7 Mar 2002 14:00:25 +0100

 This is a summary of the problem as a several MB large log wouldn't be of
 much use in the database:

 The real problem was a bit earlier here:

 Making: ../unxbsdi.pro/bin/xml2cmp
 unx
 gcc [...]
 ../unxbsdi.pro/obj/main.o: In function `main':
 ../unxbsdi.pro/obj/main.o(.text+0x3d): undefined reference to `_STL::cerr'
 ../unxbsdi.pro/obj/main.o: In function `Do_SingleFileCommandLine(CommandLine con
 st &)':
 ../unxbsdi.pro/obj/main.o(.text+0x116): undefined reference to `_STL::cerr'
 ../unxbsdi.pro/obj/main.o(.text+0x1a4): undefined reference to `_STL::cout'
 ../unxbsdi.pro/obj/main.o: In function `Do_IndexCommandLine(CommandLine const &)
 ':
 ../unxbsdi.pro/obj/main.o(.text+0x318): undefined reference to `_STL::cout'
 [more undefined references ...]

 The problem was caused by the fact that stlport has been compiled with the
 gcc-2.95.2 package which would mangle symbol names with a '.' and not a '$'
 as all other versions of gcc have done and will do. 
 openoffice however has been compiled with the system NEW_TOOLCHAIN gcc
 2.95.3 compiler and so it put a symbol _4_STL$cerr in the newly compiled
 binary but libstlport_gcc.so had only a symbol named _4_STL.cerr and the
 linker reported (correctly) an unresolved symbol error.

 After deinstalling gcc and stlport, reinstalling the gcc-2.95.3 package and
 reinstalling stlport it then compiled.


 Michael

State-Changed-From-To: open->closed 
State-Changed-By: mrauch 
State-Changed-When: Thu Mar 7 05:00:09 PST 2002 
State-Changed-Why:  
Problem solved 

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.