From nobody@FreeBSD.org  Tue Apr 24 04:39:22 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 0F14737B43C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Apr 2001 04:39:22 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f3OBdLL35269;
	Tue, 24 Apr 2001 04:39:21 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200104241139.f3OBdLL35269@freefall.freebsd.org>
Date: Tue, 24 Apr 2001 04:39:21 -0700 (PDT)
From: gabriel_ambuehl@buz.ch
To: freebsd-gnats-submit@FreeBSD.org
Subject: STLport is broken (libstdc++ probably as well)
X-Send-Pr-Version: www-1.0

>Number:         26814
>Category:       ports
>Synopsis:       STLport is broken (libstdc++ probably as well)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 24 04:40:01 PDT 2001
>Closed-Date:    Fri May 25 03:14:09 PDT 2001
>Last-Modified:  Tue Aug  7 20:40:02 PDT 2001
>Originator:     Gabriel Ambuehl
>Release:        4.3 RC#5
>Organization:
>Environment:
FreeBSD local.root.li 4.3-RC FreeBSD 4.3-RC #5: Tue Apr  3 22:28:52 CEST 2001     root@local.root.li:/home/obj/usr/src/sys/triligon  i386

>Description:
I wanted to compile a program which uses the STL template wstring but unfortunately, that one is commented out in /usr/include/g++/string (which brings me to the idea that this is probably not standard compliant?). So I thought I could fix this by installing the STLport but that one is broken:

root@local 13:36:41 /usr/ports/devel/stlport $ make
===>  Building for stlport-4.0
rm -rf obj/GCCi386/Release obj/GCCi386/Debug \
        obj/GCCi386/DebugSTL obj/GCCi386/ReleaseD \
        obj/GCCi386/DebugD obj/GCCi386/DebugSTLD SunWS_cache Templates.DB tempinc
mkdir -p obj/GCCi386/ReleaseD
c++ -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -O2 -fPIC dll_main.cpp -c -o obj/GCCi386/ReleaseD/dll_main.o
In file included from ../stlport/stl/_alloc.h:68,
                 from ../stlport/memory:28,
                 from dll_main.cpp:5:
../stlport/new:47: ../include/new: No such file or directory
gmake: *** [obj/GCCi386/ReleaseD/dll_main.o] Error 1
*** Error code 2

Stop in /usr/ports/devel/stlport.
*** Error code 1

Stop in /usr/ports/devel/stlport.
*** Error code 1

>How-To-Repeat:
cd /usr/ports/devel/stlport
make

>Fix:
Fixing libstdc++ would probably be the better approach (if there aren't any serious reasons why wstring shouldn't work on FreeBSD).
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien 
Responsible-Changed-By: okazaki 
Responsible-Changed-When: Mon May 21 03:55:54 PDT 2001 
Responsible-Changed-Why:  
over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=26814 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Fri May 25 03:14:09 PDT 2001 
State-Changed-Why:  

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=26814 

From: Brian Behlendorf <brian@hyperreal.org>
To: <freebsd-gnats-submit@FreeBSD.org>, <gabriel_ambuehl@buz.ch>,
	<obrien@freebsd.org>
Cc:  
Subject: Re: ports/26814: STLport is broken (libstdc++ probably as well)
Date: Tue, 7 Aug 2001 20:33:49 -0700 (PDT)

 I'm curious as to why this PR was marked "closed" when the port is still
 marked as broken.  I didn't see any other PR related to stlport.
 
 The patch suggested at
 http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=1540155+1542389+/usr/local/www/db/text/2001/freebsd-ports/20010624.freebsd-ports
 appears to fix the compile problem reported in this PR.  I am not clueful
 enough about stlport to know whether it means the port works flawlessly,
 but it probably could be unmarked as broken.
 
 	Brian
 
 
 
>Unformatted:
