Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2014 21:01:24 +0100
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        Antoine Brodin <antoine@FreeBSD.org>
Cc:        pkg-fallout-builder@freebsd.org, python@freebsd.org, "pkg-fallout@freebsd.org" <pkg-fallout@freebsd.org>, pgsql@freebsd.org
Subject:   Re: shebang problem with python, Was: [REL - head-i386-default][databases/postgresql-libpqxx] Failed for postgresql-libpqxx-4.0.1 in build
Message-ID:  <81003877-D3DF-41F8-A4AC-63A274B72DCB@FreeBSD.org>
In-Reply-To: <CAALwa8=0JKMJk6V9n6QcO19hN2z-4N9wMsEOJUF449EkrddOtw@mail.gmail.com>
References:  <201402131903.s1DJ3Q6q070999@beefy1.isc.freebsd.org> <FD6E18AE-765A-42A5-AEEA-05475EE4B5F2@FreeBSD.org> <CAALwa8=0JKMJk6V9n6QcO19hN2z-4N9wMsEOJUF449EkrddOtw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <antoine@FreeBSD.org>:

> On Thu, Feb 13, 2014 at 8:22 PM, Palle Girgensohn <girgen@freebsd.org> =
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81003877-D3DF-41F8-A4AC-63A274B72DCB>