Re: Building a Linuxulator userland from source

2023-09-05 Thread Dmitry Chagin
On Tue, Sep 05, 2023 at 07:52:25PM +0200, Felix Palmen wrote: > * Felix Palmen [20230901 16:55]: > > Posting yet another status update [...] > > And the next one ;) > > First, I kind of reached a "milestone", I got multimedia/makemkv to > build with the new userland (using the ffmpeg shared libs

Re: Building a Linuxulator userland from source

2023-09-05 Thread Felix Palmen
* Felix Palmen [20230901 16:55]: > Posting yet another status update [...] And the next one ;) First, I kind of reached a "milestone", I got multimedia/makemkv to build with the new userland (using the ffmpeg shared libs instead of linking it statically as is necessary with -c7), and it *seems*

Re: Building a Linuxulator userland from source

2023-09-01 Thread Felix Palmen
* Alexander Leidinger [20230901 19:11]: > Am 2023-09-01 16:55, schrieb Felix Palmen: > > * Infrastructure libs like libdrm, libglvnd, alsa, v4l, ... > > Infrastructure ports are what we provide in the linux base ports. So I'm not > surprised... :) Yes of course, this is what you will need in any

Re: Building a Linuxulator userland from source

2023-09-01 Thread Alexander Leidinger
Am 2023-09-01 16:55, schrieb Felix Palmen: * Felix Palmen [20230820 12:35]: Just a little update on this [...] Posting yet another status update because I'm about to reach a "milestone": I just had the first successful build of ffmpeg. I focused on ffmpeg because that's a requirement for Make

Re: Building a Linuxulator userland from source

2023-09-01 Thread Felix Palmen
* Felix Palmen [20230820 12:35]: > Just a little update on this [...] Posting yet another status update because I'm about to reach a "milestone": I just had the first successful build of ffmpeg. I focused on ffmpeg because that's a requirement for MakeMKV which I now intend to use as a first PoC

Re: Building a Linuxulator userland from source

2023-08-22 Thread Mario Marietto
It would be nice to try that tool that can hack / convert ./ add another layer (another linux distro inside the first one. I dont remember the name now. Il mer 23 ago 2023, 08:21 Felix Palmen ha scritto: > * Cy Schubert [20230822 10:34]: > > Basically this would become another Linux distro, alb

Re: Building a Linuxulator userland from source

2023-08-22 Thread Felix Palmen
* Cy Schubert [20230822 10:34]: > Basically this would become another Linux distro, albeit a virtual one > that runs under our Linuxulator. And also a pretty minimal one. Right now, I'm just building a truly minimal userland (the GNU toolchain, openssl, GNU make/grep/sed/awk, GNU coreutils and ma

Re: Building a Linuxulator userland from source

2023-08-22 Thread Cy Schubert
In message , F elix Palmen writes: > Hi all, > > for the last two weeks, I've been working on a spike in ports which now > reached a state where I want to show it to and discuss it with fellow > ports hackers. > > First, a link to my feature branch (warning, will be rebased every now > and then):

Re: Building a Linuxulator userland from source

2023-08-22 Thread Felix Palmen
* 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! > Some of this has a bit of overlap with Gentoo prefix > (https://wiki.gentoo.org/wiki/Project:Prefix), whe

Re: Building a Linuxulator userland from source

2023-08-22 Thread Mario Marietto
---> you won't be able to use FreeBSD ports/packages of Linux software with it... I'm interested to understand what you mean better herecan you elaborate using different words ? thanks. On Tue, Aug 22, 2023 at 2:13 PM Felix Palmen wrote: > * Mario Marietto [20230822 13:59]: > > CentOS has

Re: Building a Linuxulator userland from source

2023-08-22 Thread Felix Palmen
* Mario Marietto [20230822 13:59]: > CentOS has been replaced already successfully with Ubuntu and Devuan. No. You can install whatever you like in some Linux jail, you could even use it as an alternate compat.linux.emul_path if you want, in both cases it will partially work. You *won't* get e.g

Re: Building a Linuxulator userland from source

2023-08-22 Thread Mario Marietto
CentOS has been replaced already successfully with Ubuntu and Devuan. On the FreeBSD forums there are a couple of nice tutorials. BTW if we can use even different user lands,we will be even happier. On Tue, Aug 22, 2023 at 1:04 PM Trenton Schulz wrote: > > Felix Palmen writes: > > > > > I assum

Re: Building a Linuxulator userland from source

2023-08-22 Thread Felix Palmen
* Alexander Leidinger [20230822 01:25]: > Am 2023-08-18 11:26, schrieb Felix Palmen: > > 1.) Of course, Uses/linux.mk would need quite some switching to handle > > c7 as well as something new that works completely differently (maybe > > call it src). All still open issues. > > I suggest to write

Re: Building a Linuxulator userland from source

2023-08-21 Thread Alexander Leidinger
Am 2023-08-18 11:26, schrieb Felix Palmen: Hi Alexander, thanks for commenting! * Alexander Leidinger [20230818 11:02]: As the person who switched the linuxulator from redhat 4 or 5 to fedora and mentored the people which moved forward to linux-c6 I have some info about the design principles

Re: Building a Linuxulator userland from source

2023-08-21 Thread Felix Palmen
* Tatsuki Makino [20230821 17:40]: > Felix Palmen wrote on 2023/08/21 16:21: > > This works perfectly fine when used from within a Linux shell. Example > > from testing my new userland: > > > > | [00:00:20] Entering interactive test mode. Type 'exit' when done. > > | root@14a-default:~ # /compat/

Re: Building a Linuxulator userland from source

2023-08-21 Thread Felix Palmen
* Tatsuki Makino [20230821 15:38]: > Linux branded ELF is executed by linuxulator no matter where it is > placed on /, right? Yes. > Binaries running on linuxulator have priority access to files in > /compat/linux. Well, when they access some file, a path with /compat/linux prepended is tried f

Re: Building a Linuxulator userland from source

2023-08-20 Thread Aryeh Friedman
On Sun, Aug 20, 2023 at 7:55 PM Mario Marietto wrote: > > -> Ideally the userland should be choosable for example if you got GPU > passthrough to work on debian then odds are you could pass it through to > FreeBSD > > I didn't understand well what you meant. Can you elaborate in a different

Re: Building a Linuxulator userland from source

2023-08-20 Thread Mario Marietto
-> Ideally the userland should be choosable for example if you got GPU passthrough to work on debian then odds are you could pass it through to FreeBSD I didn't understand well what you meant. Can you elaborate in a different way ? thanks. On Mon, Aug 21, 2023 at 1:11 AM Aryeh Friedman wrote

Re: Building a Linuxulator userland from source

2023-08-20 Thread Aryeh Friedman
On Sun, Aug 20, 2023 at 5:53 PM Mario Marietto wrote: > > Would be nice to have a linux userland such as nixos instead of ubuntu / > Centos. Can nixos be used ? Ideally the userland should be choosable for example if you got GPU passthrough to work on debian then odds are you could pass it throu

Re: Building a Linuxulator userland from source

2023-08-20 Thread Mario Marietto
Would be nice to have a linux userland such as nixos instead of ubuntu / Centos. Can nixos be used ? On Sun, Aug 20, 2023 at 11:25 PM Tatsuki Makino wrote: > Hello. > > I only know enough about linuxulator that I can maintain > print/epson-inkjet-printer-escpr2... > However... > > I think /compa

Re: Building a Linuxulator userland from source

2023-08-20 Thread Felix Palmen
* Felix Palmen [20230818 08:23]: > I just reached a state where I can build a working Linux-native GNU > toolchain (binutils, glibc, gcc) for C and C++ on aarch64, amd64 and > i386. From here on, it should be simpler, there are already two ports in > my branch (archivers/linux-bzip2 and archivers/

Re: Building a Linuxulator userland from source

2023-08-19 Thread Felix Palmen
* Mario Marietto [20230819 12:36]: > I'm not experienced,but I suspect that those kinds of bugs aren't caused by > the kind of userland,but at a level of abstraction layer. So,if you change > userland,you will not fix them. I think I made it pretty clear what kind of issues a new userland will fi

Re: Building a Linuxulator userland from source

2023-08-19 Thread Mario Marietto
Hello. For example some time ago I started an email exchange with a FreeBSD developer because I'd found two bugs. You can see our full log here : https://pastebin.ubuntu.com/p/HvVC9pkgVB/ I've removed the name of the developer. Anyway he said that he was investigating,but at some point he stoppe

Re: Building a Linuxulator userland from source

2023-08-18 Thread Felix Palmen
Hello Gleb, * Gleb Popov [20230818 10:27]: > This is a great idea and very interesting work. I'll take a look at > that once I have free time. Thanks, any testing will be very welcome! > Thanks for working on this, Felix! Well as I said, I'm not sure yet whether the approach will be feasible.

Re: Building a Linuxulator userland from source

2023-08-18 Thread Felix Palmen
Hi Alexander, thanks for commenting! * Alexander Leidinger [20230818 11:02]: > As the person who switched the linuxulator from redhat 4 or 5 to fedora and > mentored the people which moved forward to linux-c6 I have some info about > the design principles of the linux_base ports which you may or

Re: Building a Linuxulator userland from source

2023-08-18 Thread Alexander Leidinger
Am 2023-08-18 08:23, schrieb Felix Palmen: Hi all, for the last two weeks, I've been working on a spike in ports which now reached a state where I want to show it to and discuss it with fellow ports hackers. First, a link to my feature branch (warning, will be rebased every now and then):

Re: Building a Linuxulator userland from source

2023-08-18 Thread Mario Marietto
I never tried. But you have suggested a fun project to work with. On Fri, Aug 18, 2023 at 9:56 AM Aryeh Friedman wrote: > On Fri, Aug 18, 2023 at 3:45 AM Mario Marietto > wrote: > > > > Nice idea,but I think you will have no advantages changing userland. > Actually I ve been able to squeeze the

Re: Building a Linuxulator userland from source

2023-08-18 Thread Gleb Popov
This is a great idea and very interesting work. I'll take a look at that once I have free time. Thanks for working on this, Felix!