From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diane Trout Subject: Re: Python 3.5 start of update Date: Fri, 04 Mar 2016 22:51:41 -0800 Message-ID: <1457160701.30082.22.camel@ghic.org> References: <3746864.VkbyMe6eV1@myrada> <20160304031506.GC30676@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ac64C-0003n5-FX for guix-devel@gnu.org; Sat, 05 Mar 2016 01:51:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ac647-0002Xc-Fm for guix-devel@gnu.org; Sat, 05 Mar 2016 01:51:56 -0500 Received: from chaos.caltech.edu ([131.215.34.119]:51501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ac647-0002XA-9z for guix-devel@gnu.org; Sat, 05 Mar 2016 01:51:51 -0500 In-Reply-To: <20160304031506.GC30676@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org Hello, Thank you for getting back to me. > Also, the 'python-minimal' offered by `guix environment python- > minimal` > is likely the one that lives on the master branch, deployed by `guix > pull`, unless you symlinked your git checkout to > '~/.config/guix/latest'. > I remembered --pure, but I keep forgetting the .config/guix/latest symlink gets updated fairly frequently. > Could you try something like this, having checked out the branch > where > you are attempting this upgrade: > > `~/src/guix/pre-inst-env guix environment --pure python-minimal` > > I would suggest '--container' but you'd have to make some changes to > your system if you are on Debian. I switched to trying to do this on a GuixSD VM. With pre-inst-env guix environment --pure python-minimal I managed to get an environment, and figured out some of the config flags from a run of guix build python-minimal Whats output in the build log looks like: (environment variables setting path to bash that I didn't copy) --prefix=/gnu/store/wj1b0simlx4s9vdksc297043cg7ah9gf-python-minimal-3.5.1 --enable-shared LDFLAGS=-Wl,-rpath=/gnu/store/wj1b0simlx4s9vdksc297043cg7ah9gf-python-minimal-3.5.1/lib --without-system-ffi Does guix sort the config flags somehow? I wasn't sure if the LDFLAGS could be defined between --arguments. I had a list of several things I tried that didn't work but then I asked why is python-minimal using --without-system-ffi? It occurred to me to try building it with libffi and --with-system-ffi, and that wonderfully did build.  I hope this stream of consciousness made some sense. If --without- system-ffi isn't actually important I can clean up the patch and submit it after I've gotten some sleep. (Mostly my previous patch plus commented out the current python-minimal (arguments...) and adding ("libffi" ,libffi) to the inputs) Diane