[M3devel] missing M3_FRONT_FLAGS from libm3: m3overrides

Peter Eiserloh eiserlohpp at yahoo.com
Fri May 15 23:00:58 CEST 2009


Hi Guys,

I downloaded a new archive: cm3-src-all-d5.8.0-2009-05-15-06-57-11.tgz,
as I wanted to look at Olaf's changes.

I attempted to "./scripts/do-cm3-std.sh build", and while
it did build m3core, it failed to build libm3.

Its 'm3overrides' file attempts to append ( using += ) to a
variable (M3_FRONT_FLAGS), but since the variable doesn't
exist it fails.  Should an obliq script fail like that, if
you attempt to append to a non-existing variable, or should
it silently create that variable?

Log follows:

*** excerpt from Build.log ***
new exporters -> recompiling Date.i3
new exporters -> recompiling Text.i3
 -> archiving libm3core.a
 ==> m3-libs/m3core done

=== package m3-libs/libm3 ===
 +++ /usr/local/cm3/bin/cm3 -build -override -DROOT='/data/peter3/src/modula-3/cm3/src-all-20090515' -DCM3_VERSION_TEXT='d5.8.0' -DCM3_VERSION_NUMBER='050800' -DCM3_LAST_CHANGED='2009-05-06'  +++
--- building in AMD64_LINUX ---

"/data/peter3/src/modula-3/cm3/src-all-20090515/m3-libs/libm3/AMD64_LINUX/../src/m3overrides", line 7: quake runtime error: undefined variable: M3_FRONT_FLAGS

--procedure--  -line-  -file---
                    7  /data/peter3/src/modula-3/cm3/src-all-20090515/m3-libs/libm3/AMD64_LINUX/../src/m3overrides

Fatal Error: package build failed
 ==> m3-libs/libm3 done
*** END excerpt Build.log ***


*** m3overrides ***


%%XXDIR = { "WIN32" : "N:\\m3-libs", "POSIX" : "/proj/cmass/src.2/m3-libs" }
%%WORKDIR = XXDIR {OS_TYPE}

% override ("m3core", WORKDIR)
override("m3core", ROOT & "/m3-libs")
M3_FRONT_FLAGS += "-vsdebug"
_M3BUNDLE_OVERRIDE = "T"
** END m3overrides ***




+--------------------------------------------------------+
| Peter P. Eiserloh                                      |
+--------------------------------------------------------+


      



More information about the M3devel mailing list