From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 70D5F138A1F for ; Tue, 29 Apr 2014 08:32:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D5D4E0A41; Tue, 29 Apr 2014 08:32:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68994E0A40 for ; Tue, 29 Apr 2014 08:32:19 +0000 (UTC) Received: from [141.44.155.163] (unknown [141.44.155.163]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tomka) by smtp.gentoo.org (Postfix) with ESMTPSA id C4E6033FFFB for ; Tue, 29 Apr 2014 08:32:14 +0000 (UTC) Message-ID: <535F6396.2060208@gentoo.org> Date: Tue, 29 Apr 2014 10:32:22 +0200 From: Thomas Kahle User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 To: gentoo-science@lists.gentoo.org Subject: [gentoo-science] Locating ar X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tkgnI83pL38TE2QIibbojiMOn2M31jhou" X-Archives-Salt: 9ea8678a-6905-4c5c-b3d3-45120bd8c9a5 X-Archives-Hash: 18e7e8b2068d69c80d78ccf293d6f7ca This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tkgnI83pL38TE2QIibbojiMOn2M31jhou Content-Type: multipart/mixed; boundary="------------070305010809030606070108" This is a multi-part message in MIME format. --------------070305010809030606070108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I'm constantly failing at a rewrite of the ebuild for sci-math/singular to bump it to 4.0.0. (Current version attached). Singular has its own malloc implementation called omalloc. The configure script there can't find ar if run from within portage context. It does find it when run on a normal shell. I tried tc-export AR to no avail. Any ideas? Cheers, Thomas --------------070305010809030606070108 Content-Type: text/plain; charset=UTF-8; name="singular-4.0.0_p2.ebuild" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="singular-4.0.0_p2.ebuild" # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.= 4-r1.ebuild,v 1.4 2012/06/23 10:50:20 xarthisius Exp $ EAPI=3D5 inherit autotools eutils elisp-common flag-o-matic multilib prefix versio= nator MY_PN=3DSingular MY_PV=3D$(replace_all_version_separators '.') # Consistency is different... MY_DIR2=3D$(get_version_component_range 1-3 ${PV}) MY_DIR=3D$(replace_all_version_separators '-' ${MY_DIR2}) DESCRIPTION=3D"Computer algebra system for polynomial computations" HOMEPAGE=3D"http://www.singular.uni-kl.de/" SRC_URI=3D"http://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/= ${MY_DIR}/${PN}-${MY_PV}.tar.gz" LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"~amd64 ~ppc ~x86 ~x86-linux ~x86-macos" IUSE=3D"boost doc emacs examples python +readline" RDEPEND=3D"dev-libs/gmp >=3Ddev-libs/ntl-5.5.1 emacs? ( >=3Dvirtual/emacs-22 )" DEPEND=3D"${RDEPEND} dev-lang/perl boost? ( dev-libs/boost ) readline? ( sys-libs/readline )" SITEFILE=3D60${PN}-gentoo.el S=3D"${WORKDIR}/${PN}-${MY_DIR2}" pkg_setup() { append-flags "-fPIC" append-ldflags "-fPIC" tc-export AR CC CPP CXX # Ensure that >=3Demacs-22 is selected if use emacs; then elisp-need-emacs 22 || die "Emacs version too low" fi } src_prepare () { # Need to do something about resources later... # epatch "${FILESDIR}"/${PN}-4.0.0-gentoo.patch # cd "${S}"/Singular || die "failed to cd into Singular/" eautoreconf } src_configure() { econf \ # --prefix=3D"${S}"/build \ # --exec-prefix=3D"${S}"/build \ # --bindir=3D"${S}"/build/bin \ # --libdir=3D"${S}"/build/lib \ # --libexecdir=3D"${S}"/build/lib \ # --includedir=3D"${S}"/build/include \ --with-gmp=3D"${EPREFIX}"/usr \ --with-ntl \ --disable-debug \ --disable-doc \ --enable-factory \ --enable-libfac \ --enable-IntegerProgramming \ # --enable-Singular \ $(use_with python python embed) \ $(use_with boost Boost) \ $(use_enable emacs) \ $(use_with readline) || die "configure failed" } src_compile() { emake || die "emake failed" if use emacs; then cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR}/emacs/ elisp-compile *.el || die "elisp-compile failed" fi } src_test() { emake test || die "tests failed" } # src_install () { # dodoc README # # execs and libraries # cd "${S}"/build/bin # dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL \ # || die "failed to install binaries" # insinto /usr/$(get_libdir)/${PN} # doins *.so || die "failed to install libraries" # # dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} \ # || die "failed to create symbolic link" # # # stuff from the share tar ball # cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR} # insinto /usr/share/${PN} # doins -r LIB || die "failed to install lib files" # if use examples; then # insinto /usr/share/doc/${PF} # doins -r examples || die "failed to install examples" # fi # if use doc; then # dohtml -r html/* || die "failed to install html docs" # insinto /usr/share/${PN} # doins doc/singular.idx || die "failed to install idx file" # cp info/${PN}.hlp info/${PN}.info && # doinfo info/${PN}.info \ # || die "failed to install info files" # fi # if use emacs; then # elisp-install ${PN} emacs/*.el emacs/*.elc emacs/.emacs* \ # || die "elisp-install failed" # elisp-site-file-install "${FILESDIR}/${SITEFILE}" # fi # } pkg_postinst() { einfo "The authors ask you to register as a SINGULAR user." einfo "Please check the license file for details." if use emacs; then echo ewarn "Please note that the ESingular emacs wrapper has been" ewarn "removed in favor of full fledged singular support within" ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs" ewarn "and you should be good to go! See bug #193411 for more info." echo fi use emacs && elisp-site-regen } pkg_postrm() { use emacs && elisp-site-regen } --------------070305010809030606070108-- --tkgnI83pL38TE2QIibbojiMOn2M31jhou Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTX2OWAAoJEDHSY8ey5xaR2JAH/A4/7xAXkkBwxkLnB+Hmd1BI HRiTfDsyOgGD9Ms71Lk4cdNbsPWEjFheraEl5OAnGQbIjRYMCj4IrVyy8T+Gt+Ey 7EAPEpFoIRbmmTO9hawRFgiiCtYZbdZh8T8PTsoc8S/IB8zYunINUYQs8c1nfkjp DElo5hmunvaeFLD1pdCI3YT+5vihOCWpWDtQ317Nv6vtZi4JMlLAfwLOwiyYNL/a qbHLsCSDiOGVqFTNbLwcENeFtYakrHGLBmPbPFfdVYz4IuiaXBnLVh+aPTk4lHhf AdjoS/mX3A4lju4hzBLNWuw/0chPCGkHiXU7bbaTN8+Q1GIq8ktQrEIYEFCaUV4= =f+4y -----END PGP SIGNATURE----- --tkgnI83pL38TE2QIibbojiMOn2M31jhou--