-
crb
holly crap DDR4 server memory has gone through the roof
-
kerneldove_
why?
-
kerneldove_
what happened
-
ivy
some sort of spare parts bin explosion?
-
AmyMalik
what's happened?
-
iRobbery
prices more than doubles in the last week
-
seti_
ivy: do you mean literally that some warehouse caught on fire and wiped out a substantial part of world supply of memory?
-
ivy
seti_: no, i was just wondering what sort of event would cause memory to go through the roof
-
seti_
i see i see
-
divlamir
prep for black friday, so we can be offered substantial reductions lmao
-
paulf
calling malloc too often (or with a size that is too big)
-
paulf
missed the beginning so I didn't see if this is userland or kernel
-
ivy
paulf: the conversation was about the price of memory rather than its usage :-)
-
paulf
well in that case it's probably just the usual semiconductor cycle
-
paulf
new node comes out, prices rocket until fabs switch to that node and then there is a glut and prices fall until the next node ...
-
iRobbery
and how would that 'cycle' be?
-
paulf
about every 3 years
-
divlamir
it's not like ddr4 is the new hotness
-
paulf
no but the 2nm node will be
-
Ltning
I'm trying to install mozilla syncserver, but (of course) it fails to build the rust crate "grpcio-sys".
-
Ltning
Is there an easy(?) way to find ports that may be pulling in the same crate, so I can figure out what those are doing to make it build?
-
rtprio
Ltning: i only see py-grpcio related ports, no crates :\
-
t3ch
can freebsd run ollama and large language models and all on gpu?
-
t3ch
response from gpt-oss: No – there is no supported way to run Ollama on FreeBSD with GPU acceleration.
-
iRobbery
-
t3ch
i like gentoo too.. but somehow like freebsd too.. can i asc why you specialy use freebsd and why not gentoo if is so customizable?
-
t3ch
iRobbery
-
t3ch
thaks
-
t3ch
thanks
-
iRobbery
I use freebsd because its not such a mess as linux is, no systemd, MIT license, ports system, zfs native, ipfw firewall, and more if i really will think about it
-
t3ch
i use openrc
-
t3ch
my gentoo is special
-
t3ch
use like nothing of memory
-
iRobbery
gentoo users are special ;)
-
t3ch
here are packages of one server, they use target x86_64 so is for all computers prepared...:
gentoobins.grandekos.com ... :)
-
t3ch
i like to make a team.. like we was when we was jung.. on ircnet.. similar but with more responsability.. anyone like to think and join and work on projects? programming? msg me.. ***
-
t3ch
even electronics are our projects.. drones printers similar
-
ketas
ivy: misordering also messes up dtb package creation i saw
-
ivy
ketas: i've never seen that and i build for arm64 fairly regularly, could you file a PR with logs etc?
-
ketas
i did put it to current ml once, had to run make packages twice to get a dtb package... unless this is 13 make that misorders this, it's bug... and i don't see .order for that either
-
ketas
:/
-
ketas
me or bug?
-
ivy
i have no idea, this is why i asked to see the logs :-)
-
ivy
although if it only affects freebsd 13, that's pretty low priority for pkgbase issues
-
ketas
as a build host, i was building 16
-
ketas
-
ketas
.ORDER: create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},} create-dtb-package
-
ketas
?
-
ketas
i never tried
-
ivy
ketas: this should be working fine, there's already a .ORDER to run stage-packages (which installs dtb) before create-packages. i need to leave in a minute but i'll see if i can reproduce it later
-
ketas
hmm
-
ketas
yeah
-
ketas
"i also noticed "buildworld buildkernel installworld installkernel distribution" installs world before building kerne"
-
ketas
cursed anyway
-
ketas
maybe i should check how much make changes
-
ketas
does it ever change?
-
ketas
make itself does that?
-
ketas
:/
-
aic
any ideas why "pkg update" inside 13.5 jail on a 14.3 host would Segfault
-
aic
I thought as long as your host is newer kernel than the jail there should be "No Problems"(TM)
-
rtprio
does pkg-static update also segfault?
-
cryosis
anyone running wayland/x11 in qemu =
-
phlux
Anyone able to assist with this? My FreeBSD server can't hit jailed items from their public IPs. For example: I have traefik running in a jail and have all requests on 80 or 443 sent to it. From there, it distributes to other jails. I have keycloak running in a jail and gitea running in another. Keycloak is accessible from my local machine at sso.domain.tld, but gitea can't connect to
-
phlux
sso.domain.tld, and neither can the host machine. Any ideas on how I might resolve this?
-
divlamir
check the resolver from within the jail first
-
phlux
divlamir: resolves fine
-
rtprio
phlux: and they're different public IPs?
-
aic
ah I see. Inside jail: "pkg update -f" no problem
-
aic
Outside jail (14.3 host): sudo pkg --jail 135 update -f .....Fetching data.pkg, Processing entries: 100%, Child process pid=53344 terminated abnormally: Segmentation fault
-
kevans
odd
-
kevans
ohh
-
kevans
hmm
-
aic
I have a 14.3 jail too, checking pkg on host --jail 143 update -f
-
kevans
pkg --version?
-
aic
no crash. ok will wait for potential pkg upgrades in the future. 2.2.2
-
kevans
hmm, ok. i'm running the same and can't reproduce
-
kevans
what version of pkg is in the jail?
-
divlamir
2.2.2 apparently it's 2.3.1 on 14.3
-
zi
aic: might be some kind of 'old' package installed it cant quite solve for. do a spotcheck for old versions of python, etc
-
aic
is it?? thanks divlamir I don't quite understand how that's possible because pkg.conf doesn't have versions it has $ABI
-
divlamir
no, `the pkg --version`
-
divlamir
you said 2.2.2, I thought you meant that
-
kevans
there's some problems I can see with how pkg does -j, but none that you'd normally run into with a normal `update`
-
kevans
e.g., plugins would seem like they'd cause problems, but you're probably not running ny
-
zi
aic: pastebin.com pkg info
-
aic
exactly yes, I am apparently stuck at "2.2.2" if 2.3.1 exists I just didn't understand that's possible when pkg configuration doesn't contain a version but references ${ABI} variable
-
kevans
pkg -j probably needs to actually attach to the jail and re-exec a version of pkg inside the jail
-
divlamir
could be that there's some differences in the pkg databases between the versions...
-
kevans
pkg maintains backwards compatibility for things like that, especially with versions this close together
-
aic
if I forgot to update a string in pkg.conf "pkg+https://pkg.FreeBSD.org/FreeBSD::13/quarterly" then I would know I made a mistake
-
divlamir
kevans: that seems a sensible approach, delegate to jail's pkg
-
divlamir
except in some very stripped down jail without pkg lol
-
aic
pkg --debug update says: Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/meta.conf
-
aic
so I am definitely getting the 14 package list back
-
aic
but because it claims "2.2.2" is the "latest" version still. then my metadata is probably corrupt in some way, right?
-
kevans
if we could get a backtrace that'd be really helpful
-
aic
I'll get to the bottom of it, this is really newbie stuff and if you're not even just freebsd users but developers then I am even more embarrased
-
aic
to waste your time
-
kevans
(it's not a waste of time to help investigate)
-
zi
aic: 2.2.2 might latest for the quarterly branch. also: pkg info to pastebin.com
-
kevans
or |nc paste.fbsd.dev 9999
-
kevans
:-)
-
divlamir
uh, pkg is not a port how does it update itself actually?
-
kevans
pkg is a port
-
divlamir
oh
-
kevans
there's pkg(7) in base and pkg(8) in ports
-
kevans
pkg(7) fetches pkg(8) if it's not installed, then execs it
-
divlamir
why then: pkg which /usr/sbin/pkg --> /usr/sbin/pkg was not found in the database
-
kevans
because that's pkg(7)
-
kevans
/usr/local/sbin/pkg is pkg(8)
-
kevans
the shim in base only knows how to fetch the real pkg and verify signatures
-
zi
divlamir: pkg(7) isnt a port is the tl;dr here. only pkg(8) is
-
divlamir
oh, ok, right. got a bit confused here
-
zi
it's ok, someone put some pkg in your pkg for pkg purposes
-
zi
pkg.
-
kevans
i wrote a function in the pkg shim in base, pkg_is_pkg_pkg, that I was quite proud of
-
zi
love it
-
AmyMalik
owo
-
zi
woo?
-
ivy
kevans: are you also the one who named "make package-pkg"?
-
kevans
nope
-
kevans
if it were me, that would've been `pkg-pkg`
-
AmyMalik
name humor
-
kevans
looks like gjb is package-pkg
-
zi
pkg-pkger
-
ketas
packeption!
-
ketas
how many packages can pkg pack if pkg can package packages
-
ketas
is it pkg or pkg pkg, or bird or plane
-
AmyMalik
help, I'm being packaged
-
divlamir
you sickos, this convo could make a doc PR for pkg_is_pkg_pkg XD
-
divlamir
phlux: does it work if you make an entry in /etc/hosts pointing directly to your internal jail ip
-
divlamir
tcpdump the connection attempt, see what happens
-
kevans
phlux: vnet jail(s) involved?
-
scoobybejesus_tl
i was wondering if the phlux thing was a DNS issue. I had that issue with getting from one jail to another jail's gitea instance. I had to git clone
ssh://internal_loopback_IP/project.git, or whatever. I couldn't use the normal hostname resolution. Overriding it in /etc/hosts didn't work
-
s1lversurfer
hi everyone, this is my first time using freebsd, and i am trying to install vscode, what i did: move to /usr/ports/editors/vscode .. and type "make install clean", but for now, the system are compilling and download a lot of another things, it's normal ?
-
TommyC
s1lversurfer: yes, those are vscode's dependencies
-
s1lversurfer
wow, thank u, it's taking a lot of time hehe
-
TommyC
You can use pkg instead of ports to download and install pre-built packages instead of building them.
-
s1lversurfer
yeah, but vscode wans't available on pkg search
-
s1lversurfer
but for while, i am enjoying the OS, i'am a linux user since 2004, but BSD it's very f good \m/
-
divlamir
pkg search vscode --> vscode-1.104.1
-
divlamir
also `make install-missing-packages` could save a lot of time
-
ivy
divlamir: s1lversurfer is probably using quarterly, vscode is missing
freshports.org/editors/vscode
-
divlamir
yeap, only on latest 14/15/16 according to freshports
-
divlamir
-
divlamir
oh sorry, need to thibk about getting glasses maybe
-
s1lversurfer
wow i came back, lost connection.. but i didn't found the vscode packet on pkg... someone talks about quarter
-
rtprio
i thought we went over this, the electron package is build is broken on 14, which breaks vscode
-
rtprio
it should exect for 15
-
s1lversurfer
rtprio: understoood
-
s1lversurfer
ty guys for help, i'll wait the system build vscode, and i have to install touchpad driver too, is not working
-
divlamir
you are gonna wait looong time, switch to "latest" pkg branch methinks
-
rtprio
oh, it finally built
-
rtprio
the last dude who asked, it was broken at the time
-
s1lversurfer
the community that helps with code of freebsd have few people ?
-
divlamir
and if it's really first time using freebsd, starting with a mix of ports and packages will end up with some curious errors some day
-
s1lversurfer
i don't program in C, but i would love to help the project
-
s1lversurfer
divlamir: i've downloaded the larger iso
-
divlamir
it doesn't matter how you installed, pkg defaults to the "quarterly" branch
-
ivy
s1lversurfer: ports always needs more people and you don't need to know C, but it's pretty tedious work
-
ketas
so i did halfassed boot and now my armv7 system is in translation fault panic loop eh
-
ivy
s1lversurfer: also docs is very short handed right now
-
ketas
eh
-
s1lversurfer
wow, serius ? i program in Rust, Perl and Python.. i think that i need some extra work hehe i have no project in mind
-
s1lversurfer
if i can help with that..
-
ivy
also, something useful anyone can help with right now is test the 15.0 prereleases and report issues
-
s1lversurfer
to report issues i use the mailling list ?
-
divlamir
there's bugs.freebsd.org
-
ivy
mailing list or bugzilla
-
s1lversurfer
nice!
-
ivy
unfortunately going back to the previous comment, there are no docs for the major new feature in 15.0 yet :-d
-
divlamir
that is?
-
ivy
divlamir: pkgbase
-
divlamir
lol, my nightmare
-
divlamir
maybe it's my nightmare, _because_ of the lack of docs exactly
-
ivy
i think the code is mostly done now so i am probably going to be writing that this weekend
-
divlamir
thanks, i was thinking to stick to freebsd-update until the whole pkgbase thing makes it way through my skull
-
divlamir
but it's the end of the road for freebsd-update as of 16, right?
-
ivy
yes, it'll only be supported for 15
-
ivy
you can keep using installworld though
-
divlamir
yes, that will never die :)
-
ivy
we will probably switch it to use the pkgbase scaffolding at some point but that won't affect the user-facing behaviour
-
divlamir
though, I can't see how a regular user could help with that sort of documentation. Without being familiar with the internals I mean
-
mzar
FreeBSD 15 is still progressing in ALPHA stages
-
Remilia
divlamir: documentation like that practically requires a lot of input and/or editing from regular users
-
Remilia
because documentation written by people familiar with the topic very often misses points they consider obvious
-
V_PauAmma_V
It also needs, ideally, input from people familiar with doc-writing.
-
ivy
but in an ideal situation we wouldn't be able to release a beta without any docs
-
mzar
AI will help
-
s1lversurfer
hey guys, im here again with a problem durnig compilation of vscode hehe, the vscode ports look for a perl5.40.2 but the freebsd 14 contains in his port folder a perl5.40.3
-
s1lversurfer
and now, im trying a something very newbie hehe, i just exec a mv /usr/local/bin/perl5.40.3 to perl5.40.2 lol.... and it works
-
ivy
Number of packages to be installed: 6
-
ivy
Number of packages to be upgraded: 432
-
ivy
The operation will free 4 MiB.
-
ivy
these new anti-packages with a negative size are great
-
s1lversurfer
wow
-
ivy
if we could add one that's -800MB or so, you could install freebsd without using any disk space at all
-
s1lversurfer
800mb from 432 packages to be upgraded ?
-
Alver
ivy: heh
-
jaredj
anyone using 15 alphas?
-
ivy
FreeBSD freebsd15.le-fay.org 15.0-ALPHA4 FreeBSD 15.0-ALPHA4 stable/15-n280536-15d367160d00 GENERIC amd64
-
jaredj
noice
-
s1lversurfer
anyone know what that means? "===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1
-
jaredj
did you install from alpha4 media, or upgrade from earlier alphas?
-
jaredj
s1lversurfer: not sure. what are you building
-
s1lversurfer
i am building the "electron34", to compile vscode
-
s1lversurfer
but im trying again, after a "make clean"
-
ivy
jaredj: this is my stable/15 dev vm, it started on 15.0-CURRENT and just updated from source since then
-
jaredj
mm ic.
-
aic
do it like that s1lversurfer it is probably equivalent of make -j1
-
ivy
but, i do install 15.0-ALPHA from media several times a day, if you have any questions
-
jaredj
i installed alpha3 from media with pkgbase and now i'm trying to upgrade to alpha4
-
aic
then if it fails to compile again, it will give you a cleaner explanation of why it failed
-
s1lversurfer
ivy: hmmmm ty
-
jaredj
first i have to find the alpha handbook
-
jaredj
i found it and lost it again
-
ivy
aic: not exactly the same as -j1, because -j1 disabled make's compatibility mode even though 1 job is the default, MAKE_JOBS_UNSAFE doesn't pass -j at all. this matters for some ports like vim that depend on compatibility mode
-
ivy
jaredj: "pkg update; pkg upgrade" should work. there isn't much/any actual documentation on this aside from freebsd-base(7)
-
aic
then it sounds like your compilation log s1lversurfer should already have a pretty clear error message where it failed and why
-
s1lversurfer
aic: after make clean and make install clean it's working per now.. i will try again
-
aic
ok so now it compiled and no error? never mind then
-
aic
you getting close to that vscode working? how many more dependencies to compile? :)
-
jaredj
ivy: it doesn't *complain*, but it also doesn't move me to alpha4. also i was interested to find that i couldn't install a new base package because pkg couldn't chflags
-
s1lversurfer
vscode need a lot of dependencies hehehe but i was getting an error with Perl5 that i solve with a newbie trick, and now was stoping on electron34 compiling proccess
-
ivy
jaredj: how did you determine it didn't upgrade to alpha4?
-
ivy
let me test on a system that uses pkg.f.o
-
jaredj
it didn't install anything new and my uname still says ALPHA3
-
aic
ultimately remember that you are on the quarterly updates branch so if you can't compile all dependencies you can always switch to the latest updates, then install vscode from pkg
-
jaredj
IGNORE ME
-
aic
s1lversurfer: here is an explanation between "quarterly updates" and "latest updates":
siberoloji.com/how-to-enable-the-la…-branch-on-freebsd-operating-system
-
jaredj
i ran it in the wrong place. i'm trying to build a router in a jail, so handing my network interface into the jail, and i must have run pkg inside the jail
-
ivy
jaredj: i shall ignore you if you insist, but fwiw, i just tested on a system running 15.0-PRERELEASE and pkg upgrade gives me 15.0-ALPHA4
-
ivy
ah, that would explain it
-
jaredj
"[228/367] Fetching FreeBSD-clang-dbg..." etc etc
-
s1lversurfer
aic: oh tyyy
-
jaredj
oo how exciting this is my first pkg-base upgrade
-
jaredj
it's only fetching hundreds of things instead of tens of thousands :D
-
ivy
note that you're not actually getting ALPHA4, you're getting 15.0-STABLE, which is a little newer than the ALPHA4 media
-
ivy
but uname will say ALPHA4 since that's what it does during the release cycle
-
jaredj
oh. ??
-
ivy
the alpha releases are not really "releases", they're just snapshots of stable/15 at a particular time
-
jaredj
the first thing i looked for was the repo config, and the only versiony thing i saw in there was ${ABI} (literally)
-
jaredj
mmkay, and so the pkg-base repos are getting rebuilt against stable all the time?
-
ivy
currently, yes... for reasons... this will change in BETA1 but the new infrastructure isn't ready yet, which is why we're getting ALPHA5 instead of BETA1
-
ivy
once BETA1 is out you won't get any updates until BETA2 is out, then pkg upgrade will give you BETA2
-
jaredj
makes sense
-
jaredj
that's no problem certainly, i expect alphas to be gooshier, i just wanted to understand. oh heck i didn't make a boot environment
-
jaredj
am i asking faq's here? i don't want to waste anyone's time
-
ivy
no, there are probably like 5 people in the entire world who either know or care about this right now. see above re: lack of documentation...
-
jaredj
aw. WELL I CARE o/ and i'm glad you do too
-
jaredj
woohoo! my crackpot system configuration manager didn't completely crash!
-
jaredj
still a bit of a conundrum though. i have one rule that says "install doas," and more rules that say "hand the network interface into the jail thus becoming entirely dependent on it for networking," and that's before the said jail exists to be depended upon
-
jaredj
gotta bring occambsd back into the picture. that'll fix it
-
s1lversurfer
unfortunately i got the same error: ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[2]: stopped in /usr/ports/devel/electron34 *** Error code 1
-
rtprio
well, either the port is broken or electron is
-
s1lversurfer
yeah.. i tryed to set the MAKE_JOBS_UNSAFE=yes.. a last try, if didn't work i will use Sublime Text, it's ok
-
rtprio
you're not building with `make -j 8` or anything?
-
s1lversurfer
i will not die just for vscode, i a programmer since 2004, and his even exists hehehe
-
ivy
if you're really desparate for vscode you could try running it under linux emulation
-
s1lversurfer
rtprio: no no
-
s1lversurfer
hehe it's fine, i was a sublime text user, and use vscode only for the last year
-
ivy
i think we also have ports for some of the JetBrains IDEs, if that's of any interest
-
ivy
last time i tried CLion it didn't actually work though
-
s1lversurfer
for me it's fine, i even work wih Frameworks, except Flask in Python, i am cave man programming hehehe Sublime Text will help a lots :)
-
rtprio
s1lversurfer: just wondering do you have the last several lines of output handy
-
rtprio
where there's the compiler error
-
s1lversurfer
rtprio: the compiler is running again, if got error i will send it here alright ? :) ty
-
» kevans hacks on codebases of all shapes and sizes in vim only
-
jaredj
emacs rep-a-zent!
-
ivy
kevans: for large C++ codebases, i miss live clang-tidy in vim and have never found a version of this that seems usable
-
jaredj
wooy, my head is swimmy. foods time
-
Macer
i always heard emacs was the only thing anybody ever needed
-
» Macer walks backwards into the bushes
-
ivy
(clang-tidy include the static analyzer, so it's quite helpful to get those while writing code)
-
kevans
'miss' as in you can't do it anymore, or that you prefer other !vim solutions because they have other benefits that outweigh the lack?
-
ivy
i can't do it anymore, since i haven't found any implementation i like for vim. although if you have suggestions, i'm interested, especially if they work on src
-
kevans
oh, ok, I misread that the other way around: you had a solution in vim at one point
-
kevans
no suggestions here, i don't do anything fancy
-
kevans
my .vimrc uses autocmd to configure different style for different code-bases, and that's about as fancy as i get
-
ivy
yeah, i just have the style(9) stuff and a few sets for vim
-
kevans
i've recently started executing commands from within vim sometimes, to save myself from another tmux pane
-
ivy
i tried to start using :make at one point and didn't like it, but i don't remember why. maybe i should try again
-
ivy
i mostly just use vim as vi(1) with better indenting though, i ignore most of the other fancy features
-
kevans
yeah, see, we're pretty much on the same page here
-
phlux
I ended up working around my networking issue from Jail -> Jail by just spinning up haproxy inside the jail that needed to reach out and adding a /etc/hosts entry...was the only way I could figure out how to properly forward gitea to keycloak
-
ivy
kevans: fwiw, i found tmux a lot more usable once i found ctrl-left/right to switch tmux windows and cmd-left/right to switch terminal tabs
-
ivy
s/found/bound
-
ivy
i guess the advantage of :make is it can transport you to the next error
-
kevans
i don't actually mind it all that much, just wanted a little more width; i normally operate with a pretty trivial split window, top pane is vim and bottom pane is `make check` or `kyua test` or whatever output, so the third pane for `make all install` naturally limits one of them
-
kevans
well, sometimes both panes are vim
-
ivy
oh that's fancy
-
ivy
i just use three windows, 1 is a root shell for pkg upgrade, 2 is vim, 3 is build.sh
-
aic
s1lversurfer: paste the actual clang or gcc errors on www.paste.rs nobody can tell what the problem is from only: "Compilation failed unexpectedly"
-
rtprio
ivy: i use one window, a tmux session with irssi and 13 other windows