[M3devel] ignored errors

Olaf Wagner wagner at elegosoft.com
Tue Aug 25 08:00:01 CEST 2009


Quoting Jay K <jay.krell at cornell.edu>:

> http://www.modula3.com:8080/view/SOLgnu/job/cm3-makedist-SOLgnu/11/console
> === package m3-sys/cminstall ===
>  +++ cm3 -build -override $RARGS   
> -DROOT='/home/hudson/workspace/cm3-makedist-SOLgnu/cm3'   
> -DCM3_VERSION_TEXT='5.8.3' -DCM3_VERSION_NUMBER='050803'   
> -DCM3_LAST_CHANGED='2009-08-22'  +++
> /bin/sh:   
> /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/m3-tools/m3bundle/SOLsun/m3bundle: not   
> found
> "/home/hudson/workspace/cm3-makedist-SOLgnu/cm3/m3-libs/libm3/src/bundleintf/bundle.tmpl", line 53: quake runtime error: exit 1: /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/m3-tools/m3bundle/SOLsun/m3bundle -name Setup -element config   
> ../src/config/SOLgnu
> --procedure--  -line-  -file---
> exec               --
> bundle             53    
> /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/m3-libs/libm3/src/bundleintf/bundle.tmpl
> include_dir        17    
> /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/m3-sys/cminstall/src/m3makefile
>                     9    
> /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/m3-sys/cminstall/SOLgnu/m3make.args
> --- building in SOLgnu ---
> /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/m3-tools/m3bundle/SOLsun/m3bundle -name Setup -element config   
> ../src/config/SOLgnu
> Fatal Error: package build failed
>  ==> m3-sys/cminstall done
>
> Seems like that should not be ignored.
> I'll try to fix the actual error -- host vs. target -- SOLsun vs. SOLgnu.

Probably the first stage of upgrade?
And calling make-dist without a already-compiled cm3 installation?

> stage 2: installing cm3 compiler
> ----------------------------------------------------------------------------
> installing /home/hudson/tmp/cm3/bin/cm3
> /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/scripts/make-bin-dist-min.sh:  
>  strip: not found
> installing /home/hudson/tmp/cm3/bin/cm3cg
> /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/scripts/make-bin-dist-min.sh:  
>  strip: not found
> configuring temporary config file /home/hudson/tmp/cm3/bin/cm3.cfg
> cp:   
> /home/hudson/workspace/cm3-makedist-SOLgnu/cm3/m3-sys/cminstall/src/config-no-install/CVS: is a   
> directory
>
> not sure if that should be ignored.
> I can fix it too, like:
>
> for a in [ /usr/ccs/bin/strip strip ]; then
>   if [ type $a ]; then
>     STRIP=$a
>   fi
> fi

We need /usr/ccs/bin in the PATH on Solaris. I just noticed that the
PATH was reset to /usr/bin after the latest installation, but forgot
about /usr/ccs/bin.

> Preferably put the options in the other order, if there is a "break"  
>  command in sh for for loops.

We didn't need special handling for strip before AFAIK.
It should be there on all POSIX systems.

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list