From owner-freebsd-pkg-fallout@FreeBSD.ORG Thu Feb 13 20:01:27 2014 Return-Path: Delivered-To: pkg-fallout@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8B194C4; Thu, 13 Feb 2014 20:01:27 +0000 (UTC) Received: from melon.pingpong.net (melon.pingpong.net [79.136.116.200]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5D41C71; Thu, 13 Feb 2014 20:01:27 +0000 (UTC) Received: from [10.0.1.5] (h-43-145.a357.priv.bahnhof.se [79.136.43.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by melon.pingpong.net (Postfix) with ESMTPSA id 83F3F3311D; Thu, 13 Feb 2014 21:01:25 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_D2ED03C4-059A-495E-A94C-EEE6A74C5D1D"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: shebang problem with python, Was: [REL - head-i386-default][databases/postgresql-libpqxx] Failed for postgresql-libpqxx-4.0.1 in build From: Palle Girgensohn In-Reply-To: Date: Thu, 13 Feb 2014 21:01:24 +0100 Message-Id: <81003877-D3DF-41F8-A4AC-63A274B72DCB@FreeBSD.org> References: <201402131903.s1DJ3Q6q070999@beefy1.isc.freebsd.org> To: Antoine Brodin X-Mailer: Apple Mail (2.1827) Cc: pkg-fallout-builder@freebsd.org, python@freebsd.org, "pkg-fallout@freebsd.org" , pgsql@freebsd.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2014 20:01:28 -0000 --Apple-Mail=_D2ED03C4-059A-495E-A94C-EEE6A74C5D1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Lovely, thank a bundle! Palle 13 feb 2014 kl. 20:46 skrev Antoine Brodin : > On Thu, Feb 13, 2014 at 8:22 PM, Palle Girgensohn = wrote: >> Hi python@ and bapt@, >>=20 >> I'm usnure how to fix this problem. >>=20 >> postgresql-libpqxx needs python (shebang:ed) during the build = process, and this is defined in the port using >>=20 >> USE_PYTHON_BUILD=3D yes >> USES=3D gmake shebangfix >> SHEBANG_FILES=3D ${WRKSRC}/tools/splitconfig >>=20 >>=20 >> The shebangfix alters #!/usr/bin/python in tools/splitconfig to = #!/usr/local/bin/python... >>=20 >> But USE_PYTHON_BUILD only installs the python2 symlink, not the = python symlink, so /usr/local/bin/python does not get installed in a = clean room environment. >>=20 >> I believe the port is agnostic to the version of python, so I don't = want to enforce a specific version of python just for this port's build, = but the build process does not automatically install the lang/python = meta port. >>=20 >> How is this supposed to work? >=20 > Hi, >=20 > You can use python_CMD=3D ${PYTHON_CMD} (currently installed python = file name) > Since it's only a build dependency and the splitconfig file is not > packaged this shouldn't be a problem. >=20 > Cheers, >=20 > Antoine --Apple-Mail=_D2ED03C4-059A-495E-A94C-EEE6A74C5D1D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJS/SSUAAoJEIhV+7FrxBJDVPYIAIIflVewUEnV+q1VvimYrkdM 1fUvpu4vfb5yh5pn5KjdDnBTRxTBNxTOLur5LTMrp8qD8g3OEze/4X1TqJRJv0Q2 JgNURaePsVRGBMSZkyxiufwixNj7Ou5Oh7rgJGZt7GxH/LnMLmSpsD9kLGSFEl1q ipzFxMIsmcU94Sw492pa8hAoi4jOzmZJAK+o0ezgxN4d5TLFmWVFernXY43ZSilI D6OtkPTJDZJb5nEZcfp2uCmNBV3YgfViAjIMtUBEGvP/JrEmWZnCgz6C91/CRJlQ HhDUAZQSW/Uh0hUzques2c7Ua+zGl41f6yNgGcyS4tqawQX3Y6imCeXW0qjuDpg= =2vcj -----END PGP SIGNATURE----- --Apple-Mail=_D2ED03C4-059A-495E-A94C-EEE6A74C5D1D--