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 8F89B13838B for ; Mon, 6 Oct 2014 04:11:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1697EE0AE0; Mon, 6 Oct 2014 04:11:18 +0000 (UTC) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B824BE09FD for ; Mon, 6 Oct 2014 04:11:16 +0000 (UTC) Received: by mail-pd0-f174.google.com with SMTP id y13so2639533pdi.33 for ; Sun, 05 Oct 2014 21:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ihgZbmW+fCv+hWSHAsripmtjfhml4RevmmvsH2jk5aY=; b=xPtXt6I/yOrakHGgmTRcOxeJV6wE4pZfWuXAgUjJoCtmRT673hQkApty6urtgLWSx9 BbESM9p/kMfapR8O313uTz4puUtB1AUiGVffebFG56HY9rTsnwhajAMjcgsxaGOmwQ8Z +341QEapGlTooDwworQMWUwcHzdL8i0ph6fBAvOxe0UMPjhCgNvbiMpaHSu9vWc5A4A6 +y+bGKcg2SlwgANgzuzSgxO48GCCOZEVFTu+qbs+u+shXjeJZj8shqn/TtvlYqaEa/lG haLQB8jy/1qOhA2R7q030TCPAec1jc2CN6F5j/M8efzM0BC6fW8C3aw0A5nyyTntfbdU QSLw== X-Received: by 10.68.222.168 with SMTP id qn8mr980575pbc.114.1412568675677; Sun, 05 Oct 2014 21:11:15 -0700 (PDT) Received: from [192.168.1.89] (16.86.70.115.static.exetel.com.au. [115.70.86.16]) by mx.google.com with ESMTPSA id cy9sm1240172pdb.28.2014.10.05.21.11.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 05 Oct 2014 21:11:14 -0700 (PDT) Message-ID: <54321507.6060500@gmail.com> Date: Mon, 06 Oct 2014 14:05:27 +1000 From: Bruce Schultz User-Agent: Mozilla/5.0 (X11; Linux i686 on 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-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: nonfatal() not supported error in glibc binary install References: <5430C5CF.5030504@gmail.com> <543200B5.8000107@gmail.com> In-Reply-To: <543200B5.8000107@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 2f243def-299c-42c9-8123-84cc3b1843bd X-Archives-Hash: 8a8394d9e6c1b1851b4f1191a2a015b3 On 06/10/14 12:38, Bruce Schultz wrote: > On 06/10/14 00:05, walt wrote: >> On 10/04/2014 09:15 PM, Bruce Schultz wrote: >>> Hi, >>> >>> I'm trying to update a system using binary packages build on another >>> system. I get this error for glibc: >>> >>> >>> Emerging binary (1 of 1) sys-libs/glibc-2.19-r1::gentoo >>> * glibc-2.19-r1.tbz2 MD5 SHA1 size ;-) >>> ... [ ok ] >>> >>> Extracting info >>> >>> >>> Failed to emerge sys-libs/glibc-2.19-r1, Log file: >>> >>> >>> '/var/tmp/portage/sys-libs/glibc-2.19-r1/temp/build.log' >>> >>> * Messages for package sys-libs/glibc-2.19-r1: >>> >>> * ERROR: sys-libs/glibc-2.19-r1::gentoo failed (setup phase): >>> * nonfatal() not supported in this EAPI >>> * >>> * Call stack: >>> * ebuild.sh, line 93: Called pkg_setup >>> * environment, line 2870: Called eblit-run 'pkg_setup' >>> * environment, line 987: Called eblit-glibc-pkg_setup >>> * environment, line 843: Called glibc_run_test >>> '#include >>> * int main(){return getpwuid(0)==0;} >>> * ' >>> * environment, line 2085: Called glibc_compile_test >>> '' '#include >>> * int main(){return getpwuid(0)==0;} >>> * ' >>> * environment, line 1998: Called nonfatal 'emake' >>> '-s' 'glibc-test' >>> * isolated-functions.sh, line 92: Called die >>> * The specific snippet of code: >>> * >> die "$FUNCNAME() not supported in this EAPI" >> >> I have isolated-functions.sh in two places: >> >> /usr/lib64/portage/python2.7/isolated-functions.sh >> /usr/lib64/portage/python3.3/isolated-functions.sh >> but not in /usr/lib64/portage/python3.4 (which I didn't know was >> installed til now) >> >> You might want to check the target machine for which version of >> python it's using >> and that it has the latest version of portage in >> /usr/lib/portage/pythonN.N/ >> >> Maybe running python-updater would help? >> >> > Tried switching to python 2.7 but got the same error. > > The line of the error in isolated-functions.sh is calling a function > __eapi_has_nonfatal. That is defined in eapi.sh and checks if ${EAPI} > != 0, 1, 2 or 3, which effectively leave 4 or 5. > > It seems that the glibc ebuild is EAPI 0 (from > /var/db/pkg/sys-libs/glibc-2.19-r1/EAPI). > > So I guess that the error means that it tried to run the > glibc_compile_test and failed for the binary install, so emerge tried > to raise a nonfatal error, but that wasn't supported by the EAPI and > that caused the emerge to die. > > I wonder if setting EAPI=5 in the ebuild file will help, of if that > would just cause other problems... I might try that later when I have > some time... > That mostly worked... was going to add it in bugzilla and found this: https://bugs.gentoo.org/show_bug.cgi?id=523332 Don't know why google didn't find that yesterday for me. So the patch in now attached to that bug. Cheers Bruce :B