From nobody Tue Aug 22 13:22:45 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RVVj839q0z4qtsy; Tue, 22 Aug 2023 13:35:40 +0000 (UTC) (envelope-from trenton@norwegianrockcat.com) Received: from mailtransmit04.runbox.com (mailtransmit04.runbox.com [IPv6:2a0c:5a00:149::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVVj81CWCz3bqL; Tue, 22 Aug 2023 13:35:40 +0000 (UTC) (envelope-from trenton@norwegianrockcat.com) Authentication-Results: mx1.freebsd.org; none Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qYRXk-00HaLU-Mj; Tue, 22 Aug 2023 15:35:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norwegianrockcat.com; s=selector2; h=Content-Type:MIME-Version:Message-ID: In-reply-to:Date:Subject:Cc:To:From:References; bh=ipO5QgmoUMh/almRLCoaSh1agr0bK8HfuMHYS/Ci3/w=; b=HNRWoARpjS18Gb2PCCPPYDjzVL thXl1wDYUzy2yJ/i7G7Z/M4koKNqk7xetKZnea0DeKnq19der1P/JRSsP0PWPw1MBNPjkY9j17882 WvojCoYjXaKpmHy+lbzURuWFhyaaLM8zIIK8dxqV07IWAe/KdY66jdaid2OLVv6qjEXrpbkZG0oJ9 O71y6zkD9yhbBGeoMBeT5oDr+mK84quUMeA/6wyb5vpZN8m8G1p88Tbr3Wj7S5+PDudECJp15iD7I DgZnvwaB+8gFZPG1+oeJ8x+ZpDTHSJsY2P3sTo+825niLRWcALylY3Y7XtgPeV3GWGeccvDLYwHut aZkOhU3Q==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qYRXk-0005FX-7t; Tue, 22 Aug 2023 15:35:36 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (786124)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1qYRXi-0004Sm-Sv; Tue, 22 Aug 2023 15:35:34 +0200 References: <67ea2b0e1f9ed5c695fb50c3d9a1d378@Leidinger.net> <87jztn5ogj.fsf@norwegianrockcat.com> User-agent: mu4e 1.10.6; emacs 29.1 From: Trenton Schulz To: Felix Palmen Cc: emulation@freebsd.org, ports@freebsd.org Subject: Re: Building a Linuxulator userland from source Date: Tue, 22 Aug 2023 15:22:45 +0200 In-reply-to: Message-ID: <87fs4b5hew.fsf@norwegianrockcat.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Rspamd-Queue-Id: 4RVVj81CWCz3bqL X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:50304, ipnet:2a0c:5a00::/29, country:NO] Felix Palmen writes: > * Trenton Schulz [20230822 > 12:55]: >> This is really fascinating work, and I see value in this even >> if some other >> way of doing things eventually replaces the Centos-7 items. > > Thanks a lot! No problem. Having been struggling with some cross-compiling issues at work, this hits home. :-) > >> Some of this has a bit of overlap with Gentoo prefix >> (https://wiki.gentoo.org/wiki/Project:Prefix), where one puts >> the bare bones >> of a Gentoo distro under a "prefix" (for example, >> /compat/linux), but then >> you can use Gentoo's portage infrastructure to build the other >> parts of the >> system. > > Hm, kind of interesting project ;) well sure, might be another > source to > look at when hitting some weird issues. But using "portage" IMHO > wouldn't make much sense, we already have our ports system ;) > Yes, yes. I guess this was more for hitting weird issues or another way for getting the Linux userland. When I have to do anything some GUI app in the Linuxulator, it's a struggle to track down all those extra libraries. Then, I start to think, I should make a "port for this", but by then, I have forgot to keep track off all the RPMs, plus I have it working on the one system I need it on, and then I move onto something else. (Master PDF Editor has been a victim of this a couple of times *sigh*). In theory, with Gentoo prefix one "emerges" them out of the prefix. Of course, the ports tree could easily do this too, but I just thought you might be able to borrow some things out of portage. Regardless, I'm really interested in how this turns out, so I think I'll just get back to watching and wishing you luck. >> I imagine, you are maybe thinking of your own set of linux-* in >> the ports >> tree, but this might also be useful area to borrow from? >> >> Anyway, I'll lurk back into the shadows to see how this >> develops. > > Well, I guess it'll take me a few days to stabilize stuff and a > few > *more* days to create some helpful USING for it ... but then, > I'll try > to build some additional libs and find some proof of concept of > some > Linux binary (closed-source?) working on it. That's the rough > plan ... I > have some hopes ;) Again, good luck! I guess Master PDF Editor could be a candidate for a closed source binary (I have made it work before in the regular Linuxulator, but don't use it now). Best regards, -- Trenton > > Cheers, Felix