Gentoo Archives: gentoo-science

From: Bryan Green <bryan.d.green@××××.gov>
To: gentoo-science@l.g.o
Cc: alexxy@g.o
Subject: [gentoo-science] openib.eclass problem
Date: Thu, 08 Oct 2009 17:25:44
Message-Id: 20091008172542.6298F239221@ece06.nas.nasa.gov
Hi,

The openib ebuilds are currently failing during the unpack phase, in the
openib_src_unpack() function in openib.eclass.

The problem is that rpm_unpack is appending ${DISTDIR}, but the rpm is in
WORKDIR.  The problem is easily fixed by prepending './':

old:
rpm_unpack "OFED-${OFED_VER}/SRPMS/${MY_PN}-${MY_PV}-${OFED_SUFFIX}.src.rpm"
new:
rpm_unpack "./OFED-${OFED_VER}/SRPMS/${MY_PN}-${MY_PV}-${OFED_SUFFIX}.src.rpm"

-bryan

Replies

Subject Author
Re: [gentoo-science] openib.eclass problem Alexey Shvetsov <alexxy@g.o>