monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] 0.18 "monotone: warning: bad server signature"


From: Nick Brown
Subject: Re: [Monotone-devel] 0.18 "monotone: warning: bad server signature"
Date: Wed, 13 Apr 2005 15:57:00 +0100
User-agent: KMail/1.7.1

I had to remove -fomit-frame-pointer and add -fno-strict-aliasing to get it to 
work.

Thanks,
Nick

--- monotone.spec~      2005-04-13 15:51:12.703389784 +0100
+++ monotone.spec       2005-04-13 15:52:48.101887008 +0100
@@ -1,6 +1,6 @@
 %define name    monotone
 %define version 0.18
-%define release 1mdk
+%define release 2mdk
 %define summary A distributed version control tool


@@ -27,6 +27,9 @@
 %setup -q

 %build
+# crypto library in monotone is sensitive to optimisation flags.
+CFLAGS="`echo %optflags | sed -e 's/-fomit-frame-pointer//'` 
-fno-strict-aliasing"
+CXXFLAGS="`echo %optflags | sed -e 's/-fomit-frame-pointer//'` 
-fno-strict-aliasing"
 %configure
 %make

@@ -51,6 +54,9 @@
 %doc AUTHORS COPYING NEWS README

 %changelog
+* Mon Apr 13 2005 Nick Brown <address@hidden> 0.18-2mdk
+- Make monotone actually work
+
 * Tue Apr 12 2005 Lenny Cartier <address@hidden> 0.18-1mdk
 - 0.18


On Wednesday 13 Apr 2005 14:04, Nick Brown wrote:
> On Wednesday 13 Apr 2005 02:43, Matt Johnston wrote:
> > On Tue, Apr 12, 2005 at 07:20:39PM +0100, Nick Brown wrote:
> > > I've just build 0.18, but I can't pull from monotone server as I'm
> > > getting "bad server signature" warning. Below are the commands I issued
> > > with their debug output.
> > > I've also attached the build log generated by rpm while creating the
> > > package. It contains a lot of linker messages, and a strange warning
> > > about > GCC 3.3 required for sse2, despite that fact I'm using
> > > gcc3.4.3.
> > >
> > > The FLAGS and configure options used to build rpm were;
> > >
> > > + CXXFLAGS='-O2 -fomit-frame-pointer -pipe -march=i586
> > > -mtune=pentiumpro ' + export CXXFLAGS
> >
> > The cryptopp library that monotone depends on does some
> > strange things with casting etc. If you add
> > -fno-strict-aliasing to your CXXFLAGS incantation, does it
> > help?
>
> It would appear not;
>
> address@hidden SPECS]$rpmbuild -ba monotone.spec
> Executing(%prep): /bin/sh -e /home/nicbrown/rpm/tmp/rpm-tmp.23620
> + umask 022
> + cd /home/nicbrown/rpm/BUILD
> + cd /home/nicbrown/rpm/BUILD
> + rm -rf monotone-0.18
> + /usr/bin/bzip2 -dc /home/nicbrown/rpm/SOURCES/monotone-0.18.tar.bz2
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd monotone-0.18
> + exit 0
> Executing(%build): /bin/sh -e /home/nicbrown/rpm/tmp/rpm-tmp.27393
> + umask 022
> + cd /home/nicbrown/rpm/BUILD
> + cd monotone-0.18
> + CFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro 
> -fno-strict-aliasing + CXXFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586
> -mtune=pentiumpro  -fno-strict-aliasing + CONFIGURE_TOP=.
> + CFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro 
> -fno-strict-aliasing + export CFLAGS
> + CXXFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro 
> -fno-strict-aliasing + export CXXFLAGS
> + FFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro
> + export FFLAGS
> + cputoolize -c .
> + cd .
> + '[' -f configure.in -o -f configure.ac ']'
> + libtoolize --copy --force
> Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.
> Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
> You should update your `aclocal.m4' by running aclocal.
> + ./configure i586-mandrake-linux-gnu --program-prefix= --prefix=/usr
> --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
> --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
> --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com
> --mandir=/usr/share/man --infodir=/usr/share/info --with-bundled-sqlite
> --with-bundled-lua --enable-static-boost
>
> <snip>
>
>
> address@hidden Software]$ monotone --db=monotone.db db init
> address@hidden Software]$ monotone --db=monotone.db pull off.net
> net.venge.monotone monotone: setting default server to off.net
> monotone: setting default collection to net.venge.monotone
> monotone: warning: doing anonymous pull
> monotone: connecting to off.net
> monotone: rebuilding merkle trees for collection net.venge.monotone
> monotone: warning: first time connecting to server off.net; authenticity
> can't be established monotone: warning: their key is
> 70a0f283898a18815a83df37c902e5f1492e9aa2 monotone: warning: saving public
> key for address@hidden to database monotone: [bytes in: 345] [bytes out:
> 47] [certs in: 0] [revs in: 0] monotone: warning: bad server signature
> monotone: terminated exchange with off.net
>
> Any further suggestions?
>
> Cheers,
> Nick




reply via email to

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