From patchwork Wed May 1 04:35:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell Currey X-Patchwork-Id: 1093564 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44v5MF7146z9s4V for ; Wed, 1 May 2019 14:41:29 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=russell.cc header.i=@russell.cc header.b="i1mcVMcD"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="SmOyccqv"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 44v5MF5mjZzDqSs for ; Wed, 1 May 2019 14:41:29 +1000 (AEST) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=russell.cc (client-ip=64.147.123.20; helo=wout4-smtp.messagingengine.com; envelope-from=ruscur@russell.cc; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=russell.cc header.i=@russell.cc header.b="i1mcVMcD"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="SmOyccqv"; dkim-atps=neutral X-Greylist: delayed 308 seconds by postgrey-1.36 at bilbo; Wed, 01 May 2019 14:41:22 AEST Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 44v5M6298jzDqS3 for ; Wed, 1 May 2019 14:41:22 +1000 (AEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id BFDED36F; Wed, 1 May 2019 00:36:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 01 May 2019 00:36:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=russell.cc; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=zO6Bki5NNbJGv8Vs8UxVfNEHkH N+Y7L7TWtqwKncP7Q=; b=i1mcVMcDWsYRBGDZliVhXkQOauzAERog4MYFPS60NM 7X971FGyeT9tmAVpSf/vB6ee2dpt0AjBydrZ2sldn83iD3mAAWcjiXkx1EySnH+i WdjjAJnTJwmBJEdoTNzVVonHwY7MQr06/E/wKRTsNdcziLgeh4lSTbjtJTk/ktpp 7GVgA+XxA+BaF6xCJQE2+y5+9kVxF1hSC0q3isjyYrFzuaxHjXUFrQ6u0fW02vxU 3koIwiU81ztLuUHnDnbsYvDIG6CwFuDnLcXNn6VscVgttMk7zqes6I2EvVv2dg71 KFE37C4dq81b+DpZtNhZU+K73JbgZlhUpGx0X/ah9DqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=zO6Bki5NNbJGv8Vs8 UxVfNEHkHN+Y7L7TWtqwKncP7Q=; b=SmOyccqvip6X44dfAmRQRk/ANgiREP+oG 7ASfa+IMK++7/nhBEs/vKctnGWG6tuZrErqKrCTeR+51DImhcN5/bsUM6d4UhJMs AQD9rYBf9P0IZfFr0dYXFXRC0RfChyE2K2Fe8KAGKqyn8+ml0A+y211i38Z+Hhd0 BOIorjQtMQCQL1m/+wOMj0hwcbefVGvs9T0JGVMZN5e1uKZ6hDfT4HxUskrcsUHb RJ4DX4xIycBTT9Oouo7JpdTo1Anuk5ZQ4vxVGjcwF7RUbkWggGBMAsdLyLsAMxTr nYRkqSV9+V9DOH6cFNTxZs+j+cn9IOWwvpLac0QCCEoNzYJ5gPNzg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrieeigdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdeftddmnecujfgurhephffvuf ffkffoggfgsedtkeertdertddtnecuhfhrohhmpeftuhhsshgvlhhlucevuhhrrhgvhicu oehruhhstghurhesrhhushhsvghllhdrtggtqeenucfkphepuddvvddrleelrdekvddrud dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehruhhstghurhesrhhushhsvghllhdrtggt necuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from crackle.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 9596CE40C1; Wed, 1 May 2019 00:36:08 -0400 (EDT) From: Russell Currey To: patchwork@lists.ozlabs.org Subject: [PATCH] docker: Install libpq-dev to fix psycopg2-binary build Date: Wed, 1 May 2019 14:35:53 +1000 Message-Id: <20190501043553.20314-1-ruscur@russell.cc> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" psycopg2-binary fails if pg_config isn't installed, which is provided by libpq-dev. This seems strange to me since psycopg2-binary suggests that you use psycopg2-binary instead (of itself) if you don't want to build psycopg2 so you wouldn't need pg_config, which is very confusing. It's possible that psycopg2-binary only needs to compile itself on non-x86 platforms, since I hit this on ppc64le. Anyway, it works when this is added. Signed-off-by: Russell Currey Reviewed-by: Andrew Donnellan --- tools/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index b9ecdb5..eef40e4 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -26,7 +26,7 @@ RUN apt-get update -qq && \ python3.5-dev python3-pip python3-setuptools python3-wheel \ python3.4-dev findutils=4.4.2-7 python3.6-dev \ libmysqlclient-dev mysql-client curl unzip build-essential \ - git postgresql-client tzdata + git postgresql-client tzdata libpq-dev # User RUN useradd --uid=$UID --create-home patchwork