From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Python3 Date: Sun, 29 Jan 2017 19:24:01 +0000 Message-ID: <1485717841.3907.2.camel@ipfire.org> In-Reply-To: <79370944-ee1a-5886-0b9f-bce8c4e42747@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1918272177562592507==" List-Id: --===============1918272177562592507== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Thanks. I assume that we will have the same issue with ARM but I could not download a rootfile from a nightly build at the moment... Best, -Michael On Sat, 2017-01-28 at 18:48 +0100, Matthias Fischer wrote: > Hi, > > Ok, got it: > > "x86_64 refers to 64-bit processors. i386 refers to 32-bit > processors." > > Replaced all "x86_64" in ".../config/rootfiles/packages/i586/python3" > with "i386" and this seemed to work. > > Sent rootfile... > > Best, > Matthias > > On 28.01.2017 09:33, Matthias Fischer wrote: > > Hi, > > > > sorry guys, but this won't build here: > > > > Its always (_build.packages.log): > > > > ... > > Jan 28 00:04:45: Building python3 Python-3.6.0.tar.xz checksum OK > > + cd /usr/src/lfs > > + make -f python3 LFS_BASEDIR=/usr/src dist > > '/usr/src/config/rootfiles/packages/i586/python3' -> > > '/install/packages/package/ROOTFILES' > > tar: > > usr/lib/python3.6/__pycache__/_sysconfigdata_m_linux_x86_64-linux- > > gnu.cpython-36.opt-1.pyc: > > Cannot stat: No such file or directory > > tar: > > usr/lib/python3.6/__pycache__/_sysconfigdata_m_linux_x86_64-linux- > > gnu.cpython-36.opt-2.pyc: > > Cannot stat: No such file or directory > > tar: > > usr/lib/python3.6/__pycache__/_sysconfigdata_m_linux_x86_64-linux- > > gnu.cpython-36.pyc: > > Cannot stat: No such file or directory > > tar: usr/lib/python3.6/_sysconfigdata_m_linux_x86_64-linux-gnu.py: > > Cannot stat: No such file or directory > > ... and so on ... > > > > E.g., script is searching for: > > > > _sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.opt-1.pyc > >                        ^^^^^^ > > It builds: > > > > _sysconfigdata_m_linux_i386-linux-gnu.cpython-36.opt-1.pyc > >                        ^^^^ > > "Fixes for rootfile" (or something similar?) needed!? > > > > Best, > > Matthias > > > > On 27.01.2017 13:33, Michael Tremer wrote: > > > Hi, > > > > > > thank you for submitting this. > > > > > > I merged this and for me, the flash image couldn't be generated > > > either. The > > > reason for that is that we allocate a partition of a fixed size > > > (which is > > > ~700MB) right now. The system is extracted onto that partition > > > and all is put > > > into the image which then is small enough to fit on a 1GB storage > > > device. As > > > soon as the system boots up for the first time, it increases the > > > partition to > > > maximum size. > > > > > > However, with adding Python 3 to the core system, it didn't fit > > > into the 700MB > > > any more. I therefore made it an add-on package which is still > > > rather huge > > > (~20MB). Is there any requirement this should be in the core > > > distribution? AFAIK > > > nothing is using this by default, hence it could easily be an > > > add-on. > > > > > > Best, > > > -Michael > > > > > > On Mon, 2017-01-23 at 16:17 +0100, Jonatan Schlag wrote: > > > > Hi, > > > > the following patches include python3 in ipfire.  > > > > > > > > Unfortunately, the flash image build no more. The build fails > > > > with a  > > > > tar  > > > > error complaining about to less disk space. I did not found out > > > > what the  > > > > problem is, so somebody else has to investigate time into this > > > > problem  > > > > to find a solution. > > > > > > > > Regards Jonatan > > > > > > > > > > --===============1918272177562592507== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSllqa0ZSQUFvSkVJQjU4UDl2a0FrSEpYRVFBS3hkcHpTMG56T0VWd1FZTzI1M1JGdy8K Q2tMTTEwaHZ3c3N3VDU0Znp3VkVvTXBvQXY2SDk0dTEwbHllZ3dlTm5RTVpyekRDMGI4Z3o4aCs4 TlpjWHVnQwpTVUZ6WGtFcDRBenVpc3ZJaS9ZVldFVjQxSzFmWGE5bzlrNEFzUldxQ0t3d1g4OWtr UTFXRkx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