﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
270	mbuild has problems diagnosing wrong library name specified in .mb file.	Gary Dixon	Gary Dixon	"Given an mbuild build script file:


{{{
Installation_directory:  >udd>m>gd>w>test_mb_01;

 Build_script:             test_mb_01.mb;

 Bound_obj:                bound_probe_                      IN: tools  UPDATE;
   source_arch:            bound_probe_.2.s.archive           UPDATE;
     source:               probe_info_requests_.pl1           REPLACE            compiler: pl1 -ot;

 Info:                     probe.info                        IN: sss.info  REPLACE;
}}}

specifying an invalid library name (tools instead of sss).  With such build script, mbuild thinks a new bound object segment is being added to the library.


{{{
mbuild:  p

 Build_script:             test_mb_01.mb;

 Bound_obj:                bound_probe_                      IN: tools  ADD;
   source_arch:            bound_probe_.2.s.archive           ADD;
     source:               probe_info_requests_.pl1           ADD                compiler: pl1 -ot;

 Info:                     probe.info                        IN: sss.info  REPLACE;
}}}

The source file compiles OK, but the archive_prep (arch) request fails with a variety of errors, some including garbage in the error messages.


{{{
mbuild:  comp

---------- pl1 probe_info_requests_.pl1 -ot

PL/1 33f

mbuild:  arch

---------- Fabricating new object_arch: bound_probe_.2.archive

   archive adf bound_probe_.2.archive probe_info_requests_

archive: Creating >udd>m>gd>w>test_mb_01>bound_probe_.2.archive

---------- Sorting archives that were modified.

   archive_sort bound_probe_\000\234\400#\460\000\000ve

archive_sort: Entry not found. >udd>m>gd>w>test_mb_01>bound_probe_\000\234\400#\460\000\000ve.archive
   archive_sort bound_probe_\000\234\400#\460\000\000ve

archive_sort: Entry not found. >udd>m>gd>w>test_mb_01>bound_probe_\000\234\400#\460\000\000ve.archive

----------  bind

bind: Expected argument missing.
Usage:    bind archive_path{s} {-update update_archive_path{s}} {-control_args}
mbuild (archive_prep): Bind did not produce a Bound_obj segment. BOUNDOBJ: bound_probe_
}}}

"	defect	closed	major	MR12.8	Tools	MR12.7	fixed		
