[Pkg-postgresql-public] Bug#795590: postgresql-multicorn: FTBFS: TypeError: an integer is required
Chris Lamb
lamby at debian.org
Sat Aug 15 13:53:34 UTC 2015
Source: postgresql-multicorn
Version: 1.2.2-1
Severity: serious
Justification: fails to build from source
Dear Maintainer,
postgresql-multicorn fails to build from source on unstable/amd64:
[..]
self = <multicorn.fsfdw.structuredfs.Item object at 0x7f4ea124b9d0>
fd = 'lipsum/a_foo/1'
def write(self, fd=None):
if fd is None:
fd = self.open(False)
> os.ftruncate(fd, 0)
E TypeError: an integer is required
multicorn/fsfdw/structuredfs.py:265: TypeError
__________________________________ test_items
__________________________________
@functools.wraps(function)
def wrapper():
directory = tempfile.mkdtemp()
try:
> return function(directory)
multicorn/fsfdw/test.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _
multicorn/fsfdw/test.py:154: in test_items
text.create(category='lipsum', num='5', name='bar').write('BAR')
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _
self = <multicorn.fsfdw.structuredfs.Item object at 0x7f4ea1291c90>,
fd = 'BAR'
def write(self, fd=None):
if fd is None:
fd = self.open(False)
> os.ftruncate(fd, 0)
E TypeError: an integer is required
multicorn/fsfdw/structuredfs.py:265: TypeError
================ 3 failed, 4 passed, 1 warnings in 0.51 seconds
================
E: pybuild pybuild:262: test: plugin distutils failed with: exit
code=1: cd
/tmp/buildd/postgresql-multicorn-1.2.2/.pybuild/pythonX.Y_2.7/build;
python2.7 -m pytest
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7
--dir . returned exit code 13
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/rbuild/unstable/amd64/postgresql-multicorn_1.2.2-1.rbuild.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: postgresql-multicorn.1.2.2-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20150815/8c052e8a/attachment-0001.txt>
More information about the Pkg-postgresql-public
mailing list