[ewg] dapl install problem on latest ofed-1.4 daily build

Doug Ledford dledford at redhat.com
Fri Sep 5 18:34:27 PDT 2008


On Fri, 2008-09-05 at 10:17 -0500, Steve Wise wrote:
> Dunno if you already have seen this, but installing ofed-1.4 on FC9, I 
> see this error.  Looks like the name of the rpm is wrong in some spec 
> file maybe?
> 
> Running  rpmbuild --rebuild --define '_topdir /var/tmp/OFED_topdir' 
> --define 'dist ' --target x86_64 --define '_prefix /usr' --define 
> '_exec_prefix /usr' --define '_sysconfdir /etc' --define '_defaultdocdir 
> /usr/share/doc/compat-dapl-1.2.10' --define '_usr /usr' 
> /usr/local/src/OFED-1.4-20080902-0600/SRPMS/compat-dapl-1.2.10-1.src.rpm
> Install compat-dapl RPM:
> /usr/local/src/OFED-1.4-20080902-0600/RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-1.2.10-1.x86_64.rpm 
> does not exist
> [root at vic9 OFED-1.4-20080902-0600]# ls 
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-*
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-1.2.10-1.fc9.x86_64.rpm
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-debuginfo-1.2.10-1.fc9.x86_64.rpm
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-devel-1.2.10-1.fc9.x86_64.rpm
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-devel-static-1.2.10-1.fc9.x86_64.rpm
> RPMS/fedora-release-9-2.noarch/x86_64/compat-dapl-utils-1.2.10-1.fc9.x86_64.rpm
> [root at vic9 OFED-1.4-20080902-0600]#

Looks like the spec file does the (for Fedora anyway) right thing and
includes a dist tag on the release, aka:

Release:	1%{?dist}

which on Fedora 9 works out to be 1.fc9 unless you undefine the dist
macro.  I'm guessing the install script doesn't know about the dist
macro and isn't smart enough to automatically look for packages with
either the non-dist or dist specific release numbers.

-- 
Doug Ledford <dledford at redhat.com>
              GPG KeyID: CFBFF194
              http://people.redhat.com/dledford

Infiniband specific RPMs available at
              http://people.redhat.com/dledford/Infiniband

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20080905/ab0a3610/attachment.sig>


More information about the ewg mailing list