Date: Wed, 9 Jan 2002 13:42:34 -0500 (EST) From: The Anarcat <anarcat@anarcat.dyndns.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/33737: [patch] mail/althea busts template-depth limit on -stable Message-ID: <20020109184234.5349720AC9@shall.anarcat.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 33737 >Category: ports >Synopsis: [patch] mail/althea busts template-depth limit on -stable >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 09 10:50:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: The Anarcat >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: Nada, Inc. >Environment: System: FreeBSD shall.anarcat.dyndns.org 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #2: Tue Jan 8 01:04:38 EST 2002 anarcat@shall.anarcat.dyndns.org:/usr/obj/usr/src/sys/SHALL i386 recent (0.5.5) althea port >Description: Althea doesn't compile because of gcc's default limits. >How-To-Repeat: # cd /usr/ports/mail/althea && make ... c++ -O -pipe -DPACKAGE=\"althea\" -DDOCDIR=\"/usr/local/share/doc/althea\" -DPIXDIR=\"/usr/local/share/althea\" -DLOCALEDIR=\"/usr/local/share/locale\" -DMAIL_POLL_INTERVAL=60000 `/usr/X11R6/bin/gtk12-config --cflags` -I/usr/include -c save_config.cpp /usr/include/g++/stl_list.h: In method `list<basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> >,allocator<basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> >> > >::list(const >> > >list<basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> >> > >>,allocator<basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> >Fix: patch the Makefile.bsd file in files/: --- files/Makefile.bsd.orig Thu Dec 6 13:21:39 2001 +++ files/Makefile.bsd Thu Dec 6 13:12:24 2001 @@ -12,7 +12,7 @@ MAIL_POLL_INTERVAL = 60000 # Compiled-in pathes: -CXXFLAGS+=-DPACKAGE=\"${PROG}\" -DDOCDIR=\"${DOCDIR}\" -DPIXDIR=\"${PIXDIR}\" -DLOCALEDIR=\"${LOCALEDIR}\" -DMAIL_POLL_INTERVAL=${MAIL_POLL_INTERVAL} +CXXFLAGS+=-ftemplate-depth-30 -DPACKAGE=\"${PROG}\" -DDOCDIR=\"${DOCDIR}\" -DPIXDIR=\"${PIXDIR}\" -DLOCALEDIR=\"${LOCALEDIR}\" -DMAIL_POLL_INTERVAL=${MAIL_POLL_INTERVAL} # Use the GTK's CFLAGS: CXXFLAGS+=`${GTK_CONFIG} --cflags` -I${OPENSSLINC} >Release-Note: >Audit-Trail: >Unformatted: >> > >>> > > &)': /usr/include/g++/stl_list.h:434: template instantiation depth exceeds maximum of 17 /usr/include/g++/stl_list.h:434: (use -ftemplate-depth-NN to increase the maximum) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020109184234.5349720AC9>