Re: Trying to build 6177, perl failing
[email protected] Sat, 6 Apr 2013 11:35:28 +0200 (CEST)
| Newsgroups | gmane.comp.security.ipcop.devel |
|---|---|
| Message-ID | <1162749234.17618989.1365240928434.JavaMail.root@zimbra33-e6.priv.proxad.net> |
----- Mail original ----- > De: "Eric Shubert" <[email protected]> > À: [email protected] > Envoyé: Vendredi 5 Avril 2013 20:33:21 > Objet: [IPCop-devel] Trying to build 6177, perl failing > > I'm attempting to build v6177 (should be 2.0.6 if I'm not mistaken) on a > COS6 host. I've gotten over several hurdles, but I'm stuck on perl now. > I ran ./make.sh gettoolchain, so perl wasn't built in that phase. > > The make.sh is choking at "chroot_make perl", with the following > error: > > + cd /usr/src/lfs > + make -f perl LFS_BASEDIR=/usr/src install > ====================================== Installing perl-5.10.1 ... > Install started; saving file list to /usr/src/lsalr ... > cd /usr/src/perl-5.10.1 && tar zxf /usr/src/cache/ > tar (child): /usr/src/cache/: Cannot read: Is a directory > tar (child): At beginning of tape, quitting now > tar (child): Error is not recoverable: exiting now > > gzip: stdin: unexpected end of file > tar: Child returned status 2 > tar: Error is not recoverable: exiting now > make: *** [/usr/src/files_i486/02_base/perl-5.10.1] Error 2 > > Any help would be greatly appreciated. > I'll continue to learn what that script's doing in the meantime. > Thanks. > > -- > -Eric 'shubes' > It is very strange that the build fail so late. Why the missing perl_5.10.1-17squeeze2.debian.tar.gz was not picked by lfsmakecommoncheck? make md5 should have failed for lfs/perl. Don't you hack the build, trying to hide(fix) the missing file? If I build tags/release-2.0.3 without perl_5.10.1-17squeeze2.debian.tar.gz in cache, I have this error perl [ 5.10.1 ] ERROR: Download error in perl [ FAIL ] Check <mypath>/tags/release-2.0.3/log_i486/_build_00_preparation.log for errors if applicable and _build_00_preparation.log show perl Download: http://http.us.debian.org/debian/pool/main/p/perl/perl_5.10.1-17squeeze2.debian.tar.gz http://http.us.debian.org/debian/pool/main/p/perl/perl_5.10.1-17squeeze2.debian.tar.gz: 2013-04-06 11:04:30 ERROR 404: Not Found. If you didn't hack the build, that may be the hard to trigger bash bug we suffer since some time. debian bash-4.1.5(1)-release (32bits) suffer from this issue. Randomly, make.sh may fail, sometime on impossible issue like grep -q '^download' ${1}) not matching on the lfs script that is build. I wan't able to trigger that bug on opensus-1.12.3 (64bits), I don't know yet if this is the bash version change or 32/64 bits that solve the issue. I was able to reliabily trigger that issue on the debian machine (v6) after a full build using: for i in $(seq 1 20); do sudo rm files_i486/03*/squid-3.1.2*; ./make.sh build; echo "$?:$i" >>failure.log; done 2.0.6 is not easy to build. You need to checkout the full tree and build from the last tag (release-2.0.3), not from the trunk svn checkout https://ipcop.svn.sourceforge.net/svnroot/ipcop/ipcop cd ipcop/tags/release-2.0.3 You should be able to build from that place. Here, you should try ./make.sh prefetch I should say I have a link for cache and ccache to the usual tree to avoid loading each time every package for each new tag. Some package will miss like the debian diff that have been updated and perl is in that case. lsof has to be loaded from OLD directory and from tar.gz I have this diff under my tags/release-2.0.3 tree Index: lfs/lsof =================================================================== --- lfs/lsof (révision 6951) +++ lfs/lsof (copie de travail) @@ -38,8 +38,8 @@ OTHER_SRC = yes THISAPP = $(PKG_NAME)_$(VER) -DL_FILE = $(THISAPP).tar.bz2 -DL_FROM = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof +DL_FILE = $(THISAPP).tar.gz +DL_FROM = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) @@ -55,7 +55,7 @@ $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = a09326df500ef7e4550af546868338d6 +$(DL_FILE)_MD5 = 6dae655988c810a7042c06a4e2fa3c5f Gilles ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ IPCop-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ipcop-devel