On x86, If I compile openssl-0.9.8g that does have a route to the internet, but the internet is unreachable (such a PC connected to a powered off router through an ethernet interface), emerging takes AGES since at some point it will start making dozens of attempts to connect to the internet, waiting a lot of time for each one to time out. expected result: emerge shouldn't require internet availability.
*(In reply to comment #0) > On x86, If I compile openssl-0.9.8g that does have a route to the internet, typo: "...ON A PC that does have a route to..."
no real info here ... you cant just say "it takes ages" without providing any real information look at the build output and the process list ... *what* takes ages i just built it on a box with no networking and it built fine
it's not with "no networking", it's with a physically not connected network. it's different. 1)have a working connection to the internet via an ethernet interface 2)remove the ethernet cable. now, if you'll do "ping www.kernel.org" or whatever, it will wait indefinitely (instead of just saying "no route to host"). 3)emerge openssl emerge gets stuck at this point: [...] test sslv2 with server authentication Available compression methods: 1: zlib compression [wait some secs] server authentication depth=1 /C=AU/O=Dodgy Brothers/CN=Dodgy CA depth=0 /C=AU/O=Dodgy Brothers/CN=Brother 1/CN=Brother 2 SSLv2, cipher SSLv2 DES-CBC3-MD5, 512 bit RSA 1 handshakes of 256 bytes done test sslv2 with client authentication Available compression methods: 1: zlib compression client authentication [wait some secs] depth=1 /C=AU/O=Dodgy Brothers/CN=Dodgy CA depth=0 /C=AU/O=Dodgy Brothers/CN=Brother 1/CN=Brother 2 SSLv2, cipher SSLv2 DES-CBC3-MD5, 512 bit RSA 1 handshakes of 256 bytes done test sslv2 with both client and server authentication Available compression methods: 1: zlib compression client authentication server authentication [wait some secs] depth=1 /C=AU/O=Dodgy Brothers/CN=Dodgy CA depth=0 /C=AU/O=Dodgy Brothers/CN=Brother 1/CN=Brother 2 depth=1 /C=AU/O=Dodgy Brothers/CN=Dodgy CA depth=0 /C=AU/O=Dodgy Brothers/CN=Brother 1/CN=Brother 2 SSLv2, cipher SSLv2 DES-CBC3-MD5, 512 bit RSA 1 handshakes of 256 bytes done test sslv3 Available compression methods: 1: zlib compression [wait some secs] SSLv3, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 512 bit RSA 1 handshakes of 256 bytes done test sslv3 with server authentication Available compression methods: 1: zlib compression server authentication [etc. it goes on maybe for hours]
the kerberos code insists on doing dns lookups on your hostname while running the tests i can drop the src_test() forcing now, but i'm not going to disable tests completely ... so if you have FEATURES=test, your system will still take a while as each dns lookup times out