Bug 434975 - freetds specfile broken on true 64bit platforms
freetds specfile broken on true 64bit platforms
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: freetds (Show other bugs)
rawhide
ia64 Linux
high Severity high
: ---
: ---
Assigned To: Dmitry Butskoy
Fedora Extras Quality Assurance
:
Depends On:
Blocks: fedora-ia64
  Show dependency treegraph
 
Reported: 2008-02-26 12:08 EST by Doug Chapman
Modified: 2008-02-26 12:58 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-26 12:58:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Doug Chapman 2008-02-26 12:08:53 EST
Description of problem:

On ia64 (and should be the same on alpha or any other 64bit only platform) the
file /usr/include/tds_sysdep_public_64.h is included by tds_sysdep_public.h
however only tds_sysdep_public_32.h is actually installed.

The freetds specfile uses this test to determine if it is being built on 32 or
64 bit platforms:

%if %_lib == lib64
%define bits    64
%else
%define bits    32
%endif


On platforms that _only_ are 64 bit such as ia64 and alpha %_lib is still just
"lib" not "lib64" as it is on x86_64 and ppc64.

A more proper test would be to use %ifarch on a per platform basis:

%ifarch alpha ia64 x86_64 ppc64 sparc64
%define bits    64
%else
%define bits    32
%endif



Version-Release number of selected component (if applicable):
freetds-0.64-10.fc9

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Dmitry Butskoy 2008-02-26 12:58:49 EST
Thanks. Fixed.

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