-
lw
ok i don't want to though
-
lw
unless my opinion can be "fixed fucking urwid already"
-
lw
that's not really your problem though
-
jbo
that would be best communicated through different channels
-
jbo
I don't know whether there is a hard rule/guideline but can you change b/audio/py-sublime-music/files/patch-sublime__music_ui_util.py to be a non-git diff? those are a PITA to maintain AFAIK
-
lw
ok see
-
lw
what i want to say is: yes, but, not right now, i'm working on something else, can you please comment on the bug and assign it to me to do that?
-
lw
but you can't do that because triage won't allow any bug to be assigned to me
-
lw
so, idk
-
lw
yes, i can do that... but i'm working on postgres-exporter so not right now
-
jbo
yeah, I'll check with someone more knowledgable first before I'll comment on the PR tho. I once had a shit show of a day because of that type of patch but that might have just been PEBKAC
-
jbo
PR is not assigned to me so technically idc :D
-
lw
i find this policy ridiculous tbh
-
jbo
me too - hence I was not being serious
-
jbo
I try to improve that situation but...
-
jbo
people be people
-
lw
jbo: i want to ask linimon about this because it's not the first time this has come up
-
jbo
I also love how some maintainer(s) can not provide maintainer-feedback or maintainer-approval on PRs regarding their ports but submitting new ports in the meantime...
-
lw
i don't see why, as a maintainer, a bug can't be assigned to me
-
jbo
lw, idk - I had honestly no idea until it was clarified when I did it incorrectly.
-
jbo
I guess it might be to prevent re-assignment wars
-
lw
if i mail linimon i'll cc you... in the mean time can you please leave a comment on the sublime port and hopefully i'll notice it next time i check 'my bugs'?
-
jbo
I will - after I made sure that what I'm asking for is not incorrect.
-
lw
-
VimDiesel
Title: 277017 – multimedia/libmpeg2: set LICENSE to GPLv2+
-
jbo
no LICENSE_FILE?
-
lw
ah it does have COPYING... should that be listed as well as LICENSE?
-
jbo
> When the software provides the license file, use this:
-
jbo
LICENSE= LGPL21+
-
jbo
LICENSE_FILE= ${WRKSRC}/COPYING
-
jbo
-
VimDiesel
Title: FreeBSD Porter's Handbook | FreeBSD Documentation Portal
-
jbo
and now we get to play the game of: do you also need to bump PORTREVISION? :>
-
jbo
(yes, you do, as far as I know)
-
lw
... i can't possibly imagine this required a revision bump
-
lw
the port is literally identical
-
jbo
this will result in a package that is different from the previous one -> bump
-
lw
hmm
-
lw
i mean, i can bump PORTREVISION but this will make all poudriere users sad
-
jbo
I don't make the rules
-
lw
i guess it does technically change the package
-
jbo
-
VimDiesel
Title: FreeBSD Porter's Handbook | FreeBSD Documentation Portal
-
jbo
not only technically
-
jbo
I guess if I would want to I could argue why I'm going to commit this without a revision bump
-
jbo
but LICENSE_FILE and that discussion is why I didn't pick up the PR
-
lw
jbo: new patch on the bug
-
jbo
you ask all of the current committers for a yes/no on whether to bump and you get four different answers along yes and no
-
jbo
oh, this has very few consumers
-
jbo
so probably not even worth discussion the bump
-
lw
yeah, i can't even remember what i built that uses it but DEVELOPER=yes flagged it
-
lw
might have been medlaelch?
-
jbo
hmmm
-
jbo
this is assigned already tho
-
lw
nah it's not
-
lw
multimedia@ is a fake user
-
jbo
yes it is
-
jbo
...
-
jbo
is chromium@ also fake? python@? desktop@?
-
lw
yes
-
lw
anyone can commit a patch assigned to python@ or desktop@
-
lw
unless an actual maintainer picks it up
-
jbo
<jbo> I'm secretly a group
-
jbo
I'm going to ask about the bump first
-
jbo
so not going to happen tonight
-
lw
ok
-
jbo
heading home o/
-
lw
wait don't go i might have other bugs
-
lw
-
VimDiesel
Title: 277266 – Norelsys NS1081 card reader won't attach
-
jbo
dude, it takes me like 10 minutes to get home
-
lw
oh ok, fix that in 10 minutes then
-
lw
and don't call me dude, dude
-
jbo
that is src/, Sir
-
jbo
at least provide a patch :p
-
lw
oh you have some sort of objection to src, huh? huh??
-
jbo
o/
-
jbo
(that is a ttyl, not an agree)
-
lw
goodbye jbo the src hater
-
johnjaye
lw: what does DEVELOPER=yes do exactly?
-
johnjaye
just show some extra debug info?
-
lw
johnjaye: yes, it enables some extra checks that ports maintainers might be interested in
-
lw
jbo: heh i'm not the only one getting nitpicked
reviews.freebsd.org/D44051
-
VimDiesel
Title: ⚙ D44051 snd_uaudio(4): Fix sample rate selection after 42fdcd9fd917.
-
lw
jbo: new postgres-exporter patch up
-
warsoul
hello
-
mns
Do builds in /usr/ports use the '-j' option to make by default or is that something that has to be explicitly stated ?
-
kevans
enabled by default, individual ports can disable it with MAKE_JOBS_UNSAFE
-
kevans
istr the ports framework itself isn't really -j safe, if you want to influence it you need to specify MAKE_JOBS_NUMBER
-
lw
don't understand what i'm doing wrong here: missing dependencies? they're clearly right there in the Makefile
le-fay.org/tmp/30d/qVGeHI.txt
-
jbo
lw, nah
-
lw
nah what?
-
mns
kevans: thanks for the information. I may have slowed down my build by doing a 'sudo make -j 6' if its enabled by default.
-
jbo
nah ALL the things!
-
mns
kevans: I'll look at the documentation for MAKE_JOBS_UNSAFE and MAKE_JOBS_NUMBER
-
lw
jbo: i am literally two minutes away from just closing the sublime pr
-
jbo
lw, huh? why is that?
-
johnjaye
is imake used by anything? the porter's handbook lists it as a make program
-
lw
jbo: because python packaging is clearly just... fucked
-
kevans
to say the least
-
lw
johnjaye: imake used to be commonly used by X applications, nowadays, it's probably quite uncommon to encounter it
-
jbo
lw, no way - really?
-
kevans
the last time I tried to package a python thing (6 years ago at this point?), I gave up because it was constant whack-a-mole and the only viable solution would've been to just package a whole ass venv
-
jbo
there are reasons I tend to stay away from python stuff :D
-
lw
jbo: you tell me, here i was thinking i'd just update this random port i maintain (it's a dependency of sublime-music) and what even is going on?
lists.freebsd.org/archives/freebsd-python/2024-February/005689.html
-
VimDiesel
Title: PEP517 - can't build port
-
kevans
even once you get it figured out, if you're unfortunate enough to have a dependency on another python port not maintained by you then you get either constant build breakage (likely less so today) or constant runtime breakage
-
jbo
kevans, yeah, and it's only _partly_ the freebsd's ports fault
-
kevans
yeah
-
jbo
python is just cancerous
-
kevans
I'm just saying, rust may be doing this shit right with just vendoring everything in or whatnot; only leaf ports (or was that golang?)
-
jbo
and so are many of the new "solutions"
-
lw
kevans: and it takes 2 months to commit a trivial patch to add BROKEN= to a port because no one dares touch *any* python port
-
jbo
not saying that everything else is great & gold
-
jbo
python, go, rust... all of that was supposed to solve the problems that "other languages" have. but they introduce 7 new problems that didn't exist before and most people just pretend those problems don't exist because all that _they_ do is write one single script
-
kevans
(that is: our porters' policies re: rust and golang, rather than the languages themself; though I suppose these policies are based on what they're doing in reality)
-
lw
i know jbo has heard this rant before but... i wanted to play Factorio this evening and instead i'm sending multiple email messages and messing about with all kinds of this to do what should be a trivial update, this just makes me not want to submit any more ports in future
-
jbo
lw
-
jbo
ERROR Missing dependencies:
-
jbo
setuptools~=65.6
-
jbo
py-setuptools Python packages installer
-
jbo
63.1.0_1
-
jbo
...
-
lw
jbo: ?
-
jbo
lw, that is the wrong takeaway. it should make you want to not use python stuff instead.
-
jbo
the problem here is mostly python, not ports
-
lw
jbo: well someone is responsible for this mess right? with python?
-
warsoul
xfce worke now with slim
-
warsoul
:)
-
lw
jbo: like why the fuck is urwid still broken. that's not the fault of "python", there's been a patch for it since *December*
-
jbo
warsoul, slim has been abandoned since 2013
-
jbo
lw, indirection problems: touching anything python makes stuff break because the way that python works (and partly the ports system). so anything not related to python's issues is therefore also becoming a python issue.
-
lw
jbo: ok i see what you mean, my port requires setuptools 65.6, we only have 63.1
-
lw
so as port maintainer i will just... ignore this update and do nothing about it... ok, cool.
-
jbo
lw, anyway, your problem is (I think) that upstream needs setuptools 65.6 and we have 63.1 in ports
-
jbo
the proper thing to do is to update py-setuptools - and then test all the consumers because anytime something python changes other python stuff breaks
-
jbo
it's... f
-
jbo
maybe now you get why I told you I generally don't touch anything python :D
-
lw
of course setuptools 65.6.0 was release in November *2022*
-
jbo
lw, also >=3.11
-
jbo
:D
-
jbo
omg...
-
lw
and we still don't have it because... reasons? i guess?
-
jbo
is there a PR for it?
-
jbo
I don't talk for python@ - they seem pretty busy
-
lw
who the fuck knows, i give up
-
jbo
-
VimDiesel
Title: 270358 – devel/py-setuptools: update to 69.0.3
-
lw
why can't anyone update what's probably the most important of all python packages for 3 years?
-
jbo
lw ^
-
johnjaye
what is the problem with python?
-
jbo
vishwin, is a much better person to talk to about python stuff than I am
-
jbo
I'm just the new guy trying to stay away from python
-
jbo
> The exp-run showing no build failures is a mere coincidence.
-
jbo
:D
-
johnjaye
is it like the requirements are too strict so nothing can be built?
-
jbo
lw, chime in on the PR...
-
cracauer
Can somebody help me boot FreeBSD/riscv64 in qemu? I use this qemu command
cons.org/riscv/run-run but it never enters u-boot:
cons.org/riscv/log
-
johnjaye
i gave up figuring out how qemu works. so i just use libvirt now
-
cracauer
I pass qemu args directly when I use libvirt :-)
-
lw
jbo: what PR?
-
johnjaye
well. you know more than me then
-
cracauer
It's not a good think that I have to do that.
-
jbo
lw, 270358
-
lw
-
VimDiesel
-
lw
jbo: ugh why? what do you want me to say?
-
jbo
moin cracauer :)
-
cracauer
Hello.
-
lw
i can't even get a fucking 1-line patch committed, why would i wade into this shit
-
cracauer
Just some evening virtualization going on here.
-
jbo
do you want to improve the situation & help or just be grumpy and make yet another ethernal starter base?
-
lw
i do not care about "improving the situation" that has meant we cannot update setuptools since 2022. sorry.
-
lw
i will just not update my port, i only maintain it because sublime-music requires it, and sublime works fine with the current version
-
lw
you cannot guilt trip me into fixing political nonsense with python ports
-
lw
however, i did send a passive aggress mail to python@ about this, so there's that.
-
lw
jbo: next time you explain to me how few ports committers there are, maybe consider that this nonsense might be the reason
-
jbo
lw, I start to doubt whether you're personally mad at me right now
-
lw
i am not at all mad at you
-
warsoul
going to try light dm now
-
warsoul
that a see slim worked
-
kevans
cracauer: #bsdmips on efnet may be able to offer some insight
-
lw
jbo: however i am a little bit mad beceause i spend 6+ hours today doing testport + runtime testing on a new port and yet i can't get a single 1-line fucking patch committed for two months?
-
kevans
not sure if any of our riscv-y folks are around right now, though
-
lw
again i appreciate this is not your fault and i'm not mad at you
-
tuaris
Uh, this day just gets worse. One of my my systems just exploded during a freebsd-update upgrade from 12.4 to 13.2:
venus.morante.net/downloads/unibia/…d/superblock-error-202402252044.jpg.
-
lw
but you can understand why this is frustrating, right?
-
jbo
lw, I am sorry to hear that. I assure you that I went back to the office only with the intention to make sure that once you completed your chores I would be able to commit immediately to show that things can also run smoothly (at least where I can help). I'd much rather not have spend my sunday night at the office either :D
-
kevans
tuaris: i think it's trying to say it's angry
-
kevans
filesystem needs to learn to express itself better
-
lw
jbo: i really appreciate your help with committing my ports patches and i'm 100% certain that without your help i'm be sitting here with absolutely no movement on those patches at all
-
lw
jbo: i do not expect you to single-handedly fix the ports python ecosystem
-
jbo
lw, as for 277017 I _could_ commit that but I'd really like to talk to some more experienced committers first. then we can tick that one too
-
lw
but frankly i'm on the verge of asking you to commit a merge that removes my maintainership from all my ports
-
jbo
lw, and yeah... with python... it's probably outside of my capabilities to fix that situation. I'm sure vishwin can shed some light on this.
-
jbo
lw, now now, hang in there.
-
jbo
lw, first you're gonna talk to gerald@ about wine-devel takeover ;)
-
jbo
lw, and 9.3
-
jbo
much less hassle than python@
-
warsoul
wow
-
warsoul
finally
-
warsoul
lol
-
warsoul
worked :)
-
lw
why should i bother updating wine-devel to 9.3, whoever even cares? let's just package whatever was current in 2022, that's how ports rolls apparently
-
jbo
lw, ...
-
lw
...
-
rtprio
...
-
jbo
lw, it's not python :o)
-
kevans
wow, libmpeg2's annoying
-
jbo
lw, I care, many other's do
-
lw
ok yes i am being a bit angry here
-
lw
but like
-
tuaris
Going to take a copy of the VM, and try to see if I can recover it. Otherwise, I might as well retire this old i386 system and rebuild from backups
-
jbo
go have another one of your "sticks", grab a glass of vodka and relax :)
-
kevans
jbo: libmpeg2 one is fine, but still a little shy of maintainer timeout (uness you're on multimedia@?)
-
lw
today i spent 6+ hour testing wine-devel 9.2 to make sure it works... and that's fine, i understand this is a port a lot of people use, i'm happy to put the work in to make sure it's alright
-
kevans
((is multimedia@ even alive?))
-
lw
and yet we can't update py-setuptools, one of the most important and fundamental python packages, since fucking 2022?
-
jbo
kevans, no idea. would have certainly waited for the timeout. But given that it's not an "intrusive" change I wouldn't mind doing it exactly after 14 days tbh.
-
jbo
kevans, my main question is/was regarding PORTREVISION bump. IMHO the bump is necessary.
-
lw
why should i put effort into this shit when it's obvious no one else is?
-
kevans
yes, it is
-
jbo
kevans, thanks for confirming!
-
jbo
lw, look at the commit history and think again
-
lw
commit history of what?
-
jbo
ports
-
kevans
the license is encoded in the pkg metadata, so without the bump they won't pick up the license actually being specified (which is admittedly maybe low impact, but probably not 'no impact')
-
jbo
lots of people care
-
lw
jbo: you're deflecting
-
kevans
'they' being end-users
-
lw
of course plenty of people commit to ports
-
jbo
kevans, that was exaclty my line of thinking. hence I asked lw to add the bump. thank you for confirming!
-
lw
obviously none of those people maintain ports that need a current version of setuptools though
-
lw
jbo, kevans: does a port "maintained by" multimedia@ need maintainer timeout? i thought these were basically unmaintained
-
jbo
yes
-
jbo
it's a group of people
-
kevans
yes, because there are people actively responsible for reviewing things maintained by the group (
wiki.freebsd.org/Multimedia)
-
kevans
heh
-
kevans
If the group's not doing that then it may be that they need dissolved, or they just need poked to remind them that they're on the group
-
lw
maybe i should take maintainer of libmpeg2....
-
jbo
I wouldn't recommend that
-
lw
why not? it hasn't had a commit since 2021, project is basically dead
-
jbo
libmpeg2 doesn't have that many dependencies but there's usually good reason why "basic" ports are maintained by groups
-
jbo
those tend to need a bit more coordination
-
kevans
imo groups are very nearly a mistake, but they exist so what we do what we can with what we have
-
jbo
check some latest efforts on libxml2, libexpat, jpeg etc.
-
kevans
we have way more defunct groups than functional groups
-
lw
not really comparable, libxml2 is used by everything
-
kevans
wow, that came out really badly
-
jbo
kevans, I have not been around long enough to judge that but I don't doubt it either
-
lw
and in any case, if group maintainership of libmpeg2 is so critical to its existence in ports, why has no one replied to my PR?
-
jbo
kevans, do you have a stick to poke exp-runs? :D
-
kevans
the run itself, or the person that orchestrates exp-runs? :-)
-
lw
obvious answer: no one actually cares about it, it's just assigned to multimedia@ by defdault
-
jbo
-
VimDiesel
Title: 276879 – ftp/curl: Update to 8.6.0
-
jbo
kevans, from what I can tell that is only missing an exp-run and it fixes a CVE so...
-
kevans
oof.
-
jbo
lw, how about taking a breather? (totally not meant in a rude/arrogant/negative way - just seems like you are getting yourself worked up right now)
-
jbo
kevans, exactly :D
-
kevans
it would've been better to split the CVE patch out, if feasible. not sure if curl releases backports like that
-
lw
i'm not worked up. i think i asked a reasonable question
-
jbo
kevans, backport? it's a minor update, no?
-
jbo
lw, agreed. I will handle it once we have maintainer-timeout and I consulted with my mentors (I am more hesitant when maintainer-timeout occurrs with groups as they might have "reasons", but again, this is a non-intrusive change so we should be good - I just don't have the experience & street-cred to make the call)
-
kevans
in the sense of a patch file that's easier to audit than a dist bump + patch like this
-
jbo
kevans, we'd want the 8.6 update anyway, no?
-
jbo
maybe I'm misunderstanding something fundamental here - sorry
-
kevans
yeah, but there's a question of: is this one you're comfortable MFH'ing, considering it has security contents?
-
kevans
some folks are more conservative than others
-
jbo
kevans, apologies for asking you to be patient with me but: what? it's a port update where upstream updated from 8.5 to 8.6. why would we be "conservative" given that it's a relatively widely used tool with a new upstream release that also addresses a known CVE?
-
_xor
Any tips on converting a Linux prctl call to a FreeBSD procctl call?
-
jbo
kevans, oooh... you're referring to PATCHFILES=e75a48d2c32d92b0321fbb09c25885a706077201.patch:-p1 ?
-
lw
fwiw, it would significantly reduce my frustration level if someone could commit
bugs.freebsd.org/bugzilla/show_bug.cgi?id=276347
-
VimDiesel
Title: 276347 – net-im/toot: mark as BROKEN since devel/py-urwid is broken
-
kevans
jbo: because in general port updates don't get MFH'd by default, we've historically tried not to destabiize quarterly too much so you have to gauge risk to some extent
-
jbo
kevans, merge-quarterly=? is separate from exp-run=? right? we could complete the exp-run, commit to main and address that quesiton separately? it's not like the exp-run for main would replace an exp-run for quarterly.
-
kevans
minor update to me doesn't mean a whole lot, I've seen a boatload of poor uses of semantic versioning
-
kevans
yes
-
jbo
kevans, while I have you here (thank you for bothering to help the newbies out):
bugs.freebsd.org/bugzilla/show_bug.cgi?id=276347
-
VimDiesel
Title: 276347 – net-im/toot: mark as BROKEN since devel/py-urwid is broken
-
jbo
is there anything "problematic" that would come with that I should know about?
-
johnjaye
in python i think they normally say not to even other with the distro packages anyway
-
johnjaye
just download everything into a venv
-
» _xor wonders why prctl decided to use unstructured function parameters where the semantics can change depending on argument values
-
_xor
This is frustrating heh.
-
jbo
is everybody being frustrated tonight?
-
kevans
jbo: nah, should be fine. I do wonder if a link to the urwid PR in the BROKEN message might be helpful, though I admittedly don't recall at the moment if that's common practice
-
_xor
I'm wondering if there's a legit technical reason for prctl to be implemented this way because FreeBSD's version (procctl) makes more sense and is easier to erad
-
_xor
*read
-
jbo
kevans, being unclear on the standards/formatting of BROKEN= is my main reason for not having touched this yet :D
-
jbo
kevans, I have seen quite some wild things in BROKEN=
-
kevans
yeah
-
kevans
I think I'd just tack a (PR 274411) at the end and send it
-
kevans
just so that it's very clear from a random observer if the problem's actually fixed or not without having to follow breadcrumbs back to it via PR indirection
-
kevans
s/from/for/
-
jbo
kevans, may I add a 'Reviewed by: kevans' to cover my newbie ass a little? :D
-
kevans
sure
-
jbo
thank you :)
-
kevans
oh shit
-
» kevans remembers that he has an e-mail he forgot to respond to
-
jbo
kevans, just to be clear (I am known to be overly cautions): that is irrelvenat to what we just discussed regarding the BROKEN= commit?
-
kevans
jbo: admittedly I never got newlib to work outside of the small segment of arduino ecosystem I was working in
-
kevans
yeah
-
jbo
kevans, oh that... I "forgot" that that was you tbh... still getting to know all the names.
-
jbo
kevans, I did write that e-mail after a long, tiring day so I was wondering whether I was just too noob in my questions.
-
kevans
it wouldn't surprise me to learn that we're missing some important bits, I can prepare an update and try to suss out what's needed if you can test it
-
kevans
I couldn't test an update anymore so I've just kind of let it be
-
jbo
kevans, I'd gladly test it.
-
jbo
kevans, I did also reach out to lev@ to ask for an upgrade (not update) of devel/gcc-arm-embedded but that is a lot more work because upstream changed drastically.
-
jbo
kevans, anyway, I'd very gladly test - just respond to the original e-mail if you feel like it (and when you got there)
-
_xor
oh that reminds me, I need to add to devel/xtensa-esp32-elf to my list
-
kevans
jbo: sure thing, thanks. I need a break from what I was doing, so I'll take a look at it now (which means you might see an e-mail in the next two weeks, because I tend to get distracted easily)
-
_xor
heh reminds me of a bash quote
-
jbo
kevans :D
-
_xor
"What's ADHD? Attention Defic....LET'S GO RIDE BIKES!"
-
jbo
kevans, I appreciate your efforts
-
kevans
_xor: I just feel terrible for my wife, but we've lived together for nearly 10 years now so she's gotten used to putting up with my shit and helps me find ways to not piss her off
-
jbo
< Cue Visa Card advertisement >
-
_xor
Getting diagnosed and medicated helped me. It was nuts how different it is now.
-
» kevans switches over to -social for a minute
-
jbo
kevans, newbie question: any reason why poudriere-testport would still be happy with an added BROKEN= ?
-
kevans
jbo: testport runs with TRYBROKEN=yes, but this sounds like runtime breakage so it wouldn't necessarily be noticed unless there was, e.g., a unit test that tried to exercise it
-
jbo
kevans, ah, the TRYBROKEN=yes is what I lacked in knowledge
-
jbo
kevans, trying to figure out whether having parenthesis in BROKEN= is fine
-
kevans
iirc contents are assumed to never be parsed, so whatever make(1) is OK with
-
jbo
alright, thanks!
-
jbo
lw, committed
-
jbo
kevans, thank you for the hand-holding - much appreciated!
-
lw
jbo: thanks.
-
kevans
*nod*
-
jbo
<rainbows>
-
kevans
holy shit the newlib update 'just worked' for the most part
-
jbo
neat!
-
markmcb
can you passthrough block devices, like a hard drive, to a bhyve guest? or jail?
-
jbo
markmcb, jails and passthru is not really a thing
-
jbo
and bhyve can AFAIK only do PCI passthru (for good reasons)
-
jbo
incidently, that means that you can passthru an NVMe drive to a VM :)
-
jbo
whether that is desirable is another question as part of the niceness of VMs is that they need less memory as the FS is handled by the host
-
jbo
i.e. a windows guest can totally work with 2GB of RAM which would be unthinkable on baremetal
-
markmcb
jbo: thanks. i passthrough decrypted luks /dev/mapper devices with qemu/kvm in linux, so was just curious
-
bebop
how is bluetooth now in FreeBSD?
-
bebop
relativley good now?
-
jbo
the.best.
-
jbo
(kidding)
-
bebop
I wrote a howto on how I got it to work, having to use hccontrol then virtual_oss stuff then for pairing had to edit the hcsecd.conf
-
bebop
was a pain in the ass
-
jbo
sounds about right to
-
jbo
what was causing the pain?
-
bebop
having to manually do it each time and then once I ran hccontrol -n ubt0hci create_connection 'device' I had to quickly run virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 768 -R /dev/null -P /dev/bluetooth/'device' -d dsp
-
bebop
and if I didn't get it quick enough it would fail
-
bebop
heh
-
jbo
sounds like something for a script :D
-
bebop
once it was working it was great
-
vishwin
lw: tl;dr upstream deprecated a major use method and specifically pinned an older version for said method, two versions cannot be in the same environment concurrently, our RUN_DEPENDS practice is outdated and wrong
-
vishwin
to fix it all requires a specific order to minimise breakage and churn
-
bebop
I think it was about 3+ years ago when I was using bluetooth with this
-
jbo
vishwin, what does "specifically pinned an older version of said method" mean?
-
vishwin
as in, some consumers will have to use version 58 specifically
-
jbo
uff
-
vishwin
some as in USE_PYTHON=distutils
-
jbo
when exactly did it become a think that software packages define _specific_ versions for deps?
-
jbo
"back in my day" it was a "this major version" thing
-
jbo
and both upstream and downstream would at least try to keep all minor versions compatible between each other
-
kevans
then the fire nation attacked and the ecosystem became too available and people suck at versioning and...
-
kevans
accessible, not available
-
vishwin
well, 58 is the last version to officially support that method
-
vishwin
for setuptools, unfortunately there was no good way to deprecate cruft without breaking stuff
-
vishwin
their code is a mess by both history and circumstance and they are trying to correct that considering actual standards exist now
-
jbo
vishwin, what exactly does this mean for freebsd ports specifically?
-
jbo
vishwin, what I'm hearing is that the only valid update for setuptools is to 58 and before the next update marking any upstream as BROKEN= that doesn't support >=58?
-
jbo
or am I overly simplifying here (because not a python guy)?
-
vishwin
it will eventually be three setuptools versions in the tree
-
vishwin
all USE_PYTHON=distutils consumers get migrated to 58
-
vishwin
only after that does mainline setuptools get updated
-
vishwin
well, all USE_PYTHON=distutils consumers that use python 3, as setuptools 44 exists for the remaining python 2 ports
-
vishwin
-
VimDiesel
Title: Python/setuptools - FreeBSD Wiki
-
jbo
vishwin, thank you for taking the time explaining this here. I think I understand better now (at least definitely compared to what I read in the PR(s)).
-
jbo
vishwin, does this mean that it's currently mostly a python@ man-power issue?
-
warsoul
getting python.so perl.so autoload failed on startup hexchat
-
warsoul
how i can disable ssl
-
remiliascarlet
clang is drunk. I clearly defined `void setupbackground(void);`, then I wrote the whole function, then I use it in the main function, and I get `ld: error: undefined symbol: setupbackground\n>>> referenced by slock.c\n>>> slock.o:(main)`.
-
kevans
maybe
-
kevans
lld's usually not too wrong about that kind of thing
-
remiliascarlet
It makes no sense.
-
kevans
hard to say without seeing the specific case
-
remiliascarlet
Ah, I think I see the problem.
-
remiliascarlet
OK, it turned out the reason was because that function was defined inside of the `ifdef __linux__` clause.
-
remiliascarlet
Which is odd, because it did compile on OpenBSD.
-
remiliascarlet
The next problem is: `warning: call to undeclared function 'setgroups'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]\n if (setgroups(0, NULL) < 0)`
-
kevans
with <unistd.h> included?
-
warsoul
connection refused (ssl handshake time out)
-
warsoul
how do i disable ssl on freebsd
-
warsoul
im remember selecting this option in install by mistake
-
remiliascarlet
It's included.
-
kevans
looks like it's probably behind a __BSD_VISIBLE
-
kevans
have one of the _*_SOURCE macros defined?
-
remiliascarlet
kevans: `-D_DEFAULT_SOURCE`
-
kevans
hmm, doesn't seem to be one of the ones we care about
-
kevans
cgit.freebsd.org/src/tree/sys/sys/cdefs.h#n644 this is about where we start sorting through visibility
-
VimDiesel
Title: cdefs.h « sys « sys - src - FreeBSD source tree
-
johnjaye
what is the distinction between section 4 and section 9 of the manual? they both say kernel stuff
-
johnjaye
i guess section 4 is about hardware and /dev?
-
warsoul
gm
-
warsoul
how do i disable ssl
-
debdrup
That question is way too broad to be possible to answer.
-
warsoul
i remember selecting this in installation yesterday
-
warsoul
now hexchat wont connect
-
warsoul
connection refused (ssl handshake time out)
-
warsoul
this is what it says
-
arino
warsoul: change the port for the irc server
-
rafe
Is there a reason that KERNEL_RETPOLINE was never enabled in GENERIC?
-
rafe
-
VimDiesel
Title: rS330110
-
rafe
"In this commit it is disabled by default, but will be changed in a
-
rafe
followup commit."
-
cedb
there is a typo here:
docs.freebsd.org/en/books/handbook/security/#security-passwords' it says to "grep user /etc/master.passwd" to see the hash mechanism in the user's login class when it should be /etc/login.conf
-
VimDiesel
Title: Chapter 16. Security | FreeBSD Documentation Portal
-
rafe
cedb, open a bug with a suggested edit on bugs.freebsd.org
-
debdrup
rafe: the follow-up hasn't happened yet, it's possible it was just forgotten about - you could just follow-up on the follow-up ;)
-
debdrup
Although with e5c6dece988, I think it's enabled conditionally.
-
debdrup
ah, 2a5ba072014 enables it outright
-
rafe
the first you mentioned is userland, no?
-
rafe
and I don't see that second hash
-
debdrup
That's because it's an MFC of something that was done before the switch to git ;)
-
debdrup
-
VimDiesel
Title: src - FreeBSD source tree
-
rafe
I see, so it's a "default no" but enabled if the compiler supports it
-
debdrup
the way i read it, it's enabled conditionally for platforms that aren't amd64, and if the compiler supports it on anything else
-
babz
it defaults to no on all platform, and is marked as broken on amd64
-
babz
(wich is kinda weird tbh)
-
babz
shouldn't it be the opposite ?
-
debdrup
I ain't got no clue.
-
johnjaye
I found some code in the makefiles that said We will remove this in Freebsd 12.
-
johnjaye
Maybe there's a lot of that stuff?
-
jbo
deprecate ALL the things
-
V_PauAmma_V
There was a bunch of deprecations a few days ago.
-
rafe
babz, that's not how I read kern.opts.mk.if NOT i386 and NOT amd64, set as broken
-
babz
oh you're right
-
babz
i was reading the phabricator link above
-
babz
this one makes much more sense
-
jbo
lw, ping
-
johnjaye
jbo: is this a particularly busy time of the year for ports?
-
johnjaye
normally the channel isn't this active!
-
beastwic1
I am curious how do people here feel about Gentoo, in terms of being a ports like system and OS that paid some attention to the way FreeBSD values things.
-
jbo
johnjaye, this channel has no direct relation to/with ports
-
johnjaye
right, i meant it might be some spillover from something like a new release or new stable or something.
-
jbo
nah
-
johnjaye
i thought you said something like you have 1000 entries on buzgilla now to look over.
-
jbo
you must be mistaking me for somebody else
-
johnjaye
well maybe!
-
jbo
how dare you!
-
pirate
hi, i'm having trouble with usb permissions
-
pirate
namely, the old i can make it work if i do things as root but i cannot figure out how to give a user the required permissions
-
jbo
pirate, depends on the circumstances. sometimes the operator group is sufficient. but without more details your guess is as good as ours.
-
pirate
jbo: i tried adding the user to the operator group
-
souji
pirate: but what are you trying to do?
-
pirate
well, i have a hid device, usb connected relays
-
pirate
and i'm trying to control them via python script
-
pirate
works fine if i run it as root, works fine under linux
-
jbo
sounds like a job for devd
-
pirate
similarly, i wanna control a 3d printer with octoprint
-
mns
What does it mean I have: USES= compiler:c++11-lang ? I don't think I have a compiler called c++11-lang
-
jbo
mns, it tells the ports framework that the port requires a C++ compiler that is C++11 capable.
-
jbo
mns, that does not specify the compiler itself, just the required capability
-
mns
jbo: thanks. that;s from lang/gcc13/Makefile. I'm trying to use the same compiler, was trying with /usr/bin/cc (clang 14), but that failed, whereas buildign with gcc12 seems to work.
-
jbo
mns, if the port requires GCC, there is USE_GCC=
-
jbo
mns, note that I assume that you know what you're doing. typically, ports are compiled with llvm so potential deps might have a different ABI
-
jbo
"typically" is the key word here. the ports framework provides a lot of infrastructrue to allow different compilers etc.
-
paulf
-
VimDiesel
Title: 481874 – Add arm64 support for FreeBSD
-
pirate
jbo: tbh, i'm not seeing how devd does permissions
-
pirate
i added the user to both operator and dialout, still permissions failure
-
mns
jbo: thanks. I'm trying to help with
bugs.freebsd.org/bugzilla/show_bug.cgi?id=274939 so trying to compare between just downloading the source from gnu.org and building it (which works), and how ports builds it. I realised I had /usrlocal/gnat12/bin in my path (for Ada) and wanted to use the same compiler as what is being used by lang/gcc13.
-
VimDiesel
Title: 274939 – Feature request: enable the m2 (modula2) front end in lang/gcc13
-
jbo
pirate, you typically setup a devd rule which sets the permissions on ATTACH
-
jbo
mns, nice - thanks for helping!
-
mns
jbo: trying to, not sure I am yet. Benchmark of just doing lang/gcc13 as is, takes about 9 hours on my system, so hard to be productive
-
jbo
mns, are you building through poudriere?
-
jbo
mns, strongly recommend to use ccache
-
mns
jbo: no, just 'cd /usr/ports/lang/gcc13 ; sudo MAKE_JOB_NUMMBER=6 make'
-
jbo
yeah definitely use ccache :D
-
jbo
that way you don't re-build the same thing over and over
-
mns
I'll have to look into setting that up, unless you have some pointers
-
pirate
jbo: is there an example i can see somewhere?
-
jbo
pirate, man devd.conf(5) has at least one USB matching example AFAIK