Bug 38151

Summary: Kylix does not install on RH 7.1 because of bash2.04
Product: [Retired] Red Hat Linux Reporter: Hakan TERZIOGLU <blackhat>
Component: bashAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
URL: www.borland.com/kylix
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-30 20:10:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Kylix after install script =that has a problem none

Description Hakan TERZIOGLU 2001-04-28 03:08:11 UTC
Kylix installer from Loki Games, crashes on RH7.1 after installing main
package RPM.
Because it can not successfully execute post install script main.sh on
/CD_ROOT/setup.data/
the main.sh script (bash script) has -eq -gt operators which causes bash to
have this output :

main.sh: [: -gt: unary operator expected
main.sh: [: -eq: unary operator expected

No Problem with 6.2, 7.0 with glibc patches done. Also no problem on
linux-Mandrake 8.0
nor Suse 7.1.

Comment 1 Bernhard Rosenkraenzer 2001-04-30 16:55:29 UTC
Please attach the script - can't figure out exactly what's going wrong without 
seeing what they're trying to do.


Comment 2 Bernhard Rosenkraenzer 2001-04-30 17:15:44 UTC
I have passed this on to the Inprise bug tracking system; reference number is 
463612.

Since -gt and -eq work perfectly in bash 2.04, I think this is related to 
something else they're trying to do. It's almost certainly a case of

BLAH=`something that doesn't work and returns an empty value`
if [ $BLAH -gt 2 ]; then
	something
fi

Most likely, it's a hardcoded /usr/bin/cut somewhere; cut has moved to /bin.



Comment 3 Hakan TERZIOGLU 2001-04-30 20:10:03 UTC
Created attachment 16888 [details]
Kylix after install script =that has a problem

Comment 4 Bernhard Rosenkraenzer 2001-04-30 20:32:13 UTC
Ok, I'm now absolutely certain it's their bug and not ours. Their chklibc tool 
returns an empty value.
Please report this to Borland/Inprise, we can't fix up their proprietary code.