[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bizarre build failure (mclibs) on ia64



On Tue, Jan 08, 2008 at 11:51:18AM -0800, Kevin B. McCarty wrote:
> Hi list,
> 
> I am hoping someone can tell me what may have caused a bizarre build
> failure of "mclibs" source package on ia64 (machine "caballero") --
> build log is here:
> 
> http://buildd.debian.org/build.php?&pkg=mclibs&ver=2006.dfsg.2-3&arch=ia64
> 
> Last few relevant lines of the build log are:
> 
> > g77 strh1b.F
> > Assembler messages:
> > Fatal error: can't create shared/strh1b.o: No such file or directory
> > Failing command: g77 -g -c -O2 -funroll-loops -fPIC -fno-automatic -fno-second-underscore 				-fugly-complex    -I/build/buildd/mclibs-2006.dfsg.2/build/mclibs/pdf -I/build/buildd/mclibs-2006.dfsg.2/src/mclibs/pdf -I/build/buildd/mclibs-2006.dfsg.2/src/mclibs/pdf/spdf -I/build/buildd/mclibs-2006.dfsg.2/src/include  -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX 				-DCERNLIB_QMGLIBC -DCERNLIB_QMLXIA64 				-DCERNLIB_DEBIAN -DDEBIAN_VERSION=\"2006.dfsg.2-3\"   -o shared/strh1b.o /build/buildd/mclibs-2006.dfsg.2/src/mclibs/pdf/spdf/strh1b.F
> > make[5]: *** [shared/strh1b.o] Error 1
> > make[5]: Leaving directory `/build/buildd/mclibs-2006.dfsg.2/build/mclibs/pdf/spdf'
> > make[4]: *** [spdf/shared/objects.list] Error 2
> 
> I can only think of two possible reasons why the assembler might have
> given the above error:
> 
> 1) caballero ran out of disk space on the build partition?  This problem
> never happened before with this package, though.
> 
> 2) caballero runs its builds using parallel invocations of "make".  Is
> this the case?  If this is so, there is some small possibility of a race
> condition in the mclibs build script that could cause the build tree to
> be deleted out from under the building process.
> 
> If case (2) is true, can someone tell me how to force a buildd NOT to
> use parallel make?  I don't think that Cernlib-related packages can
> necessarily be built (even aside from this possible issue) with
> make -j2.
> 
> If neither (1) nor (2) are the case, what on earth happened?
> 
> Please CC me in replies as I'm not subscribed.
> best regards,

A terminated build is the most likely culprit - I've cc'd the buildd maintainer,
who can ask for a retry. However, I tried to build mclibs on my workstation,
and it failed somewhere else:

Linking with cern libraries
-L/space/debian/mclibs-2006.dfsg.2/shlib -L/space/debian/mclibs-2006.dfsg.2/lib -lphtools -lmathlib -lpacklib -lkernlib -llapack -lm -lnsl -lcrypt -ldl -lg2c
g77 -g -o wicot -O2 -funroll-loops -fno-automatic -fno-second-underscore	-fugly-complex     -L/space/debian/mclibs-2006.dfsg.2/src/lib wicoex.o      `cernlib -dy packlib phtools`  \
     || rm -f wicot
Testing phtools
  ... using wicot
  Winston Cone LENGTH =  19.165446
  photon transmitted - IERR=0
  output coordinate -0.150739834  0.310958019
  output direction  0.150026163 -0.966344401 -0.208975238
  total path length  19.6260246
  total number of bounces 2
Test result = 0
make[3]: Leaving directory `/space/debian/mclibs-2006.dfsg.2/build/phtools/wicoexam'
make[2]: Leaving directory `/space/debian/mclibs-2006.dfsg.2/build/phtools'
*** Failed test suite!!! ***
make[1]: *** [stampdir/cernlib-test-pass] Error 1
make[1]: Leaving directory `/space/debian/mclibs-2006.dfsg.2'
make: *** [build-arch] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2


-- 
dann frazier


Reply to: