[M3devel] Building packages

Hendrik Boom hendrik at topoi.pooq.com
Wed May 16 17:26:35 CEST 2012


On Wed, May 16, 2012 at 10:56:53AM -0400, Hendrik Boom wrote:
> On Tue, May 15, 2012 at 10:33:12PM +0000, Jay K wrote, and hendrik reformatted:

So this is what I did:
> 
> >
> >  If you already have a working cm3 on the system you want to run it on
> 
> Which is what I've got on my two machines, so this is what I'll be 
> trying.
> 
> >     cd scripts/python
> >     ./upgrade.py

It ran for a while, conpiling some Modula 3 stuff and apparently a lot 
of C code (this part seemed to use autoconf tools), and then stopped 
with

cd . && cd libcpp && make  CFLAGS="-g -O2"   MAKE=make  AUTOCONF=: 
AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: libcpp.a | tee -a 
/farhome/hendrik/cm3/src-all/m3-sys/m3cc/src/../AMD64_LINUX/_m3.log
/bin/sh: line 0: cd: libcpp: No such file or directory
"/farhome/hendrik/cm3/src-all/m3-sys/m3cc/src/m3makefile", line 312: 
quake runtime error: exit 1: cd . && cd libcpp && make  CFLAGS="-g -O2"   
MAKE=make  AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: 
libcpp.a | tee -a 
/farhome/hendrik/cm3/src-all/m3-sys/m3cc/src/../AMD64_LINUX/_m3.log

--procedure--  -line-  -file---
exec               --  <builtin>
m3cc_Run          312  
/farhome/hendrik/cm3/src-all/m3-sys/m3cc/src/m3makefile
include_dir       586  
/farhome/hendrik/cm3/src-all/m3-sys/m3cc/src/m3makefile
                    8  
/farhome/hendrik/cm3/src-all/m3-sys/m3cc/AMD64_LINUX/m3make.args

Fatal Error: package build failed
 *** execution of [<function _BuildGlobalFunction at 0x7f298eea9050>, 
<function _ShipFunction at 0x7f298eea90c8>] failed ***
hendrik at april:~/cm3/src-all/scripts/python$ 


Did I start upgrade.py with an incomplete cm3 system?  Plainly I should 
have started it using script so I'd have a complete log.

-- hendrik



More information about the M3devel mailing list