| View previous topic :: View next topic |
| Author |
Message |
genstorm Veteran


Joined: 05 Apr 2007 Posts: 1957 Location: Austria
|
Posted: Wed Sep 30, 2009 8:27 am Post subject: |
|
|
Yes, portage-2.2_rc42 now likes python3. Setting it as default still isn't recommended though, because many other python apps still won't work with it. _________________ backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic |
|
| Back to top |
|
 |
geki Advocate


Joined: 13 May 2004 Posts: 2075 Location: Germania
|
|
| Back to top |
|
 |
geki Advocate


Joined: 13 May 2004 Posts: 2075 Location: Germania
|
Posted: Thu Oct 01, 2009 12:44 am Post subject: |
|
|
added python3 USEflag.
python-3.1 gets detected, 2to3 static porting done plus email.MIME* changes in python scripts and most C-API Unicode String et al changes done.
anyone interested to help me with some C-API python3 module changes?
one Q is how to properly convert a PyUnicode to UTF-8? I wonder about PyUnicode_AS_DATA and *_GET_SIZE macros use.
next Q is how to replace a PyClass_Type cast? replaced with PyTuple_Type ...
another Q is how to store the PyObject* of the module and its state? ...
anyone with some python3 knowledge there?
details then ...
... hope never dies .... _________________ LibreOffice|split-boost|trans-follow xcb port|instruction set analyzer
_________________
sanity . . . is not with me |
|
| Back to top |
|
 |
jprobichaud Tux's lil' helper

Joined: 28 Jan 2009 Posts: 81 Location: Montreal, Qc
|
Posted: Thu Oct 01, 2009 1:20 pm Post subject: |
|
|
hum, I'm getting this:
| Code: |
>>> Fetching (1 of 1) app-office/openoffice-3.1.1.19_pre20090929 from geki-overlay
* Sun_ODF_Template_Pack_en-US.oxt RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* ooo310-m19-libs-extern.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* ooo310-m19-sdk.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* ooo310-m19-filters.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* ooo310-m19-bootstrap.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* biblio.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* ooo310-m19-libs-core.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* scsolver.2008-10-30.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* ooo310-m19-extras.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
rm * ooo310-m19-libs-extern-sys.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* ooo310-m19-artwork.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
!!! Previously fetched file: '/usr/portage/distfiles/ooo-build-a96dab3afc2d47da4cabf2890e3c8215187e96a6.tar.gz'
!!! Reason: Failed on RMD160 verification
!!! Got: afc00ca507fe4e5036c203a3e548ab007f2e389d
!!! Expected: 38aa9adcb31df097281c3eeb5ddc2ea51dc054ef
Refetching... File renamed to '/usr/portage/distfiles/ooo-build-a96dab3afc2d47da4cabf2890e3c8215187e96a6.tar.gz._checksum_failure_.Emw5kS'
|
Is should I update the ebuild digest or something is really wrong with the download? I found that the download of
http://cgit.freedesktop.org/ooo-build/ooo-build/snapshot/ooo-build-a96dab3afc2d47da4cabf2890e3c8215187e96a6.tar.gz often aborts (I've had to run "wget -c" many times as I was getting small file all the time).
Is there another mirror we can use? |
|
| Back to top |
|
 |
geki Advocate


Joined: 13 May 2004 Posts: 2075 Location: Germania
|
Posted: Fri Oct 02, 2009 10:38 am Post subject: |
|
|
jprobichaud that is known. RMD160 is your best ...
hmm, looks like python3 porting fails for remove of PyClass_Type.
no fun to recreate that type object.
well, then instead a patch to disable python for good may appear.
since pyuno is not really maintained.
if you know someone, writing python code and interested in a OOo python3 bridge
I gladly point to PyCXX[1], a Python-C++ Connection, to get away from ugly Python C code.
(simply to simplify and to make the python extension portable, read its docs)
[1] http://sourceforge.net/projects/cxx/ _________________ LibreOffice|split-boost|trans-follow xcb port|instruction set analyzer
_________________
sanity . . . is not with me |
|
| Back to top |
|
 |
jprobichaud Tux's lil' helper

Joined: 28 Jan 2009 Posts: 81 Location: Montreal, Qc
|
Posted: Fri Oct 02, 2009 1:01 pm Post subject: |
|
|
| I've found something strange: each time that I download the ooo-build-*.tar.gz, I get a file with a different md5sum, but when I compile the files inside the tar, everything is ok... looks like tar is sometime creative... maybe the ooo-build tar is created on the fly and that's why the ebuild always fails... |
|
| Back to top |
|
 |
geki Advocate


Joined: 13 May 2004 Posts: 2075 Location: Germania
|
|
| Back to top |
|
 |
|