Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56541 - IO-Socket-SSL failing to build with error "Address already in use"
Summary: IO-Socket-SSL failing to build with error "Address already in use"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 72648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-09 07:25 UTC by Paul Slinski
Modified: 2005-02-07 03:18 UTC (History)
2 users (show)

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 Paul Slinski 2004-07-09 07:25:38 UTC
When attempting to update spamassassin (and thus IO-Socket) I get the following error when IO-Socket is running it's tests:

Checking if your kit is complete...
Looks good
Writing Makefile for IO::Socket::SSL
cp SSL.pm blib/lib/IO/Socket/SSL.pm
Manifying blib/man3/IO::Socket::SSL.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01loadmodule.....ok
t/02settings.......FAILED--Further testing stopped: Setup of test IO::Socket::INET server failed: Address already in use.  All the rest of the tests in this suite will fail also unless you change the values in ssl_settings.req in the t/ directory.
make: *** [test_dynamic] Error 255

!!! ERROR: dev-perl/IO-Socket-SSL-0.96 failed.
!!! Function perl-module_src_compile, Line 62, Exitcode 2
!!! test failed

I tried shutting down all of the daemons on the machine but nothing seems to help. Is there any way around the test (aside from building it myself) maybe?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.1
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fstack-protector"
DISTDIR="/mnt/data/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.agsn.ca/
http://mirrors.tds.net/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/mnt/data/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/opt/gentoo-rsync/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aalib apache2 berkdb crypt curl fastcgi flash foomaticdb freetds freetype
gd gdbm gmp gtk2 hardened hardenedphp imap innodb java jikes jpeg libg++ libwww
mad mbox mcal motif mpi mssql mysql ncurses oav oci8 odbc offensive pam pdflib
perl pic png pwdb python readline samba sasl slang spell sse ssl tcpd tiff
truetype virus-scan x86 xml2 zlib"
Comment 1 Eric Sammer (RETIRED) gentoo-dev 2004-07-18 19:48:18 UTC
This is usually due to a misconfiguration (or lack of configuration) in /etc/hosts - make sure /etc/hosts (and other common network related files like /etc/resolv.conf) is all setup correctly.
Comment 2 Paul Slinski 2004-08-06 07:09:39 UTC
The machine is not configured any differently than the other machines where this builds correctly.
Comment 3 Malte S. Stretz 2004-08-12 03:41:37 UTC
Sometimes there's more info available if you run the tests with TEST_VERBOSE.

Just cd into the IO-Socket-SSL WORKDIR and issue a 'make test TEST_VERBOSE=1'.
Comment 4 Paul Slinski 2004-08-12 06:45:18 UTC
Thanks much for that tidbit if info.

It was the Sieve mail filter daemon running on lo. IO-Socket-SSL wants ports 2000-2004 on 127.0.0.1 and thus, the test failed. Stopping cyrus solved the puzzle.

Consider this fixed. Thank you very much.
Comment 5 Axel Reimann 2004-09-01 06:12:21 UTC
I wouldn't consider this ebuild fixed, since the proposed
verbose build does not work for me. What is the following
log message supposed to mean?:

IO-Socket-SSL-0.96 # make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/01loadmodule.....1..4
ok 1
ok 2
ok 3
ok 4
ok
t/02settings.......1..1
Bail out! Setup of test IO::Socket::INET server failed: Address already in use. All the rest of the tests in this suite will fail also unless you change the values in ssl_settings.req in the t/ directory.FAILED--Further testing stopped: Setup of test IO::Socket::INET server failed: Address already in use.  All the rest of the tests in this suite will fail also unless you change the values in ssl_settings.req in the t/ directory.
make: *** [test_dynamic] Error 255
Comment 6 Daniel Webert 2004-11-27 10:12:48 UTC
*** Bug 72648 has been marked as a duplicate of this bug. ***
Comment 7 Daniel Webert 2004-11-27 10:18:54 UTC
same prob overhere - blocking daemon net-mail/freepops - what we gonna do about that?
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2005-02-07 03:18:39 UTC
tests disabled.