From owner-freebsd-embedded@freebsd.org Sun Jul 12 06:48:13 2015 Return-Path: Delivered-To: freebsd-embedded@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEA2D9997D0; Sun, 12 Jul 2015 06:48:13 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC1S3.hotmail.com (col004-omc1s3.hotmail.com [65.55.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C94F9EA; Sun, 12 Jul 2015 06:48:13 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL130-W27 ([65.55.34.7]) by COL004-OMC1S3.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 11 Jul 2015 23:48:07 -0700 X-TMN: [k8hyYP6w1UMyMZCvhy6RxrYPGTH2WSf5] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "portmgr@freebsd.org" Subject: Cross Ports - skip stage and install directly to sysroot Date: Sun, 12 Jul 2015 17:18:06 +1030 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 12 Jul 2015 06:48:07.0026 (UTC) FILETIME=[B5712520:01D0BC6E] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2015 06:48:14 -0000 http://www.mediafire.com/download/4xqxzldx29oaxzd/bsd.port.mk.sysrootinstal= l.patch I haven't had a chance to test this out because there are some bugs in pkg-= 1.5.4 source that doesn't let me compile it=2C but. it installs to the abs= olute path=2C so i'm not sure that's what we want=2C it might be best to ju= st leave the stage in else pkg might get confused and store the wrong path = on the target systems pkgdb and be unable to remove said packages=2C but I = don't know if thats the case for sure or not. Choice is yours. = From owner-freebsd-embedded@freebsd.org Sun Jul 12 06:52:11 2015 Return-Path: Delivered-To: freebsd-embedded@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6AB28999917; Sun, 12 Jul 2015 06:52:11 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC1S11.hotmail.com (col004-omc1s11.hotmail.com [65.55.34.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FFD614; Sun, 12 Jul 2015 06:52:11 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL130-W2 ([65.55.34.9]) by COL004-OMC1S11.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 11 Jul 2015 23:51:04 -0700 X-TMN: [NAtRoRd9RhHuBEuzfuTWibHSUXgKsAk/] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "portmgr@freebsd.org" Subject: RE: Cross Ports - skip stage and install directly to sysroot Date: Sun, 12 Jul 2015 17:21:04 +1030 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 12 Jul 2015 06:51:04.0519 (UTC) FILETIME=[1F3C6D70:01D0BC6F] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2015 06:52:11 -0000 I can break up the paths if need be but it wont be today. In a few days pe= rhaps. > From: m.vale@live.com.au > To: freebsd-embedded@freebsd.org=3B freebsd-mips@freebsd.org=3B freebsd-a= rm@freebsd.org=3B portmgr@freebsd.org > Subject: Cross Ports - skip stage and install directly to sysroot > Date: Sun=2C 12 Jul 2015 17:18:06 +1030 >=20 > http://www.mediafire.com/download/4xqxzldx29oaxzd/bsd.port.mk.sysrootinst= all.patch > I haven't had a chance to test this out because there are some bugs in pk= g-1.5.4 source that doesn't let me compile it=2C but. it installs to the a= bsolute path=2C so i'm not sure that's what we want=2C it might be best to = just leave the stage in else pkg might get confused and store the wrong pat= h on the target systems pkgdb and be unable to remove said packages=2C but = I don't know if thats the case for sure or not. > Choice is yours. =20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe=2C send any mail to "freebsd-arm-unsubscribe@freebsd.org" = From owner-freebsd-embedded@freebsd.org Sun Jul 12 19:52:22 2015 Return-Path: Delivered-To: freebsd-embedded@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29D9599B787; Sun, 12 Jul 2015 19:52:22 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC1S5.hotmail.com (col004-omc1s5.hotmail.com [65.55.34.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0913B1586; Sun, 12 Jul 2015 19:52:21 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL130-W39 ([65.55.34.7]) by COL004-OMC1S5.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 12 Jul 2015 12:52:15 -0700 X-TMN: [UuiUAwdgXhZghkpkX4qQY18c7xhGJbn/] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "portmgr@freebsd.org" Subject: RE: Cross Ports - skip stage and install directly to sysroot Date: Mon, 13 Jul 2015 06:22:14 +1030 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 12 Jul 2015 19:52:15.0519 (UTC) FILETIME=[408772F0:01D0BCDC] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2015 19:52:22 -0000 Okay I broke them up and reversed it like so STAGEDIR=3D /SYSROOT=3D ${LOCALBASE}/../root/${ARCH}/SYSROOT=3D ${SYSROOT}$= {STAGEDIR} I also want to fix up the mips-gcc naming conventions because it's rediculo= us. last time I did this job and had no stage=2C they were shorter and mor= e compact! the target was simply ${ARCH}-freebsd${OSREL} with the binutils = and gcc simply mips-freebsd-gcc=2C ar=2C ranlib=2C etc. > From: m.vale@live.com.au > To: freebsd-embedded@freebsd.org=3B freebsd-mips@freebsd.org=3B freebsd-a= rm@freebsd.org=3B portmgr@freebsd.org > Subject: RE: Cross Ports - skip stage and install directly to sysroot > Date: Sun=2C 12 Jul 2015 17:21:04 +1030 >=20 > I can break up the paths if need be but it wont be today. In a few days = perhaps. >=20 > > From: m.vale@live.com.au > > To: freebsd-embedded@freebsd.org=3B freebsd-mips@freebsd.org=3B freebsd= -arm@freebsd.org=3B portmgr@freebsd.org > > Subject: Cross Ports - skip stage and install directly to sysroot > > Date: Sun=2C 12 Jul 2015 17:18:06 +1030 > >=20 > > http://www.mediafire.com/download/4xqxzldx29oaxzd/bsd.port.mk.sysrootin= stall.patch > > I haven't had a chance to test this out because there are some bugs in = pkg-1.5.4 source that doesn't let me compile it=2C but. it installs to the= absolute path=2C so i'm not sure that's what we want=2C it might be best t= o just leave the stage in else pkg might get confused and store the wrong p= ath on the target systems pkgdb and be unable to remove said packages=2C bu= t I don't know if thats the case for sure or not. > > Choice is yours. =20 > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe=2C send any mail to "freebsd-arm-unsubscribe@freebsd.org= " > =20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe=2C send any mail to "freebsd-arm-unsubscribe@freebsd.org" = From owner-freebsd-embedded@freebsd.org Sun Jul 12 19:59:20 2015 Return-Path: Delivered-To: freebsd-embedded@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6857F99B838; Sun, 12 Jul 2015 19:59:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 345021A37; Sun, 12 Jul 2015 19:59:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbij6 with SMTP id ij6so8496714igb.1; Sun, 12 Jul 2015 12:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PlxuGxjAE+dxbId6YNOBzNZAFYYyTW2WNa8Zo8dfXYk=; b=gDxibvUBNdtDkf+K8s/ttLM5yiIrratt2piWV8BAn7Pj+effUJmVk4hMbbkXx4GLMu CkkR8raQYv8q8DGKFJke75AY8rInCzKJOyv0hU6ddsXYCYWtbGc9EKdx+q+crSA+7dzF 0NNfFk8m6kPymsSc4Bj/0z5InmWGr/V5WvcyRVHCo+/B/lhR4csYzjOlSn8Bm8f10P2U TVVsDaLbAG5qzJ7Kk+jTtpChhPLrEqnvSNOqORBJyY1GcvxcphV9rexc+RkQscNfvRs0 09UpE5+3VX3hjcMh0mqcXzK/Iu81FtGTQqoCBDYAlf4vZRZ/p/OKOhOowns7VX0a+BiV UHFw== MIME-Version: 1.0 X-Received: by 10.107.35.144 with SMTP id j138mr17575958ioj.105.1436731159693; Sun, 12 Jul 2015 12:59:19 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Sun, 12 Jul 2015 12:59:19 -0700 (PDT) In-Reply-To: References: Date: Sun, 12 Jul 2015 12:59:19 -0700 Message-ID: Subject: Re: Cross Ports - skip stage and install directly to sysroot From: Adrian Chadd To: Michael Vale Cc: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "portmgr@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2015 19:59:20 -0000 Hi, The paths you're using are very specific to how the freebsd-wifi-build things do stuff. Ie, finding it in ${LOCALBASE}/../root/${ARCH} . Ideally we'd just pass in a SYSROOT variable in as part of building and it'd set everything appropriately. -adrian From owner-freebsd-embedded@freebsd.org Mon Jul 13 16:33:27 2015 Return-Path: Delivered-To: freebsd-embedded@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA20299C696; Mon, 13 Jul 2015 16:33:27 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F9AB10FB; Mon, 13 Jul 2015 16:33:27 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wgxm20 with SMTP id m20so117381439wgx.3; Mon, 13 Jul 2015 09:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=dumGtzvCQ+bF7rGIG+PCmvSz61b8S2H+b3oBV2RWuf0=; b=P2UqKKe+JrShew7AB7U5mPbBvDsfraPP5aIRHuUO8I8LA3YaDuMXNdVw9aK4u6gtbD KzwGYv/lcMf8fm1Cl5F1CY6mXDNaKOXOxhqKBkac9y92iV6Pu2q/xdwEI52qiicOHVyK YoyQT1Cpk8s48PN9yS+i3zeOHbgCJPSslgkiklFGv4dpehsTjEINIMmNxQKnATrsi7QE xm892LwmGlT2X/OkgXfEKiXQU3Fj9Q0FCThF4ynxirIis/8/aPbWbnjCu714NfbT3vfj Lmrz24TgkqeOnfOYkQdpa1PmOACLpsu9YTW2+0dmtv07Ld0zePAy+r7IEU7ynUwSXpkg oS+A== X-Received: by 10.194.48.71 with SMTP id j7mr69799856wjn.59.1436805205821; Mon, 13 Jul 2015 09:33:25 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id lq9sm30089260wjb.35.2015.07.13.09.33.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2015 09:33:24 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 13 Jul 2015 18:33:22 +0200 From: Baptiste Daroussin To: Michael Vale Cc: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "portmgr@freebsd.org" Subject: Re: Cross Ports - skip stage and install directly to sysroot Message-ID: <20150713163322.GE37597@ivaldir.etoilebsd.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jTMWTj4UTAEmbWeb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 16:33:28 -0000 --jTMWTj4UTAEmbWeb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 12, 2015 at 05:18:06PM +1030, Michael Vale wrote: > http://www.mediafire.com/download/4xqxzldx29oaxzd/bsd.port.mk.sysrootinst= all.patch > I haven't had a chance to test this out because there are some bugs in pk= g-1.5.4 source that doesn't let me compile it, but. it installs to the abs= olute path, so i'm not sure that's what we want, it might be best to just l= eave the stage in else pkg might get confused and store the wrong path on t= he target systems pkgdb and be unable to remove said packages, but I don't = know if thats the case for sure or not. > Choice is yours. =20 First thanks for working on that. Would it be possible that you attache the patch in the mail next time? would be way easier to review. Concerning the bug in pkg you are speaking about, what compiler are you usi= ng, because the fact one contributed file is in CRLF (we keep the upstream vers= ion as vanilla as possible) should not be a problem for any compiler. Best regards, Bapt --jTMWTj4UTAEmbWeb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlWj6FIACgkQ8kTtMUmk6EzbOQCgsuw6zSkaosEURgfTVUssRDK8 2G8AoIRs/RRaJadlHko1/fTIfBKrUYdd =In4L -----END PGP SIGNATURE----- --jTMWTj4UTAEmbWeb--