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 AB8991381F4 for ; Fri, 17 Aug 2012 12:08:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D50FE081C for ; Fri, 17 Aug 2012 12:08:43 +0000 (UTC) Received: from mxi2.callplus.net.nz (mx194.callplus.net.nz [202.180.66.194]) by pigeon.gentoo.org (Postfix) with ESMTP id 36BE1E0773 for ; Fri, 17 Aug 2012 10:39:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvcLAPwdLlB34Adh/2dsb2JhbABFhToBgnKyBYEIgiABAQU6HDMLGAkVEA8BKR4ZG4djAwuwXB+JPIsKg1+DHAOSIpM/gnQ X-IronPort-AV: E=Sophos;i="4.77,785,1336305600"; d="scan'208";a="292202381" Received: from 119-224-7-97.callplus.net.nz (HELO vrooom-vrooom.localnet) ([119.224.7.97]) by ismtp2.tranzpeer.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Aug 2012 22:39:14 +1200 From: Francois Bissey To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1 Date: Fri, 17 Aug 2012 22:39:24 +1200 Message-ID: <2323265.iCCqBSj8HU@vrooom-vrooom> User-Agent: KMail/4.8.4 (Linux/3.0.0-sabayon; KDE/4.8.4; i686; ; ) In-Reply-To: <20120817132914.4925ced9651cbafa8ac3fa8b@ukr.net> References: <20120814204917.0b6b06b1dd59a826ae08d5ca@ukr.net> <1926913.15eeOS9VQ9@vrooom-vrooom> <20120817132914.4925ced9651cbafa8ac3fa8b@ukr.net> 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: d44b138b-abb1-4156-bf36-cb4b72a5fa09 X-Archives-Hash: 7cc8b2ebd0b5299f4ff74c9b7e30280e On Fri, 17 Aug 2012 13:29:14 v_2e@ukr.net wrote: > On Fri, 17 Aug 2012 21:28:09 +1200 > > Francois Bissey wrote: > > Best solution: rebuild mpmath without the gmp useflag and remove gmpy. > > Rebuilding is not enough as the flag only insure that gmpy is > > installed. mpmath autodetect gmpy's presence all by itself if it is > > present - gmp flag or not. > > I did as you suggested and now I can 'import mpmath' and 'import > sympy' in the Python2 shell without any errors. > Maybe it is worth masking this 'gmp' USE-flag if Sage is being > emerged? Or is it impossible? > gmpy is the real culprit. You can have it independently of the useflag. We can put something in the package.use we provide in the overlay. We could ship a package.mask file as well. I am setting MPMATH_NOGMPY in sage-env in sage-5.3 so there won't be problems from sage. Francois