Skip Menu |

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 62597
Status: resolved
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: daryllyn [...] daryllynpublishing.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.97
  • 0.99
Fixed in: (no value)



Desired Outcome: Compile (and run) Zimbra Collaboration Suite Open Source Edition (GNR- 608) in Debian 5 ("Lenny") CHROOT build environment. compiling ZCS OSE Requires (among other things): perl Module: 'Net::Server' To reach my current state, I took the following steps: 1. Clean Install of Arch Linux from Arch2010 source disk to a Celeron 2.4gHz w/ 512physical ram, and 6GB swap 2. Build and install debootstrap-1.0.25-1-i686 3. run debootstrap for Lenny with build variant 4. chroot into new environment (note: to make mounts and such work, I had to run the following:) arch-jpj5:~# mount proc -t proc /proc arch-jpj5:~# ln -sf /proc/mounts /etc/mtab arch-jpj5:~# mount devpts -t devpts /dev/pts (also updated sources.list) 5. Update CPAN: arch-jpj5:~# cpan (use default setup) cpan[1]> install CPAN cpan[2]> install YAML cpan[3]> exit 6. Reset root .cpan arch-jpj5:~# mv /root/.cpan /root/root.cpan~real 7. Attempt Zimbra OSE compile, runs fine until: "Compiling perl lib Net::Server ...", which hangs for a long time. (I waited until 8h46m idle on the 'w' command) 8. Try installing Net::Server manually. arch-jpj5:~# cpan cpan[1]> install Net::Server {gets stuck at point in: cpan-Net_Server-tServer_BASE--HUNGHERE.txt) TO SOLVE, I HAVE TRIED: 1. Googling: Found same issue in 2008 with 0.97 at (http://www.eflo.net/VICIDIALforum/viewtopic.php? t=5710&highlight=&sid=97b73f2442ca55a79a921f958f24b7d1) no resolution Found patches on this site. See #2 below. 2. Patching Applied both patches to HTTP.pm and SSL.pm Same result. 3. Hacking Examined t/Server_BASE.t Calls for "IO::Socket", so I manually installed this first. Same Result. Could be firewall issue? (I see several calls for the loopback device) I disconnected from internet, and '/etc/rc.d/iptables stop' on the host Arch machine (outside of debian build environment) Mostly Same Result. (got an extra pause at t/Server_BASE.............NOK 3/6 , but it still hung at t/Server_BASE.............NOK 6/6 ) ifconfig indicates that the loopback device is up and passing packets considering a 'force' install, but being as the test hangs indefinitely, I am not hot on the idea of having this happen at a random point while Zimbra is running 4. Installing Legacy Version Tried v0.97 Same Result. 5. Bug Reporting well, here I am. Distribution: Net_Server-0.99 (and 0.97) perl version: 'This is perl, v5.10.0 built for i486-linux-gnu-thread- multi' uname -a: 'Linux arch-jpj5 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 07:17:20 UTC 2010 i686 GNU/Linux' (which is outside of the debian chroot, but returns this value inside and out) Don't have a real clue about what is going on, so I have not tried writing a patch for it.
Subject: cpan-Net_Server-tServer_BASE--HUNGHERE.txt
arch-jpj5:~/.cpan/build/Net-Server-0.99-xpIxMj# cpan Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. cpan[1]> install Net::Server CPAN: Storable loaded ok (v2.18) Going to read '/root/.cpan/Metadata' Database was generated on Sun, 31 Oct 2010 14:45:09 GMT CPAN: YAML loaded ok (v0.72) Going to read 2 yaml files from /root/.cpan/build/ CPAN: Time::HiRes loaded ok (v1.9711) DONE Restored the state of none (in 0.4321 secs) Running install for module 'Net::Server' Running make for R/RH/RHANDOM/Net-Server-0.99.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.012) Checksum for /root/.cpan/sources/authors/id/R/RH/RHANDOM/Net-Server-0.99.tar.gz ok Scanning cache /root/.cpan/build for sizes ............................................................................DONE CPAN: Archive::Tar loaded ok (v1.38) Will not use Archive::Tar, need 1.00 Net-Server-0.99/ Net-Server-0.99/t/ Net-Server-0.99/t/Server_BASE.t Net-Server-0.99/t/Server_INET.t Net-Server-0.99/t/Server_MultiType.t Net-Server-0.99/t/Server_PreFork.t Net-Server-0.99/t/Server_Multiplex.t Net-Server-0.99/t/Server_PreForkSimple.t Net-Server-0.99/t/Options.t Net-Server-0.99/t/UDP_test.t Net-Server-0.99/t/Server_Single.t Net-Server-0.99/t/Port_Configuration.t Net-Server-0.99/t/Server_http.t Net-Server-0.99/t/UNIX_test.t Net-Server-0.99/t/Options.t.conf Net-Server-0.99/t/Server_Fork.t Net-Server-0.99/lib/ Net-Server-0.99/lib/Net/ Net-Server-0.99/lib/Net/Server.pod Net-Server-0.99/lib/Net/Server.pm Net-Server-0.99/lib/Net/Server/ Net-Server-0.99/lib/Net/Server/HTTP.pm Net-Server-0.99/lib/Net/Server/MultiType.pm Net-Server-0.99/lib/Net/Server/Daemonize.pm Net-Server-0.99/lib/Net/Server/Proto/ Net-Server-0.99/lib/Net/Server/Proto/UDP.pm Net-Server-0.99/lib/Net/Server/Proto/UNIX.pm Net-Server-0.99/lib/Net/Server/Proto/SSL.pm Net-Server-0.99/lib/Net/Server/Proto/TCP.pm Net-Server-0.99/lib/Net/Server/Proto/SSLEAY.pm Net-Server-0.99/lib/Net/Server/INET.pm Net-Server-0.99/lib/Net/Server/Multiplex.pm Net-Server-0.99/lib/Net/Server/PreForkSimple.pm Net-Server-0.99/lib/Net/Server/Fork.pm Net-Server-0.99/lib/Net/Server/SIG.pm Net-Server-0.99/lib/Net/Server/PreFork.pm Net-Server-0.99/lib/Net/Server/Single.pm Net-Server-0.99/lib/Net/Server/Proto.pm Net-Server-0.99/Changes Net-Server-0.99/examples/ Net-Server-0.99/examples/udp_server.pl Net-Server-0.99/examples/connection_test.pl Net-Server-0.99/examples/sigtest.pl Net-Server-0.99/examples/httpd Net-Server-0.99/examples/samplechat.pl Net-Server-0.99/examples/LoadTester.pl Net-Server-0.99/Makefile.PL Net-Server-0.99/MANIFEST Net-Server-0.99/README Net-Server-0.99/META.yml Net-Server-0.99/MANIFEST.SKIP CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build R/RH/RHANDOM/Net-Server-0.99.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Net::Server cp lib/Net/Server/Proto/UNIX.pm blib/lib/Net/Server/Proto/UNIX.pm cp lib/Net/Server/Proto/UDP.pm blib/lib/Net/Server/Proto/UDP.pm cp lib/Net/Server/PreFork.pm blib/lib/Net/Server/PreFork.pm cp lib/Net/Server/Proto/SSL.pm blib/lib/Net/Server/Proto/SSL.pm cp lib/Net/Server.pm blib/lib/Net/Server.pm cp lib/Net/Server/Proto/TCP.pm blib/lib/Net/Server/Proto/TCP.pm cp lib/Net/Server/SIG.pm blib/lib/Net/Server/SIG.pm cp lib/Net/Server/Proto/SSLEAY.pm blib/lib/Net/Server/Proto/SSLEAY.pm cp lib/Net/Server/MultiType.pm blib/lib/Net/Server/MultiType.pm cp lib/Net/Server/Fork.pm blib/lib/Net/Server/Fork.pm cp lib/Net/Server/INET.pm blib/lib/Net/Server/INET.pm cp lib/Net/Server/Multiplex.pm blib/lib/Net/Server/Multiplex.pm cp lib/Net/Server.pod blib/lib/Net/Server.pod cp lib/Net/Server/Daemonize.pm blib/lib/Net/Server/Daemonize.pm cp lib/Net/Server/PreForkSimple.pm blib/lib/Net/Server/PreForkSimple.pm cp lib/Net/Server/Proto.pm blib/lib/Net/Server/Proto.pm cp lib/Net/Server/Single.pm blib/lib/Net/Server/Single.pm cp lib/Net/Server/HTTP.pm blib/lib/Net/Server/HTTP.pm Manifying blib/man3/Net::Server::Proto::UDP.3pm Manifying blib/man3/Net::Server::Proto::UNIX.3pm Manifying blib/man3/Net::Server::PreFork.3pm Manifying blib/man3/Net::Server::Proto::SSL.3pm Manifying blib/man3/Net::Server::Proto::TCP.3pm Manifying blib/man3/Net::Server::Proto::SSLEAY.3pm Manifying blib/man3/Net::Server::MultiType.3pm Manifying blib/man3/Net::Server::SIG.3pm Manifying blib/man3/Net::Server::INET.3pm Manifying blib/man3/Net::Server::Fork.3pm Manifying blib/man3/Net::Server::Multiplex.3pm Manifying blib/man3/Net::Server.3pm Manifying blib/man3/Net::Server::Daemonize.3pm Manifying blib/man3/Net::Server::PreForkSimple.3pm Manifying blib/man3/Net::Server::Proto.3pm Manifying blib/man3/Net::Server::Single.3pm Manifying blib/man3/Net::Server::HTTP.3pm RHANDOM/Net-Server-0.99.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Options.................ok t/Port_Configuration......ok t/Server_BASE.............NOK 6/6
Subject: patchedish but not fixed
From: daryllyn [...] daryllynpublishing.com
In a chroot environment (and a few other scenarios), the loopback device may be kinda messed up. There was no /etc/hosts file and no 'lo' interface defined in /etc/network/interfaces It was creating the hosts file that made the install work, but I had also fixed the /etc/network/interfaces file before that step, so I do not know exactly which one fixed it, but those 2 steps are all I changed between previous post and now. (ie, /etc/network/interfaces was not enough by itself. This fixed it for me: arch-jpj5:/# echo 'auto lo'>>/etc/network/interfaces arch-jpj5:/# echo 'iface lo inet loopback'>>/etc/network/interfaces arch-jpj5:/# ifup lo arch-jpj5:/# echo '127.0.0.1 localhost.localdomain localhost arch-jpj5 arch-jpj5' > /etc/hosts I still call it a critical bug because the make tests should be able to tell that there is a problem rather than just hang for over 8hours.
All of the tests in the new 2.000 version will attempt to timeout after a few seconds. Thank you for the report. Paul On Sun Oct 31 15:47:21 2010, DarylLyn wrote: Show quoted text
> In a chroot environment (and a few other scenarios), the loopback device > may be kinda messed up. > There was no /etc/hosts file and no 'lo' interface defined in > /etc/network/interfaces > > It was creating the hosts file that made the install work, but I had > also fixed the /etc/network/interfaces file before that step, so I do > not know exactly which one fixed it, but those 2 steps are all I changed > between previous post and now. (ie, /etc/network/interfaces was not > enough by itself. > > This fixed it for me: > > arch-jpj5:/# echo 'auto lo'>>/etc/network/interfaces > arch-jpj5:/# echo 'iface lo inet loopback'>>/etc/network/interfaces > arch-jpj5:/# ifup lo > arch-jpj5:/# echo '127.0.0.1 localhost.localdomain localhost arch-jpj5 > arch-jpj5' > /etc/hosts > > I still call it a critical bug because the make tests should be able to > tell that there is a problem rather than just hang for over 8hours.