Re: Building portable binaries
Hey James, Thanks for sharing the ebuild! I spun up gentoo as a docker container and copied the ebuild to /usr/local/portage/clustering/mesos/mesos-0.22.0.ebuild. However, when I run ebuild mesos-0.22.0.ebuild manifest, it throws an error about the metadata: Appending /usr/local/portage to PORTDIR_OVERLAY... Error(s) in metadata for 'clustering/mesos-0.22.0': DEPEND: Invalid atom (.keep), token 12 RDEPEND: Invalid atom (.keep), token 7 Any ideas why this might be happening? Cheers! On 20/09/2015 4:35 AM, CCAAT wrote: Hey F21, The ebuild is attached. Hopefully I'll be setting up github for this and other ebuilds I have been hacking on. I'm not a dev, but debugging these ebuilds in not difficult [1]. Please let me know how this ebuild works for you. I never tested it extensively James On 09/17/2015 11:09 PM, F21 wrote: That sounds really interesting! I am just in the process of spinning up a gentoo vm. Would you mind sharing your ebuild for mesos-0.22.0 via a gist on Github? On 18/09/2015 12:58 PM, CCAAT wrote: On 09/17/2015 06:33 PM, F21 wrote: Is there anyway to build portable binaries for mesos? You should try out gentoo linux, everything is built from sources. Ebuilds guide the process. My (hack) ebuild for mesos-0.22.0 was 61 lines. That's it. I will roll out a 0.24 ebuild, in a few weeks or less. Gentoo is designed from the ground up to build form sources. We have a rich 'cross-compile' environment for things like aarch64; so building mesos for arm64 is mostly trivial, once the 0.24 ebuild is rolled out. There a bit of reading, but the gentoo 'devmanual' pretty much guides you through the process [1]. Gentoo also has a great package manager. Here is a (very profane) rant/comparison of some common package managers and their inherent weaknesses [2]. If you want to see how simple the gentoo ebuild for mesos-0.22 is just ask. It fetches, unpacks, compiles and installs the package, very neatly. And there is lots of help and encouragement from a long list of talented devs. Gentoo is not for the weak minded or folks that do not wish to master the deep details of linux. caveat emptor. CoreOS uses much of gentoo in it's build/management, if that option helps. hth, James [1] https://devmanual.gentoo.org/ [2] http://michael.orlitzky.com/articles/motherfuckers_need_package_management.php
Re: Building portable binaries
Hey F21, The ebuild is attached. Hopefully I'll be setting up github for this and other ebuilds I have been hacking on. I'm not a dev, but debugging these ebuilds in not difficult [1]. Please let me know how this ebuild works for you. I never tested it extensively James On 09/17/2015 11:09 PM, F21 wrote: That sounds really interesting! I am just in the process of spinning up a gentoo vm. Would you mind sharing your ebuild for mesos-0.22.0 via a gist on Github? On 18/09/2015 12:58 PM, CCAAT wrote: On 09/17/2015 06:33 PM, F21 wrote: Is there anyway to build portable binaries for mesos? You should try out gentoo linux, everything is built from sources. Ebuilds guide the process. My (hack) ebuild for mesos-0.22.0 was 61 lines. That's it. I will roll out a 0.24 ebuild, in a few weeks or less. Gentoo is designed from the ground up to build form sources. We have a rich 'cross-compile' environment for things like aarch64; so building mesos for arm64 is mostly trivial, once the 0.24 ebuild is rolled out. There a bit of reading, but the gentoo 'devmanual' pretty much guides you through the process [1]. Gentoo also has a great package manager. Here is a (very profane) rant/comparison of some common package managers and their inherent weaknesses [2]. If you want to see how simple the gentoo ebuild for mesos-0.22 is just ask. It fetches, unpacks, compiles and installs the package, very neatly. And there is lots of help and encouragement from a long list of talented devs. Gentoo is not for the weak minded or folks that do not wish to master the deep details of linux. caveat emptor. CoreOS uses much of gentoo in it's build/management, if that option helps. hth, James [1] https://devmanual.gentoo.org/ [2] http://michael.orlitzky.com/articles/motherfuckers_need_package_management.php # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ ## hack by James aug 2014 EAPI=5 inherit autotools eutils flag-o-matic multilib MY_PV=${PV/_/} DESCRIPTION="fast cluster manager for distributed applications" HOMEPAGE="http://mesos.apache.org/; SRC_URI="http://apache.org/dist/${PN}/${PV}/${P}.tar.gz; LICENSE="Apache-2.0" KEYWORDS="~amd64" IUSE="java python" SLOT="0" DEPEND="net-misc/curl dev-libs/cyrus-sasl python? ( dev-lang/python dev-python/boto ) java? ( virtual/jdk ) dev-java/maven-bin dev-libs/hyperleveldb dev-python/pip dev-python/wheel dev-vcs/subversion" RDEPEND="python? ( dev-lang/python ) >=virtual/jdk-1.6 dev-java/maven-bin ${DEPEND}" S="${WORKDIR}/${P}" ECONF_SOURCE="${S}" src_prepare() { mkdir "${S}/build" || die } src_configure() { cd "${S}/build" econf \ $(use_enable python) \ $(use_enable java) } src_compile() { cd "${S}/build" emake -j1 V=1 } src_install() { cd "${S}/build" emake DESTDIR="${D}" install || die "emake install failed" }
Re: [VOTE] Release Apache Mesos 0.24.1 (rc1)
I use ``` sudo make -j8 distcheck ``` do test. Passed in Ubuntu 14.04. But could not pass in CentOS 6.6 because of DockerContainerizerTest. On Sat, Sep 19, 2015 at 9:21 AM, Adam Bordelonwrote: > Hi friends, > > Please vote on releasing the following candidate as Apache Mesos 0.24.1. > > 0.24.1 includes the following: > > > * [MESOS-2986] - Docker version output is not compatible with Mesos > * [MESOS-3136] - COMMAND health checks with Marathon 0.10.0 are broken > > The CHANGELOG for the release is available at: > > https://git-wip-us.apache.org/repos/asf?p=mesos.git;a=blob_plain;f=CHANGELOG;hb=0.24.1-rc1 > > > > The candidate for Mesos 0.24.1 release is available at: > https://dist.apache.org/repos/dist/dev/mesos/0.24.1-rc1/mesos-0.24.1.tar.gz > > The tag to be voted on is 0.24.1-rc1: > https://git-wip-us.apache.org/repos/asf?p=mesos.git;a=commit;h=0.24.1-rc1 > > The MD5 checksum of the tarball can be found at: > > https://dist.apache.org/repos/dist/dev/mesos/0.24.1-rc1/mesos-0.24.1.tar.gz.md5 > > The signature of the tarball can be found at: > > https://dist.apache.org/repos/dist/dev/mesos/0.24.1-rc1/mesos-0.24.1.tar.gz.asc > > The PGP key used to sign the release is here: > https://dist.apache.org/repos/dist/release/mesos/KEYS > > The JAR is up in Maven in a staging repository here: > https://repository.apache.org/content/repositories/orgapachemesos-1068 > > Please vote on releasing this package as Apache Mesos 0.24.1! > > The vote is open until Wed Sep 23 18:00 PDT 2015 and passes if a majority > of at least 3 +1 PMC votes are cast. > > [ ] +1 I tested this package. Release it as Apache Mesos 0.24.1 > [ ] -1 Do not release this package because ... > > Thanks, > -Adam- > -- Best Regards, Haosdent Huang
Re: [VOTE] Release Apache Mesos 0.24.1 (rc1)
Failed on CentOS 6.6 is because of I don't add correct hosts record in /etc/hosts. Now ``` sudo make -j8 distcheck ``` could pass on both Ubuntu 14.04 and CentOS 6.6 +1 On Sat, Sep 19, 2015 at 5:04 PM, haosdentwrote: > I use > ``` > sudo make -j8 distcheck > ``` > do test. > Passed in Ubuntu 14.04. > But could not pass in CentOS 6.6 because of DockerContainerizerTest. > > On Sat, Sep 19, 2015 at 9:21 AM, Adam Bordelon wrote: > >> Hi friends, >> >> Please vote on releasing the following candidate as Apache Mesos 0.24.1. >> >> 0.24.1 includes the following: >> >> >> * [MESOS-2986] - Docker version output is not compatible with Mesos >> * [MESOS-3136] - COMMAND health checks with Marathon 0.10.0 are broken >> >> The CHANGELOG for the release is available at: >> >> https://git-wip-us.apache.org/repos/asf?p=mesos.git;a=blob_plain;f=CHANGELOG;hb=0.24.1-rc1 >> >> >> >> The candidate for Mesos 0.24.1 release is available at: >> >> https://dist.apache.org/repos/dist/dev/mesos/0.24.1-rc1/mesos-0.24.1.tar.gz >> >> The tag to be voted on is 0.24.1-rc1: >> https://git-wip-us.apache.org/repos/asf?p=mesos.git;a=commit;h=0.24.1-rc1 >> >> The MD5 checksum of the tarball can be found at: >> >> https://dist.apache.org/repos/dist/dev/mesos/0.24.1-rc1/mesos-0.24.1.tar.gz.md5 >> >> The signature of the tarball can be found at: >> >> https://dist.apache.org/repos/dist/dev/mesos/0.24.1-rc1/mesos-0.24.1.tar.gz.asc >> >> The PGP key used to sign the release is here: >> https://dist.apache.org/repos/dist/release/mesos/KEYS >> >> The JAR is up in Maven in a staging repository here: >> https://repository.apache.org/content/repositories/orgapachemesos-1068 >> >> Please vote on releasing this package as Apache Mesos 0.24.1! >> >> The vote is open until Wed Sep 23 18:00 PDT 2015 and passes if a majority >> of at least 3 +1 PMC votes are cast. >> >> [ ] +1 I tested this package. Release it as Apache Mesos 0.24.1 >> [ ] -1 Do not release this package because ... >> >> Thanks, >> -Adam- >> > > > > -- > Best Regards, > Haosdent Huang > -- Best Regards, Haosdent Huang