Bug 614690 - adminutil ICU RB generation can fail
Summary: adminutil ICU RB generation can fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Admin
Version: 1.2.6
Hardware: All
OS: Other
low
medium
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 434915
TreeView+ depends on / blocked
 
Reported: 2010-07-15 01:11 UTC by Ulf Weltman
Modified: 2015-12-07 16:49 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-07 16:49:14 UTC
Embargoed:


Attachments (Terms of Use)
patch proposal (1.59 KB, patch)
2010-07-15 01:11 UTC, Ulf Weltman
no flags Details | Diff
patch for admin server's genrb_wrapper.sh (486 bytes, patch)
2010-07-19 22:41 UTC, Ulf Weltman
no flags Details | Diff

Description Ulf Weltman 2010-07-15 01:11:01 UTC
genrb fails on HP-UX because genrb_wrapper.sh invokes it like:
LD_LIBRARY_PATH=/wherever exec genrb
POSIX shell on HP-UX doesn't pass the environment variable to the exec'd process.  Can the exec just be removed?

Another thing I noticed which isn't platform specific is that it tries to invoke the genrb_wrapper.sh script while assuming cwd is the build root.  For example, if we're in adminutil/HP-UXB.11.23_ia64_64_OPT.OBJ it tries to invoke lib/libadminutil/genrb_wrapper.sh when it should be ../lib/libadminutil/genrb_wrapper.sh.

Comment 1 Ulf Weltman 2010-07-15 01:11:53 UTC
Created attachment 431957 [details]
patch proposal

Comment 2 Rich Megginson 2010-07-15 15:22:05 UTC
To ssh://git.fedorahosted.org/git/389/adminutil.git
   e07acba..6a23fa9  master -> master
commit 6a23fa916a7761a6e48f3b79d07f8208cf10f4bf
Author: Rich Megginson <rmeggins>
Date:   Thu Jul 15 09:21:41 2010 -0600

Comment 4 Ulf Weltman 2010-07-19 22:41:33 UTC
Created attachment 433025 [details]
patch for admin server's genrb_wrapper.sh

Please also make the change to remove exec from adminserver's genrb_wrapper.sh script.

Comment 5 Nathan Kinder 2011-03-08 19:18:33 UTC
Checked in admin patch to master.

Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 492 bytes, done.
Total 4 (delta 3), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/admin.git
   f7554f2..9866d75  master -> master


Note You need to log in before you can comment on or make changes to this bug.