-
monkeybusiness
I liked Clipious too. But most, if not all invidious instances are now crippled, all thanks to Scroogle
-
mason
yewtu.be still works
-
jmnbtslsQE
wondering how do i configure udp-encap esp when using setkey ?
-
drobban
is there any general rule of thumb when it comes to sharing files between jails?
-
meena
drobban: ro or rw?
-
drobban
one jail need to be able to write, the other only needs read
-
babz
nullfs ?
-
drobban
babz: perhaps. isnt that ro?
-
satanist
nullfs suports also rw
-
satanist
you also can normaly rw mount the dir in the jail which writes and nullfs mount it to the jail which needs to read from it
-
Success
Any news on getting wifi working on RPi4? how do I go about debugging?
-
meena
-
VimDiesel
Title: FreeBSD / src - FreshBSD
-
drobban
ahh, thx for the clarification satanist - will have a look at the nullfs manual
-
sopparus
is upgrading from 12.4 to 14.0 once its out directly a bad idea?
-
meena
sopparus: maybe upgrade to 13 until 14 is out?
-
sopparus
i could but it would be extra work, hence the question :)
-
meena
I'm sure someone has documented that somewhere
-
sopparus
should work
-
sopparus
ill just try, it has not much on it
-
Demosthenex
just a drive by "thank you freebsd" for the calm and low maintenance life i enjoy
-
cedb
poudriere keeps rebuilding qutebrowser when i add some pkgs to my repo's list and relaunch bulk, is there some way to check what triggers those kinds of things (i assume qutebrowser needs to be reconfigured and thats why ?)
-
meena
cedb: poudriere testport has a lot of debugging output. especially when you set DEVELOPER=yes, IIRC
-
cedb
meena: you just launch it like literally $(poudriere testport) ?
-
meena
cedb: you launch it the same as `bulk`
-
cedb
right im asknig cause i just put a pkglist in my /usr/local/etc/poudriere.d/ as all the guides ive seen were saying but
-
cedb
there doesnt seem to be an obvious assoc between the previously built stuff and the current build (apart from the jail obv i mean in terms of seeing the delta between two builds)
-
RhodiumToad
poudriere testport takes a single port parameter
-
RhodiumToad
cedb: was the package for qutebrowser successfully created?
-
cedb
ahhh sorry didnt get that, yes it did get created properly!
-
cedb
its just been three times that i add a pkg to say foopkglist and do "poudriere bulk -j <jail> -p head -f foopkglist" and
-
RhodiumToad
cedb: so if poudriere decides to rebuild it, you should see a line in the output saying it deleted the pkg and why
-
cedb
hm i should rtfm and investigate a big more i thought this maybe would be one of thsoe things thats super obv for people ith a little experience (bsd's newbie here, mostly used binary pkgs and ports "by hand" so far)
-
cedb
RhodiumToad: gotcha ill look into the logs
-
cedb
which btw is there some "best practice" or conventino to manage the lgos( verbositiy, rotation)? a mostly self hosted desktop "daily driver" generates pretty impressive amounts
-
RhodiumToad
did you look at poudriere logclean?
-
cedb
yes ive run it on previous isntalls the emphasis is on "conventions" like just nuking everything after a successful build seems a bit harsh yk
-
cedb
RhodiumToad: im running the testport subcommand for qutebrowser is there some way to narrow down "what im looking for", my wild guess would be that an old failed build is polluting the jail and the successful build doesnt cancel that
-
cedb
the other thing would be ccache ive enabled according to the obvious defaults online but i dont know much about these tools ill check that after
-
RhodiumToad
testport will always build, it's no use for finding out why something builds when you didn't expect
-
nimaje
you want a normal bulk run and at the start there should be a line saying why it deletes a package
-
RhodiumToad
the question is what message do you get when doing a bulk build
-
RhodiumToad
also make sure the bulk build isn't using -c or -C
-
cedb
"Deleting qutebrowser-3.0.0.pkg: stale package: unwanted origin www/qutebrowser@qt6"
-
RhodiumToad
what exact command did you use?
-
nimaje
ah, report a bug, because the first entry in FLAVORS isn't the default flavour, but not sure if against www/qutebrowser or against poudriere (probably www/qutebrowser)
-
RhodiumToad
yeah, that's a bug in the port
-
RhodiumToad
cedb: did you put just www/qutebrowser in your list of ports to build?
-
RhodiumToad
cedb: putting www/qutebrowser@qt6 instead might be a workaround
-
RhodiumToad
(assuming the qt6 flavor is the one you want)
-
cedb
ya the whole qt6 vs qt5 thing is often a bit messy
-
cedb
nimaje: hell youre right!
-
RhodiumToad
the bug here is that the qutebrowser port has FLAVOR?=${FLAVORS:[2]} which is not allowed - the default flavor is always ${FLAVORS[1]}
-
cedb
ya no i didnt specify a flavor i didnt even know this was the proper syntax
-
cedb
interesting oh well well
-
cedb
i guess setting up tls for the nginx fronting the build wasnt worth it (hence the delay in answering) but in any case: poudriere.pynchon.me
-
nimaje
nah, just someone didn't read properly that the first flavour has to be default one and having the ports themself having the FLAVOR?=${FLAVORS:[1]} line causes duplication and people thinking they can choose which one is the default, that logic should be moved into the framework and FLAVOR?= in the individual port makefiles disallowed
-
cedb
ya just surprised cause qutebrowser is pretty popular usually so yk, id expect some rude person to have already yelled at the poor maintainer
-
cedb
i still dont get why itd retrigger a build if its the same flavor, unless it says "stale-deleting->building" but really its just doing some basic sanity/smoke testing?
-
RhodiumToad
nimaje: that makes it unnecessarily hard to use ${FLAVOR} within the port makefile itself
-
RhodiumToad
cedb: it retriggers the build because there is disagreement over which flavor is the default
-
RhodiumToad
cedb: poudriere thinks it's supposed to build www/qutebrowser (default), but the package came from www/qutebrowser@qt6
-
cedb
sure but is there anything in that statement that says default=/qt6?
-
nimaje
ah, yes if and stuff need the variables defined at parse time and can't do lazy eval
-
RhodiumToad
cedb: but when it builds it, the port builds the @qt6 flavor because of the incorrect FLAVOR?=
-
cedb
i guess to ask my question more pointedly: can you get this "im gonna decide this is incosistnt" because a port's "spec" is more specifically or explicitly asked for eventhough its the same in the end
-
cedb
damn ok my sentences suck sorry
-
RhodiumToad
nimaje: and you'd get into order-of-operations problems with things like OPTIONS_SLAVE or OPTIONS_EXCLUDE which need to be set before including the framework includes but which might need to be flavor-dependent
-
cedb
can poudriere .. bulk numbers@B trigger a rebuild even if default is A <: B ?
-
cedb
i guess im just linenoising at that point thanks RhodiumToad nimaje i would have pulled my hair on this one
-
RhodiumToad
cedb: flavors aren't versions, they don't compare
-
cedb
i meant that as a subtype relation
-
cedb
as in they could /contain/
-
RhodiumToad
cedb: there is one default flavor which is the one you get if you don't specify @flavorname
-
nimaje
there are no subtypes for flavours only equality
-
cedb
ya okay im overthinking this its a classic freebsd thing where i think this could all go horribly wrong but people are actually sensible so its fine
-
RhodiumToad
cedb: otherwise you can list flavors explicitly using cat/port@flavor (multiple times if needed)
-
cedb
right ya im considering starting this whole multiple jails multiple zfs dataset userlands thing
-
nimaje
and ${FLAVORS:[1]} (what should be the default) != ${FLAVORS:[2]} (what is the default because of a faulty FLAVOR?= line)
-
cedb
yall have a favourite way to manage "ports list", i just have this textfile i edit in vim and ehhhh
-
RhodiumToad
I don't have a ports list, I create local metaports
-
cedb
nimaje: the throwing off part is that the logs say "deleting stale" which seems a bit scarier than it is (this qtwebkit stuff...)
-
cedb
RhodiumToad: i guess sameish question but for metaports?
-
RhodiumToad
there's only one problem case i've run into, which is that while poudriere can build misc/zoneinfo when it's listed as a port, it can't build it as a dependency of some other port
-
RhodiumToad
(because it installs in places that poudriere doesn't mount writably)
-
cedb
hmm that sounds a bit too far for me idk why youd want to include that in a build
-
RhodiumToad
?
-
RhodiumToad
the reason to use zoneinfo from ports is that it's easier to update
-
cedb
sure just, does it need to be parametrized
-
nimaje
ah, maybe I should start creating a overlay with local metaports as I already started to sort related stuff in my packages.list file and it makes it easier to install stuff
-
cedb
oh god, freshports last update: "Briefly: Egypt now uses DST again, from April through October."
-
cedb
damn people will /not let go/ of making calendars hellish on computers eh
-
RhodiumToad
if you've never looked at tzdata updates before, you would not believe how messy it is
-
RhodiumToad
like countries trying to change their DST rules on less than 1 week's notice
-
cedb
hmmm
-
meena
every update is a mess, either a technological or a polite one that inspired it
-
cedb
funny part is my job i just quit was at a shop that does a pretty popular software for optimizing aircrew flight schedules
-
cedb
RhodiumToad: ok what the actual ... " Mexico will no longer observe DST except near the US border."
-
RhodiumToad
-
cedb
fing lol
-
cedb
id ask who the hell willingly signs up for this but I tried to fix the moth ball of perl that we used for building at $work so i guess sometimes we just try to fix soemthing and get caught up
-
RhodiumToad
I subbed to the tz list to try and get some stuff deprecated
-
RhodiumToad
like W-SU, GB-Eire, etc
-
rsjw
don't you want old timezone info present so you can retain the ability to deal with data expressed in those zones?
-
RhodiumToad
those are old alias names, not actual data
-
RhodiumToad
W-SU for example is just a link to Europe/Moscow
-
jmnbtslsQE
surely can't be as bad as this....
mpv-player/mpv 1e70e82
-
VimDiesel
Title: stream_libarchive: workaround various types of locale braindeath · mpv-player/mpv@1e70e82 · GitHub
-
RhodiumToad
much worse.
-
» jmnbtslsQE subscribes
-
RhodiumToad
there are historical timezones which contain non-contiguous days
-
RhodiumToad
i.e. the current date goes forward, then backward, then forward again
-
jmnbtslsQE
what is the mailing list you referered to?
-
RhodiumToad
the iana tz list. but it's actually quite boring
-
jmnbtslsQE
OK
-
RhodiumToad
it's messy because every country in the world thinks it can just tweak its own timezone/DST rules and everyone will immediately follow
-
RhodiumToad
which is why there are 3 to 10 updates per year to a data file which ought to be predictable years in advance
-
jmnbtslsQE
ah
-
RhodiumToad
for an example of the kinds of breakage, see
catless.ncl.ac.uk/Risks/32/16#subj9
-
VimDiesel
Title: The RISKS Digest Volume 32 Issue 16
-
jmnbtslsQE
heh
-
_xor
> CrtxReavr feels like cut(1) should have a way to select fields from the right.
-
jmnbtslsQE
so it was the fact that the birthdates were being defaulted to midnight?
-
_xor
I usually use awk when cut won't CUT (heh) it heh.
-
jmnbtslsQE
RhodiumToad: i suppose that since it was such a long time ago, there was not necessarily a record of the actual birth time, so for those old birthdates, they just default to midnight
-
jmnbtslsQE
so i guess that's the reason for the idea "don't do timezone changes at midnight" since it's a natural point where a lot of default things might happen
-
RhodiumToad
jmnbtslsQE: the combination of representing a birthdate as a timestamp with a time of midnight, plus the fact that midnight didn't exist on that day due to DST mess
-
jmnbtslsQE
yeah
-
jmnbtslsQE
phew, need to make sure i don't have any daily zfs snapshots in Saskatoon on april 13
-
RhodiumToad
most places have learned not to do DST at midnight. I believe there are still some that do
-
RhodiumToad
e.g. Chile
-
meena
_xor: does awk allow that?
-
_xor
Sure, negative column index.
-
RhodiumToad
$(NF-2)
-
_xor
I appreciate awk and have been using it more recently, but of the tools I use it's probably the one where the differences between GNU and BSD surface most frequently.
-
_xor
Hmm, actually, it's between awk and make for me. Close call, though now that I think about it, I'm leaning more towards make.
-
meena
how is C.UTF-8 not a thing?
-
kevans
?
-
mason
C doesn't need UTF8.
-
kevans
i'm confused because C.UTF-8 is definitely a thing
-
kevans
it's even the default since... freebsd 13?
-
nimaje
where? it is the default on freebsd and I think on debian to, on arch the butchered the name to C.utf8
-
babz
$ locale -a | head -n3
-
babz
C
-
babz
C.UTF-8
-
babz
POSIX
-
mason
weird
-
kevans
it's just a way to get sane sorting and multibyte recognition at the same time
-
mason
TIL
-
meena
-
VimDiesel
Title: stream_libarchive: workaround various types of locale braindeath · mpv-player/mpv@1e70e82 · GitHub
-
kevans
meena: not a fan of this person already, and I'm only two paragraphs in
-
kevans
i don't think i'm interested in reading the rest of this
-
RhodiumToad
there are some good points in it
-
RhodiumToad
however, it is from 2017, and so it's out of date on some key points
-
RhodiumToad
the fact that functions like sprintf are locale-sensitive by default and don't have a locale_t parameter variant is a real problem
-
antranigv
This is gonna sound dumb. say if I do `for p in "/bin/*"; do echo $p; done` I get `/bin/[ /bin/cat /bin/chflags /bin/chio ...`, but I'd like to get `[ cat chflags chio`.
-
nimaje
how about cd /bin; for p in "*"; do …; done; cd - ?
-
antranigv
nimaje that would work, indeed, excpet I have like 10+ dirs other than /bin :D
-
antranigv
okay I have an idea
-
RhodiumToad
using $p like that probably isn't safe
-
nimaje
hm, using % or #? I can't remember which one was for prefixes and which for postfixes
-
RhodiumToad
that's also not safe
-
RhodiumToad
why do you want the list to begin with?
-
cedb
id generate the paths outside the loop and feed it ?
-
cedb
like while read f; do foobar; done <(find *pretend i know how to use find properly*) ?
-
antranigv
looks like `for prog in $(ls /bin /sbin)` works and is safe
-
antranigv
however, ls(1) keeps printing the directory name as well
-
antranigv
I guess I can just grep that out
-
cedb
nooo use bash expansion for nerd points
-
cedb
sorry aehm POSIX** expansion
-
RhodiumToad
antranigv: what do you need the list for?
-
antranigv
nerd points :) lol
-
antranigv
RhodiumToad to drop a page to the Wiki :))
-
antranigv
RhodiumToad try this: cd /bin && man * | awk '/^N.NA.AM.ME.E/{f=1;next};/^S.SY.YN.NO.O/{f=0};/^D.DE.ES.SC.CR.R/{f=0};/^D.DE.EP.PR.R/{f=0};/^Q.QU.UE.ER.RY.Y/{f=0};f;' |less
-
cedb
antranigv: ${foopath##${footpath%/*}} or something i always mess it up
-
RhodiumToad
${foopath##*/}
-
cedb
wait no thats the opposite of what u ant
-
cedb
nono i was right
-
RhodiumToad
your version is wrong if the path contains any metacharacters
-
cedb
i knew there would be some shell edge case weirdos KNEW IT
-
cedb
its like googling the best way to parse cli args: the answer is just dont use bash
-
RhodiumToad
if i had infinite free time, I'd build a system where /etc was renamed to "/System Configuration" and see just how much of the system explodes as a result
-
cedb
if i had infinite time id write an anti-debasher in some fancy lang for formal verification that *proves* you cant escape the madness in posix with discipline and you should just abandon all hope and use fish
-
antranigv
if I had infinite time I'd just create milions of web sites, and do SEO where FreeBSD would be mentioned more than Linux
-
antranigv
beat them in their own game
-
dkeav
don't you know FreeBSD is dead
-
dkeav
netcraft said so
-
signalblue
dkeav: lol netcraft
-
antranigv
LOL
-
antranigv
do we have a tool that allows us to get the src path of a program in base?
-
antranigv
something like `srcwhich /bin/ls` that will print `/usr/src/bin/ls` ?
-
antranigv
crest , you might know the answer to that ^
-
crest
not really, but for any specific tools it should be easy to find out
-
crest
which ls # prints /bin/ls
-
crest
cd /usr/src/bin/ls
-
crest
replace the inner / in /usr/bin/... and /usr/sbin/... with a .
-
crest
there are a few exceptions
-
antranigv
i mean, sure, but zpool is not in sbin/zpool, it's in cddl/sbin/zpool
-
antranigv
need a proper way to find them
-
crest
i'm not aware of a good tool to map back from an executable to all the sources it's compiled from
-
antranigv
maybe we need to generate a DB from the src
-
crest
you may be able to extract it from the .meta files after building the source with meta mode enabled
-
crest
e.g. parse the sources for /bin/ls from /usr/obj/usr/src/amd64.amd64/bin/ls/ls.meta
-
crest
but do keep in mind that the .meta files reveal the ugly truth about which files compiler, binutils, etc. (may) have accessed to build a file
-
crest
unless you want to learn that every executeable depends on $(CC) and all its sources
-
crest
just computing the full transitive hull isn't useful unless you're the build system
-
cedb
oh no plz no more hulls folks i dropped out for a reason
-
antranigv
cedb what's hulls?
-
LxGHTNxNG
cedb: ?
-
babz
I'm not sure exactly what we're talking about, but I think it's the minimal set of dependencies *effectively necessary* for something
-
babz
(as opposed to the dependencies explicitly set by the programmers)
-
antranigv
RhodiumToad you're pretty active on the wiki. do you think this is worth publishing?
antranigv.am/misc/wiki_baseutils0.png antranigv.am/misc/wiki_baseutils1.png
-
antranigv
well, I did publish it. any thoughts would be nice
wiki.freebsd.org/BaseUtils
-
VimDiesel
Title: BaseUtils - FreeBSD Wiki
-
cedb
LxGHTNxNG: the first time i heard the term was in optimization for convex hulls
-
cedb
seems it was used sort of the same way when mentionning "hull of dependencies", rougly its just given a bunch of data find the shape of it
-
kenrap
antranigv: while I'm not RhodiumToad, I think it's great! For me, this helps with the "discovery" of them.
-
kenrap
TIL about `cu` command, hah, awesome