HP started to provide split i386/x86_64 binaries, which allows amd64 users to run hpacucli without needing to pull compat/emul libraries. Reproducible: Always Actual Results: hpacucli runs in 32bit emulation Expected Results: hpacucli runs 64bit native
Created attachment 314575 [details] Proposed ebuild This is a lightly (amd64-only) tested ebuild. The ARCH bit is ugly, but I don't know what is the clean way to do it. QA needs updating, too.
Comment on attachment 314575 [details] Proposed ebuild --- hpacucli-9.0.24.0.ebuild 2012-05-15 07:57:27.000000000 +0200 +++ - 2012-06-07 15:58:17.874321425 +0200 @@ -12,7 +12,8 @@ DESCRIPTION="HP Array Configuration Utility Command Line Interface (HPACUCLI, formerly CPQACUXE)" HOMEPAGE="http://h18000.www1.hp.com/products/servers/linux/documentation.html" -SRC_URI="${SRC_URI_BASE}/p414707558/v68034/${PN}-${MY_PV}.noarch.rpm" +SRC_URI="x86? ( ${SRC_URI_BASE}/p414707558/v71530/${PN}-${MY_PV}.i386.rpm ) + amd64? ( ${SRC_URI_BASE}/p1257348637/v71527/${PN}-${MY_PV}.x86_64.rpm )" LICENSE="hp-proliant-essentials" SLOT="0" @@ -23,8 +24,7 @@ RDEPEND="sys-apps/coreutils sys-process/procps >=sys-apps/util-linux-2.20.1 - x86? ( sys-libs/lib-compat ) - amd64? ( app-emulation/emul-linux-x86-compat )" + x86? ( sys-libs/lib-compat )" S="${WORKDIR}" @@ -46,7 +46,8 @@ insinto "${HPACUCLI_BASEDIR}" doins "${MY_S}"/*.so || die - dodoc "${MY_S}/${PN}-${MY_PV}.noarch.txt" + ARCH=$(uname -m | sed -e 's/i.86/i386/') + dodoc "${MY_S}/${PN}-${MY_PV}.${ARCH}.txt" doman "${S}"/usr/man/man?/* diropts -m0700 @@ -67,8 +68,11 @@ if [ "${ROOT}" = "/" ] ; then PATH="${PATH}:/sbin" ldconfig -n "${HPACUCLI_BASEDIR}" fi + + ARCH=$(uname -m | sed -e 's/i.86/i386/') + einfo einfo "For more information regarding this utility, please read" - einfo "/usr/share/doc/${P}/${PN}-${MY_PV}.noarch.txt" + einfo "/usr/share/doc/${P}/${PN}-${MY_PV}.${ARCH}.txt" einfo }
Tested, works for me. So any news?
Any news? 9.30-15 is available: x64: ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p1257348637/v77370/ i386: ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p414707558/v77371/ available at barzog-overlay
I'll pick it up.
Thanks Robert and Oleg for the bug, this is now fixed in tree, although I used a different ebuild and wrapper script.