[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | USG buildhelp questions/answers |
|
Moderator: | SMURF::FILTER |
|
Created: | Mon Apr 26 1993 |
Last Modified: | Mon Jan 20 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2763 |
Total number of notes: | 5802 |
961.0. "bsh problem in qaqc found, fixed, and reported" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Fri Sep 23 1994 14:00
Date Of Receipt: 23-SEP-1994 12:15:06.43
From: FLAMBE::jmf "Joshua M. Friedman OSF/UNIX SDE 23-Sep-1994 1212"
To: hantman@DEC:.zko.flambe
CC: odehelp@DEC:.zko.flambe, klum@DEC:.zko.flambe
Subj: bsh problem in qaqc found, fixed, and reported
Paul, this problem was found by Paul Klum. bsh could not have worked
with qaqc pools as long as they were in their current path (any path
with 'src' in it). I've fixed bsh locally and sent the fix to DECwest
in this ptt report...
Subject: Problem Submission
Mail this report to: [email protected]
Note: ALL CAPS=Mandatory field
Problem Submission Form Fri Sep 23 11:52:58 EDT 1994
Required Information
====================
YOUR NAME: Joshua Friedman
Your Email address: [email protected]
YOUR PHONE NUMBER: dtn 381-1548
Your FAX number: DTN 881-2257
Your company name: DEC
Your mailstop: ZKO3-3
YOUR ORGANIZATION'S NAME: UEG-ZK
YOUR COST CENTER: 335
Your street address: Digital Equipment Corporation
OSF/1 Engineering
110 Spit Brook Rd.
Nashua, NH 03062 USA
--------------------------------------
CUSTOMER'S COMPANY NAME: DEC
CUSTOMER COUNTRY: USA
--------------------------------------
PRODUCT: ODE
Product version (optional): V2.0
OS HARDWARE: OSF1/ALPHA
OS Hardware version: 250
Workstation soft version (optional): V2.0
COMPONENT: SHELL_SCRIPTS
Component version (optional):
Other (optional): bsh command
OTHER Version (optional):
SYSTEM WHERE PROBLEM OCCURRED: longbow.zk3.dec.com
CPU type: alpha DEC3000_500
Display type: 1 display of type=14
Memory size:
System disk:
Other hardware configuration information:
Other software configuration information:
DEC OSF/1 V2.1 (Rev. 250); Fri Sep 2 10:55:12 EDT 1994
DEC OSF/1 V2.0 Worksystem Software (Rev. 240)
--------------------------------------
PROBLEM ABSTRACT (80 characters or less):
bsh has a bad path assumption which breaks in qaqc pool - fix included
PROBLEM PRIORITY (1-5, 1 being most critical): 2
CAN THE CUSTOMER REPRODUCE THE PROBLEM [Y/N]: Y
CAN YOU REPRODUCE THE PROBLEM [Y/N]: Y
PROBLEM STATEMENT:
=================
The 'bsh' command makes the bad assumption that the first instance
of 'src' in each path element is the last subdirectory of the
path element. This assumption is not the case in the 'qaqc' pool:
qaqc% sbinfo SOURCEDIR
/usr/qcsde/build/src/qaqc/src
In this case bsh ends up looking in two directories:
/usr/qcsde/build/src/<sandbox-dir> /qaqc/src/<sandbox-dir>
Instructions to FIX the problem:
======================================
The fix is to look for src only at the end of a path element.
I first ensure that a space always follows the 'src' in question,
and then look for 'src ' instead of just 'src'.
The following "diff" is of a fixed version (<) and the
current version (>):
54c54
< SEARCH_PATH=$(print "${sourcedir} " | \
---
> SEARCH_PATH=$(print "${sourcedir}" | \
56c56
< sed -e 's+/src +'${CSD}' +'g )
---
> sed -e 's+/src+'${CSD}' +'g )
--------------------------------------
ODE-II product specific information:
====================================
WORKON=1
SANDBOX=qaqc
BCSSET=
BCSPORT=548
BCSDIRECTORY=/usr/sde/ode2.0
BCSHEADERS=
PRINCIPAL=Joshua_Friedman
EDITOR=/usr/ucb/vi
PATH=/usr/users/jmf/sb/qaqc/tools/alpha_OSF1:/usr/qcsde/build/src/qaqc/tools/alpha_OSF1/bin:/usr/sde/ode2.0/tools/alpha_OSF1/bin:/usr/users/jmf/bin:/usr/ucb:/bin:/usr/bin:/usr/local:/usr/bin/mh:/usr/hosts:/etc:/usr/bin/X11:/usr/sbin:/sbin:.:/usr/sde/tools/alpha_OSF1/bin/:/usr/users/jmf/bin:/usr/ucb:/bin:/usr/bin:/usr/local:/usr/bin/mh:/usr/hosts:/etc:/usr/bin/X11:/usr/sbin:/sbin:.
Results from currentsb -all:
============================
qaqc Joshua_Friedman_qaqc /usr/users/jmf/sb . /usr/users/jmf/sb/qaqc/rc_files/local /usr/qcsde/build/src/qaqc
Results from check_ode:
=======================
Check_ode for ODE-II V2.0 -- $Revision: 1.1.4.8 $
Fri Sep 23 11:53:04 EDT 1994
Using logfile=tmp28987.logfile
Checking client/sandbox longbow.zk3.dec.com Fri Sep 23 11:53:05 EDT 1994
Info -- Checking Client
Info -- longbow.zk3.dec.com: ODE-II client Load=1
Error No. 1 ---------- Fri Sep 23 11:53:06 EDT 1994
longbow.zk3.dec.com: account devbld not in group devode
Error No. 2 ---------- Fri Sep 23 11:53:06 EDT 1994
longbow.zk3.dec.com: account devrcs not in group devode
Error No. 3 ---------- Fri Sep 23 11:53:06 EDT 1994
longbow.zk3.dec.com: account devbld not in group staff
Info -- Checking sandbox /usr/users/jmf/sb/qaqc
Info -- Node longbow.zk3.dec.com to secret.zk3.dec.com
latency 8 ms, packet loss 0%.
Info -- Node longbow.zk3.dec.com to yield.zk3.dec.com
latency 20 ms, packet loss 5%.
Info -- Node longbow.zk3.dec.com to troi.zk3.dec.com
latency 26 ms, packet loss 0%.
Client/sandbox error count is 3
T.R | Title | User | Personal Name | Date | Lines
|
---|