Bug 38031

Summary: glidelink uses /var/tmp paths
Product: [Retired] Red Hat Linux Reporter: Harald Hoyer <harald>
Component: XFree86Assignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-27 10:14: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:

Description Harald Hoyer 2001-04-27 09:47:02 UTC
strace reveils:

unlink("/var/tmp/XFree86-4.0.3-root/usr/lib/libglide3.so.3.10.0") = -1 ENOENT (No such file or 
directory)
symlink("glide3/libglide3-v5.so", "/var/tmp/XFree86-4.0.3-root/usr/lib/libglide3.so.3.10.0") = -1 
ENOENT (No such file or directory)

Comment 1 Harald Hoyer 2001-04-27 10:14:03 UTC
Solution:
remove RPM_BUILD_ROOT in the specfile from the define 
    gcc -o glidelink %{SOURCE13} $RPM_OPT_FLAGS \
        -DGLIDELIB=\"$RPM_BUILD_ROOT/usr/lib/libglide3.so.%{GlideLibver}\" \
        -lkudzu -lpci
to:
    gcc -o glidelink %{SOURCE13} $RPM_OPT_FLAGS \
        -DGLIDELIB=\"/usr/lib/libglide3.so.%{GlideLibver}\" \
        -lkudzu -lpci


Comment 2 Mike A. Harris 2001-05-02 19:31:36 UTC
I made the change in 10.x.y should appear in -11 release.  Hope it doesn't
affect build dependancies if no glide is installed when XFree86 is built.

Thanks.