Opened 5 years ago

Closed 5 years ago

#270 closed defect (fixed)

mbuild has problems diagnosing wrong library name specified in .mb file.

Reported by: Gary Dixon Owned by: Gary Dixon
Priority: major Milestone: MR12.8
Component: Tools Version: MR12.7
Keywords: Cc:

Description

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_

Change History (3)

comment:1 by Gary Dixon, 5 years ago

Owner: changed from Eric Swenson to Gary Dixon
Status: newassigned

comment:2 by Gary Dixon, 5 years ago

MCR10109 will be created to remedy this problem and several related issues.

comment:3 by Eric Swenson, 5 years ago

Milestone: MR12.8
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.