Subject: pkg/33389: devel/ddd build fails early on NetBSD/mac68k 2.1
To: None <,,>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: pkgsrc-bugs
Date: 04/29/2006 23:20:01
>Number:         33389
>Category:       pkg
>Synopsis:       devel/ddd build fails early on NetBSD/mac68k 2.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 29 23:20:00 +0000 2006
>Originator:     Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>Release:        NetBSD 2.1_STABLE
System: NetBSD q700 2.1_STABLE NetBSD 2.1_STABLE (FG54) #1: Wed Jan 18 19:29:48 CET 2006 hauke@q700:/usr/src/sys/arch/mac68k/compile/FG54 mac68k
Architecture: m68k
Machine: mac68k

	An attempt to build devel/ddd on a mac68k running NetBSD 2.1
	fails shortly after the configure phase with

if c++ -DHAVE_CONFIG_H -I. -I. -I.  -I./.. -isystem /usr/X11R6/include -I/usr/pkg/include -I/usr/X11R
6/include  -O2  -Wall -W -Wwrite-strings -I/usr/pkg/include -I/usr/X11R6/include -trigraphs  -MT ddd.
o -MD -MP -MF ".deps/ddd.Tpo" -c -o ddd.o ddd.C; \
then mv -f ".deps/ddd.Tpo" ".deps/ddd.Po"; else rm -f ".deps/ddd.Tpo"; exit 1; fi
In file included from /usr/include/g++/bits/fpos.h:45,
                 from /usr/include/g++/iosfwd:49,
                 from /usr/include/g++/ios:44,
                 from /usr/include/g++/ostream:45,
                 from /usr/include/g++/iostream:45,
                 from strclass.h:409,
                 from ddd.h:32,
                 from ddd.C:135:
/usr/include/g++/cwchar:71: error: `mbstate_t' not declared

	Please pick up the full build logs from


	Attempt to build ddd on a netbsd-2 mac68k machine (I have not
	tested other architectures). Watch it fail.

	None. Since the build complains about a missing typedef, most
	likely gnuconfigure gets things wrong.