Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201054 - dev-libs/openssl src_test does dns lookups when USE=kerberos
Summary: dev-libs/openssl src_test does dns lookups when USE=kerberos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 06:37 UTC by crusaderky
Modified: 2007-12-24 17:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2007-12-03 06:37:17 UTC
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.
Comment 1 crusaderky 2007-12-03 06:38:45 UTC
*(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..."

Comment 2 SpanKY gentoo-dev 2007-12-04 07:20:37 UTC
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
Comment 3 crusaderky 2007-12-05 19:05:50 UTC
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]
Comment 4 SpanKY gentoo-dev 2007-12-24 17:21:57 UTC
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