Bug#324051: Bogus free space display on Alpha

2011-07-04 Thread Michael Cree
I think the attached patch, courtesy of Gentoo, should finally fix the statvfs problem on Alpha. Without the patch eglibc 2.13 causes major problems on Alpha such as recent versions of apt-get failing to establish the correct free space on the disk and refusing to install any packages. I have bee

Bug#324051: Bogus free space display on Alpha

2005-11-13 Thread Falk Hueffner
reassign 324051 libc6.1-dev retitle 324051 bad struct statvfs declaration on Alpha when _FILE_OFFSET_BITBITS is defined thanks As Sergey Tikhonov found out, this is really a bug in glibc's /usr/include/bits/statvfs.h. When _FILE_OFFSET_BITS is set, a different struct definition is taken, although

Bug#324051: Bogus free space display on Alpha

2005-11-13 Thread Martin v. Löwis
With python 2.4_2.4.2-1 and libc6.1-dev 2.3.5-7 I get exactly the same code, except that statvfs is now declared Somebody will need to debug through the code. I cannot see anything wrong with the code, and on the systems I have access to, it always produces the correct results. As another test,

Bug#324051: Bogus free space display on Alpha

2005-11-12 Thread Falk Hueffner
"Martin v. Löwis" <[EMAIL PROTECTED]> writes: It would be helpful to get the preprocessor output for posixmodule.i. I'll include the relevant fragments from SF below; on the real build environment, you should see the same (somewhat differently formatted). With python 2.4_2.4.2-1 and libc6.1-de

Bug#324051: Bogus free space display on Alpha

2005-11-01 Thread Martin Michlmayr
* "Martin v. Löwis" <[EMAIL PROTECTED]> [2005-08-25 11:28]: > It looks like a 64-bit issue indeed: 4912214227121058 in hex is > 0x1173A2001173A2L, so the real value apparently should be 0x1173A2. > > I tried reproducing this on the SF compile farm (Debian 3.0), ... > It would be helpful to get the

Bug#324051: Bogus free space display on Alpha

2005-08-25 Thread Martin v. Löwis
> Looks like it. doko, can you please look at this? This is in both > 2.3 and 2.4. I'm surprised that Python would have such a bug that's > still not fixed but maybe it's just not compiled with the right > options or something? It looks like a 64-bit issue indeed: 4912214227121058 in hex is 0x1

Bug#324051: Bogus free space display on Alpha

2005-08-24 Thread Martin Michlmayr
clone 324051 -1 reassign -1 jack retitle -1 jack_function.df()'s alternative path is broken (keep_free not defined) severity -1 minor thanks * Falk Hueffner <[EMAIL PROTECTED]> [2005-08-24 22:46]: > Jacks df parsing routine doesn't work, though, it looks for > "Available" instead of "Avail" and k

Bug#324051: Bogus free space display on Alpha

2005-08-24 Thread Martin Michlmayr
reassign 324051 python2.3 thanks * Falk Hueffner <[EMAIL PROTECTED]> [2005-08-24 22:46]: > > 1. does the following work okay? > > > > 8425:[EMAIL PROTECTED]: ~] python > from os import statvfs > statvfs(".") > > (4096, 4096, 4643036L, 1401905L, 1401905L, 2359296L, 2269308L, 2269308L, 0,

Bug#324051: Bogus free space display on Alpha

2005-08-24 Thread Martin Michlmayr
* Falk Hueffner <[EMAIL PROTECTED]> [2005-08-24 22:46]: > [EMAIL PROTECTED]:~% python > Python 2.3.5 (#2, Aug 13 2005, 20:48:47) > [GCC 4.0.2 20050806 (prerelease) (Debian 4.0.1-4)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from os import statvfs > >>

Bug#324051: Bogus free space display on Alpha

2005-08-24 Thread Falk Hueffner
Martin Michlmayr <[EMAIL PROTECTED]> writes: > * Falk Hueffner <[EMAIL PROTECTED]> [2005-08-20 03:13]: >> (o) SPACE:18301984TB waiting_WAVs:00 DAE:0+1 ENC:1+0 errors: 952 :-[ >> Unfortunately, I don't have 18301984 TB of disk space. It's probably >> a 64 bit problem. > > jack_functions.df() tries

Bug#324051: Bogus free space display on Alpha

2005-08-24 Thread Falk Hueffner
Martin Michlmayr <[EMAIL PROTECTED]> writes: > * Falk Hueffner <[EMAIL PROTECTED]> [2005-08-24 22:46]: >> [EMAIL PROTECTED]:~% python >> Python 2.3.5 (#2, Aug 13 2005, 20:48:47) >> [GCC 4.0.2 20050806 (prerelease) (Debian 4.0.1-4)] on linux2 >> Type "help", "copyright", "credits" or "license" for

Bug#324051: Bogus free space display on Alpha

2005-08-24 Thread Martin Michlmayr
* Falk Hueffner <[EMAIL PROTECTED]> [2005-08-20 03:13]: > (o) SPACE:18301984TB waiting_WAVs:00 DAE:0+1 ENC:1+0 errors: 952 :-[ > Unfortunately, I don't have 18301984 TB of disk space. It's probably > a 64 bit problem. jack_functions.df() tries to use os.statvfs() and falls back to calling df direc

Bug#324051: Bogus free space display on Alpha

2005-08-20 Thread Falk Hueffner
Martin Michlmayr <[EMAIL PROTECTED]> writes: > * Falk Hueffner <[EMAIL PROTECTED]> [2005-08-20 03:13]: >> The status bar shows: >> >> (o) SPACE:18301984TB waiting_WAVs:00 DAE:0+1 ENC:1+0 errors: 952 :-[ > >> Unfortunately, I don't have 18301984 TB of disk space. It's >> probably a 64 bit problem.

Bug#324051: Bogus free space display on Alpha

2005-08-20 Thread Martin Michlmayr
* Falk Hueffner <[EMAIL PROTECTED]> [2005-08-20 03:13]: > The status bar shows: > > (o) SPACE:18301984TB waiting_WAVs:00 DAE:0+1 ENC:1+0 errors: 952 :-[ > Unfortunately, I don't have 18301984 TB of disk space. It's probably a 64 bit > problem. The whole space calulation is rather inprecise (it'

Bug#324051: Bogus free space display on Alpha

2005-08-19 Thread Falk Hueffner
Package: jack Version: 3.1.1-7 Severity: normal File: /usr/bin/jack The status bar shows: (o) SPACE:18301984TB waiting_WAVs:00 DAE:0+1 ENC:1+0 errors: 952 :-[ Unfortunately, I don't have 18301984 TB of disk space. It's probably a 64 bit problem. Falk -- System Information: Debian Rel