-
DarkUranium
In case anyone is curious, on my php-gnupg adventure ... it's a bug in gpgme, and potentially the PHP module as well.
-
grahamperrin
> so.. we can't just download and install enlightenment is what you're saying
-
grahamperrin
-
VimDiesel
Title: FreshPorts -- x11-wm/enlightenment: Artistic and fast X window manager
-
natewrench
has freebsd been working on a replacement for openzfs because even though its not GPL licensed software, it is still weak copyleft even just on the files
-
RhodiumToad
...no?
-
RhodiumToad
it's still CDDL, no?
-
natewrench
yes
-
RhodiumToad
it was CDDL before freebsd switched upstreams to use openzfs
-
RhodiumToad
replacing it is not a feasible project
-
DarkUranium
So. I found a potential bug in php*, combined with php*-pecl-gnupg.
-
DarkUranium
Namely, the latter can never work unless I manually modify `php-fpm.d/www.conf` to add /usr/local/bin to $PATH.
-
DarkUranium
(it needs the `gpg` executable & friends)
-
RhodiumToad
is it explicitly setting $PATH, or is it inheriting it from somewhere else?
-
DarkUranium
By default (as www.conf is currently packaged), $PATH is empty.
-
DarkUranium
Which means that unless I manually modify www.conf to add /usr/local/bin to $PATH, php*-pecl-gnupg simply won't work.
-
DarkUranium
(and it took me *way too long* to figure that out due to [non-FreeBSD-specific] bugs in both gpgme *and* php-gnupg --- the former errors out when it shouldn't, and the latter silently ignores it when it shouldn't)
-
DarkUranium
-
VimDiesel
Title: "The OpenPGP key can not be used to encrypt." in FreeBSD - #15 by darkuranium - Installation Issues - Passbolt community forum
-
RhodiumToad
$PATH is actually set to an empty string?
-
DarkUranium
(linked reply is the most relevant one)
-
DarkUranium
RhodiumToad: no, it's simply not set (I believe). PHP-FPM's default behaviour appears to be to clear its environment.
-
RhodiumToad
procstat -e can usually display the environment of a process
-
DarkUranium
I'm guessing Linux distros override that to make `php-gnupg` work or something?
-
DarkUranium
Yeah, I just did a <?php echo getenv('PATH') ?>. Was an empty string.
-
DarkUranium
Not sure how I'd get procstat of an existing process. But ANYWAY.
-
DarkUranium
Most likely just missing, considering. I could check, but it's 2:30 AM and I kinda wanna go to sleep >_<
-
RhodiumToad
procstat -e somepid
-
DarkUranium
Ah. Thanks.
-
DarkUranium
The usual daemon `PATH=/sbin:/bin:/usr/sbin:/usr/bin PWD=/ HOME=/ RC_PID=62165 BLOCKSIZE=K`.
-
DarkUranium
But www.conf does *not* set `clear_env = no`, and default is `yes`.
-
RhodiumToad
execvp() uses _PATH_DEFPATH if PATH is not set in the environment
-
DarkUranium
So php-fpm clears it.
-
DarkUranium
I had to do `clear_env = no` (for other reasons), plus:
-
DarkUranium
`env[PATH] = /usr/local/sbin:/usr/local/bin:......`
-
RhodiumToad
and _PATH_DEFPATH usually includes /usr/local/bin
-
DarkUranium
The latter is the most important one.
-
DarkUranium
Yeah, I think it just inherits it from the "root" `php-fpm` process otherwise. Which is above.
-
DarkUranium
I guess ultimately from rc?
-
RhodiumToad
usually the /usr/local/* dirs go at the end
-
DarkUranium
Well, either way, point is, they're missing.
-
RhodiumToad
what freebsd version?
-
DarkUranium
12.4-RELEASE. Oldish, I know.
-
RhodiumToad
rc does set PATH to /sbin:/bin:/usr/sbin:/usr/bin overriding daemon's login class
-
DarkUranium
Yup.
-
DarkUranium
I guess maybe this could be fixed in php-fpm's rc script? To unset PATH?
-
DarkUranium
... though it still wouldn't be a full solution unless `clear_env = no` *or* `env[PATH] = ...`.
-
DarkUranium
(but a simple `env[PATH] = $PATH` would work then)
-
RhodiumToad
clear_env can't be clearing $PATH
-
RhodiumToad
if it were, it would have worked
-
DarkUranium
Well, no. It clears PHP's `getenv()`.
-
DarkUranium
I think it basically clears it for the spawned subprocesses.
-
RhodiumToad
no, I mean it can't be clearing the environment for subprocesses
-
RhodiumToad
can't be clearing PATH specifically for those, that is
-
DarkUranium
Aaah. Right, because then they'd get _PATH_DEFPATH?
-
DarkUranium
Maybe it *is* setting it to an empty string, then.
-
RhodiumToad
dunno. maybe try invoking env as a spawned subprocess and see what that says.
-
DarkUranium
Maybe if you remind me tomorrow, I *really* should go sleep >_<
-
DarkUranium
(sorry!)
-
DarkUranium
Good night ^^
-
DarkUranium
Thanks for the help.
-
CCFL_Man
lets say i create a zfs device pool with one device at /dev/da0. if i move to to another drive controller, how to i replace the device path in the pool with the new device name of /dev/ad2 and preserve the data?
-
RhodiumToad
I don't think you need to
-
CCFL_Man
it'll just locate it based on the metadata when the zfs service is running?
-
grahamperrin
CCFL_Man: with ZFS, when you give a device to a pool, the device gains four copies of a vdev label. The label includes the pool_guid number. Labelling will persist beyond future actions such as removal, detachment, and destruction.
-
grahamperrin
-
VimDiesel
Title: zpool-remove.8 — OpenZFS documentation
-
grahamperrin
-
VimDiesel
Title: zpool-detach.8 — OpenZFS documentation
-
grahamperrin
-
VimDiesel
Title: zpool-destroy.8 — OpenZFS documentation
-
RhodiumToad
those labels are a menace, as shown by recent incidents
-
grahamperrin
Clearance of labels is typically performed with zpool-labelclear(8) <
openzfs.github.io/openzfs-docs/man/8/zpool-labelclear.8.html>.
-
VimDiesel
Title: zpool-labelclear.8 — OpenZFS documentation
-
grahamperrin
CCFL_Man: you might like to check for the presence of labels on the first of the devices with which you tested, the device from which you 'moved', for example:
-
grahamperrin
zdb -l /dev/da0
-
grahamperrin
This assumes that you used a whole disk (not recommended) for the test.
-
grahamperrin
RhodiumToad: no.
-
RhodiumToad
clearly yes, given the number of people suffering breakage
-
grahamperrin
Each of the four copies is a lifesaver, in cases where (for example) removal, detachment, or destruction was mistaken.
-
RhodiumToad
doesn't help those people whose systems were not bootable due to stray labels
-
grahamperrin
Edge cases.
-
grahamperrin
I'm intentionally dispassionate, because I have in mind an enhancement to documentation.
-
crb_
when using bhyve is performance any better by running VNC inside the VM and connecting to it, or using the EFI console and connecting to that via VNC?
-
cpet
Saves you extra software
-
debdrup
ooray, openss 3.0.9 landed.
-
debdrup
crb_: both are software based framebuffers, so they're not gonna be fast no matter what - and any performance difference is likely to be small
-
parv
debdrup, Are you excited by the news alone or are you running 14 with the OpenSSL 3 installed?
-
debdrup
if your guest os is windows, rdp is faster
-
debdrup
parv: mostly that re@ can start working on 14.0-RELEASE again
-
parv
debdrup, Aye
-
debdrup
the real thing i'm excited for with openssl 3.x is that ossl(4) can be extended, and that eventually aesni(4) can be retired
-
debdrup
ossl(4) can be extended to do what aesni(4) does now, but for a much broader set of architectures (both assembly-optimized and SIMD-optimized versions)
-
parv
-
VimDiesel
Title: Stuck on ERROR-tried-to-rebuild-during-make-install, from 1cebc9298cf to b98fbf3781, or from 9fbeeb6e3831 to dfa1982352ee
-
parv
Per one message of "/tmp/install.PjBzUKhv0k/sh: cc: not found" -- indeed there was no "cc" in that temp directory
-
parv
Alternatively, what would I need to do to force the build/installation of whatever missing bits the message points to?
-
meena
parv: make clean?
-
parv
meena, Yeah, just started that process. (I thought had tried that once by accident|mistake as I had missed to update the object & ccache directories for one of the attempts.)
-
meena
when shit really gets bad, i make clean, and then blow away the obj dir
-
parv
Will do
-
meena
do you have any fancy options set?
-
meena
i haven't seen any catastrophic failures lately
-
parv
-
VimDiesel
Title: Re: Stuck on ERROR-tried-to-rebuild-during-make-install, from 1cebc9298cf to b98fbf3781, or from 9fbeeb6e3831 to dfa1982352ee
-
parv
I have the memory of someone else around Feb-Mar also having the issue after llvm|clang was imported but have failed to find that message so far.
-
parv
Few days ago did not occur to me to do world building from zero🤦
-
parv
anyway ...
-
hjf_
hello. anyone running Homeassistant on freebsd? after upgrading to python3.11 and creating a new jail, i'm getting attributeerror module 'urllib3.util' has no attribute 'protocol_tls'. i'm not sure if it could be related to Freebsd's openssl flavor?
-
fonks
well, if you have VM space available, openssl 3 just got merged into -current, could be an easy way to check that. I'm currently running kyua on a fresh -current build for similar reasons now
-
fonks
though as a disclaimer, I don't run homeassistant and I'm not totally sure if it's openssl related. It would be my hunch though.
-
hjf_
how about installing the openssl3 port?
-
fonks
is there even an openssl3 in the ports tree? I would think that would conflict with the 1.1 in the base system, I thought that was the whole point of the openssl3 merge
-
hjf_
hm i just told pip to upgrade urllib3, it did but then it complained about a conflict with botocore
-
V_PauAmma_V
fonks, pkg search says there's openssl30 and openssl31.
-
hjf_
i think i can live without that. it's a python library for AWS
-
hjf_
HA seems happy now
-
fonks
V_PauAmma_V, yeah, I'm eating my words now, I should have run a find on /usr/ports before I said anything.
-
fonks
hjf_, python related issues are entirely out of my depth. I avoid python for that reason :P pip likes to make package management on both the underlying system and the python env a hellscape
-
hjf_
fonks: well in order of mess you have CPAN, PIP and NPM
-
hjf_
cpan being the worst
-
hjf_
npm's approach is nice because all packages are kept within each app's directory... but that makes each app liek 800MB of dependencies
-
fonks
yeah... no thanks. Storage may be cheap but that's a bit rediculous
-
fonks
reminds me a lot of JS dependency cycles. At least python doesn't have everyone and their dog making their own frameworks
-
hjf_
i was developing an app on "nestjs" the other day, wondering what's really the point of using it
-
hjf_
nestjs is a metaframework of several other JS libraries
-
hjf_
it has very verbose dependency injection for no real benefit
-
hjf_
as long as your app is small everything is good. then you get into circular dependencies and everything breaks. it's like it forces you not to have "cross dependencies" in your project
-
hjf_
when i do simple JS APIs i KISS and just install express for http, jwt for auth, typeorm for DB, winston for logging, and typescript because javascript sucks
-
fonks
I'm a php guy. Processing is the server's job, imo. Clients are and should be treated as dumb document viewers as much as possible, in my mind.
-
fonks
JS, on top of being a mess, is not really something that belongs in a browser. But I digress.
-
hjf_
i hate doing frontend but "browser is a dumb document viewer" doesn't really cut it anymore
-
hjf_
for work i had this very specific requirement which was that, it's a call center with 1000s of people working. they have this "real time dashboard" that show what everyone is doing at every moment
-
fonks
kyua found a few failures on 1400092, but I also forgot it was running as root which can be iffy. I'll shoot those over to the mailing list once an unprivileged run finishes
-
hjf_
(handling a call, waiting, training, lunch, break, etc)
-
fonks
hjf_, yes, that kind of application is understandable, that's why I said "as much as possible." :P
-
hjf_
basically the dashboard had a timer that refresed it every few seconds... we "upgraded" it to a websocket to stream what everyone is doing
-
hjf_
server is happy that it's not being hit with refresh, DB is even happier, and clients are happy because they can see things with at most 5s delay instead of 2 minutes lol
-
fonks
I just detest having entire application environments in a browser, it's really not good for performance or security to have that. Blinkenlights and status pages, understandable. Video streaming? Sure. But stuff like google docs, or the insane web version of Office? That's getting a bit iffy, in my mind.
-
hjf_
yeah that's too much
-
hjf_
but writing CRUDs in React is nice imo.
-
hjf_
and having the same language betwen FE and BE has a big advantage: 1) TS Types can be shared across both projects (declare a DTO and use it in both. change the backend? the FE build breaks, you know you have a problem), and 2) validation logic is as easily shared between FE and BE
-
hjf_
form validation in FE is a nice thing but often you have to repeat it for BE and that sucks. with a shared validation module, hnnggggghh
-
fonks
I recently had to do some stuff in ArcGIS, and was introduced to ArcGIS online... and promptly returned to ArcGIS Pro. Performance was garbage, had weird naming restrictions, and was implemented at least 90% in the frontend
-
fonks
so my browser was doing all of the (barely-threaded, because JS) heavy lifting.
-
hjf_
my next project for work is to migrate the company's IA core
-
hjf_
AI
-
hjf_
the core is a python service copy pasted from examples from 10 years ago that's just a neural network
-
hjf_
it's a pain to deploy it, it's an unmaintainable mess (because i hate python but had to maintain it), etc
-
hjf_
trying to see if tensorflow.js can be used in the backend with the real C tensorflow
-
hjf_
"When you import TensorFlow.js from this package, you get a module that's accelerated by the TensorFlow C binary and runs on the CPU. TensorFlow on the CPU uses hardware acceleration to optimize linear algebra computation." CRIES IN HAPPY
-
fonks
Hopefully that goes well o7. I'm not really versed in AI, I know vaguely how it works but never dealt with the nitty-gritty. Hopefully all that training data doesn't have to be converted or shuffled, if it's been running 10 years
-
Beladona
what is the best way to get linux apps installed on freebsd? should I got with ubuntu based system?
docs.freebsd.org/en/books/handbook/linuxemu
-
VimDiesel
Title: Chapter 11. Linux Binary Compatibility | FreeBSD Documentation Portal
-
hjf_
fonks: it's basically a huge matrix in a file. hopefully JS can import it
-
fonks
Beladona, honestly? I usually go through a process of (1) look for it in native packages/ports, (2) try to find source for the linux version, compile it natively, and run it natively, and (3) if all else fails try to run the linux binary with the linux emu. It should be built into the default kernel IIRC, so you should just be able to run the binary directly.
-
hjf_
a problem i actually had with tensorflow is that (LOL) the VM i was assigned didn't have the CPU instructions to run the TF binaries.
-
hjf_
this company squeezes every cent of the hardware and software they buy
-
hjf_
whenever we have to deploy something new they keep asking if "we can make it compatible with SQL 2008 because we have some licenses we can reuse"
-
fonks
hjf_, yikes, I thought it was in some DB
-
hjf_
Keras models (typically created via the Python API) may be saved in one of several formats. The "whole model" format can be converted to TensorFlow.js Layers format, which can be loaded directly into TensorFlow.js for inference or for further training.
-
hjf_
yassss
-
hjf_
i think we use keras in the python version
-
fonks
Beladona, you will probably find that most of your "linux software" exists as native packages. Try 'pkg install <thing>' to learn more, or browse /usr/ports for names of packages (or install them from source in /usr/ports directly). Copying over linux binaries is sort of a last resort, but can and does work.
-
fonks
No new permissions-unrelated failures running kyua as a regular joe. Most seem to be related to dns limits, one utf8 locale failure, and a single lock-order failure in mixer.
-
Beladona
fonks brave browser with no ads do not exist. having issues lib conflicts with obs-studio and kdenlive
-
fonks
Can you elaborate on the lib conflicts? I've not used Brave, but on first glance it appears to be open source, you may need to build from source to get a native version running
-
Beladona
-
Beladona
obs-studio
-
Beladona
fonks kdenlive says it will remove postgres
-
fonks
Beladona, sorry for the delay, was filing a bug report. Have you been installing everything from pkg or from ports? Do you have a mixture of software going on? Pkg is really good about not nuking a system like that unless something is very wrong
-
Beladona
fonks this is the vendor / lib issue
-
Beladona
you can try to install it too and you will see. Install kdenlive, obs-studio, postgresql, neovim fonks
-
Beladona
I need all those, what should I do? fonks
-
fonks
Please allow me time to respond. I'm doing other things in the background, too, you know. :) As far as installing all of those, I want to know first how you installed those.
-
Beladona
fonks sure
-
Beladona
# chroot /compat/ubuntu /bin/bash
-
Beladona
chroot: /bin/bash: No such file or directory
-
Beladona
fonks for installing, just use pkg
-
Beladona
what to do of this error?
-
fonks
Beladona, what are you doing exactly? the freebsd linux compatability works like wine in a sense, you load the linux binaries and the kernel's linux compat shuffles around the syscalls to match freebsd calls. You don't need a chroot of a linux environment and that in fact will not work
-
fonks
-
VimDiesel
Title: Chapter 11. Linux Binary Compatibility | FreeBSD Documentation Portal
-
fonks
you don't need to, and should not, install an entire linux system as a subtree
-
Beladona
fonks I already installed ubuntu via `debootstrap jammy /compat/ubuntu`
-
fonks
right, which you can do, but what is your goal?
-
Beladona
fonks I need calmness and peace of ubuntu's package manager who can install brave, obs-studio, kdenlive and other linux apps for me.
-
Beladona
fonks how can I run `apt install brave` now?
-
fonks
By running ubuntu? I'm not sure why you're trying to essentially run linux but with the freebsd kernel
-
fonks
You can install Brave natively by building from source, I should mention, in the freebsd environment with the freebsd kernel
-
Beladona
I have freebsd as base os, with that I need mentioned apps. those create problem on freebsd. so I installed ubuntu on it. Those apps are big and simple binaries will have problem. as said I need peace of mind for ubuntu's package maanger to auto manage dependancies
-
Beladona
fonks how can I run `apt install brave` now?
-
» Beladona waits for fonks
-
xtile
belatedly, fonks, I've had similar lua dependency issues. For example, you can't have mpv and minetest packages installed at the same time.
-
xtile
You also can't have KDE or Mumble installed at the same time, last time I tried to install KDE.
-
fonks
Beladona, I don't think that's what the linux chroot system is for. I've only ever used it to build linux libraries for linux binaries that needed them. If you're trying to use apt, your best bet is to use ubuntu, either in VM or on the bare metal.
-
fonks
Like I said before, the order of preference from most to least is (1) pkg, (2) /usr/ports, (3) source package compiled natively, (4) source compiled for linux, (5) precompiled linux binary
-
fonks
xtile, lua dependencies are strange. I've noticed that before with minetest. I wouldn't think kdenlive would want to obliterate postgres though, unless there's some other shenanigans going on
-
Beladona
-
VimDiesel
Title: Chapter 11. Linux Binary Compatibility | FreeBSD Documentation Portal
-
jkc
What a horrible idea.
-
Beladona
jkc which one?
-
jkc
Beladona: What you're trying to do.
-
Beladona
jkc well then how to make the installation of kdenlive, obs-studio, postgresql, neovim simple?
-
fonks
Beladona, what FreeBSD version are you running? on 14-CURRENT all of those will install without conflict from pkg and ports
-
Beladona
13.2
-
jkc
Which version of postgres do you want?
-
jkc
Because on 13.2, pkg install kdenlive obs-studio postgresql15-server neovim works just fine.
-
Beladona
jkc it doesnt
-
Beladona
-
fonks
Beladona, what else have you done with this system? It sounds like package management has been pretty badly broken by something, and from what you've said so far it's not clear what
-
jkc
pkg install kdenlive obs-studio postgresql13-server neovim
-
Beladona
fonks the snap clearly says it is a bad dependancy conflict
-
jkc
The incompatibility is in the version of postgres you're trying to install.
-
Beladona
jkc I have a serious database v15.3... why install 13?
-
Beladona
the pg db is already running
-
jkc
That's your problem. The version if pgsql you installed is what's causing the conflict.
-
unixman_home
Just use "vi". Fixed. :)
-
Beladona
well why?.. the version of neovim is also causing conflict with kdenlive or whatever
-
» unixman_home ducks and runs
-
Beladona
jkc if those packages are part of ports, then why conflict?
-
jkc
Beladona: I just told you the actual conflict. You can also switch your pkg source from quarterly to latest and pgsql 15 works just fine, along with the rest.
-
fonks
Beladona, conflicts come from how the packages are built. The default configuration will inevitably not work in certain combinations or circumstances. For that you can file bugs and follow -latest, as jkc said, or build from /usr/ports with a custom configuration.
-
fonks
<joke>or you can forgo package management entirely, just drop binaries everywhere, and cross your fingers</joke>
-
Beladona
its already latest in /etc/pkg/FreeBSD.conf as url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
-
Beladona
-
Beladona
fonks still its too much time consuming and frustrating
-
Beladona
jkc fonks what you said seems correct but apparently not working. How can I change that?
-
fonks
what are you referring to, exactly?
-
Beladona
ok, lets do one by one. how to install obs-studio fonks jkc ?
-
» meena mumbles something about poudriere
-
Beladona
this is taking a lot time as you can see. there is not straight fix. Or am I missing something?
-
Beladona
fonks jkc mentioning you again and again? Are you on this or I should not?
-
unixman_home
Beladona, since IRC is asynchronous people may or may not be monitoring it at any given point in time. Even if they are shown as "online". I don't have answers for you, but out of 600+ connected people someone else other than fonks and jck might ... eventually.
-
Beladona
unixman_home ok. waiting for the remaining 637 people then
-
unixman_home
:D
-
debdrup
Glad to see the "I want volunteers to remain available 24/7 to answer questions for me" is still going strong.
-
Beladona
debdrup or maybe we can change the subject of IRC chat to "please do not disturb, I will email you when free"
-
mason
Is there a way for me to ... somehow wipe anything outside of GELI content in a partition? For some wacky reason I have a system that's finding a phantom pool across two partitions, where those partitions are actually encrypted by GELI, with my actual pool therein.
-
rwp
mason, The best and only tool I have found for that so far is wipefs which does not seem available on FreeBSD.
-
mason
-
VimDiesel
Title: View paste KCAAW
-
mason
rwp: So, digging more I see ada0p3 showing up in "geom list" twice as a provider, once with Name: gpt/tank0 (desired) and once with 1. Name: gptid/7d9cbbbf-ad51-11ed-b75e-94c691d5946f (source of the phantom pool)
-
mason
I can probably just wipe the partitions by hand and rebuild, but I'm wondering if there's a more elegant way.
-
mason
Possibly unrelated, this box came to my attention as it froze during a "freebsd-update" last night.
-
» rwp is looking carefully at your paste...
-
mason
but, from rescue media, attaching geli, importing the real pool by id, and scrubbing showed no errors
-
mason
rwp: If you have ideas I'll try them. Otherwise, I guess I'll wipe each half in turn and rebuild.
-
rwp
As a by-the-by I have been dealing with my own system problems of late and have been deep into this on one of my systems too. Everything is failing all around me.
-
mason
rwp: Same sort of error?
-
mason
rwp: Do you suspect an idea is percolating? If so I'll hold off on the wipes as that will likely nuke the opportunity for more exploration.
-
mason
And there's no rush, so I'll go do cooking dailies on my AzerothCore server and keep this open to see if there are any ideas in the meantime.
-
rwp
My problem is that I don't know exactly what problem I am experiencing. But I am not seeing a phantom signature problem as you are seeing.
-
mason
How would you characterize what's happening to your system(s)?
-
mason
Also, I'll take that as "okay, wipe away" :P
-
rwp
My problem is related to endless drive resets between HGST Deskstar NAS drives and the controller in a 6 drive raidz2 pool. Which all started happening mostly all at once across several of the drives.
-
mason
Ew. I don't want to trade problems. =cough=
-
mason
rwp: Storms? Power surge? Inductive voltage spike? Can you swap out the controller/HBA/whatever to rule out that flaking out?
-
rwp
I can make the story worse. This is an array that was too big to back up.
-
mason
Yee. Glad it's on ZFS then.
-
mason
If you can, I'd suspect the HBA first and try to rule that out. Worst case, now you have a spare HBA.
-
rwp
But I really only have about 6TB of data on it, and 5TB of that is definitely on the previous smaller NAS pool okay. But there are some recently acquired audio books and some other things on the new difference that would annoy me to lose.
-
mason
For my part, I'm 50G into wiping 4.6T, so, whee!
-
mason
And I'll have to do it again once I've resilvered the new ........ I can just grab the beginning and end of the partition I bet.
-
rwp
I have three Dell surplus LSI HBA SAS/SATA adaptors. Have swapped them around. Have swapped pretty much everything.
-
mason
Are all the drives same vintage/model?
-
rwp
So then decided to swap motherboards. Moved the drives into a different system. The problem follows the drives. Which tells me it is nothing about the system hardware. The problem is definitely the drives.
-
mason
That completely sucks. Can you start swapping the drives out? If you do, I'd think about varying the make/model to avoid systemic failure.
-
mason
Recommendation that seemed crazy to me not that long ago: look at used drives.
-
rwp
Yes. Unfortunately. 6x HGST HDN726060ALE610 6TB SATA drives. Which is always better for a SOHO type of setup to have decoupled drives from different places to make sure failure modes are not similar. But...
-
mason
As in, if you can get some reliability out of used drives, that cuts back on the existential threat.
-
rwp
That's what I am doing right now! I bought 2x used SAS drives from a vendor. And 2x from a different vendor. And two of those arrived and were BRAND NEW, well, 12 and 18 hours on them respectively. Woot! Won the lottery on those two.
-
mason
Nice, wow. So, hopefully you start seeing the problem disappear then.
-
rwp
The other two were 30k hours on them as I expected. And have two more in the order pipeline to arrive probably Tuesday.
-
rwp
And now am in the process of copying the data off the previous SATA drives onto the incoming SAS drives. And learning some things as I go here.
-
mason
nice
-
rwp
For one... If I try to copy from two of the pesky SATA drives at the same time (using ddrescue) then I get endless drive resets and drive errors and it just blows chunks!
-
mason
Yeah, just do one at a time.
-
mason
rwp: Oh, ddrescue... Is it not better to let zfs drive the resilver?
-
rwp
But if I do one disk at a time then I avoid all disk errors. I see softreset in the kernel log. But ddrescue does not report any read errors.
-
rwp
In order for zfs zpool to resilver or scrub or replace one must have an array online. Mine has degraded, suspended, and faulted.
-
rwp
Things went from bad to worse pretty quick. Can't get enough "read" out of the drives to assemble an array. And in the current state I don't want to try.
-
rwp
Instead I will make a complete copy of each drive off of the pesky troublesome drives one by one onto the incoming replacement drives one by one.
-
rwp
Then the replacement drives can be worked with to assemble the zfs pool. And if I screw something up then I still have the original data in the original state to work with.
-
mason
ugh
-
mason
kk
-
mason
A lot of work but a solid plan.
-
mason
For my part, I'm going to potentially save hours here with a little seek= magic to dd.
-
mason
got 100M off the front, will do roughly the same off the back
-
rwp
I am glad I can make other people's day a little happier because they can go, "Whew! At least I am not that guy!" :-)
-
mason
haha
-
Beladona
mason kane?
-
mason
I think there's a demotivational poster about that.
-
mason
Cane sugar?
-
Beladona
-
VimDiesel
Title: Mason Kane | Citadel Wiki | Fandom
-
Beladona
Is it easy and advisable to upgrade from 13.2 to 14 ?
-
mason
Beladona: There's also a character Mason Verger from Thomas Harris' Lambs series. BTW, your nick is missing a couple consonants.
-
Beladona
mason intentional
-
rwp
Beladona, Perhaps the old saying "if you have to ask then no you shouldn't" applies? But instead one might ask for what reason would you desire to do so while it is still in development?
-
Beladona
rwp am. ok typing:
-
Beladona
-
VimDiesel
Title: Chapter 11. Linux Binary Compatibility | FreeBSD Documentation Portal
-
Beladona
because:
-
Beladona
brave browser with no ads do not exist. having issues lib conflicts with obs-studio and kdenlive
-
Beladona
-
mason
I had a heck of a time with debootstrap on Linuxulator a while back. Might try it again.
-
Beladona
kdenlive says it will remove postgres
-
Beladona
mason how to run `apt install brave` after doing `debootstrap jammy /compat/ubuntu`
-
mason
Beladona: Did their debootstrap get all the way to completion?
-
mason
Beladona: Pretty sure you'd just chroot in there if it finished and have you a coherent system, and then use apt or whatever as though it were an actual Ubuntu system.
-
Beladona
I just did pkg install debootstrap and debootstrap jammy /compat/ubuntu in
docs.freebsd.org/en/books/handbook/linuxemu/#linuxemu-debootstrap
-
VimDiesel
Title: Chapter 11. Linux Binary Compatibility | FreeBSD Documentation Portal
-
mason
And then are you chrooting in?
-
Beladona
chroot /compat/ubuntu /bin/bash
-
Beladona
chroot: /bin/bash: No such file or directory
-
rwp
Beladona, What is that upgrading from and to? I haven't seen similar problem on my system so far. I am 13.2-RELEASE at the moment. And the quarterly ports neovim is neovim-0.8.3 not 0.9.1 as on your system so I assume you are on the dailies?
-
mason
Beladona: Is /bin/bash there? What's in /compat/ubuntu/bin?
-
Beladona
mason No such file or directory for both ls
-
mason
Beladona: from the outer system, please pastbin: ls /compat/ubuntu
-
Beladona
rwp I am on latest
-
mason
pastebin*
-
rwp
I am going to back away because if this is in linuxator then I know nothing. And I my drive number 2 just finished copying after 13h21m runtime and I need to set up drive 3 to start copying.
-
Beladona
rwp I am on latest. Not quarterly
-
mason
rwp: Nice, may it proceed placidly and without excitement.
-
Beladona
# ls /compat/ubuntu/
-
Beladona
debootstrap/ var/
-
mason
Beladona: That suggests you might have followed the instructions incorrectly, or that the instructions were incorrect.
-
Beladona
what should be the steps?
-
mason
Beladona: If you debootstrap into /compat/ubuntu then you should see the normal root-of-filesystem things in /compat/ubuntu. You seem to have stuck it all down a level in debootstrap maybe. Can you show us ls /compat/ubuntu/debootstrap?
-
Beladona
debootstrap.log debpaths deburis
-
mason
Beladona: That isn't the expected root goop either. Not sure how you can the debootstrap, but either you pointed it to the wrong place or it broke, which is the option I observed last time I tried.
-
mason
s/can/ran/
-
Beladona
ok doing again then
-
Beladona
pkg install debootstrap, debootstrap jammy /compat/ubuntu
-
Beladona
mason do I need to set up mounts in /etc/fstab.
-
mason
Beladona: The world inside /compat/ubuntu should be independent of the outer system.
-
Beladona
-
VimDiesel
Title: Chapter 11. Linux Binary Compatibility | FreeBSD Documentation Portal
-
Beladona
ok anyway, what to do after `debootstrap jammy /compat/ubuntu`
-
Beladona
mason oh, this time it worked
-
mason
Beladona: It helps when you know what's going on under the hood. :P
-
mason
Just kidding.
-
Beladona
-
mason
Beladona: Ah, not sure what you want to do to get valid /dev, /sys, and /proc inside there but you'll need those. The guide you followed should address this. Might be outer-system fstab in that case.
-
Beladona
mason ok.. why I get permission denited?
pastebin.mozilla.org/J0RPaED3/raw
-
mason
Beladona: Read my last line. You need functional mounts as noted.
-
mason
The /dev/null it wants needs to already exist.
-
Beladona
so need to change /etc/fstab in freebsd?
-
mason
Beladona: You should see what the guide you use recommends to set up /proc, /sys, and /dev inside the compat environment.
-
Beladona
-
Beladona
am fixed. checking
-
mason
Beladona: Hm, is there no Linux-specific devfs? That's the only thing that'd worry me.
-
Beladona
mason I do not understand. I just pasted what was in doc and it worked
-
Beladona
but I do not see any much packages. /etc/apt/sources.list is also not present
-
mason
Beladona: /compat/ubuntu/etc/apt/sources.list?
-
mason
If there's nothing there or in sources.list.d you'll want to address that, as you won't have any sources of packages until that exists.
-
mason
Good luck with it, and thanks for the inspiration - I'll give it a try again soon, although with Debian rather than Ubuntu.
-
Beladona
its there. but not seen in side the chroot
-
mason
Back to the cellar to reboot my newly-resurrected system.
-
Beladona
just 'main' deb added there.
-
mason
Beladona: Unclear how it can be there but not from within the chroot.
-
Beladona
-
markmcb
when i do "zfs list" i see "zroot/ROOT/13.2-RELEASE_2023-06-21_063639" ... does freebsd create that when updating?
-
mason
markmcb: Yeah, it makes snapshots now on freebsd-update
-
mason
Useful.
-
markmcb
that's a nice feature i didn't know about
-
mason
Beladona: That looks right. Note that you said "/etc/opt" in the left side.
-
Beladona
mason inside chroot its /etc/opt
-
mason
Beladona: Inside the chroot it's definitely not /etc/opt.
-
mason
bbiab
-
Beladona
-
debdrup
markmcb: it's from the new feature added to freebsd-update, to create boot environments when upgrading; you can access old boot environments via the loader
-
markmcb
that's so great :)
-
markmcb
today's a big day. after a month of trial, i migrated all my core server tasks to freebsd from my linux server. count me amongst the believers, lol
-
rwp
markmcb, Run "bectl list" and then go look at
wiki.freebsd.org/BootEnvironments because Boot Environments ROCK! :-)
-
VimDiesel
Title: BootEnvironments - FreeBSD Wiki
-
debdrup
boot environments are basically impossible to live without, once you've started using them.
-
rwp
markmcb, Note that beadm is the original tool in ports and bectl is the newer tool in base and both are basically the same within limits of same-ness. See
forums.freebsd.org/threads/howto-freebsd-zfs-madness.31662 for history.
-
VimDiesel
Title: HOWTO: FreeBSD ZFS Madness | The FreeBSD Forums
-
markmcb
i feel like each week i find a new amazing thing. thanks for highlighting this!
-
rwp
We are all on the journey of discover together. :-)
-
debdrup
beadm (and boot environments) originate in OpenSolaris
-
debdrup
the beadm tool in ports is a reimplementation of beadm in OpenSolaris
-
Beladona
mason it was terrible way to run obs via ubuntu in freebsd. no audio, screen etc. I should have fixed the freebsd compatibility issue instead
-
Beladona
I think I should upgrade to v14
-
debdrup
It's not -RELEASE yet.
-
Beladona
FreeBSD 14.0-CURRENT
-
debdrup
I'm not sure that's a good idea.
-
Beladona
debdrup whats your version?
-
Beladona
am I the only one who can't install obs-studio with neovim and postgres?
-
luke8086
pastebin.mozilla.org/rtPSEKu8 - does it make any sense that `fg` in /bin/sh accepts PIDs but not actual job IDs? that's contrary to what the man page says and also to what bash/tcsh do
-
VimDiesel
Title: Mozilla Community Pastebin/rtPSEKu8 (Bash)
-
meena
Beladona: what's the conflict?
-
meena
luke8086: %job
-
luke8086
meena: that works, interesting. thanks!
-
meena
it's weird that it's not documented, like it's supposed to be very common folk knowledge
-
meena
luke8086: it looks like csh(1) documents it, even tho sh(1) doesn't, but it's the same syntax abs behaviour
-
luke8086
heh, i've been using linux/unix for 20+ years but mostly bash/zsh and fg <number> always worked :P i guess you never stop learning
-
» parv did not realize that he had dropped using "%" to refer to a background job along the way ...
-
luke8086
indeed in bash/tcsh you can call %job alone without fg. but not in /bin/sh
-
meena
POSIX strikes again to ruin your fun
-
rwp
mason, As a by-the-by my next disk is copying at a good rate an hour into the copy and no disk resets seen in the log. So this drive is probably fully okay. In the end I may only have three pesky drives out of the six.
-
mason
rwp: Ah, there were more woes on my end. Bootloader can't find my pool, even though rescue media has no such issue.
-
mason
Frankly going to just install Debian, as this is something that ought not to be broken and I don't have time for it.
-
rwp
luke8086, If there is no % prefix how could the shell tell the difference between a PID written as a number say 1 and a job number written as say 1? It must have a % there to namespace it to the job number. Always been like that. :-)
-
rwp
mason, I understand. Compromises must be made as a matter of practicality. One must be pragmatic. But nothing is as permanent as a temporary solution!
-
mason
haha
-
mason
If I had any hope of actually understanding what's broken I'd dive in, but then things don't get done.
-
rwp
On my problem the curious thing is that this six drive pool has been running since November 2022 without problems until a couple of weeks ago. Scrubs every 35 days. All okay.
-
mason
rwp: That's the whole monoculture thing. Maybe it's a logic bug in the drives.
-
parv
rwp, It's one of those 34 days ...
-
rwp
I am thinking that too. Or maybe the drives are all tripping some controller problem. Because it feels like the media of bits is okay but that controllers plural are all freaking out at the same time.
-
rwp
Normally I am one of those who try to get as many different vendors of drives as possible to de-couple all possible coupled failures. But then I had these 6 drives that all tested perfectly...
-
mason
rwp: The exception that proves the rule.
-
luke8086
rwp: indeed, frankly i hadn't known it accepted PIDs, my first thought was that it's a bug that it works with PIDs rather than job ids ;) note that it works without % in bash so perhaps it takes the first match
-
parv
luke8086, ... or if the number does not belong to a PID?
-
rwp
luke8086, Well look at "kill" which is also part of that set of job control commands. That definitely takes a process id. And it must be built into the shell in order to handle job control processes.
-
luke8086
actually it doesn't accepts PIDs in bash
-
rwp
bash has a lot of bash'isms. And most of those bash'isms originated in ksh.
-
parv
Use zsh. Get both (ba|k)shims
-
rwp
"I didn't really say everything I said." --Yogi Berra
-
parv
-- nice typo
-
rwp
In the case of job control everything originated in csh first.
-
Beladona
-
Beladona
also if I install kdenlive, it says postgres15 will be removed
-
debdrup
Beladona: I'm a committer, so 14-CURRENT.
-
meena
Beladona: so the problem is: different versions of luajit
-
meena
Beladona: is it possible to convince all of those packages to use the same version? if not, which combination conflict? can you run PostgreSQL in a jail?
-
meena
etc… I'm sure there's more questions that lead to sensible solutions. like, what's different in latest vs quarterly?
-
RhodiumToad
hm. luajit-devel is the default luajit version at least in latest
-
meena
for all three of the above packages?
-
RhodiumToad
I mean in default-versions.mk
-
RhodiumToad
obs-studio isn't using the default version.
-
RhodiumToad
it's using lang/luajit (old 2.0.x release) except on powerpc where it uses luajit-openresty
-
meena
any good reason why?
-
RhodiumToad
that suggests it could use luajit-devel without build problems (if it can build and run on the openresty version, it should be able to handle luajit-devel too)
-
RhodiumToad
2.0.5 is known broken on some architectures
-
RhodiumToad
luajit is a right mess because although there's been activity again on the 2.1 branch, there's still no release as far as I know
-
RhodiumToad
everyone just picks a git commit and uses that
-
Beladona
RhodiumToad so in short what is the solution to this?
-
RhodiumToad
what do you want to do?
-
Beladona
meena no idea. I have to find out. how?
-
RhodiumToad
basically, the package builds of obs and neovim are incompatible, so you can't install both in the same system image. You could build one of them from ports
-
Beladona
RhodiumToad I want to install obs , pg15 (already have it), neovim and kdenlive (well brave browser too but thats a different story)
-
RhodiumToad
what's the issue with kdenlive?
-
Beladona
it removes pg
-
RhodiumToad
what's the output of the pkg command in that case?
-
Beladona
one sec
-
Beladona
RhodiumToad kdenlive
imgur.com/tcP2QbL.png
-
RhodiumToad
gdal??
-
Beladona
whats that
-
Beladona
gdal: 3.7.0_2
-
RhodiumToad
it's a GIS graphics library
-
Beladona
ok but what to do here? obs is priority though, actually all are
-
Beladona
RhodiumToad and I think this will happen in any freebsd version and release
-
RhodiumToad
easiest fix will probably be to build neovim and gdal from ports
-
Beladona
how do you know its gdal?
-
RhodiumToad
well I don't know that gdal is the only issue for kdenlive, but for whatever reason, it looks like kdenlive is pulling in gdal and gdal depends on postgresql13-client
-
Beladona
so the solution would be installing neovim and kdenlive from source?
-
RhodiumToad
not kdenlive, but gdal; if you build yourself a gdal having set DEFAULT_VERSIONS+=pgsql=15 then it will depend on pg15 rather than 13
-
RhodiumToad
then either build neovim with DEFAULT_VERSIONS+=luajit=luajit or modify the obs port to use luajit-devel
-
RhodiumToad
(assuming neovim works with that luajit version, I never tried)
-
RhodiumToad
also maybe bug the obs port maintainer to update their luajit dependency to use USES=luajit
-
Beladona
ok let me fix obs first. how to build neovim like that. I mean exact command?
-
RhodiumToad
are you using latest or quarterly packages?
-
Beladona
latest
-
RhodiumToad
do you have a recently updated ports tree? have you built anything from ports before?
-
Beladona
I just did `pkg update`
-
Beladona
RhodiumToad I upgraded from 13.1 to 13.2 few months ago though
-
Beladona
RhodiumToad as you are a pg guy, fyi, SELECT version() still says PostgreSQL 15.3 on amd64-portbld-freebsd13.1, compiled by FreeBSD clang version 13.0.0 (git⊙gc:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303), 64-bit
-
RhodiumToad
yes, so?
-
Beladona
13.0. not 13.2 but not an issue
-
RhodiumToad
the 13.0 is the clang version not the freebsd version
-
Beladona
ok
-
Beladona
so what would be my first step?
-
Beladona
" amd64-portbld-freebsd13.1"
-
RhodiumToad
first you need an updated latest ports tree
-
Beladona
how?
-
RhodiumToad
do you have a populated /usr/ports ?
-
Beladona
RhodiumToad yes it has dirs
-
RhodiumToad
does /usr/ports/.git exist?
-
Beladona
no
-
Beladona
-
Beladona
should I be doing `gitup latest`?
-
RhodiumToad
anyone know offhand if portsnap still works, or is it dead now?
-
mason
RhodiumToad: Updated last month, so it ought to still function.
-
meena
RhodiumToad: it's more zombie than dead
-
mason
Oh... Hm.
-
mason
"IGNORE: portsnap is in base systems and has been removed from 14.0-RELEASE"
-
mason
-
VimDiesel
Title: FreshPorts -- ports-mgmt/portsnap: Provides secure snapshots of the ports directory
-
Beladona
should I be doing `gitup latest`?
-
RhodiumToad
no
-
meena
I haven't seen svn purged from base, but, might as well
-
debdrup
Not before 13 is EOL.
-
Beladona
how to update ports then?
-
Beladona
ports tree*
-
meena
debdrup: why 13? wasn't the last release done in svn 12?
-
RhodiumToad
portsnap fetch update should still work then?
-
debdrup
Beladona: any of the usual methods.
-
debdrup
meena: That's possible, I was remembering it as 13 though.
-
Beladona
-
VimDiesel
Title: Chapter 4. Installing Applications: Packages and Ports | FreeBSD Documentation Portal
-
Beladona
-
VimDiesel
Title: Chapter 4. Installing Applications: Packages and Ports | FreeBSD Documentation Portal
-
meena
Beladona: most reliable would be git, but that would require you to install stuff, and installing stuff seems fraught right now
-
debdrup
Why is installing stuff fraught right now?
-
RhodiumToad
installing git-lite would be no big deal
-
Beladona
doing make install clean
-
RhodiumToad
Beladona: you need to update your ports tree first
-
Beladona
-
Beladona
RhodiumToad ok how to update?
-
RhodiumToad
install git or git-lite as a package rather than trying to build it
-
Beladona
I already have git
-
RhodiumToad
ok, then follow the rest of those instructions to check out the ports tree, but you may want to add --depth 1 to the clone command
-
debdrup
I'm wondering if the handbook shouldn't be recommending the tiny flavour of git.
-
Beladona
RhodiumToad ok but it says git vulns.
-
RhodiumToad
says what?
-
Beladona
-
meena
debdrup: and depth=1
-
Beladona
RhodiumToad when I do make install clean
-
RhodiumToad
Beladona: do not try and do 'make' for git
-
RhodiumToad
you said you already had it installed
-
debdrup
It's only got ftp/curl and textproc/expat as dependencies.
-
meena
you can unshallow in the background of you really need to, but to get started it would be very useful
-
Beladona
yes, git is installed but says vul error
-
RhodiumToad
no
-
RhodiumToad
start at step 2 of the instructions!
-
RhodiumToad
step 1 is just to install git, but you did that already
-
debdrup
meena: what's the actual advantage of a shallow tree, other than it takes less space?
-
Beladona
ok, I hope this will give me latest. not quarterly . git clone
git.FreeBSD.org/ports.git /usr/ports
-
VimDiesel
Title: ports - FreeBSD ports tree
-
RhodiumToad
the vulnerability thing is because you didn't update your ports tree yet
-
RhodiumToad
use --depth=1 for speed
-
Beladona
ok, I hope this will give me latest. not quarterly . `git clone
git.FreeBSD.org/ports.git /usr/ports depth=1` *
-
VimDiesel
Title: ports - FreeBSD ports tree
-
debdrup
I suppose it's quicker, yeah.
-
meena
debdrup: less time. if you're trying to get thru a step by step thing, and literally the first step takes half an hour, you night give up on step two
-
Beladona
RhodiumToad ok
-
RhodiumToad
yes, the default branch corresponds to "latest", each quarterly branch has its own name
-
debdrup
meena: right, I suppose I'm displaying my privilege unconciously, as I'm used to working on 1/1Gbps FTTH and a fast NVMe SSD.
-
RhodiumToad
Beladona: git clone --depth=1
git.FreeBSD.org/ports.git /usr/ports
-
VimDiesel
Title: ports - FreeBSD ports tree
-
Beladona
fatal: destination path '/usr/ports' already exists and is not an empty directory.
-
Beladona
deleting dir.
-
RhodiumToad
probably better to move it aside but whatever.
-
Beladona
interesting things happening
-
Beladona
rm -rf /usr/ports/
-
Beladona
rm: /usr/ports/: Device busy
-
debdrup
Oh, `git-fetch --unshallow` can be run later on - in that case, I'd say there's no reason not to add --depth=1 on the git-clone(1) in the handbook.
-
debdrup
pwd
-
debdrup
You're likely in the directory you're trying to delete.
-
Beladona
I cd ed
-
RhodiumToad
where to?
-
meena
debdrup: our ISP incompetently disabled our SIM so hard, it's no longer connecting after they enabled it. they did that after i asked about IPv6, and they then wondered, who are these people? they've never paid. (because the ISP didn't take money from us lol)
-
Beladona
home. RhodiumToad
-
debdrup
What about other shells/tmux instances?
-
debdrup
meena: sorry, I think I lost the thread of the conversation..
-
Beladona
rm didn't worked fully but cloning now
-
debdrup
meena: oh, that was a tanned gent, gotcha.
-
Beladona
RhodiumToad git -C /usr/ports pull
-
Beladona
Already up to date.
-
RhodiumToad
oh, /usr/ports might have been a mount point on a zfs install
-
Beladona
Is the ports tree updated now ?
-
RhodiumToad
if you did the git clone, then it's updated.
-
debdrup
RhodiumToad: yup, it is.
-
Beladona
RhodiumToad ok, what next?
-
RhodiumToad
next you need to edit /etc/make.conf
-
RhodiumToad
add a line DEFAULT_VERSIONS+=luajit=luajit pgsql=15
-
Beladona
no I think this is not about pgsql but luajit-devel only
-
RhodiumToad
I already explained to you what the problem with pgsql was
-
Beladona
ok. doing what you said
-
Beladona
btw, this already had MAKE_JOBS_UNSAFE=yes
-
Beladona
I think it should be removed
-
RhodiumToad
you have pg15 installed, if you want new port builds to respect that then you set it in DEFAULT_VERSIONS
-
Beladona
I added DEFAULT_VERSIONS+=luajit=luajit pgsql=15
-
Beladona
and removed the unsafe thing
-
Beladona
RhodiumToad next?
-
meena
debdrup: the tanned gent was about slow Internet. the other thing that makes Internet slow in this household is: storms.
-
RhodiumToad
Beladona: cd /usr/ports/editors/neovim and do make missing-packages (should output a list)
-
debdrup
meena: I used to have a DSL connection (ADSL2+Annex M, specifically) where the copper was so bad it needed pretty heavy attentuation, and despite that every time it'd rain the speeds would drop precipetously.
-
RhodiumToad
Beladona: put the output on termbin so we can see it
-
meena
whew
-
debdrup
meena: the ISP just shrugged whenever I'd mention it.
-
Beladona
-
Beladona
brb 5 mins
-
RhodiumToad
uh.
-
meena
that's lots of missing stuff
-
RhodiumToad
it's also completely horked up the flavors
-
RhodiumToad
ok. 'make missing' seems likely to be more sane
-
RhodiumToad
Beladona: can you do make missing instead and see what that says
-
Beladona
RhodiumToad it says devel/cmake-core, security/rhash, devel/ninja, lang/luajit
-
RhodiumToad
ok. you'll want to do pkg install cmake-core rhash ninja luajit
-
RhodiumToad
oh, you'll need to remove your current luajit-devel, which will remove neovim
-
Beladona
true
-
RhodiumToad
(can't be helped, you'll have to use something else to edit while we rebuild neovim)
-
Beladona
doing that. will reinstall neovim
-
Beladona
done
-
RhodiumToad
ok, and now 'make missing' is empty?
-
Beladona
devel/luv
-
RhodiumToad
that depends on luajit too so we'll let it rebuild that
-
Beladona
ok
-
Beladona
should I install obs-studio now?
-
RhodiumToad
(cd /usr/ports/devel/luv; make install)
-
Beladona
oh ok
-
RhodiumToad
let's finish with neovim first
-
Beladona
ok
-
Beladona
done
-
RhodiumToad
back in editors/neovim, is 'make missing' empty now?
-
Beladona
make missing shows nothign now
-
RhodiumToad
ok. make install
-
RhodiumToad
that should build and install neovim
-
Beladona
inside editors/neovim?
-
RhodiumToad
yes
-
Beladona
ok
-
RhodiumToad
it may prompt you for options, you can use the defaults or pick anything reasonable
-
Beladona
RhodiumToad we didn't used pkg to install neovim. Is this `building from source` ?
-
RhodiumToad
yes
-
Beladona
the ports gave us source. and we `make` it
-
Beladona
ok understood
-
Beladona
its doing it
-
RhodiumToad
the port should fetch the source and then compile it
-
Beladona
when we did git clone, the ports fetched it already. no?
-
Beladona
I wonder why I am getting neovim 0.9 and not 0.8
-
RhodiumToad
that fetched the files of the port, i.e. the instructions on what to fetch and how to compile it
-
Beladona
that was the default in 13.2
-
Beladona
oh ok
-
RhodiumToad
the port doesn't contain the actual source of the program, it just says where to fetch it from
-
Beladona
I see
-
Beladona
neovim installed
-
RhodiumToad
ok. now try installing obs-studio from the package
-
RhodiumToad
it should no longer conflict on luajit
-
Beladona
RhodiumToad awesome ! works
-
RhodiumToad
right. next step is to try and figure out why kdenlive tries to pull in gdal; if we can find a way to turn that off, it'll save having to compile gdal
-
Beladona
super. what to do next?
-
RhodiumToad
give me a sec to try and figure out the dependencies
-
Beladona
ok, brb 2 mins as well
-
RhodiumToad
why is there no good way to look up the dependency chain between two specified packages
-
RhodiumToad
ok, found it. kdenlive -> frei0r-plugins-opencv -> opencv -> gdal
-
RhodiumToad
so either building opencv without gdal would probably work, or building gdal with the proper pg version. Probably easiest to do the latter
-
Beladona
RhodiumToad ok
-
Beladona
but can't afford to uninstall pg as I have data here
-
RhodiumToad
so, cd /usr/ports/graphics/gdal and do 'make missing' let's see what's needed there
-
RhodiumToad
we won't need to uninstall pg
-
RhodiumToad
since the installed version is 15, and that's the same one we want to build against
-
Beladona
-
RhodiumToad
ok. try doing make install-missing-packages
-
Beladona
-
RhodiumToad
that looks like it should be ok to answer Y to
-
RhodiumToad
(it won't remove anything)
-
RhodiumToad
after that, make missing should come up empty
-
RhodiumToad
then you can do a make install
-
Beladona
done with message: Message from metis-5.1.0_9: NOTICE The metis port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed inthe future.
-
RhodiumToad
yeah, lots of ports don't have maintainers
-
Beladona
ok done
-
RhodiumToad
ok, and you're running the make install ?
-
Beladona
doing
-
RhodiumToad
iirc gdal isn't small, it might take a while
-
Beladona
ok
-
mariuss
Yup, metis is out of date. The current version is 5.2.1
-
RhodiumToad
it's still kind of strange that installing a video editor wants to do GIS mapping graphics, but what do I know
-
RhodiumToad
probably some weirdness in opencv plus the fact that the default package builds tend to favour turning options on on the basis that people might need them
-
Beladona
are you all guys developers of freebsd?
-
RhodiumToad
I'm mostly a user, I contribute to freebsd occasionally but I'm not a committer or anything
-
Beladona
How do you contribute?
-
Beladona
and why/how you know so much? sys admin?
-
RhodiumToad
I maintain a couple of ports, have contributed bugfixes and enhancements to the ports infrastructure, and contributed a few smallish patches to the base system
-
mariuss
That reminds me of gnuplot. The default setup brings in wxgtk30, which in turn needs webkit2-gtk3 and gstreamer1.
-
RhodiumToad
I happen to know some GIS stuff due to my postgres work, and helping out the PostGIS guys
-
Beladona
I see
-
Beladona
RhodiumToad there is no money involved in this?
-
RhodiumToad
which I why I immediately spotted gdal as the problem here
-
RhodiumToad
I don't get paid for freebsd work myself
-
Beladona
I see. I wonder how people can invest so much time on opensource. They must be doing pretty well financially from other means already and this opensource engagement would be their passion
-
RhodiumToad
eh. never make assumptions about other people's financial situation
-
RhodiumToad
gdal still building?
-
Beladona
gdal is building; yes
-
Beladona
finished