-
CCFL_Man
how can i make sure pkg is using packages for my version of freebsd?
-
cpet
edit the repo and change the priority
-
CCFL_Man
where is that located?
-
Kalten
in /etc/pkg/FreeBSD.conf
-
Kalten
url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
-
cpet
PRIORITY: integer Set the priority of the repository. Higher
-
cpet
values are preferred. Default: 0.
-
CCFL_Man
url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
-
cpet
change lucifer.conf to 10
-
cpet
and it will try to use lucifer.conf as much as it can and fall back to FreeBSD.conf
-
cpet
if you dont like cats well change it some something else
-
CCFL_Man
i think i installed packages for a newer version of freebsd and that broke the package
-
cpet
well thats on you
-
cpet
sometimes you learn the hard way
-
CCFL_Man
so my repro is "quarterly"
-
CCFL_Man
but how do i change it to 12.0?
-
Kalten
${ABI} ist the 12.0 amd64 or the like
-
Kalten
quaterly stands for how often to build the ports as packages for that release
-
CCFL_Man
so it is always grabbing packages for 12.0, then?
-
Kalten
use `freebsd-update fetch; freebsd-update install; reboot` from time to time for the system (allthough 12.0 might be to old)
-
Kalten
with ${ABI} it is
-
CCFL_Man
i have a custom kernel installed. won't that hose something?
-
Kalten
custom curnal: than no freebsd-update mechanism
-
CCFL_Man
i think that'll make my system unbootable if i did freebsd-update install, right?
-
Kalten
huch—don't know. Don't think so. But I think, 12.0 is too old anyway. I have an old 12.1 and it says:
-
Kalten
WARNING: FreeBSD 12.1-RELEASE-p13 HAS PASSED ITS END-OF-LIFE DATE.
-
Kalten
Any security issues discovered after Sun Jan 31 01:00:00 CET 2021
-
Kalten
will not have been corrected.
-
CCFL_Man
i should update to 12.3?
-
Kalten
I don't have mutch expirience with such updates.
-
CCFL_Man
ahh
-
CCFL_Man
what is the latest 12.x version?
-
CCFL_Man
looks like 12.3 and 12.4
-
Kalten
freebsd.org states 12.4 and 13.1 are the latest releases (in the middle at the toü)
-
VimDiesel
Title: The FreeBSD Project
-
CCFL_Man
and freebsd-update fetch will fetch the minor version?
-
CCFL_Man
oh, wait, that is just security packages
-
CCFL_Man
patches
-
Kalten
`man freebsd-update`
-
Kalten
it is `-r`
-
Kalten
`freebsd-update -r 13.1 upgrade` could be it
-
Kalten
not sure
-
CCFL_Man
yep
-
CCFL_Man
so i'd stasy on a minor version
-
CCFL_Man
but it looks like i'd have to copy the original kernel back
-
CCFL_Man
so the problem is that if i use the generic kernel, it's sound drivers conflict with oss
-
CCFL_Man
so i have a custom kernel to disable freebsd sound drivers so oss could load
-
Kalten
OSS: what did you have to change? And by the way: a problem in 12.0 does not necesserely persist in 13.1
-
cpet
CCFL_Man: you have to run that around 6 times
-
cpet
first one updated the kernel second update world third just cause fourth just cause
-
CCFL_Man
i can't use 13.1 because i built a lot of software on 12.0, so i want to stick with the minor version
-
cpet
pkg's no good?
-
CCFL_Man
so i had to comment out the freebsd sound driver in the kernel source so it would not load at boot
-
CCFL_Man
i use a lot of software not im ports or the repro
-
cpet
such as?
-
CCFL_Man
gpsd, vlfrx-tools, ebnaut
-
Kalten
There are no security updates for 12.0 and even 12.1 since a long time (for the latter since nearly two years)
-
CCFL_Man
wow
-
CCFL_Man
the gpsd package in freebsd does not support the hardware i use
-
CCFL_Man
earthworm too
-
Kalten
States that no problem to your system
-
CCFL_Man
so much of my software would need to be rebuilt
-
CCFL_Man
and fetchmail would break too
-
Kalten
yes—from time to time we tend to do that.
-
Kalten
why would fetchmail break?
-
CCFL_Man
i updated it once and it stopped working. i had to revert back to the version i was using
-
Kalten
because of which error? What did the logs state?
-
cpet
and this is why you dont build things by hand
-
cpet
(TM)
-
Kalten
cpet: no, I don't think so. It has its merits in many ocasions. Many knobs are not default knobs and might be needed.
-
cpet
you can create a port and use poudriere
-
cpet
build for x OS and upgrade to y OS
-
cpet
instead of this situation
-
Kalten
I am using poudriere, but I am setting many options to something that is not the default without necessarily creating a new port for that
-
cpet
think you are missing the point to what I said but thats ok im too lazy to continue this discussion
-
CCFL_Man
Kalten: i forget. i think it had trouble connecting or depreciated option
-
wikan
hi
-
wikan
damn, it is hard to use firefox-esr 102 :(
-
wikan
i had 92 and worked great but i had to upgrade because old version stopped working
-
wikan
after system upgrade :(
-
wikan
it looks like single process and single thread app lol
-
wikan
why firefox sucks so much on bsds?
-
yo9fah
try firefox not esr.
-
parv
I do not have FreeBSD-specific issue with Firefox. Or, experience the similar issues on Rocky Linux 8, Windows 10
-
wikan
my firefox-est chokes even on mousehover bookmarks button in toolbar
-
wikan
yo9fah there is no firefox in pkg
-
wikan
yes, was, but isn't
-
parv
Is your machine resource-starved?
-
wikan
my machine is 15 yo
-
wikan
it is grandtop :)
-
wikan
from the list of modern browsers only firefox is usable. 92 was fine.
-
wikan
102 animate every freakining ui element. This is issue as i see
-
parv
Minimum resources I have is <8 GB RAM, Intel i5-6300U CPU, OS runs in VM on Windows; But then I just use Firefox for Windows to avoid switching between VirtualBox & other Windows windows
-
wikan
parv: i watch youtube video in firefox now and chat. 50% of memory usage.
-
yo9fah
wikan: there is also pkg with firefox. I have no problems with firefox either. I have with the rest of the browsers
-
wikan
chokes are firefox fault for sure. I watched cpu usage. When I moved mouse over bookmark -> 100% on moth cores
-
yo9fah
-
VimDiesel
Title: FreshPorts -- www/firefox: Web browser based on the browser portion of Mozilla
-
wikan
maybe there is no firefox pkg on x86?
-
wikan
nope. checked. No firefox
-
deva
Is it possible to somehow get the latest libc++ along with llvm-devel-16.0.d20230109? I instaled the compiler, but it complains about a missing source_location header which should be part of libc++ for that release
-
wikan
i suspect new database
-
deva
I tried doing a pkg search for 'libc\+\+' but that doesn't give me any results, so any pointers to the name of the package would be really helpful :-)
-
wikan
-
VimDiesel
Title: 1352069 - Introduce a pref that allows for disabling animations (toolkit.cosmeticAnimations.enabled)
-
wikan
firefox stopped chocking
-
deva
I now found a bug report from 2021 (
bugs.freebsd.org/bugzilla/show_bug.cgi?id=260139) saying that libc++ is tied to the freebsd release and as such cannot be updated as a seperate package. Is this still the case? And if so, I guess what I'm trying to do isn't possible until a new freebsd version is released based on libc++-16
-
VimDiesel
Title: Invalid Bug ID
-
jgh
sum1
-
jgh
oops, wrong window
-
aje
Hello
-
deva
Any chance of libc++-16 making it into FreeBSD 14?
-
meena
deva: I think we only just vendored 15. not sure if it's integrated yet
-
deva
That's a shame. But thanks anyway :-)
-
deva
I guess I will have to wait for FreeBSD 15 in 2024 then :-)
-
paulf
or use llvm-devel or whatever
-
deva
I already tried llvm-devel, but libc++ does not seem to be part of the llvm-devel package
-
meena
-
deva
meena, That seems like a really solid "no" answer to my question :-)
-
meena
might still be time to get onto 15:
freebsd.org/releases/14.0R/schedule but, yeah
-
VimDiesel
Title: FreeBSD 14.0 Release Process | The FreeBSD Project
-
debdrup
deva: what exactly do you mean by "getting libc++-16 into FreeBSD 14, though? As in update the code, or just get a compiler that's capable - because llvm15 is in ports/packages and is the full LLVM package, not the stripped down version in FreeBSDs base.
-
debdrup
The ports/packages are, so far as I know, unmodified.
-
meena
debdrup: reading the bugs, i don't think llvm from ports installs libc++, tho
-
deva
debdrup, libc++ supplies the STL for the compiler and I have a project where I needs support for the std::source_location feature which was fixed in a recent clang build (clang++-16). I have access to the compiler through th llvm-devel package, but it seems that the libc++ is not included there. Instead it is using the older libc++ of the system which does not support std::source_location
-
deva
On other systems it is possible to install llvm-16 separately from the system one, including libc++
-
meena
deva: you might have to modify the port then, to include libc++, and see how badly that messes things up
-
paulf
No libc++ supplies the standard library STL != standard library (since it includes lots of things other than the original STL containers/iterators/algorithms)
-
debdrup
-
VimDiesel
Title: Makefile « llvm15 « devel - ports - FreeBSD ports tree
-
paulf
you can try building llvm-project from source but it's often broken when I try to build it (looking at the llvm-devel patches may help)
-
paulf
One day I need to look to see how std::source_location is implemented
-
paulf
Ans std::stacktrace_entry when I do
-
deva
I initially thought that std::source_location would just be a simple header-only implementation in the STL (ie. libc++), but this (
reviews.llvm.org/D136554) shows that my thoughts couldn't be more wrong ;)
-
VimDiesel
Title: Login
-
deva
This is the github issue that tracks the task:
llvm/llvm-project #56379
-
VimDiesel
Title: std::source_location line number wrong when used as default argument value · Issue #56379 · llvm/llvm-project · GitHub
-
VimDiesel
56379 – Patch: Update port java/jmp 0.33 -> 0.34.
bugs.freebsd.org/bugzilla/show_bug.cgi?id=56379
-
deva
paulf, Building it would likely solve my issue, but I would rather wait and have official package support, so I don't have to manually build things on my CI VMs
-
cpet
Wait a while 16 should be imported soon
-
deva
cpet, Do you mean clang-16 or libc++-16?
-
cpet
They are two separate things
-
cpet
Not sure why you need such a new version but people do weird things
-
deva
yup - which is incredibly confusing X-)
-
cpet
Been like that for a very long time
-
deva
I need a new feature from llvm/clang-16 (which hasn't been released yet, but is available through llvm-devel) but this again requires libc++-16, which has been released, but hasn't been adopted by freebsd yet
-
cpet
Well this is one of those sit and wait or hack it yourself
-
cpet
deva: add in With_clang_extras if you want to add a few hours to the build and build all the other crap
-
deva
cpet, So it is a real possibility tha libc++ will actually be include with llvm-devel if compiled this way?
-
cpet
Look at pkg-plist look for Libc++
-
deva
cpet, I don' see it here:
github.com/freebsd/freebsd-ports/blob/main/devel/llvm-devel/pkg-plist so I guess that means that even with the With_clang_extras flag set it won't be included?
-
VimDiesel
Title: freebsd-ports/pkg-plist at main · freebsd/freebsd-ports · GitHub
-
deva
... and since that version of the file is on main, this is actually even for FreeBSD 14, right?
-
micttyl
?
-
micttyl
just build them. known way to shorten build time is via dropping other projects in llvm
-
meena
deva: the source for ports are the same for all branches of FreeBSD. Just rebuilt.
-
» ketas notices cpet
-
jbo
I see this in a lot of (config) files: $FreeBSD$ what is that about?
-
yuripv
idents that were previously expanded by cvs/svn, and are not expanded by git
-
cpet
Jbo old cvs ids
-
dch
ld-elf.so.1: /usr/local/lib/gcc11/libstdc++.so.6: version GLIBCXX_3.4.30 required by /projects/indie/indie/_build/tailwind-freebsd-x64 not found
-
dch
anybody care to enlighten me a bit here? I vaguely understand but not properly
-
dch
tailwind-freebsd-x64 is a custom nodejs +js archive squished on the end,
-
dch
built on FreeBSD 13.1-RELEASE x64 with gcc12
-
dch
and I'm running it on 14.0-CURRENT x64 also with gcc12 installed
-
dch
is there something I can sprinkle to get it to please run anyway?
-
cpet
make install ?
-
dch
;-)
-
cpet
Does it really require gcc
-
dch
in my jail, `ldd` reports correctly gcc12
-
dch
but on my desktop, libstdc++.so.6 => /usr/local/lib/gcc11/libstdc++.so.6 (0x2f5a55800000)
-
dch
cpet: I'd love to be able to compile this nodejs abomination statically and not need this c++ dependency
-
dch
its already ~ 50MiB download, so adding another one will make no difference
-
dch
but I don't know where to start with this custom nodejs build malarkey
-
cpet
Edit the makefile and add the flag
-
cpet
Just remember that doing so would require a manual port each time
-
cpet
Thinks it’s -static
-
cpet
For gcc
-
dch
cpet: you assume there's just *one* Makefile here ...
-
dch
anyway yes good idea I will give this a whirl
-
cpet
Port makefile if it’s compiled manually you’re on your own
-
meena
dch: i think the hint is in version GLIBCXX_3.4.30 required
-
dch
cpet: its not (yet) a port, if I can find a way to do it statically I might do that
-
dch
meena: I have gcc12 here, why isn't it picking that up?
-
cpet
You have to set the env
-
cpet
CXX and Cc
-
dch
i.e. by what mechanism does a random exe decide what libraries it chooses at runtime?
-
cpet
Says it in the after instal descr
-
cpet
FreeBSD defaults to clang
-
cpet
Either you make it work with gcc or it uses clang
-
dch
hmm if I can pass these via LDFLAGS or similar that would be great`-Wl,-rpath=/usr/local/lib/gcc12 -static`
-
CrtxReavr
Can't just use libmap.conf?
-
cpet
Yes you can do that with configure cmaks ninja
-
cpet
Why does it require gcc is the real question
-
CrtxReavr
Plenty of things in ports do.
-
meena
dch: maybe on 14.0 something causes the library to encode no, or a different version.
-
dch
meena: well it's explicitly *built* on 13.1-RELEASE, with gcc12
-
meena
dch: what did readelf / elfdump say about the library? oh
-
dch
clearly I don't know what I don't know yet
-
meena
wat
-
cpet
Create port as your doing it makes it a lot easier
-
cpet
Uses and the like
-
cpet
Or use
-
cpet
Use_gcc modes all the env magic
-
meena
cpet: I'm pretty, and sure, that dch being a ports committer has probably done exactly that
-
cpet
He said not yet so
-
dch
not yet, porting this stuff is horrible.... if I can make it static, then I can probaly port it
-
cpet
See
-
cpet
Read before you speak
-
meena
i can't read tho
-
paulf
dch does /usr/local/lib/gcc12 -static include dynamic libraries?
-
paulf
seems strange to me
-
cpet
Guess then
-
kodcode
Hi. Why do I have constantly (6 candidates) showing when running pkg upgrade?
-
cpet
As do I never cared to figure out why
-
cpet
If pkg upgrade doesn’t show anything I’m hoping bapt did his job right ?
-
debdrup
mmm, libmap
-
debdrup
cpet: what is this reading you speak of?
-
meena
kodcode: what does that look like?
-
kodcode
-
VimDiesel
Title: dpaste/Uny0 (Plain Text)
-
cpet
debdrup: was it directed to you ?
-
meena
kodcode: how macht repos do u have enabled?
-
meena
*many
-
cpet
If done right that shouldn’t matter
-
debdrup
That's a big if.
-
» meena generally has two of three repos enabled… and isn't sure she's doing anything right
-
meena
*or
-
meena
typing (or, swyping, as it may be) isn't working great today
-
cpet
Have you tried having 3 or more repos ?
-
kodcode
meena:
bsd.to/nEJY - haven't added any /usr/local/etc/pkg/...
-
VimDiesel
Title: dpaste/nEJY (Plain Text)
-
meena
cpet: I have at most three. FreeBSD latest, my PkgBase repo, and one for my net/cloud-init-devel builds
-
cpet
If priorities set properly and you don’t have repos which are the full ports never has an issue
-
yuripv
kodcode: I'd guess that it's the number of packages you installed explicitly and not the auto-dependencies
-
xtile
Mmn, I sometimes have similar. Sometimes it's 0, sometimes it's 1, sometimes it's 2, for me
-
xtile
so I don't think it's that.
-
kodcode
yuripv: My guess is that there are way more than 6...
-
cpet
12
-
debdrup
-
VimDiesel
Title: pkg/pkg_jobs.c at e32e8a35ef3e601bae6248bfa64ea4f609d5d94c · freebsd/pkg · GitHub
-
debdrup
Looks like all the iflib drivers have been converted to ifAPI.
-
debdrup
ifAPI is what drvapi turned into, and it dates back to here:
lists.freebsd.org/pipermail/freebsd-arch/2014-May/015379.html
-
VimDiesel
Title: Roadmap for ifnet(9) for FreeBSD 11
-
meena
debdrup: still pending: ElseAPI.
-
debdrup
meena: ha!
-
meena
debdrup: this joke is stolen from jrtc27
-
debdrup
ah
-
debdrup
it's very good nonetheless
-
V_PauAmma_V
PL/I joke: if then = else then else = if else if = then;
-
unimplemented
jokeness: 10%
-
V_PauAmma_V
(So what if it's an iffy joke?)
-
unimplemented
if else = then
-
unimplemented
for in else if
-
meena
V_PauAmma_V: i… hate it
-
meena
keywords were invented because C programmers can't stand PL/I jokes
-
V_PauAmma_V
I never looked at the parser part of a PL/I compiler. (I value what's left of my sanity.)
-
meena
V_PauAmma_V: I once tried to contribute to a PL/I frontend for gcc
-
meena
which, i guess is my way of saying, i do not value my sanity
-
meena
not much progress in the past ten years, eh?
sourceforge.net/projects/pl1gcc
-
VimDiesel
Title: PL/I front-end for GCC download | SourceForge.net
-
adilix
hi all
-
souji
adilix: hey :)
-
cpet
Should I apply for the git
-
NuxRo
Hi guys. Can anyone point in the right direction wrt multiple routing tables on freebsd?
-
cpet
defaultrouter and staticroute
-
meena
NuxRo: that depends on what tooling you're using, I guess
-
cpet
Normally you would use carp or something if using this setup as a backup
-
NuxRo
meena, cpet , I've just finished doing the same on some Linuxes, with multiple routing tables and ip route and ip rule. Looking at the FreeBSD docs I could find there's a way via pf/ipfw or via something called "setfib".
-
NuxRo
so basically I want each of the 2 NICs to have their own default gw, with their respective traffic coming/going on the same nic
-
-
NuxRo
I guess most of that still applies in 2023
-
cpet
Read man rc.conf
-
cpet
From 2011 ?
-
V_PauAmma_V
NuxRo, what problem are you trying to solve with separate routing tables for each network interface?
-
cpet
Should be able to use carp if it’s for backups purposes
-
NuxRo
V_PauAmma_V, requirement from customer, traffic coming in em0 should go out em0, same for em1, don't know more than this.
-
cpet
-
VimDiesel
Title: Solved - FIB and route | The FreeBSD Forums
-
cpet
Is how you use setfib
-
» V_PauAmma_V nods at NuxRo.
-
NuxRo
cheers guys
-
NuxRo
yeah, carp wont help, is solution to different problem (seems similar to vrrp)
-
cpet
Uh well people do weird shit (TM)
-
ox1eef_
lol
-
ghoti
Can I get host, nslookup or dig to give me *just* the text in a TXT record? I know I could `host -t txt google.com | cut -d\" -f2` or `host -t txt google.com | awk -F\" '$2~/^v=spf1/{print $2}'` but those are a bit ugly...
-
ghoti
Ah, `dig +short -t txt google.com`
-
rwp
The old-school traditionalist in me sees that and would have written it as: dig google.com txt +short
-
rwp
Also host does not seem so bad: host -t txt google.com | awk -F'"' '/text/{print$2}'
-
rwp
If you just want the version spf1 record: host -t txt google.com | awk -F'"' '/ text "v=spf1/{print$2}'