* [gentoo-portage-dev] ESTALE missing on interix
@ 2009-04-23 11:55 Markus Duft
2009-04-23 12:10 ` Markus Duft
0 siblings, 1 reply; 3+ messages in thread
From: Markus Duft @ 2009-04-23 11:55 UTC (permalink / raw
To: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
Hi!
i'm here to report ESTALE beeing missing on interix ;) seems like
portage is checking on it lately, so i required the attached patch to
get portage working on interix again (prefix).
any chance to get sth. alike in the svn tree? maybe a more generic
thing? but i guess that would not be necessary
Cheers, Markus
[-- Attachment #2: portage-2.2.00.13369-interix-estale.patch --]
[-- Type: text/x-patch, Size: 385 bytes --]
diff -ru portage.orig/pym/portage/__init__.py portage/pym/portage/__init__.py
--- portage.orig/pym/portage/__init__.py 2009-04-23 13:49:09 +0200
+++ portage/pym/portage/__init__.py 2009-04-23 13:50:18 +0200
@@ -15,6 +15,10 @@
import codecs
import copy
import errno
+ try:
+ x = errno.ESTALE
+ except AttributeError:
+ errno.ESTALE = -1
import logging
import os
import re
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-portage-dev] ESTALE missing on interix
2009-04-23 11:55 [gentoo-portage-dev] ESTALE missing on interix Markus Duft
@ 2009-04-23 12:10 ` Markus Duft
2009-04-23 17:45 ` Zac Medico
0 siblings, 1 reply; 3+ messages in thread
From: Markus Duft @ 2009-04-23 12:10 UTC (permalink / raw
To: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
On Thu, 2009-04-23 at 13:55 +0200, Markus Duft wrote:
> Hi!
>
> i'm here to report ESTALE beeing missing on interix ;) seems like
> portage is checking on it lately, so i required the attached patch to
> get portage working on interix again (prefix).
djanderson pointed out that I could have made the patch better - as I'm
no python programmer, I didn't know better, so forgive me :) attached is
the better one i hope.
Cheers, Markus
>
> any chance to get sth. alike in the svn tree? maybe a more generic
> thing? but i guess that would not be necessary
>
> Cheers, Markus
[-- Attachment #2: portage-2.2.00.13369-interix-estale.patch --]
[-- Type: text/x-patch, Size: 367 bytes --]
diff -ru portage.orig/pym/portage/__init__.py portage/pym/portage/__init__.py
--- portage.orig/pym/portage/__init__.py 2009-04-23 13:49:09 +0200
+++ portage/pym/portage/__init__.py 2009-04-23 14:07:44 +0200
@@ -15,6 +15,8 @@
import codecs
import copy
import errno
+ if not hasattr(errno, 'ESTALE'):
+ errno.ESTALE = -1
import logging
import os
import re
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-portage-dev] ESTALE missing on interix
2009-04-23 12:10 ` Markus Duft
@ 2009-04-23 17:45 ` Zac Medico
0 siblings, 0 replies; 3+ messages in thread
From: Zac Medico @ 2009-04-23 17:45 UTC (permalink / raw
To: gentoo-portage-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Markus Duft wrote:
> On Thu, 2009-04-23 at 13:55 +0200, Markus Duft wrote:
>> Hi!
>>
>> i'm here to report ESTALE beeing missing on interix ;) seems like
>> portage is checking on it lately, so i required the attached patch to
>> get portage working on interix again (prefix).
>
> djanderson pointed out that I could have made the patch better - as I'm
> no python programmer, I didn't know better, so forgive me :) attached is
> the better one i hope.
Thanks, it's in svn r13387.
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAknwqS8ACgkQ/ejvha5XGaNv4ACgrnZc2Ti6RSZZRcVZ0M3jTA6r
O3cAoLLhfJ2rELQFJCdLluQjUba6ScfV
=b3mW
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-23 17:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23 11:55 [gentoo-portage-dev] ESTALE missing on interix Markus Duft
2009-04-23 12:10 ` Markus Duft
2009-04-23 17:45 ` Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox