From owner-freebsd-ports@FreeBSD.ORG Wed Oct 1 15:09:41 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA5A5F92 for ; Wed, 1 Oct 2014 15:09:41 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B058367 for ; Wed, 1 Oct 2014 15:09:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s91F9eLY070371 for ; Wed, 1 Oct 2014 15:09:40 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s91F9eU5070370 for freebsd-ports@freebsd.org; Wed, 1 Oct 2014 15:09:40 GMT (envelope-from bdrewery) Received: (qmail 98081 invoked from network); 1 Oct 2014 10:09:38 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 1 Oct 2014 10:09:38 -0500 Message-ID: <542C1928.3070707@FreeBSD.org> Date: Wed, 01 Oct 2014 10:09:28 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Oleg Ginzburg , David Wolfskill Subject: Re: r369644 make impossible to build ports on jails lower than the base system References: <282484579.9MbAY0S9u5@kde4.my.domain> <20141001115258.GN1304@albert.catwhisker.org> <2532778.Ql6PeStGGk@kde4.my.domain> In-Reply-To: <2532778.Ql6PeStGGk@kde4.my.domain> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VHDvTw4LM7HPdQQBkPvFn5oedIMCQ6tbi" Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 15:09:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VHDvTw4LM7HPdQQBkPvFn5oedIMCQ6tbi Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 10/1/2014 8:46 AM, Oleg Ginzburg wrote: > On Wednesday, October 01, 2014 04:52:58 AM David Wolfskill wrote: >> On Wed, Oct 01, 2014 at 02:59:23PM +0400, Oleg Ginzburg wrote: >>> Hello, >>> >>> If the kernel is fresh than jajl containers, recent changes in >>> bsd.ports.mk >>> provoke an error: >>> >>> >>> % jls >>> >>> JID IP Address Hostname Path >>> =20 >>> 1 192.168.0.23 kde4.my.domain =20 >>> /usr/jails/jails/kde4 >>> >>> % uname -a >>> FreeBSD gizmo.my.domain 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r272224M= : Mon >>> Sep 29 09:22:06 UTC 2014 >>> root@gizmo.my.domain:/usr/jails/src/obj_amd64_amd64_11/usr/src/sys/GE= NERIC >>> .CBSD amd64 >>> >>> % file -s /usr/jails/jails/kde4/bin/sh >>> /usr/jails/jails/kde4/bin/sh: ELF 64-bit LSB executable, x86-64, vers= ion 1 >>> (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 >>> (1000510), stripped >>> >>> % jexec 1 make -C /usr/ports/sysutils/panicmail >>> make: "/usr/ports/Mk/bsd.port.mk" line 1213: UNAME_r (11.0-CURRENT) a= nd >>> OSVERSION (1000510) do not agree on major version number. >>> ... >> >> You could set the environment variable UNAME_r (e.g., to "10.0-STABLE"= ) >> prior to the "make" invocation. >=20 > Yes. In other words - and it was intended by this change, and from that= =20 > moment, the substitution of the environment has become a necessity if i= want=20 > to work with the ports on at lower version environments? >=20 >> >> Peace, >> david >=20 See /usr/ports/CHANGES for explanation. It has *always* been required. Not having these variables agree leads to various port build failures. --=20 Regards, Bryan Drewery --VHDvTw4LM7HPdQQBkPvFn5oedIMCQ6tbi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJULBktAAoJEDXXcbtuRpfPU4MH/1tz/5eVlYxbSWyjmb/bc8vE rN0IMXp7ey2hucgiVBImXO47+Rp6VoFibnz4NLOyDAdkV2SQ/wHreQMVSyvkj5RW 6bB41kO2FLTRjdJ9CLNfNHzT5bNf1+Ht3GumZLoEDUKThgrPvmoS2pCFVCyjuHSg CNKM8k1qjMNzYD2dFEFSQt87k/O5t3lsqllX9hPJRxxIgklKL24tJeA1PIvzr73j u/nMOH3Mlm9s0xE0HlSOCx2djtv7uO9lE0tmylXR9DHY62RAphWVAb8YmNkwrP0M V3cC+3IaUpsfMsqryKuhYB3CL66+z3RSkghiX3JV3zW7fmgAWZWPlUXwS7kKUo4= =/sCA -----END PGP SIGNATURE----- --VHDvTw4LM7HPdQQBkPvFn5oedIMCQ6tbi--