[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Fwd: python-apt for Hurd]



Dear list,

I was wondering if somebody on the list could help explaining the
problem of running the tests of python-apt under Hurd. This report was
allocated Debian bug number 610448. Are there any inherent problems with
file/directory locking in Hurd?

Thanks,
Svante
-------- Forwarded Message --------
From: Svante Signell <srs@kth.se>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-apt for Hurd
Date: Tue, 18 Jan 2011 17:23:43 +0100

Package: python-apt
Version: 0.7.100.1
Severity: important
User: debian-hurd@lists.debian.org
Usertags: hurd

In order to install apt-listchanges (2.85.7) for Hurd a later version of
python-apt than 0.7.96.1, which depends on the non-existing libraries
libapt-inst-libc6.9-6-1.1 and libapt-pkg-libc6.9-6-4.8, is needed.

I managed to compile 0.7.100.1 from source with the exception of two
failed tests, see below. Removing these tests (as a workaround) made
the package to be created. Installing that package made apt-listchanges
functional (as far as I can see). Looks like there is a problem with
file/directory locking, is it lacking somehow in the Hurd? The package
was compiled with root permissions.

ERROR: test_apt_update (test_apt_cache.TestAptCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/srs/SW/python-apt-0.7.100.1/tests/test_apt_cache.py", line 141, 
in test_apt_update  cache.update(sources_list=sources_list
File "/home/srs/SW/python-apt-0.7.100.1/build/lib.gnu-0.3-i686-AT386-2.6/apt/deprecation.py", line 98, 
in deprecated_function return func(*args, **kwds)
File "/home/srs/SW/python-apt-0.7.100.1/build/lib.gnu-0.3-i686-AT386-2.6/apt/cache.py", line 364, 
in update raise FetchFailedException(e)
FetchFailedException: E:Could not get lock ./data/tmp/var/lib/apt/lists/lock - 
open (1073741859: Resource temporarily unavailable), E:Unable to lock directory
./data/tmp/var/lib/apt/lists/

======================================================================
ERROR: test_acquire_progress (test_progress.TestProgress)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/srs/SW/python-apt-0.7.100.1/tests/test_progress.py", line 43, 
in test_acquire_progress res = cache.update(progress)
File "/home/srs/SW/python-apt-0.7.100.1/build/lib.gnu-0.3-i686-AT386-2.6/apt/deprecation.py",
line 98, in deprecated_function return func(*args, **kwds)
File "/home/srs/SW/python-apt-0.7.100.1/build/lib.gnu-0.3-i686-AT386-2.6/apt/cache.py",
line 364, in update raise FetchFailedException(e)
FetchFailedException: E:Could not get lock ./tmp/lock - 
open (1073741859: Resource temporarily unavailable), E:Unable to lock directory ./tmp/

python-apt dependencies:
0.7.96.1: Depends: python (<< 2.7), python (>= 2.5), python-central (>=
0.6.11), hurd, lib apt-inst-libc6.9-6-1.1, libapt-pkg-libc6.9-6-4.8,
libc0.3 (>= 2.11), libgcc1 (>=  4.2.1), libstdc++6 (>= 4.4.0)

0.7.100.1: Depends: python2.6 | python2.5, python (>=
2.6.6-3+squeeze3~), hurd, libapt-inst1.2, libapt-pkg4.10, libc0.3 (>=
2.11), libgcc1 (>= 4.2.1), libstdc++6 (>= 4.4.0), python-apt-common





Reply to: