-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Required dependencies for 0.6.36 #106
Comments
@woelper Sorry for opening an issue, please feel free to move this to discussions instead. |
Hey, no worries! This is very valid criticism and highly appreciated. This was a result of a PR adding a filebrowser, which brought in external dependencies. On Linux I had to install Going forward, one way to make this easier for us is to have a github action running a test on NetBSD on every commit, as is set up for OSX, Win and Linux. That way we would spot missing dependencies - provided they are not part of the Github VM. I will open a ticket for that, and maybe we should add a NetBSD build instruction section? |
I've been looking for a NetBSD CI for ages. The Anyway, this turned out to be rather straightforward fix, just adding the missing dependencies. |
I have actually found something and will start to configure a run here: I just have |
If you mean to build
Apart from these you need
Be aware that things that are not in the base system are located in
I only need to tell |
For |
@woelper Usually, the required dependencies on NetBSD are the same as on Linux. I don't know if the distro you are using splits packages, like Debian does or not, e.g. Arch. I use Void myself and usually I'm able to kick a |
Is there an option to install |
I'm guessing you're running NetBSD release 9.3, stable binaries are released 4 times/year and 2022Q4, which has rust-1.64 was branched on the 27th December. Binaries for this are not yet available, so I guess you only have access to the binaries from 2022Q3 and rust-1.62.1 😞 What's the URL inside |
@woelper You can query the database, Really, I didn't want to give you trouble. I always run the builds myself before merging updates and it's not a problem for me to check |
Thanks! I'll try rustup and then get back to you if that fails.
You don't, I enjoy this kind of stuff! |
The system seems to be the repositories.conf:
I also tried installing rust manually with
However, |
I wouldn't expect Ok, try this, remove After changing that line run as root, |
I actually got quite far with the default rustup script. The last (?) thing missing is gtk3, which I can't seem to install, and I am getting an error similar to yours above. The error message was:
I saw you had the same error and installed If you are curious, the whole setup stuff can be found here: |
Thanks, yes I'm curious. Even more so, to get this working and see how well a VM CI will work. I should have called the packages by they install names, Gtk3 is called As for the error, you need to tell the compiler where to find For a Gtk, gdk, glib-2.0 can be found in |
Hmm, I am stuck here now:
There was no installing |
@woelper I wounder how stripped down this VM image is!?
Install the |
I should have done that from the start... At least it compiles now with - - no-default-features, which is nice. This means that I can now test this automatically. I'll try to get it to compile with file_browse as well. If I get that working I'd be very keen to see if the resulting binary works on a vanilla system provided everything is statically linked. |
How are the compiling times? |
Btw, do you have the
If so, Also, check this:
so, you shouldn't need to install |
I can help with the testing. |
Around 15 mins (including VM setup). It's not fast, but it's free, nicely integrated and just one yaml file so this would work for me. |
@woelper 15 mins is not bad. Compiling 0.6.37 today on my machine took 14 mins. Btw, thanks for the invitation. |
This does not look good with
Full log here, don't know if you can see it, added you as collaborator just in case: ls /usr:
ls /usr/bin | grep ssl
Reading this again, it seems I am missing X11 completely :) |
Nope, it looks really bad to be honest 😞 As you can see from the output of I saw you have added me as collaborator, I said thanks above. |
Btw, the xsets can be found here, http://ftp.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/ But, it would be nice to modify the image to include them. |
Is it working after adding |
No, there was no package found when installing If you like and have time, feel free to modify https://github.com/woelper/oculante/blob/master/.github/workflows/netbsd_full.yml as you like if you have any ideas. And yes, I agree, the image should contain X11. I guess the author left them out for size/performance reasons. You can see the repo here: |
I must say you have been doing very well :) I haven't extracted the xsets myself as the installer has an option for which sets to install. I've fetched the kernel before and, yes it just unpacking and moving it into place. Usually,
|
@woelper 0.6.38 is ready to be merged here. I have a question, though. Do you happen to know if this builds with Rust-1.64? I've already reverted three other packages because they no longer build with the current default on NetBSD (1.64). They all build on my machine but, I'm running 1.66. |
Ok, updated, with |
Thanks so much! |
Oh, and you're not lazy, thanks for going the extra mile and trying. I would have done the same and stopped at this point. It would be good if the VM image came with the xsets. |
You are too kind! I do have a passion for obscure operating systems (I've had SGI hardware for a long time and enjoy old-school UNIX), but I've just not used NetBSD for some reason. I do have to say that I might have to change that in the future, as it looks super nice. |
Is this the one? http://wiki.netbsd.org/ports/sgimips/ |
I never had the O2, but an Octane2 (https://en.wikipedia.org/wiki/SGI_Octane). I was running IRIX on it, not sure BSD would run on it. It had very custom graphics hardware, so there was not really any point using any other OS on it I guess... |
I'm a boring guy and only have x86_64 hardware :) My quest a few years ago was to run NetBSD as my main OS and port whatever I needed to be able to do so. |
No worries, I've sold it some time ago (with tears in my eyes) and switched to boring x86_64 too. It's fun, but also time consuming... just running boring PopOS now, where most stuff just works (tm) :) |
I also have a machine that I boot into a few times/month. I also need to pay my biils, store documents, save pictures from my phone, ... etc. It runs on Void Linux with musllibc and a minimal Xorg config. It's my stable machine and it has been rolling (rolling release) since the original install from the Oct. 2017 image. The SSD has moved to a newer laptop in 2019 with minor adjustments to the EFI boot and wireless config. |
Should we close this? |
yes! |
Hi,
Hope you don't take this the wrong way but, updating
oculante
to 0.6.36 has been a bumpy ride.Adding
glib2
as external dependency to the build resulted inNow, adding
gtk3
,gdk-pixbuf2
,cairo
,pango
andatk
made the build finish successfully.Would it be possible to get an heads-up when such large changes take place?
TIA.
Regards,
pin
The text was updated successfully, but these errors were encountered: