Debian Bug report logs - #843967
asyncpg: FTBFS in some locales

version graph

Package: src:asyncpg; Maintainer for src:asyncpg is Piotr Ożarowski <piotr@debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Fri, 11 Nov 2016 10:03:01 UTC

Severity: serious

Tags: patch

Found in version asyncpg/2.54+dfsg-7

Fixed in version asyncpg/0.6.3-2

Done: Piotr Ożarowski <piotr@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Piotr Ożarowski <piotr@debian.org>:
Bug#843967; Package src:asyncpg. (Fri, 11 Nov 2016 10:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Piotr Ożarowski <piotr@debian.org>. (Fri, 11 Nov 2016 10:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: asyncpg: FTBFS in some locales
Date: Fri, 11 Nov 2016 10:00:20 +0000
Source: asyncpg
Version: 2.54+dfsg-7
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Due to the way asyncpg parses the output pg_ctl, it will FTBFS in some
locales.

Note the "pg_ctl : le serveur est en cours d'exécution (PID : 9286)".

======================================================================
ERROR: test_cancellation_01 (test_cancellation.TestCancellation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/asyncpg-0.6.3/2nd/.pybuild/pythonX.Y_3.5/build/asyncpg/_testbase.py", line 146, in setUp
    self.cluster.connect(database='postgres', loop=self.loop, **opts))
  File "/usr/lib/python3.5/asyncio/base_events.py", line 446, in run_until_complete
    return future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 292, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/build/asyncpg-0.6.3/2nd/.pybuild/pythonX.Y_3.5/build/asyncpg/cluster.py", line 125, in connect
    conn_info = self.get_connection_spec()
  File "/build/asyncpg-0.6.3/2nd/.pybuild/pythonX.Y_3.5/build/asyncpg/cluster.py", line 258, in get_connection_spec
    status = self.get_status()
  File "/build/asyncpg-0.6.3/2nd/.pybuild/pythonX.Y_3.5/build/asyncpg/cluster.py", line 116, in get_status
    stdout.decode()))
asyncpg.cluster.ClusterError: could not parse pg_ctl status output: pg_ctl : le serveur est en cours d'exécution (PID : 9286)
/usr/lib/postgresql/9.6/bin/postgres "-D" "/tmp/tmpyoj88_xx" "--port=55514" "-c" "log_connections=on" "-c" "unix_socket_directories=/tmp"

The full build log is available here:

  https://gist.githubusercontent.com/lamby/ed4b17384603a08fdb2b7686887be9d9/raw


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Piotr Ożarowski <piotr@debian.org>:
Bug#843967; Package src:asyncpg. (Fri, 11 Nov 2016 10:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Piotr Ożarowski <piotr@debian.org>. (Fri, 11 Nov 2016 10:09:03 GMT) (full text, mbox, link).


Message #10 received at 843967@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 843967@bugs.debian.org
Subject: Re: asyncpg: FTBFS in some locales
Date: Fri, 11 Nov 2016 10:07:09 +0000
[Message part 1 (text/plain, inline)]
tags 843967 + patch
thanks

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[843967.diff.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Chris Lamb <lamby@debian.org> to control@bugs.debian.org. (Fri, 11 Nov 2016 10:09:05 GMT) (full text, mbox, link).


Reply sent to Piotr Ożarowski <piotr@debian.org>:
You have taken responsibility. (Sun, 13 Nov 2016 16:06:10 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Sun, 13 Nov 2016 16:06:10 GMT) (full text, mbox, link).


Message #17 received at 843967-close@bugs.debian.org (full text, mbox, reply):

From: Piotr Ożarowski <piotr@debian.org>
To: 843967-close@bugs.debian.org
Subject: Bug#843967: fixed in asyncpg 0.6.3-2
Date: Sun, 13 Nov 2016 16:03:44 +0000
Source: asyncpg
Source-Version: 0.6.3-2

We believe that the bug you reported is fixed in the latest version of
asyncpg, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 843967@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Ożarowski <piotr@debian.org> (supplier of updated asyncpg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 13 Nov 2016 16:38:01 +0100
Source: asyncpg
Binary: python3-asyncpg
Architecture: source amd64
Version: 0.6.3-2
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <piotr@debian.org>
Changed-By: Piotr Ożarowski <piotr@debian.org>
Description:
 python3-asyncpg - asyncio PosgtreSQL driver
Closes: 843967
Changes:
 asyncpg (0.6.3-2) unstable; urgency=medium
 .
   * Fix parsing pg_ctl output in some locales (closes: 843967, thanks to Chris
     Lamb for the patch)
Checksums-Sha1:
 f39bd9cf0c2ebd0774bb25708d969e174af38073 2037 asyncpg_0.6.3-2.dsc
 b85c0aeaab09aececf16916bd1eec798428f0ccf 6152 asyncpg_0.6.3-2.debian.tar.xz
 0aecfba90a2d82af634e0be156459dc0984a6e16 6558 asyncpg_0.6.3-2_20161113T154018z-170356a0.buildinfo
 86f2e842813bc1f6830fc9a8c70857e4a92f4cae 655992 python3-asyncpg-dbgsym_0.6.3-2_amd64.deb
 e5846815df4560671a9258c836096cf5b527c802 237278 python3-asyncpg_0.6.3-2_amd64.deb
Checksums-Sha256:
 ee78e95ec05c128480cf8a241287af20e8e2463bffb3ca555142027a7026bb82 2037 asyncpg_0.6.3-2.dsc
 31add51877232a15d6cd69509b05a6f73c7316260ea10627bb5b27e7de206042 6152 asyncpg_0.6.3-2.debian.tar.xz
 5acc965857498a1f27e0f9f1e3fcc5ecdf6c53ccf5737531409a0e6ef8c03a50 6558 asyncpg_0.6.3-2_20161113T154018z-170356a0.buildinfo
 557740f1bbe3aed922fcd486ce28e92b37bb1e658ae18e22943bd0ed928a92fb 655992 python3-asyncpg-dbgsym_0.6.3-2_amd64.deb
 5ec1a65861c37229b3925c226ce22b493518f11a0aa01c178c0e27249d9505a4 237278 python3-asyncpg_0.6.3-2_amd64.deb
Files:
 0c3e18cd737644a1bb1b349134b2a6f8 2037 python optional asyncpg_0.6.3-2.dsc
 5b1aec93be60f2cb4080c1a2a4a047a7 6152 python optional asyncpg_0.6.3-2.debian.tar.xz
 170356a06311d36e8c6d9352aa07fd1c 6558 python optional asyncpg_0.6.3-2_20161113T154018z-170356a0.buildinfo
 2a3d30986d0b6f9d904ccd2214ee43f1 655992 debug extra python3-asyncpg-dbgsym_0.6.3-2_amd64.deb
 057ba893cf9682bdc91c4a9c375d671e 237278 python optional python3-asyncpg_0.6.3-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYKIsOAAoJEK728aKnRXZFxe0P/1qffdVvNpZmT5eUGSOduQHT
QgpIFkpkZvrR9Mr3emr03YoiAJ7bepwaw2tIfPcWaywHO3peaEGGFr51OzuV0Aj/
OqiHfno8TBXGGrNIKiak0cF1IH8HuSG8Gf960qvDwufm9iSwiuQVFkC04cjYRTXz
sYMk+I0H9B7wBy0Dt0KrgN7NDYLK5D5w6PVoEP5EpBSbpt2NpCdDwUmngaXhqR+M
ZxFWDgdEn/1Di+XAv31QKZ0Xhfas18TIARbQ07dPfDvX7FG++vOE5vj4cjBlY8Oj
sH/kd/aQ+E+wOpVCSt1u41d0W7VTYe0KxMNoY+EwAndU8duXdfyswIIFZSQ3MTpx
LgokYuiOsSjiMyvdSUkdYfAJ68EEc0+dg2W9CDRyzFlqvfFSYGJ7Lavwb5T4Ytrc
Q5OoKmaCtX5hQylzF3gbQQe+BG56qMdpY2p+y3wlfzZ+eWBr8cipuR4rX1n2Bskx
/pfcs5F0F+tEoP9OvOPl5byWqRtKnarKbhuicD2bNzBbg1HZRFvOlcfwINvV853W
7GvqCJE+C63zIioQqwfWp8IsDQs9p9WQbJJOO1LS9vipSlI3CfK+1MsXe1u0nLLW
4qLEKL2F1/ajUwPJwEx8fQKIANp47cFG2DQCfh2RR1J/FOjkSY+F0JjloGuGWzih
fiAY3kmV3QW3MA4E5Mmn
=BWwF
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 29 Dec 2016 09:08:43 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:55:40 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.