monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: cannot compile monotone after your netsync chan


From: Jordan Breeding
Subject: Re: [Monotone-devel] Re: cannot compile monotone after your netsync changes
Date: Sat, 04 Jun 2005 13:26:09 -0500

Sorry if the list gets this twice. I sent this once earlier today and then realized I had forgotten to subscribe to the list first.

On Saturday, June 04, 2005, at 01:12PM, Matt Johnston <address@hidden> wrote:

On Thu, Jun 02, 2005 at 02:13:17PM -0500, Timothy Brownawell wrote:


On Thu, 2005-06-02 at 08:36 -0500, Jordan Breeding wrote:


Hello,

I just recently updated my monotone repo and tried to recompile. Your regex changes seem to have broken my compiler. I know that a few days ago I was able to compile all of monotone so I don't think that it is the compiler.




Those errors are all from packet.cc:1426, in extract_packets. That
function hasn't been touched since January.

1425:  string const biggie = (data + "|" + delta + "|" + cert + "|" +
keydata);
1426:  regex expr(biggie);

This shouldn't be breaking. I'm sending this to the list, IIRC there was
some mention of Apple GCC 4 having problems?



This compiles here with Apple's gcc 4, against boost 1.32.0.
However the gcc version here is
gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)
from a standard 10.4 install. Are you using a pre-release
version or something?

Note that while packet.cc compiles fine, the whole binary
fails at runtime running genkey - I'm fairly sure it's a bug
with the 4061 compiler and I've filed a bug report with
Apple. For now I'm sticking with 3.3, as even the plain C
compiler portion of apple gcc4 4061 has bugs.

Matt






I just tried rebuilding boost and monotone with the latest gcc from Apple (released today) in Xcode v2.1:

1 address@hidden ~ > gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure -- disable-checking --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/ s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ -- build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 -- target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)

but I still get the same error during building monotone:

if g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. - I. -I. -I../boost_1_32_0 -I/usr/local/include -I./lua -I./sqlite - DNDEBUG -DBOOST_DISABLE_THREADS -Wall -O3 -pipe -mcpu=7450 -MT monotone-packet.o -MD -MP -MF ".deps/monotone-packet.Tpo" -c -o monotone-packet.o `test -f 'packet.cc' || echo './'`packet.cc; \ then mv -f ".deps/monotone-packet.Tpo" ".deps/monotone-packet.Po"; else rm -f ".deps/monotone-packet.Tpo"; exit 1; fi ../boost_1_32_0/boost/regex/v4/regex_compile.hpp: In member function 'boost::re_detail::re_syntax_base* boost::reg_expression<charT, traits, Allocator>::compile_set_simple (boost::re_detail::re_syntax_base*, long unsigned int, bool) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]': ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1635: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const std::basic_string<charT, ST, SA>&, boost::regex_constants::syntax_option_type) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from 'boost::reg_expression<charT, traits, Allocator>::reg_expression (const std::basic_string<charT, ST, SA>&, boost::regex_constants::syntax_option_type, const Allocator&) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const std::basic_string<charT, ST, SA>&, typename boost::reg_expression<charT, traits, Allocator>::flag_type, const Allocator&) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]'
packet.cc:1426:   instantiated from here
../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp: In member function 'boost::re_detail::re_syntax_base* boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]': ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1848: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const std::basic_string<charT, ST, SA>&, boost::regex_constants::syntax_option_type) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from 'boost::reg_expression<charT, traits, Allocator>::reg_expression (const std::basic_string<charT, ST, SA>&, boost::regex_constants::syntax_option_type, const Allocator&) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const std::basic_string<charT, ST, SA>&, typename boost::reg_expression<charT, traits, Allocator>::flag_type, const Allocator&) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]'
packet.cc:1426:   instantiated from here
../boost_1_32_0/boost/regex/v4/regex_compile.hpp:799: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:799: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:807: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:807: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:807: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:807: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1848: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const std::basic_string<charT, ST, SA>&, boost::regex_constants::syntax_option_type) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from 'boost::reg_expression<charT, traits, Allocator>::reg_expression (const std::basic_string<charT, ST, SA>&, boost::regex_constants::syntax_option_type, const Allocator&) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const std::basic_string<charT, ST, SA>&, typename boost::reg_expression<charT, traits, Allocator>::flag_type, const Allocator&) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]'
packet.cc:1426:   instantiated from here
../boost_1_32_0/boost/regex/v4/regex_compile.hpp:918: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:918: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1848: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from 'unsigned int boost::reg_expression<charT, traits, Allocator>::set_expression(const std::basic_string<charT, ST, SA>&, boost::regex_constants::syntax_option_type) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from 'boost::reg_expression<charT, traits, Allocator>::reg_expression (const std::basic_string<charT, ST, SA>&, boost::regex_constants::syntax_option_type, const Allocator&) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]' ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const std::basic_string<charT, ST, SA>&, typename boost::reg_expression<charT, traits, Allocator>::flag_type, const Allocator&) [with ST = std::char_traits<char>, SA = std::allocator<char>, charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]'
packet.cc:1426:   instantiated from here
../boost_1_32_0/boost/regex/v4/regex_compile.hpp:941: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:941: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:952: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:952: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:963: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:963: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:974: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:974: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:985: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:985: error: trying to instantiate 'template<class T> struct boost::is_integral' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1026: error: 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' uses local type 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&, const charT*) [with charT = char, traits = boost::regex_traits<char>, Allocator = std::allocator<char>]::last_type' ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1026: error: trying to instantiate 'template<class T> struct boost::is_integral'
make[2]: *** [monotone-packet.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Jordan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]