Hi

Thanks for the report,

On 26/12/2013 17:22, Andreas Moog wrote:
> Package: glances
> Version: 1.7.3-1
> Severity: serious
> 
> Hi there,
> 
> your package fails to build in a clean unstable chroot:

I cannot reproduce it with "pbuilder --build ./glances_1.7.3-1.dsc".
The package builds fine.

>> running build_ext
>> test_Glances_getCore (glances.tests.test_glances.TestGlancesStat) ... ERROR
>> […]
>>
>> ======================================================================
>> ERROR: test_Glances_getCore (glances.tests.test_glances.TestGlancesStat)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File "/build/buildd/glances-1.7.3/glances/tests/test_glances.py", line 35, 
>> in setUp
>>     self.stats.update()
>>   File "/build/buildd/glances-1.7.3/glances/glances.py", line 1673, in update
>>     self.__update__(input_stats)
>>   File "/build/buildd/glances-1.7.3/glances/glances.py", line 1648, in 
>> __update__
>>     self.fs = self.glancesgrabfs.get()
>>   File "/build/buildd/glances-1.7.3/glances/glances.py", line 1004, in get
>>     self.__update__()
>>   File "/build/buildd/glances-1.7.3/glances/glances.py", line 982, in 
>> __update__
>>     fs_stat = psutil.disk_partitions(all=True)
>>   File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 1345, in 
>> disk_partitions
>>     return _psplatform.disk_partitions(all)
>>   File "/usr/lib/python2.7/dist-packages/psutil/_pslinux.py", line 300, in 
>> disk_partitions
>>     partitions = _psutil_linux.get_disk_partitions()
>> OSError: [Errno 2] No such file or directory: '/etc/mtab'
> (Followed by another bunch of similar errors)

In my previous experiences with chrooted build environment I remember
"/etc/mtab" was not replicated in the chroot (using schroot for instance).

I'm wondering then if this is actually an issue in glances packaging.
I believe '/etc/mtab' should exist on regular environment.

I'm ready to change glances packaging to fix this FTBFS, though I'm not sure
this is actually necessary.

Can you tell me if glances is supposed to build in a mtab-less environment?

Cheers,
Geoff


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to