monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: Can anyone check for the old ipv6 bug?


From: Henry Nestler
Subject: [Monotone-devel] Re: Can anyone check for the old ipv6 bug?
Date: Fri, 07 Apr 2006 15:49:46 +0200
User-agent: Thunderbird 1.5 (Windows/20051201)

Nathaniel Smith schrieb:
0.25 etc. had a bug where on various old systems that didn't actually
have IPv6 support, 'monotone serve' wouldn't work unless you used
something like 'monotone serve --bind=<an ipv4 address>'.  Can anyone
who used to have this problem confirm that it is fixed with 0.26pre3
or current mainline?

The symptom was the error message:
   monotone: fatal: std::runtime_error: network error: failure from
   socket(2): Address family not supported by protocol
Ideal would be a report from someone who _does_ get this error message
with stock 0.25, on whether the same happens with 0.26pre3...

(Please make sure that you compile 0.26pre3 with --enable-ipv6.)

There is code to fix it, but I'm remembering now that I think someone
said on IRC that it still was broken for them.  It's hard to test
without access to an appropriate system, and no-one seems to have
really commented after the purported fix went in.

I'm use unchanged binary from
http://www.venge.net/monotone/downloads/mtn-0.26pre3-linux-x86.bz2

Running:
mtn-0.26pre3-linux-x86 ... --bind=:55555 serve '*'
monotone: fatal: std::runtime_error: network error: failure from socket(2): Address family not supported by protocol

With IP address:
mtn-0.26pre3-linux-x86 ... --bind=66.36.228.15:55555 serve '*'
monotone: network error: name resolution failure for 66.36.228.15

The same error for --bind=0.0.0.0:55555 and --bind=monotone.colinux.org:55555


http://www.ipd.uni-karlsruhe.de/~moschny/monotone/mtn-0.26pre3-x86-semistatic.bz2
This quasistatic version works on all my tested systems (RH9, SuSE9.0, FC3/4).

On such systems with these problems, I can not run the file mtn-0.26pre3-linux-x86 directly, there are missing some stuff from new GCC 4.x. I have rebuild the GCC and set LD_LIBRARY_PATH to run the Monotone. I think, it is not good handling. I'm would prefer semistatic builds from Moschny as standard linux binary instand the current mtn-0.26pre3-linux-x86.bz2 with depens to libstdc++.so.6 (from GCC 4).


--
Henry Nestler
+ export LC_ALL=en_EN
+ LC_ALL=en_EN
+ export LD_LIBRARY_PATH=/home/henry/i686-gcc402-linux/i686-pc-linux/lib
+ LD_LIBRARY_PATH=/home/henry/i686-gcc402-linux/i686-pc-linux/lib
+ ./mtn-0.26pre3-linux-x86 --debug --norc --db=colinux-testing-pre3.db 
--rcfile=serv_anonymous.lua --bind=:55555 serve '*'
./mtn-0.26pre3-linux-x86: 
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version 
information available (required by ./mtn-0.26pre3-linux-x86)
./mtn-0.26pre3-linux-x86: 
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version 
information available (required by ./mtn-0.26pre3-linux-x86)
./mtn-0.26pre3-linux-x86: 
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version 
information available (required by ./mtn-0.26pre3-linux-x86)
./mtn-0.26pre3-linux-x86: 
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version 
information available (required by ./mtn-0.26pre3-linux-x86)
monotone: started up on Linux 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686
monotone: command line: './mtn-0.26pre3-linux-x86', '--debug', '--norc', 
'--db=colinux-testing-pre3.db', '--rcfile=serv_anonymous.lua', '--bind=:55555', 
'serve', '*'
monotone: set locale: LC_ALL=C
monotone: initial abs path is: /home/henry/mt-0.26
monotone: converting 24 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 7 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 6 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 28 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 27 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 13 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 5 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 1 bytes from ANSI_X3.4-1968 to UTF-8
monotone: initializing from directory /home/henry/mt-0.26
monotone: searching for '_MTN' directory with root '/'
monotone: '_MTN' not found in '/home/henry/mt-0.26' with '' removed
monotone: '_MTN' not found in '/home/henry' with 'mt-0.26' removed
monotone: '_MTN' not found in '/home' with 'henry/mt-0.26' removed
monotone: search for '_MTN' ended at '/' with 'home/henry/mt-0.26' removed
monotone: '/_MTN' does not exist
monotone: opening rcfile 'serv_anonymous.lua' ...
monotone: 'serv_anonymous.lua' is ok
monotone: executing command 'serve'
monotone: reading key dir '/home/henry/.monotone/keys'
monotone: reading keys from file 'henry'
monotone: read keypair data packet
monotone: reading key pair 'henry' from key store
monotone: successfully read key pair 'henry' from key store
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: base64-decoding 969-byte private key
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: loading lua hook get_passphrase
monotone: lua: extracted string = henry
monotone: have 717-byte encrypted private key
monotone: produced 128-byte signature
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: building verifier for 162-byte pub key
monotone: checking 175-byte (128 decoded) signature
monotone: executing SQL 'SELECT sql FROM sqlite_master WHERE (type = 'table' OR 
type = 'index') AND sql IS NOT NULL AND name not like 'sqlite_stat%' ORDER BY 
name'
monotone: result: 0 (not an error)
monotone: prepared statement SELECT 1 FROM revisions LIMIT 1
monotone: binding 0 parameters for SELECT 1 FROM revisions LIMIT 1
monotone: prepared statement SELECT 1 FROM rosters LIMIT 1
monotone: binding 0 parameters for SELECT 1 FROM rosters LIMIT 1
monotone: checked_globish_to_regex: input = '*'
monotone: checked_globish_to_regex: output = '.*'
monotone: statement cache statistics
monotone: prepared 2 statements
monotone: 1 executions of SELECT 1 FROM revisions LIMIT 1
monotone: 1 executions of SELECT 1 FROM rosters LIMIT 1
monotone: fatal: std::runtime_error: network error: failure from socket(2): 
Address family not supported by protocol
monotone: 
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone 
--full-version',
monotone: and a description of what you were doing to address@hidden
monotone: discarding debug log (maybe you want --debug or --dump?)
+ export LC_ALL=en_EN
+ LC_ALL=en_EN
+ export LD_LIBRARY_PATH=/home/henry/i686-gcc402-linux/i686-pc-linux/lib
+ LD_LIBRARY_PATH=/home/henry/i686-gcc402-linux/i686-pc-linux/lib
+ ./mtn-0.26pre3-linux-x86 --debug --norc --db=colinux-testing-pre3.db 
--rcfile=serv_anonymous.lua --bind=66.36.228.15:55555 serve '*'
./mtn-0.26pre3-linux-x86: 
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version 
information available (required by ./mtn-0.26pre3-linux-x86)
./mtn-0.26pre3-linux-x86: 
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version 
information available (required by ./mtn-0.26pre3-linux-x86)
./mtn-0.26pre3-linux-x86: 
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version 
information available (required by ./mtn-0.26pre3-linux-x86)
./mtn-0.26pre3-linux-x86: 
/home/henry/i686-gcc402-linux/i686-pc-linux/lib/libstdc++.so.6: no version 
information available (required by ./mtn-0.26pre3-linux-x86)
monotone: started up on Linux 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686
monotone: command line: './mtn-0.26pre3-linux-x86', '--debug', '--norc', 
'--db=colinux-testing-pre3.db', '--rcfile=serv_anonymous.lua', 
'--bind=66.36.228.15:55555', 'serve', '*'
monotone: set locale: LC_ALL=C
monotone: initial abs path is: /home/henry/mt-0.26
monotone: converting 24 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 7 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 6 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 28 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 27 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 25 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 5 bytes from ANSI_X3.4-1968 to UTF-8
monotone: converting 1 bytes from ANSI_X3.4-1968 to UTF-8
monotone: initializing from directory /home/henry/mt-0.26
monotone: searching for '_MTN' directory with root '/'
monotone: '_MTN' not found in '/home/henry/mt-0.26' with '' removed
monotone: '_MTN' not found in '/home/henry' with 'mt-0.26' removed
monotone: '_MTN' not found in '/home' with 'henry/mt-0.26' removed
monotone: search for '_MTN' ended at '/' with 'home/henry/mt-0.26' removed
monotone: '/_MTN' does not exist
monotone: opening rcfile 'serv_anonymous.lua' ...
monotone: 'serv_anonymous.lua' is ok
monotone: executing command 'serve'
monotone: reading key dir '/home/henry/.monotone/keys'
monotone: reading keys from file 'henry'
monotone: read keypair data packet
monotone: reading key pair 'henry' from key store
monotone: successfully read key pair 'henry' from key store
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: base64-decoding 969-byte private key
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: loading lua hook get_passphrase
monotone: lua: extracted string = henry
monotone: have 717-byte encrypted private key
monotone: produced 128-byte signature
monotone: loading lua hook persist_phrase_ok
monotone: lua: extracted bool = 1
monotone: building verifier for 162-byte pub key
monotone: checking 175-byte (128 decoded) signature
monotone: executing SQL 'SELECT sql FROM sqlite_master WHERE (type = 'table' OR 
type = 'index') AND sql IS NOT NULL AND name not like 'sqlite_stat%' ORDER BY 
name'
monotone: result: 0 (not an error)
monotone: prepared statement SELECT 1 FROM revisions LIMIT 1
monotone: binding 0 parameters for SELECT 1 FROM revisions LIMIT 1
monotone: prepared statement SELECT 1 FROM rosters LIMIT 1
monotone: binding 0 parameters for SELECT 1 FROM rosters LIMIT 1
monotone: checked_globish_to_regex: input = '*'
monotone: checked_globish_to_regex: output = '.*'
monotone: statement cache statistics
monotone: prepared 2 statements
monotone: 1 executions of SELECT 1 FROM revisions LIMIT 1
monotone: 1 executions of SELECT 1 FROM rosters LIMIT 1
monotone: network error: name resolution failure for 66.36.228.15
monotone 0.26pre3 (base revision: b3b3ea3aca4e03267a5487d05f717cea24a521de)

reply via email to

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