Source: asyncpg
Version: 0.17.0-1
Severity: serious
Tags: ftbfs

asyncpg fails to build from source in unstable:

| =================================== FAILURES 
===================================
| _______________ TestCodecsLargeOIDs.test_custom_codec_large_oid 
________________
| 
| self = <tests.test_codecs.TestCodecsLargeOIDs 
testMethod=test_custom_codec_large_oid>
| 
|     async def test_custom_codec_large_oid(self):
|         await self.con.execute('CREATE DOMAIN test_domain_t AS int')
|         try:
|             oid = await self.con.fetchval('''
|                     SELECT oid FROM pg_type WHERE typname = 'test_domain_t'
|                 ''')
| >           self.assertEqual(oid, 2147483648)
| E           AssertionError: 2147483649 != 2147483648
| 
| tests/test_codecs.py:1611: AssertionError
| ---------------------------- Captured stdout setup 
-----------------------------
| module 'ctypes' has no attribute 'util'
| ======== 1 failed, 236 passed, 2 skipped, 1 deselected in 52.57 seconds 
========
| E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_asyncpg/build; python3.7 -m pytest 
-k-test_flake8
| dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.7 3.6" 
returned exit code 13
| make: *** [debian/rules:8: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Also on reproducible builds:

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/asyncpg_0.17.0-1.rbuild.log.gz
https://tests.reproducible-builds.org/debian/rbuild/unstable/arm64/asyncpg_0.17.0-1.rbuild.log.gz

Helmut

Reply via email to