ChanServ changed the topic of #haiku to: Open-source operating system that specifically targets personal computing. | https://haiku-os.org | Nightlies: https://download.haiku-os.org | Bugtracker: https://dev.haiku-os.org | SCM: https://git.haiku-os.org/ | Logs: https://oftc.irclog.whitequark.org/haiku | Matrix: #haiku:matrix.org | XMPP: #haiku%irc.oftc.net@irc.jabberfr.org
HaikuUser has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
erysdren has quit [Quit: Konversation terminated!]
erysdren has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
mmu_man has quit [Ping timeout: 480 seconds]
tuaris1 has joined #haiku
tuaris has quit [Ping timeout: 480 seconds]
tuaris1 has quit [Quit: Leaving.]
Maturi0n_ has joined #haiku
Maturi0n has quit [Ping timeout: 480 seconds]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
floof58 has quit [Read error: Connection reset by peer]
floof58 has joined #haiku
orealis has quit [Read error: Connection reset by peer]
Rapo has quit [Quit: Konversation terminated!]
orealis has joined #haiku
Guest11746 has joined #haiku
AlaskanEmily has joined #haiku
<zdykstra> hey Habbie
<zdykstra> wie gehts?
OscarL has joined #haiku
OscarL_ has joined #haiku
OscarL has quit []
OscarL_ is now known as OscarL
HaikuUser has joined #haiku
HaikuUser has quit []
OscarL_ has joined #haiku
OscarL_ has quit [Read error: Connection reset by peer]
OscarL has quit [Read error: Connection reset by peer]
OscarL has joined #haiku
Begasus has joined #haiku
<Begasus> g'morning peeps
<OscarL> Wonder why HaikuDepot sorts the package contents by INVERSE alphabetical order :-/
<OscarL> Hello Begasus.
<Begasus> Hi OscarL
<Begasus> Can't remember the answer I got back years ago for that OscarL :)
<OscarL> what ever the reason is... it is mildly infuriating.
<OscarL> Trying to understand this "vim thing" here... never actually used it, now trying to figure out how to test a simple Python plugin for it.
<OscarL> I'm suspecting that the issue with YouCompleteMe might be, at least partially, on how the vim package works with Python, but need to test with something simpler.
<OscarL> (by that I mean... not sure the bugs are in YouCompleteMe, it just exposes issues with vim's python integration... that's my theory, at least :-D)
<Begasus> No easy sollotion, does vim need a rebuild for it or should it pick up YouCompleteMe when it's installed?
<OscarL> for example... the error of (vim's) Python not finding stuff... seems to me to be due to hard-coded paths that point to Python's path that were valid when vim was built (3.9.14), but now fails because we have 3.9.16, that sort of stuff.
<OscarL> My current thoughts are that vim is hardcoding Python paths at build time... and that will always cause issues. But to make sure that's the case... I need to test with something else than YouCompleteMe... and I'm just lost, as I've never used vim before :-D
<OscarL> So... searching for "write vim plugins for dummies" now.
<OscarL> To answer your question... Theorically, vim should pick YouCompleteMe just fine as is (no need to rebuild vim for it).
<Begasus> ok, one less thing to worry about :)
<OscarL> managed to make it work in boh the oldest and the newest recipes we have...
<OscarL> but I need to export PYTHONPATH before calling vim (due to the non-matching paths, as I mentioned).... works OK for vim... but gvim just quits with a seg-fault :-(
<Begasus> :/
<OscarL> I'm afraid I will have to build vim locally to test a few things... sigh...
<Begasus> checked if there isn't anythin usefull at repology regarding this?
<OscarL> from what I see... part of the problem is we get hard-coded paths like "'/packages/python3.9_x86-3.9.14-1/.self/lib/python3.9'". Seems pretty Haiku specific :-D
* OscarL goes to read that.
<Begasus> Takes a long time to look into it ;)
<OscarL> not sure... there they can actually open vim, but YCM doesn't works right... We can't even start vim if YCM is installed :-D
<OscarL> I guess that if I'll be building vim locally.... might as well just try to updated it to the latest version, right? That is... assuming the patchset applies more or less cleanly over v9.0.1479. /me crosses fingers
<Begasus> yep, might as well :)
<OscarL> that was too much to ask, heh :-)
<Begasus> heh
* OscarL goes to make some coffee.
<Begasus> time for the dogschool in a bit here
<OscarL> ug, patchset is tiny! I might have a chance after all.
<OscarL> enjoy the dogs!
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/79911e1cff5f...1e4e4aa7b928
<botifico-c849d97b> [haikuports/haikuports] nielx 1e4e4aa - Rust: bump to 1.69.0 (#8490)
<Begasus> another one OscarL ;)
<OscarL> :-/
<Begasus> Think I asked that question before there ...
<Begasus> k, heading out, cu later!
<OscarL> see you!
kescher_ has joined #haiku
kescher has quit [Remote host closed the connection]
kescher_ is now known as kescher
Begasus has quit [Ping timeout: 480 seconds]
Blendie has joined #haiku
<x512[m]> Why stat show zero block count?
<x512[m]> It seems confuse command line partition tools.
AlaskanEmily has quit [Remote host closed the connection]
Diver has joined #haiku
Diver has quit [Read error: Connection reset by peer]
Diver has joined #haiku
Diver is now known as Diver
<OscarL> On beta4 32 bits, `query name="*.pc"` gives wildly different results than a similar Tracker query :-( (the former only finds things inside /boot/home, apparently, while Tracker shows >350 results, mostly from /boot/system/develop/pkgconfig AND the ones I have in /boot/home
<augiedoggie> use -a
<OscarL> mmm that works. Thanks augiedoggie. But I find it strange that Tracker lets me query /system, but "query -v /system " complains system is not query-enabled.
<OscarL> and then -a works? 8-O
<augiedoggie> you have to pick a file or subdir when using -v, like -v /system/Deskbar
<augiedoggie> or, -v /system/.
<augiedoggie> probably a bug :P
<OscarL> lol @ query -v /system/. working :-D
<OscarL> From https://dev.haiku-os.org/ticket/10040#comment:7: "In the Find dialog IMO the preferable behavior is not to list the packagefs volumes in the volume menu, but automatically include them in the search when the parent volume is selected."
<PulkoMandy> Did you try with /boot/system? because /system is a symlink, maybe query doesn't resolve it
<OscarL> I guess the same should apply to /bin/query.
<OscarL> PulkoMandy: yeah.. /boot/system works. Tried /boot first and it didn't so then I tried /system instead of /boot/system.
<OscarL> re: "/boot didn't" I mean... it didn't did what I expected: "query everything under /boot" :-D
<OscarL> (and not only /boot/home)
<OscarL> While you're here PulkoMandy... I've built vim 9.0.1479 locally (to see if it helps with YouCompleteMe)... I've noticed that you changed --enable-python-interp= from "dynamic" to "yes" in the past. I tried with dynamic again, same results.
<OscarL> Question is (just because I've no idea)... any reason to prefer "yes" over "dynamic" ?
<PulkoMandy> There probably was one but I don't remember it
<OscarL> ok. on that commit you wrote that it was to fix the build. Just wondering, because it built ok here with dynamic. No biggie. Will mention it on the PR for the updated vim, just in case.
<PulkoMandy> Well, if you need to switch it back, you can
<PulkoMandy> Sometimes I don't really understand what I do either :D
<OscarL> Doesn't seems to help with the seg-fault, so... I have no strong opinions one way or the other :-D
<OscarL> but was worth the try, I guess :)
<OscarL> I think that python's pkg-config file is hurting more than helping thou... It reads: "prefix=/packages/python3.9_x86-3.9.16-1/.self"... and that gets then hardcoded in both vim and YouCompleteMe.
<OscarL> if it was "prefix/system/lib/python3.9", it would work for all 3.9.x we might have, no?
<OscarL> (right now... updating Python after building vim... causes vim's python to fail, unless we export PYTHONPATH manually)
<OscarL> Guess I'll mention that too on the vim PR, and @ a bunch of you to chime in.
<PulkoMandy> All our pkg-config is done this way, and I'm not sure why, but it should only be used to find the library in developLibDir during buildtime
<PulkoMandy> At runtime there should be only a reference to "libpython3.9.so" and let the runtime_loader locate it using LIBRARY_PATH
<PulkoMandy> Does the pkgconfig file also define PYTHONPATH?
<OscarL> it doesn't, but both vim and YouCompleteMe seems to take it from there.
<OscarL> lemme find the build log.
<OscarL> damn 32 VM with no clipboard integration :-(
Anarchos has joined #haiku
<PulkoMandy> Ok, so, yes, this pkgconfig file should get special treatment of the "prefix" variable
<Anarchos> I got these two errors with glib-gio : Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile ; xkbcommon: ERROR: failed to add default include path /boot/home/config/non-packaged/share/X11/xkb
<OscarL> "I'll just clean up old recipes" I thought.... will end up having to rebuild YCM, vim, Python..., and wonder what else. /me shakes fist at Begasus!!!
<Anarchos> OscarL :)
<OscarL> Anarchos: no idea, but that include path under home seems suspicious :-D. Tried manually creating the /boot/home/config/settings/glib-2.0/settings/ dir to see if that helps with the fisrt error?
<OscarL> notice the weird settings/../settings on that path too.
<Anarchos> OscarL this path exists : /boot/home/config/settings/glib-2.0/settings
<Anarchos> OscarL maybe it is an old attempt to compile glib-2.0 myself (dir glib-2.0 dated back to 13 october 2022)
<OscarL> heh.
<OscarL> maybe check its permissions?
<OscarL> or remove it and try again, I'd say.
<PulkoMandy> "file monitor" sounds like it doesn't know how to use haiku node monitor as an alternative to linux inotify
<PulkoMandy> I don't know about the second one, what's a "default include path"? is it trying to modify BEINCLUDES or some similar variable from Linux?
<Anarchos> PulkoMandy same error with gtk3-demo which is supposed to work
* Anarchos is looking for people using gtk applications on haiku
<OscarL> mmm, why python3.pc comes from python3.8 on my system? Probably because ALL Python3.x packages include both a python3.x.pc and python3.pc file, and I just happened to install 3.8 last?
<Anarchos> OscarL i use PKG_CONFIG_PATH=/tmp xxxx and i put fake .pc files in /tmp.
<OscarL> That sounds dirty. /me likes :-P
* OscarL had no idea what a .pc file was before today :-D
<Anarchos> OscarL me neither, i find hell all those packages description files , everytime different grammar, tools, frameworks....
Blendie has quit [Quit: Connection closed for inactivity]
<OscarL> almost makes me with I could have my lovely Delphi back :-)... oh... simpler times! :-P
<OscarL> s/with/wish/
<Anarchos> don't we have delphi ported ?
Blendie has joined #haiku
<OscarL> Lazarus, the freepascal alternative to Delphi, yes. But it is a monster compared to the lean Delphi of my youth :-D
* OscarL gets grumpy while trying to find a half-remebered comment on gerrit :-(
<Anarchos> OscarL i used turbo pascal borland in 1992 :)
<OscarL> nice!
floof58 is now known as Guest11945
floof58 has joined #haiku
<OscarL> I barely touched 5.5 once or twice... started with Delphi 1 in 1996.
<OscarL> Gotta love the speed of that 1-pass compilers! (specially on my slow Am386-SX and then also slow 486 with only 4 MB of RAM :-D
<Anarchos> PulkoMandy can you test gtk3-demo ?
Guest11945 has quit [Ping timeout: 480 seconds]
<PulkoMandy> I don't have any gtk things installed and I don't really plan to
<Anarchos> PulkoMandy ok.
<Anarchos> PulkoMandy i can understand. Overbloated to use another graphical framework on top of haiku api....
<Anarchos> PulkoMandy what are you up to these days on haiku ?
<PulkoMandy> Always the same things, trying to get webkit2 running again, and some work on the Renga xmpp client
<Anarchos> PulkoMandy \o/
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
gouchi has joined #haiku
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
xet7 has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Kokito has joined #haiku
Kokito has quit [Quit: Vision[]: i've been blurred!]
<PulkoMandy> It's not very fun work for now… rebuilding webkit again and again and trying to get webkit2 back to where it was in 2019 when we had it showing a webpage, but lots of things to cleanup and rewrite :/
<OscarL> Wish I could offer something more than a simple: thanks for your work, PulkoMandy! (specially when things are not particularly fun :-D)
<PulkoMandy> Well you already offer your help on other things that I don't have to take care for myself, so thank you as well :)
<OscarL> :-D
<OscarL> Aha! found it. it is not the pkg-config file the one we need to alter, but a Makefile under /system/lib/python3.9/config-3.9/
<OscarL> Or maybe not? Darn! I just forced vim build to look elsewhere "--with-python3-config-dir=/non-existen-dir", and it built just the same :-/... lets see what it does at runtime...
eroux has joined #haiku
<botifico-c849d97b> [haikuports/haikuports] korli pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/1e4e4aa7b928...749fd9a1c834
<botifico-c849d97b> [haikuports/haikuports] korli 749fd9a - coreutils: bump version
<OscarL> Cool, it can't load python. Progress! Now let's see if I can make it work with a fake "python3.9/config-3.9/Makefile" file.
mmu_man has joined #haiku
<botifico-c849d97b> [haikuports/haikuports] korli pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/749fd9a1c834...ae391ef0abc5
<botifico-c849d97b> [haikuports/haikuports] korli ae391ef - coreutils: disabled 2038 support requirement for x86
Anarchos has joined #haiku
begas_ has joined #haiku
<trungnt2910[m]> What's the "correct" way to disable `net_server` on Haiku?
<trungnt2910[m]> Or, in general, prevent launch_daemon from restarting a dead daemon?
<Diver> using launch_roster
<trungnt2910[m]> Ahhh nice!
B2IA has quit [Remote host closed the connection]
B2IA has joined #haiku
Begasus_32 has joined #haiku
<begas_> re
<trungnt2910[m]> Doesn't seem to work for other servers. What I used is to create a file in /boot/system/non-packaged/settings/launch.
begas_ is now known as Begasus
Begas_VM has joined #haiku
gouchi has quit [Remote host closed the connection]
erysdren has quit [Quit: Konversation terminated!]
erysdren has joined #haiku
<OscarL> Mmm, after lots of head scratching... (being dumb doesn't helps)... could it be that vim using "--enable-python-interp=yes" statically links to, say, libpython3.9.a, and THAT is where the "hard-coded" sys.path actually comes from?
<OscarL> using "--enable-python-interp=dynamic" on vim 9.0 results in binaries almost 3 MB smaller than 8.2 built with "--enable-python-interp=yes".
<PulkoMandy> Sounds like a good idea to use dynamic, then? :)
<OscarL> heh, seems so. Man... how I wish I was smarter. Trying to figure things out by trial-and-error gives me head-aches :-D
* OscarL reverts all the hacks, and tries building vim 9.0 with "yes", to see what the build log looks like.
<OscarL> mmm "checking if -fPIE can be added for Python3... yes" aren't we supposed to not use -fPIE, or am I misremembering things?
<x512[m]> -fPIE should really be disabled in Haiku GCC patchset.
<x512[m]> -fPIE is not compatible with Haiku and produce semi-broken executables.
<OscarL> wonder if that explains the seg-fault we're seeing with gvim :-/
nosycat has joined #haiku
<x512[m]> Yes, -fPIE may cause cryptic crashes.
<OscarL> this recipes builds vim and gvim separately. Just to see what's what, I set --enable-python-interp=yes for the first, and --enable-python-interp=dynamic for the latter. That -fPIE message only got written for the first case (that seems to statically link libpython3.9.a, judging by the size difference).
<OscarL> (wonder why we don't simply have one vim and gvim as "vim -g" wrapper)
<PulkoMandy> Because gvim starts a BApplication (even when run in Terminal mode) and we don't want that in the Terminal version, I think
<PulkoMandy> Otqerwise when you start vim it is visible in DeskBar
<PulkoMandy> No one had time to look into a way to do this more cleanly in a single executable
<Begasus> giving up on gri for now ... still no luck with the texlive part ...
<OscarL> thanks for the explanation PulkoMandy :-)
<OscarL> welp, confirmed. configure.ac only adds -fPIE when static linking.
B2IA has quit [Ping timeout: 480 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
mishima has joined #haiku
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-2/±1] https://github.com/haikuports/haikuports/compare/ae391ef0abc5...460e9c8b10e3
<botifico-c849d97b> [haikuports/haikuports] Begasus 460e9c8 - dtc, remove static library, cleanup (#8491)
* OscarL alternates looks at Python's libpython3.x.a and at Begasus
<Begasus> didn't touch anything there :P
B2IA has joined #haiku
<OscarL> precisely :-P
<OscarL> wondering if we should get rid of those too.
<trungnt2910[m]> <x512[m]> "-fPIE should really be disabled..." <- Can we make that a no-op?
<OscarL> Begasus: didn't even noticed them as they are "hidden" under /system/lib/python3.x/config3.x/
<Begas_VM> OscarL I don't have the static ones installed here?
<OscarL> Begasus: maybe in the _devel packages?
<Begas_VM> ah, hence they don't conflict
<OscarL> nop. from python3.9_x86-3.9.16-...
<Begas_VM> that's one for waddlesplash
<OscarL> *python3.9_x86-3.9.16-1-x86_gcc2.hpkg
<Begas_VM> yeah, found it
<OscarL> what DO overlap is that all of them include the python3.pc file :-D
<Begas_VM> the "default" library is installed in lib/x86 here
bbjimmy has joined #haiku
<Begas_VM> yeah saw that earlier
<Begas_VM> problematic :/
<OscarL> I guess only the "default" version should do that, right? (include the python3.pc, I mean)
<OscarL> at build time doesn't causes issues, because you don't normally "require" two python versions, I guess.
<Begas_VM> jikes, mine is still from python3.7
<OscarL> mine is the one from 3.8. I think the installation order matters?
<Begas_VM> ideal would be if those were in a devel package and one could add a conflict then
<OscarL> good thing we have experts on that area! :wink: :wink:
* Begas_VM whistels ...
<OscarL> :-D
<Begas_VM> you are doing the python stuff :P (not done here yet with the static ones) ;)
<PulkoMandy> trungnt2910[m]: it's our compiler, we can do whatever we want. Just need someone to write the patch :)
<Begas_VM> bugger ... findutils (python2.7)
<trungnt2910[m]> PulkoMandy: I might look at that tomorrow, since I'm also bugged by a project that uses -fPIE.
<OscarL> https://github.com/haikuports/haikuports/pull/8493 <<< vim update to 9.0.1479. Seems straight forward enough.
<x512[m]> trungnt2910: There are 2 versions of Haiku GCC: Buildtools (https://git.haiku-os.org/buildtools/) and HaikuPorts patchset (https://github.com/haikuports/haikuports/blob/master/sys-devel/gcc/patches/gcc-11.2.0_2021_07_28.patchset).
<trungnt2910[m]> x512[m]: I'm aware of that as I've made a GCC patch myself last year.
<Begas_VM> works ok OscarL (vim)?
<OscarL> as far as I can tell... yes.
<OscarL> "regular" vim (non-gui) even works with YouCompleteMe, so...
<Begasus> good to merge then? how about the one for YCM?
<Begasus> don't think anyone build findutils for gcc2 (parse errors)
<OscarL> guess I'll just try to build the latest YouCompleteMe version. If they all crash gvim... at least make it crash with the newer one :-P
<trungnt2910[m]> app_server seems to use up a lot of CPU even when not connected to any screens...
<Begasus> or never marked it as broken :P
<OscarL> and retire the old ones! :wink: :wink:
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-3/±0] https://github.com/haikuports/haikuports/compare/460e9c8b10e3...c777902a529f
<botifico-c849d97b> [haikuports/haikuports] OscarL c777902 - youcompleteme: retire old recipe versions. (#8485)
<OscarL> heh
mishima has quit [Ping timeout: 480 seconds]
<Begasus> ;)
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+1/-2/±0] https://github.com/haikuports/haikuports/compare/c777902a529f...9be1ee8369cd
<botifico-c849d97b> [haikuports/haikuports] OscarL 9be1ee8 - vim: update to version 9.0.1479 (#8493)
<Begasus> do the commands from findutils even work (for now only available for 64bit)?
<OscarL> From yesterday: "11:00 <bitigchi[m]> It would be nice if someone could bump the vim version as well.[...]". happy now bitigchi[m]? :-P
<Begasus> ;)
<OscarL> I have findutils installed in my 32 bits install...
<OscarL> running updatedb now.
<OscarL> Begasus: doesn't that package also includes xargs and find? I use both everyday with "inrecipe"
BZK[m] has quit [Quit: Client limit exceeded: 20000]
mishima has joined #haiku
<Begasus> yeah OscarL
<x512[m]> trungnt2910: Stack trace?
<Begasus> lol, latest build used alpha4 :P
<OscarL> Begasus: seems 4.6 was used for gcc2
<Begasus> 4.6.0 still works
<Begasus> yep
<OscarL> time to move them to x86 and put them under /bin without suffix, I guess?
<Begasus> looks like I didn't apply my changes for gcc2 from 4.6.0 to 4.9.0 ^^
<OscarL> I really doubt we need them compiled by gcc2.
<Begasus> hence me thinking if it would be worth the effort ;)
<Begasus> might as well switch to gcc11 there
<OscarL> indeed.
Diver has quit [Read error: Connection reset by peer]
<Begasus> and see if a new version is upstream
<OscarL> might get even a speed-up from the newer compiler, if we're lucky.
<OscarL> kool. both builds of vim went ok. pheew! :-D
<Begasus> +1
vdamewood has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
Diver has joined #haiku
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
<OscarL> Question. As YouCompleteMe install itself under data/vim/vimXX/, I guess it should require exactly vimXX. How we do that in the recipes? can we specify cmd:vim >= 9.0 and <9.1 at the same time?
<PulkoMandy> You can use == for an exact match, I think?
<OscarL> tried that, but the vim recipe provides 9.0.xxxx
<OscarL> (well, I tried with 8.2 yesterday)
mishima has joined #haiku
<PulkoMandy> For the cmd entries, you can edit that in the recipe for vim if needed
<PulkoMandy> Either put a = 9.0 there, or = $portVersion compat 9.0 or something like that (I don't remember the exact syntax for compat)
<OscarL> Understood. Thanks!
mishima has quit [Ping timeout: 480 seconds]
AlaskanEmily has joined #haiku
<OscarL> adding "cmd:vim >=9.0" and "cmd:vim < 9.1" on separate lines seems to work too.
humdinger has joined #haiku
<OscarL> (HaikuDepot correctly installed vim 9.0 from the repos)
mishima has joined #haiku
<Begas_VM> 'lo humdinger :)
<Begas_VM> OscarL, maybe because there isn't any other version for vim atm? ;)
<OscarL> with my luck... surely that's the case :-D
<Begas_VM> :P
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
pvalue has joined #haiku
dqk_ has quit [Ping timeout: 480 seconds]
erysdren has quit [Quit: Konversation terminated!]
mishima has quit [Ping timeout: 480 seconds]
<Begas_VM> test case for findutils-4.6.0 even fails with parse errors, time to nuke it I think ;)
<Begas_VM> jikes, libtools seems to depend on it ...
<humdinger> a late hi there
<OscarL> hola humdinger :-)
mishima has joined #haiku
<OscarL> Begas_VM: only via cmd:find and cmd:xargs, right?
<Begas_VM> yes
<Begas_VM> no versioning there
<Begas_VM> so "should" be OK
<Begas_VM> but I can't install the _x86 one I guess with the gcc2 one still being in use?
<Begas_VM> both provides are the same
<Begas_VM> seems I can ;)
<Begas_VM> well, first install the new one, then uninstall the old one
<OscarL> might want to add a REPLACES? (would that make sense?)
<Begasus> hunting for a recipe that uses cmd:libtool without the suffix
<Begasus> if things work out there won't be a need for the older one and I'll remove that recipe then
<OscarL> k.
<Begasus> allthough REPLACES could be used too
<OscarL> Woot, got an out of memory compiliing the newer YouCompleteMe of all things! First time.
<OscarL> "virtual memory exausted: Out of memory".
randomuser86 has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
<OscarL> mmm Web+ was in the background idling and using too much of one of my cores too.
<OscarL> might need to reboot.
_Dario_ has joined #haiku
<humdinger> PSA: You can help adding/updating translations for the next releases of
<humdinger> Thanks!
* humdinger waves
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
<OscarL> nice, seems like we can use -DUSE_SYSTEM_LIBCLANG=1 instead of patching ycmd/utils.py
pvalue has quit [Quit: Vision[]: i've been blurred!]
mishima has joined #haiku
<Begasus> if you added "-L" from the start to the cmake command you probably found out earlier? ;)
<OscarL> I did that... that's how I found out :-P Blame PulkoMandy, not me! :-P
<Begasus> lol
<OscarL> I had that define commented out, while I was trying the rest of things... too many moving parts... now that vim and older YCM recipes got sorted out... managed to try that.
gouchi has joined #haiku
<OscarL> now it gives some weird errors :-D (/me quietly test back with PulkoMandy patches :-P)
mishima has quit [Ping timeout: 480 seconds]
gouchi has quit [Remote host closed the connection]
Anarchos has joined #haiku
<Anarchos> how to build a debuginfo package with haikuporter (or hp) ?
<OscarL> Weird placement of " there :D (I would use only one line for that, as you're unlikely to add or comment out lines in a REPLACES)
<Begasus> it's how it's done for PROVIDES etc :)
<Begasus> Anarchos, first see if you can strip debug information from the file(s)
<Begasus> readelf -S filename | grep debug
<OscarL> defineDebugInfo packageName $appDir/appName
<OscarL> *defineDebugInfoPackage
<Anarchos> if i do hp libxkbcommon_debuginfo, i got : Error: libxkbcommon_debuginfo not found in repository
<Begasus> you don't specify it from the cli
<Begasus> you add it in the recipe :)
<Anarchos> but this package exists in haikuports
mishima has joined #haiku
<Anarchos> i jsut want to build it myself
<OscarL> Begasus: re: ".... right, makes sense for "list of things", not so much for single-items :-)
<Begasus_32> pkgman install libxcb_x86_debuginfo
<Begasus> no need to build
<OscarL> that will install it. if Anarchos wants to build it... just "hp libxkbcommon" should produce both, right?
<Anarchos> Begasus i thought so, but when i am in Debugger, i have gray bullets on wrong lines for breakpoint positions
<Begasus> hmm ... there is no debug package for xkbcommon Anarchos ?
<Begasus> right OscarL
* Anarchos is idle: BRB
erysdren has joined #haiku
<Begasus> atleast not the debug package :)
<OscarL> if he wants more debug output... he will need to change buildtype=release to debug.
<OscarL> s/more debug output/better debug info/
<Begasus> meson build --buildtype=release \
<Begasus> already set
<OscarL> that's right, and Anarchos might want to change that for his use with Debugger
<OscarL> lol, so much for that -DUSE_SYSTEM_LIBCLANG=1. applying PulkoMandy's patches still required :-D
<OscarL> grrr, gvim was slow to start... gave me hopes for a split second... then it crashed :-D
<PulkoMandy> Yes I think the option was there when I wrote the patch, but it was broken and youcompleteme devs have no interest in fixing it
<PulkoMandy> (because they don't want to support and test all libclang versions)
<OscarL> will leave it with a comment in the recipe, so the next one touching it doesn't trips on it :-)
mishima has quit [Ping timeout: 480 seconds]
<Begasus> REPLACES working fine :)
<Begasus> bbl
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
smalltalkman has quit []
orealis has quit [Read error: Connection reset by peer]
mishima has quit [Ping timeout: 480 seconds]
orealis has joined #haiku
HaikuUser has joined #haiku
HaikuUser is now known as dek20
dek20 is now known as d20
d20 has quit []
mishima has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
HaikuUser has joined #haiku
HaikuUser has quit []
HaikuUser has joined #haiku
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has quit []
<Begasus> done for today, cu peeps!
Begasus has quit [Quit: Leaving]
HaikuUser has joined #haiku
HaikuUser has quit []
maru-makao has joined #haiku
maru-makao has quit []
maru-makao has joined #haiku
maru-makao has quit [Quit: Vision[]: i've been blurred!]
vdamewood has quit [Remote host closed the connection]
vdamewood has joined #haiku
diver1 has joined #haiku
Diver is now known as Guest11972
diver1 is now known as Diver
nosycat has quit [Quit: Leaving]
Guest11972 has quit [Ping timeout: 480 seconds]
* Anarchos has returned
CPYou has joined #haiku
* Habbie migrates his haiku install to the beefy intel box
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<zdykstra> Beeeeefy
<Habbie> well, relatively
<Habbie> i3-7
<Habbie> coming from a 2013 AMD GX running with 1 core
ClaudioM has joined #haiku
<Habbie> this migration is a success if i can build my port
<Habbie> (and install and run it)
<Habbie> works
mishima has quit [Ping timeout: 480 seconds]
dqk has joined #haiku
<zdykstra> Nice.
gouchi has joined #haiku
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
kescher has quit [Quit: Bye]
kescher has joined #haiku
diver1 has joined #haiku
Diver is now known as Guest11976
diver1 is now known as Diver
mishima has quit [Ping timeout: 480 seconds]
Guest11976 has quit [Ping timeout: 480 seconds]
ClaudioM has quit [Quit: leaving]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
BrunoSpr has joined #haiku
BrunoSpr has quit []
mishima has joined #haiku
<botifico-c849d97b> [haikuports/haikuports] korli pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/9be1ee8369cd...15c66cd7270b
<botifico-c849d97b> [haikuports/haikuports] korli 15c66cd - libxml2: bump version
<Habbie> CFLAGS_STD = -std=c99 -D_POSIX_C_SOURCE=200809L -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -DNDEBUG -D_FORTIFY_SOURCE=2
<Habbie> CFLAGS_CURSES = -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=199506L -I/packages/ncurses6-6.3-2/.self/develop/headers
<Habbie> fun
<Habbie> (_POSIX_C_SOURCE redefined, the compiler said)
AD_Anime2 has quit [Read error: Connection reset by peer]
<Habbie> but i'm not sure this is mine to fix in this PR
HaikuUser has joined #haiku
HaikuUser has quit []
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
mishima has quit [Remote host closed the connection]
mishima has joined #haiku
<OscarL> Just *great*... another wild Python packaging tool appears: https://github.com/mitsuhiko/rye
<OscarL> :-/
<Ellenor> Damn.
Anarchos has joined #haiku
<Anarchos> hello
<OscarL> wish we could just do with https://peps.python.org/pep-0582/, but seems to not have enough traction.
* OscarL dislikes virtualenvs.
<OscarL> Hi there Anarchos. You caught me rambling... my usual state :P
<OscarL> crap! Status Rejected on PEP582 :-(
mishima has quit [Ping timeout: 480 seconds]
<Anarchos> OscarL rambling ?
<OscarL> ranting? My English is as bad as my code.
<Anarchos> OscarL me too, my mothertongue is french
<OscarL> Argentine Spanish here :-)... Salut!
<Anarchos> OscarL i took german lessons in high school so no spanish neither :)
<OscarL> I forgot the little French I got too, so... we better stick to broken English :-D
tuaris has joined #haiku
mishima has joined #haiku
CPYou has quit [Ping timeout: 480 seconds]
tuaris has quit []
xet7 has joined #haiku
<Anarchos> OscarL i am still fighting with debugger to get my breakpoints aligned with source code
<OscarL> tried changing the releasetype on the recipes already?
tuaris has joined #haiku
<OscarL> (my debugging skills are printf(), and... just that :-P)
<OscarL> But I remember using Delphi's debugger a lot... It felt easier to use somehow. Oh well.
mishima has quit [Ping timeout: 480 seconds]
<Anarchos> OscarL no but i stick to 'pkgman install' to get hte lib
xet7 has quit [Quit: Leaving]
<OscarL> then it most likely won't match perfectly (due to less debug info and optimizations applied that might remove lines/calls)
<OscarL> the usual tradeoff, I guess :-/
HaikuUser has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser2 has quit []
HaikuUser has quit []
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
Diver has quit [Quit: Leaving.]
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
<andreasdr[m]> Hi there
<andreasdr[m]> How is it going
<OscarL> hello andreasdr[m]. Getting sleepy already, so... not doing much :-D
mishima has joined #haiku
gouchi has quit [Remote host closed the connection]
<OscarL> now rains over my tin roof... won't last long awake I think :D
xet7 has joined #haiku
<Anarchos> i got it !!!
<OscarL> better debug or managed to squash the bug already Anarchos?
mishima has quit [Ping timeout: 480 seconds]
<Habbie> love rain
<Anarchos> OscarL i added blank lines to make the bullet on the right lines, then manage to debug : the xkb conf files were in /boot/sustem/data/... but libxkbcommon expects them in ~/config/settings/xkb/
<Anarchos> OscarL what is fun is i tricked the gtk<->ocaml layer to use our gtksourceview-4.8.4 as if it was a 3.0 version
<OscarL> nice.
randomuser86 has quit [Remote host closed the connection]
<OscarL> Anarchos: another handy tool, if you know what to look for, is "strace".
<Anarchos> OscarL i know it, but i wanted to debug to understand what was happening
<OscarL> Understood.
<Anarchos> where can i post the screenshort from web+ ? imgur seems not really usable on web+
<OscarL> I always forget the one Begasus uses for images.
<OscarL> (and today I couldn't even remember "https://bpa.st/" for text pastes :-P)
mishima has joined #haiku
<OscarL> Progress!!! Congrats Anarchos :-)
<trungnt2910[m]> <x512[m]> "trungnt2910: Stack trace?" <- Never mind, it came into an infinite loop (the one that tries to open `/dev/graphics` before I sent the patch to Haiku).
<trungnt2910[m]> Haven't done a full-sync for quite a while.
<Anarchos> OscarL not sure it will interest some users... though i am proud to be the first in world to run texlive, and now coq, on Haiku !
<andreasdr[m]> Me loves rain too
<andreasdr[m]> Whats CoqIDE?
<OscarL> Heh, I was really proud to be the first Haiku user to use an FM card on Haiku... back when we didn't even had app_server :-D
<andreasdr[m]> :P
<OscarL> (booted straight to consoled)
<andreasdr[m]> Crazy
<OscarL> 20 years later... still no TV picture :-/ /me sucks.
mishima has quit [Ping timeout: 480 seconds]
<Anarchos> andreasdr[m] the GUI for coq
<andreasdr[m]> Ok. Need a info session regarding coq
<OscarL> Le Coq Sportif? :-P
<andreasdr[m]> OscarL <3
<OscarL> andreasdr[m]: "Sorry that my email-adress didn't worked for so long." ahhh I remember those times :-D
<trungnt2910[m]> <x512[m]> "trungnt2910: Stack trace?" <- Can't really get a readable stack trace on HyClone, while `strace` says that it is trying to read from a certain invalid port.
<OscarL> SHS sounds insteresting andreasdr[m]! (even if I can't play even the triangle without going out of tune).
<OscarL> but me likes basslines :-)
<andreasdr[m]> I can also not play a triangle
<andreasdr[m]> :)
<andreasdr[m]> coq looks super complicated, one could thing even, sophisticated.
<andreasdr[m]> Just had a first look
<andreasdr[m]> Thank you
<x512[m]> trungnt2910: What is thread name?
<OscarL> Watched the video... really cool andreasdr[m]! :-)
<andreasdr[m]> Thank you. Not cooler than a video capture card driver Sir.
<andreasdr[m]> :)
<trungnt2910[m]> x512[m]: > DMT is here for you, eventually 8595 run 0 0 0
mishima has joined #haiku
<OscarL> "FM player" I would call it, considering the sad state of that driver :-P
<Anarchos> andreasdr[m] it is a formal proof assistant.
<andreasdr[m]> Oh. Cool anarchos.
<andreasdr[m]> Maybe I really need to check that.
<Anarchos> andreasdr[m] every serious programming language research uses it nowadays (or lean or agda, or HOL, but same concepts : you write theorems that the proof assistant verify, and can help you filling the gaps)
<andreasdr[m]> Coool. I will check.
<Anarchos> andreasdr[m] try on windows or linux, my port is really a proof of concept not usable at all by someone else than me :)
<andreasdr[m]> Arrrr. I can wait.
<andreasdr[m]> I have time
<Anarchos> andreasdr[m] anyway it will be a good post to write to explain what i did...
* Anarchos keeps the idea to write a blog post.... maybe.... one day....
<andreasdr[m]> Anarchos: Nice
<andreasdr[m]> Just do it!
<andreasdr[m]> I also need stilll to write a blog post about using C++/C in Haxe Projects. Had it on my list for quite some time.
mishima has quit [Ping timeout: 480 seconds]
<Anarchos> andreasdr[m] yes but the switch in blog posts on haiku-os to be pull requests on the website git repo makes it hard for me to just sit in a café and write my blog post :)
<andreasdr[m]> Hmm
<OscarL> .md + md4c to preview it?
<Anarchos> OscarL what is md4c ?
<OscarL> a markdown to html tool
<OscarL> "pkgman install md4c", but surely there are plenty more to choose from.
<Anarchos> OscarL i even rely on toolbox with icons to write md, i do'nt know the shortcuts by head to go bold, italic, lists and so on :)
<OscarL> ah, ok.
<Anarchos> OscarL i fear my memory is already full of all those programming language grammars i had to learn at work and for years ....
<OscarL> understandable :-) Not sure if we have a GUI tool for markdown files already.
<Anarchos> (java sql xml css sql angular node, just to name a few at work)
<OscarL> darn... the blockout2 PR from eblanca fails to apply the patchsets :-/
<Anarchos> OscarL to avoid learning LaTeX , i solved all bugs i could on BeTeX, still must do the pull request for this one too
<OscarL> to avoid learning LaTex... I "ported" Basser Lout around 2005/6 IIRC :-D
<andreasdr[m]> I started to implement a md viewer in our engine tdme2. Arent there lots of tools already to display md files?
<andreasdr[m]> Also in Haiku?
<andreasdr[m]> Or is there any need?
<OscarL> ended up spending more time adding support for it to Pe, LOL.
<andreasdr[m]> Oh, pe can view md files?
<OscarL> (I think only one ever used lout in Haiku :-D)
<Anarchos> andreasdr[m] vim can :)
<andreasdr[m]> Nice
mishima has joined #haiku
<OscarL> andreasdr[m]: it can...as any other file, don't think it has syntax highlighting for them, thou.
<OscarL> *other text file
<andreasdr[m]> Ok I see
<andreasdr[m]> I meant a md parser and display tool so in terms of WYSIWYG
<OscarL> unlike Basser Lout... that has syntax coloring :-) hehe
<Anarchos> andreasdr[m] it reminds me i should add a monitoring in BePDF to reload automatically when a pdf is regenerated (by pdflatex for example)
<OscarL> maybe "retext"?
<OscarL> not sure we have any real wysiwig.
<OscarL> (for .md)
<andreasdr[m]> Anarchos: This could be reallly handy
AlienSoldier has joined #haiku
<OscarL> that's available from pkgman.
<andreasdr[m]> Nice!!!!!!!!!
<trungnt2910[m]> x512[m]: Yeah, I'm also reading there. What matters now is where `fPort` comes from though.
<trungnt2910[m]> Seems like fPort is created by the DelayedMessageSender itself. Probably some HyClone bug again.
<x512[m]> s/L740/L670/
<Anarchos> andreasdr[m] next item on my todo list is to have my own blog website , served by poorman
<andreasdr[m]> Very good!
mishima has quit [Ping timeout: 480 seconds]
<trungnt2910[m]> trungnt2910[m]: Actually it's not. `0xffffffff80000009` is `B_TIMED_OUT` which is actually correct.
<trungnt2910[m]> So app_server does really eat up a lot of resources by looping a read_port_etc.
<trungnt2910[m]> I'll probably add something to build_hprefix.sh to disable app_server by default.
<OscarL> whatever it was.... now blockout2 build worked. Oh... sweet memories! Looks fantastic :-D
<andreasdr[m]> <3
<x512[m]> trungnt2910: Do `system_time()` return correct values?
OscarL has quit [Remote host closed the connection]
OscarL has joined #haiku
mishima has joined #haiku
<trungnt2910[m]> I hope this should be correct for a picture taken a few seconds ago?
<trungnt2910[m]> I read CLOCK_MONOTONIC and then translated that to a bigtime_t.
spa has quit [Quit: Help.]
<x512[m]> Is read_port_etc timeout handling correct?
spa has joined #haiku
<trungnt2910[m]> It should be, everything is handled on hyclone_server using a C++ condvar.\
<trungnt2910[m]> At least I followed the specification here:
<x512[m]> It seems some very bit value is set as timeout. Maybe some kind of integer overflow occur?
<x512[m]> s/bit/big/
<AlienSoldier> OscarL blockout port, nice. played a lot of this on my amiga... my mother would love to test that one :)
<OscarL> looks almost the same as the DOS version :-)
<trungnt2910[m]> x512[m]: That's what I'm also thinking of. Probably `B_INFINITE_TIMEOUT - <some small value>` might overflow when translated to a Linux struct, like once with the sockets.
mishima has quit [Ping timeout: 480 seconds]
* OscarL runs "> inrecipe "cmd:python$" | wc -l" and weeps at the final: 136
<trungnt2910[m]> <x512[m]> "It seems some very bit value..." <- Yeah, when I did that in a test program with `B_INFINITE_TIMEOUT - 2`, it timeouted nearly instantly.
<trungnt2910[m]> So disappointed by the C++ library.
<trungnt2910[m]> I mean, std::chrono::microseconds is meant to be portable.
<x512[m]> Of maybe WSL1 is broken.
<x512[m]> s/Of/Or/
<x512[m]> Do host strace work?
mishima has joined #haiku
<trungnt2910[m]> It does work well but straceing hyclone_server is a mess.
<trungnt2910[m]> [pid 31009] futex(0x7f42cc003428, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=0, tv_nsec=1212200}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out)
<x512[m]> > {tv_sec=0, tv_nsec=1212200}
<x512[m]> Seems wrong.
<AlienSoldier> this one need to be updated http://mgba.io/ we are oneish version behind
<x512[m]> It should be possible to strace simple C++ that wait for std::chrono::microseconds value.
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
<trungnt2910[m]> Seems like Linux C++ library stores everything in nanoseconds and multiplies the B_INFINITE_TIMEOUT-like value by 1000, which causes overflow.
Anarchos has quit [Quit: Vision[]: i've been blurred!]
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]