Hi! I see that flameeyes has contributed zeromq-2.0.9 to the portage tree recently, so if possible, I'd like to have included the git master version too. Please find attached an zeromq-9999.ebuild for it.
Created attachment 249248 [details] net-libs/zeromq-9999.ebuild
BTW Diego, you've wrong e-mail address in metadata.xml.
Created attachment 249270 [details] net-libs/zeromq-9999.ebuild An improved ebuild.
Created attachment 249271 [details] metadata.xml A fixed metadata.xml, the wrong email address for Diego Pettenò was a my mistake.
very useful, works for me on amd64 thanks!
Going to WONTFIX this for now.
Created attachment 355590 [details] zeromq-9999.ebuild replacement proposal Changes : 1) Compatible with release ebuild (merge of 3.2.3 with 9999 with updates in 9999) in order to maintain only one ebuild for release and git. 2) From EAPI 3 to 5 3) From inherit git to inherit git-2 4) More docs as available in release and git versions (don't know if it is desirable) 5) Using latest portage features for docs 6) Dependencies to app-text/asciidoc and app-text/xmlto app-arch/gzip dev-lang/perl dev-lang/python:2.6 do not exist in ebuild 3.2.3, so I removed then (don't know if it is correct). 7) Suppressed the remove of the bundled OpenPGM library from the 3.2.3 ebuild since from notes above, it is not desirable. 8) Changed the configure pgm option from "--with-pgm" to what exists in the 3.2.3 ebuild because it is more recent and may fix this issue which seems to have not been resolved in the last 9999 ebuild. 9) Suppressed src_install and src_test to use defaults and have a simplier ebuild (may be not desirable if one wants the la to be suppressed (939 bytes). Possibly there is a way to simply suppress it, but I don't know). FEATURE=test emerge zeromq passes the tests : =================== All 34 tests passed =================== qlist gives : >>> /usr/lib64/pkgconfig/libzmq.pc >>> /usr/lib64/libzmq.la >>> /usr/lib64/libzmq.so.3.0.0 >>> /usr/lib64/libzmq.so.3 -> libzmq.so.3.0.0 >>> /usr/lib64/libzmq.so -> libzmq.so.3.0.0 + a lot of docs >>> /usr/include/zmq_utils.h >>> /usr/include/zmq.h
Problem. Here is the new live ebuild candidate : --------------------------------------------------------------------------- EAPI=5 AUTOTOOLS_AUTORECONF=true inherit autotools-utils git-2 DESCRIPTION="ZeroMQ is a brokerless kernel" HOMEPAGE="http://www.zeromq.org/" EGIT_REPO_URI="git://github.com/zeromq/libzmq.git" LICENSE="LGPL-3" SLOT="0" KEYWORDS="" IUSE="pgm test static-libs" DEPEND="sys-devel/gcc pgm? ( virtual/pkgconfig >=net-libs/openpgm-5.1.118 ) sys-apps/util-linux" RDEPEND="" src_prepare() { eautoreconf } src_configure() { local myconf use pgm && myconf="--with-system-pgm" || myconf="--without-pgm" econf \ $(use_enable static-libs static test) \ $myconf } DOCS=( NEWS AUTHORS INSTALL COPYING ) src_test() { cp "${S}"/src/selftest.cfg "${BUILD_DIR}"/src/ || die autotools-utils_src_test } ----------------------------------------------------------------------- The one attached is with autotools and works. This one is with autotools-utils and fails : ************************************************************************* >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/zeromq-9999/work/zeromq-9999 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-libs/zeromq-9999/work/zeromq-9999_build" /var/tmp/portage/net-libs/zeromq-9999/temp/environment: line 630: pushd: /var/tmp/portage/net-libs/zeromq-9999/work/zeromq-9999_build: No such file or directory * ERROR: net-libs/zeromq-9999 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3536: Called autotools-utils_src_compile * environment, line 630: Called die * The specific snippet of code: * pushd "${BUILD_DIR}" > /dev/null || die; *************************************************************************** Why does it set BUILD_DIR to work/zeromq-9999_build instead of work/zeromq-9999 ?
Sorry : ------------------------------------------------------------------------- EAPI=5 AUTOTOOLS_AUTORECONF=true inherit autotools-utils git-2 DESCRIPTION="ZeroMQ is a brokerless kernel" HOMEPAGE="http://www.zeromq.org/" EGIT_REPO_URI="git://github.com/zeromq/libzmq.git" LICENSE="LGPL-3" SLOT="0" KEYWORDS="" IUSE="pgm test static-libs" DEPEND="sys-devel/gcc pgm? ( virtual/pkgconfig >=net-libs/openpgm-5.1.118 ) sys-apps/util-linux" RDEPEND="" src_configure() { local myconf use pgm && myconf="--with-system-pgm" || myconf="--without-pgm" econf \ $(use_enable static-libs static test) \ $myconf } DOCS=( NEWS AUTHORS INSTALL COPYING ) src_test() { cp "${S}"/src/selftest.cfg "${BUILD_DIR}"/src/ || die autotools-utils_src_test } ------------------------------------------------------------------------- But it is the same result.
Created attachment 355862 [details] zeromq-9999.ebuild I have to add : BUILD_DIR=$S at the end of src_configure() to solve the problem, but I don't know if it is very clean ? At least, it emerges right, and the autotest passes : =================== All 34 tests passed ===================