From owner-freebsd-python@FreeBSD.ORG Mon Nov 25 15:15:15 2013 Return-Path: Delivered-To: freebsd-python@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 16E3DA20; Mon, 25 Nov 2013 15:15:15 +0000 (UTC) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C995E20D8; Mon, 25 Nov 2013 15:15:14 +0000 (UTC) Received: from [89.182.2.242] (helo=localhost) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1VkxsW-0003Kz-7V; Mon, 25 Nov 2013 16:15:12 +0100 Date: Mon, 25 Nov 2013 16:15:11 +0100 From: Marcus von Appen To: "Timur I. Bakeyev" Subject: Re: FreeBSD python patch for databases/ldb Message-ID: <20131125151511.GA1435@medusa.sysfault.org> Mail-Followup-To: "Timur I. Bakeyev" , freebsd-python@freebsd.org References: <20131124171914.GE1398@medusa.sysfault.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) X-Df-Sender: MTEyNTc0Mg== Cc: freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Marcus von Appen List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 15:15:15 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On, Mon Nov 25, 2013, Timur I. Bakeyev wrote: > Hi, Marcus! > > I see this patch as useless, as WAF isn't called via shebang. > > Please, take a closer look onto port's Makefile. It is called via shebang in the configure stage. do-configure (from bsd.port.mk) expands to: ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ... which effectively will become: ${CONFIGURE_ENV} ./buildtools/bin/waf configure ${CONFIGURE_ARGS} ... And this is where it breaks: /usr/ports/databases/ldb # make configure [...] ===> Configuring for ldb-1.1.16 env: python: No such file or directory ===> Script "buildtools/bin/waf configure" failed unexpectedly. Cheers Marcus --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlKTaX8ACgkQi68/ErJnpkdIywCfQqjwbG4+p0LB8SbO0k35ig2L BuUAn0z1Rj/Uwzw8jByjiU3lXdGu2y8y =XyK2 -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--