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
nintendo1889 has joined #haiku
<nekobot> [haiku/haiku] waddlesplash pushed 2 commits to master [hrev56799] - https://git.haiku-os.org/haiku/log/?qt=range&q=9ed77019b6d9+%5E0ecd7516de73
<nekobot> [haiku/haiku] bc35a6e445b5 - kernel/vm: Prohibit offset from being < 0 in mmap.
<nekobot> [haiku/haiku] 9ed77019b6d9 - tests: Add mmap_cut_tests.
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56800] - https://git.haiku-os.org/haiku/log/?qt=range&q=b7cc4167b767+%5E9ed77019b6d9
<nekobot> [haiku/haiku] b7cc4167b767 - tests: Add missing Jam rule for mmap_cut_tests.
<Blendie> how do i change the wallpaper in haikuos?
<Blendie> :D
<waddlesplash> Backgrounds preferences
<zdykstra> or right-click on the desktop and go to Add-ons -> Backgrounds
<nekobot> [haiku/haiku] waddlesplash pushed 2 commits to master [hrev56801] - https://git.haiku-os.org/haiku/log/?qt=range&q=8a5fc3866a98+%5Eb7cc4167b767
<nekobot> [haiku/haiku] dd430c69f200 - idualwifi7260 & iaxwifi200: Synchronize with OpenBSD.
<nekobot> [haiku/haiku] 8a5fc3866a98 - openbsd_wlan: Synchronize net80211 with OpenBSD.
<Blendie> i'm learning how to use haikuports
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56802] - https://git.haiku-os.org/haiku/log/?qt=range&q=4f3a8009e1cf+%5E8a5fc3866a98
<nekobot> [haiku/haiku] 4f3a8009e1cf - debug_server: Make crash prompt appear above all other windows.
vdamewood has quit [Quit: Life beckons.]
mmu_man has quit [Ping timeout: 480 seconds]
<accessays> How can I rebuild and use CalendarView? It's located in kits/shared, and I want to update it for use in Deskbar
smalltalkman has joined #haiku
<waddlesplash> accessays: there may be reasons it isn't used in deskbar, read history
<waddlesplash> and, in-tree, you should already be able to use its headers in Deskbar, there's probably already a UsePrivateHeaders shared ; in the rules
<waddlesplash> and then link to libshared, but, I suspect deskbar already is also
<accessays> Deskbar does use CalendarView, I meant how to recompile the relevant kit and use it :) `jam -q libshared` doesn't work
<waddlesplash> you don't need to recompile the relevant kit
<waddlesplash> asking jam to compile Deskbar will rebuild CalendarView and libshared as necessary
<waddlesplash> you should see that happen if you just ask to build Deskbar and have edited CalendarView.cpp
<accessays> you're right, thanks!
nintendo1889 has quit [Quit: Connection closed for inactivity]
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56803] - https://git.haiku-os.org/haiku/log/?qt=range&q=338570d8d6cb+%5E4f3a8009e1cf
<nekobot> [haiku/haiku] 338570d8d6cb - debug_server: Remove duplicate setting of B_FLOATING_ALL_WINDOW_FEEL.
<zdykstra> comeon git clone, finish up so I can get movin'
<accessays> something weird with font rendering in CalendarView... font height (ascent + descent + leading) is quite a bit higher than the actual rendered height
<accessays> rendered height is closer to just ascent, but even ascent > rendered height
<waddlesplash> that may be something going wrong in app_server, or freetype
<accessays> how would I go about debugging something like this?
<waddlesplash> unfortunately, not easily
<waddlesplash> debugging app_server is usually done with test_app_server which runs inside a window
<waddlesplash> see src/tests/servers/app/NOTES
<accessays> doesn't build on Linux, I assume this only works from within Haiku?
<waddlesplash> yes
<waddlesplash> somewhere there's options for drawing font character bounding boxes for debugging, I think
<waddlesplash> this is all beyond me tho
<accessays> thanks for the pointers, I'll take a look
Blendie has quit [Quit: Connection closed for inactivity]
<waddlesplash> accessays: I think x512[m] has had success in debugging things with app_server
<waddlesplash> err. test_app_server
<waddlesplash> if that NOTES file is incomplete, he may know what else you need
kikadf has quit [Remote host closed the connection]
floof58 is now known as Guest6239
floof58 has joined #haiku
Guest6239 has quit [Ping timeout: 480 seconds]
pvalue has joined #haiku
pvalue has quit [Quit: Vision[]: i've been blurred!]
floof58 is now known as Guest6245
floof58 has joined #haiku
Guest6245 has quit [Ping timeout: 480 seconds]
talos has quit [Ping timeout: 480 seconds]
talos has joined #haiku
extrowerk has quit [Quit: Bye!]
extrowerk has joined #haiku
extrowerk has quit [Remote host closed the connection]
extrowerk has joined #haiku
extrowerk has quit [Quit: Bye!]
extrowerk has joined #haiku
extrowerk has quit []
extrowerk has joined #haiku
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
extrowerk has quit [Quit: Bye!]
freddietilley has joined #haiku
Aedil has joined #haiku
Aedil has quit []
extrowerk has joined #haiku
MajorBiscuit has joined #haiku
dqk has joined #haiku
dqk_ has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #haiku
floof58 is now known as Guest6265
floof58 has joined #haiku
Guest6265 has quit [Ping timeout: 480 seconds]
freddietilley has quit [Quit: WeeChat 3.8]
freddietilley has joined #haiku
<x512[m]> accessays: Build log will be needed first to know what is wrong.
AlaskanEmily has quit [Remote host closed the connection]
freddietilley has quit [Quit: WeeChat 3.8]
freddietilley has joined #haiku
printedz has left #haiku [Disconnected: Replaced by new connection]
printedz has joined #haiku
Major_Biscuit has joined #haiku
MajorBiscuit has quit [Ping timeout: 480 seconds]
freddietilley has quit [Quit: WeeChat 3.8]
freddietilley has joined #haiku
HaikuUser has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser has quit []
HaikuUser2 has quit []
hightower2 has quit [Ping timeout: 480 seconds]
freddietilley has quit [Quit: WeeChat 3.8]
<bitigchi[m]1> Getting “Forbidden” error while trying to log into Gerrit. What am I doing wrong?
<accessays> x512[m]: you mean to figure out incorrect rendering of fonts? how does a build log help in this case?
freddietilley has joined #haiku
<x512[m]> I mean problem with building test_app_server.
extrowerk has quit [Read error: Connection reset by peer]
Yonle has quit [Quit: See you later.]
freddietilley has quit [Quit: WeeChat 3.8]
Yonle has joined #haiku
<accessays> x512[m]: oh, that. I don't think I need logs -- it just says "Unsupported target platform: linux" :)
freddietilley has joined #haiku
<waddlesplash> bitigchi[m]1: does it happen after a reload, or clear cookies? I got a weird error myself when trying to sign in but then the second time it worked
<waddlesplash> yesterday that is
dpirate_ has joined #haiku
dpirate has quit [Remote host closed the connection]
Guest3902 has quit [Ping timeout: 480 seconds]
xet7 has joined #haiku
probono96 has joined #haiku
probono9 has quit [Read error: Connection reset by peer]
probono96 is now known as probono9
samis has joined #haiku
hightower2 has joined #haiku
probono9 has quit [Read error: Connection reset by peer]
probono9 has joined #haiku
CompanionCube has quit [Ping timeout: 480 seconds]
<bitigchi[m]1> waddlesplash: To my knowledge no. The only difference I can think of is I tried logging in after a very long time
<bitigchi[m]1> Like 5-6 months
<bitigchi[m]1> Tried with Haiku and macOS
MajorBiscuit has joined #haiku
ClaudioM has joined #haiku
HaikuUser has joined #haiku
valerius_ has joined #haiku
Major_Biscuit has quit [Ping timeout: 480 seconds]
HaikuUser has left #haiku [#haiku]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
Major_Biscuit has joined #haiku
orealis has quit [Read error: Connection reset by peer]
MajorBiscuit has quit [Ping timeout: 480 seconds]
orealis has joined #haiku
mmu_man has joined #haiku
<waddlesplash> bitigchi[m]1: strange
<waddlesplash> open a ticket I suppose
<accessays> running "pkgman update" I get "Refreshing repository "Haiku" failed 0%: Operation not supported" and "Refreshing repository "HaikuPorts" failed 0%: Operation not supported"
<accessays> I'm using a custom-built haiku.hpkg, I'm assuming that's somehow the cause
<waddlesplash> yes
<waddlesplash> the problem is that the default build profile has no openssl
<waddlesplash> so, use a profile when building the image to solve this
<waddlesplash> @minimum-raw is one, but this contains very little (less apps, no wifi drivers, no media kit etc.)
<waddlesplash> @nightly-raw is the one used for nightlies and has everything
<accessays> on the same system, running ./configure in Haiku repo says gcc cannot produce executables
<waddlesplash> just add it to the beginning of the build targets: jam -q -jN @profile haiku.hpkg
<accessays> I'm assuming same reason?
<waddlesplash> accessays: no, that's likely due to missing devel packages
<waddlesplash> or maybe some other missing tool
<accessays> it just says "checking whether the C compiler works... no"
<accessays> not that it's missing some headers
<waddlesplash> but missing devel package is the most likely cause
<waddlesplash> if you just installed haiku.hpkg it probably told you it was removing the devel package
<accessays> that was yesterday, but sounds familiar
<waddlesplash> so, build the devel package at the same time, and install it at once
<waddlesplash> or just don't rerun configure
<waddlesplash> you don't need to run it every time
<waddlesplash> and you don't need to rerun it when changing profiles
<accessays> I started by building from my Linux host, and now I'm moving to building from Haiku to get test_app_server
<accessays> that's why ./configure
<waddlesplash> ah
dpirate_ has quit [Remote host closed the connection]
<waddlesplash> note that on x64 you need the cross tools, in order to build the bootloaders, so you will get an error if you try to build the full haiku.hpkg without the cross tools
<waddlesplash> just testappserver doesn't need the cross tools
<waddlesplash> so you can configure and build it without them
dpirate has joined #haiku
<accessays> how do I build the devel package? I'm assuming its another target in jam; on that topic, is there an easy way for me to see all jam targets?
printedz has left #haiku [Disconnected: Replaced by new connection]
printedz has joined #haiku
floof58 is now known as Guest6296
floof58 has joined #haiku
<accessays> btw, building cross-compile tools seems to be... single-threaded? is there a way to make it use all cores?
xet7 has quit [Quit: Leaving]
Guest6296 has quit [Ping timeout: 480 seconds]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
<accessays> yes there is, just passing -jn to ./configure seems to work. this should probably be added to the compilation guide
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
Major_Biscuit has quit [Ping timeout: 480 seconds]
nosycat has joined #haiku
Major_Biscuit has joined #haiku
linuxmaster has quit [Ping timeout: 480 seconds]
linuxmaster has joined #haiku
kikadf has joined #haiku
<accessays> while building cross-compile tools, it hangs at "checking for memset" somewhere midway through
<accessays> this hangs the system in a weird way... the ssh connection I used hangs but I can make a new one
<accessays> GUI hangs... ish? I cannot move the mouse, but time updates and ActivityManager keeps going
<accessays> this happened twice now, first time I could move the mouse but couldn't launch programs, open directories etc
<accessays> the animation would play but nothing would happen
<waddlesplash> this may be that "hang on OOM" ticket
<waddlesplash> I have been meaning to try and reproduce that
<waddlesplash> I think it's a relatively recent regression
MrSunshine has quit [Ping timeout: 480 seconds]
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
xet7 has joined #haiku
bbjimmy has joined #haiku
MrSunshine has joined #haiku
<bbjimmy> I just updated my main haiku partition to the latest rev, and now it won't boot using my backup install, DriveSetup shows tyhe partion as Not formatted (Be File System)
<bbjimmy> how do I mount an install iso iimage file to install from tere?
<augiedoggie> i don't think you can
<augiedoggie> you'd have to boot the iso for the package contents to be available
<accessays> waddlesplash: was easy for me to reproduce, just run the haiku build with 4GB RAM & -j8
<accessays> i'll increase the RAM and see if it helps
<bbjimmy> I have done it in the past, there is a command to do it.
<augiedoggie> mounting the image is easy, you should be able to double click
<augiedoggie> but the iso only contains a few folders and a bunch of hpkg files
<waddlesplash> accessays: does disabling swap fix the problem? (i.e. turn it into an OOM error instead of a hang)
humdinger has joined #haiku
<bbjimmy> diskimage register filename registers the file as if it is a separate disk and can install from there.
<bbjimmy> downloading the latest image to install from there.
<bbjimmy> iaugiedoggie I am installing from the downloaded ios image file.
<accessays> waddlesplash: do I need to disable virtual memory?
<waddlesplash> yes, that's what I mean
<accessays> gotcha, i'll try a new build now
<bbjimmy> augiedoggie ^
<bbjimmy> :)
HaikuUser has joined #haiku
HaikuUser has left #haiku [#haiku]
<accessays> waddlesplash: still hangs...
<waddlesplash> you rebooted after disabling virtmem?
<accessays> ActivityMonitor keeps running, and it shows all CPUs spiking and then bottoming out
<accessays> yep
<accessays> ActivityMonitor says swap: 0.0 MiB, but I'm assuming it's disabled, since the checkbox in VirtualMemory is not checked
<accessays> i'll reboot and try once more, but I'm guessing it will be the same result
<accessays> it feels like.. the OS cannot start new processes, but the existing ones keep running. but I _can_ SSH into it and start a new session, run `ls` etc
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
<accessays> fwiw there was no memory usage spike before the hang, according to ActivityMonitor
<waddlesplash> SSH'ing starts new processes
<waddlesplash> so, that's interesting then, mm
freddietilley has quit [Quit: WeeChat 3.8]
<waddlesplash> this is debuggable via KDL, however, that's not an easy task for a beginner
<waddlesplash> so I guess I need to try and reproduce this and figure out what's going on
<accessays> waddlesplash: yeah.. it's been ~5 years since I last touched KDL :D
<accessays> I'll at least make a new VM and make sure it stills happens there. This was a pretty fresh one itself tho
HaikuUser2 has joined #haiku
bbjimmy has joined #haiku
<bbjimmy> booted on the install from the downloaded image iso file.
<waddlesplash> accessays: basic procedure, drop to KDL, find a hung thread, backtrace it
<waddlesplash> figure out what it's waiting on, find the thread that holds it, backtrace that
<waddlesplash> maybe repeat a few times in case of a deadlock
<waddlesplash> may need to use "thread" and then "mutex" or "rwlock" commands
smalltalkman has quit []
<accessays> alright, i'll try to get something done
<accessays> while making a new VM, ended up with "No bootable device" after install... worked yesterday with the same ISO
HaikuUser2 has quit [Quit: Vision[]: i've been blurred!]
<botifico> [haiku/website] humdingerb pushed 1 commit to master [+4/-0/±2] https://github.com/haiku/website/compare/26c8ed262514...948966555d57
floof58 has quit [Read error: Connection reset by peer]
<botifico> [haiku/website] humdingerb 9489665 - Update GSoC flyers for 2023
floof58 has joined #haiku
<accessays> waddlesplash: cannot start KDL since I don't have a SysRq... :)
<waddlesplash> you are in a VM, right? is this QEMU?
<waddlesplash> and you do have a SysRq, it's called PrintScrn
<accessays> it is QEMU indeed
<accessays> I've tried using PrintScrn but it doesn't work :/
<accessays> ok I massaged xdotool to send the sequence for me
tqh has joined #haiku
hackkitten has joined #haiku
<accessays> I tried 'mkdir' through ssh and it got stuck. it's waiting for a mutex "bfs journal"
<accessays> which is held by "bfs log flusher", which is waiting for cvar for some object (I/O request finished)
kikadf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kikadf has joined #haiku
AlienSoldier has joined #haiku
tuaris has joined #haiku
<Maylay> Hey all, what is the etiquette on repoenning a bug from a few years ago that was closed due to no response
<Maylay> do I comment on it with new info or start a new ticket
<waddlesplash> accessays: oh it's virtio block
<waddlesplash> switch to virtio scsi and the problem will go away likely
<waddlesplash> not a memory problem then
<waddlesplash> Maylay: is it your own ticket? and which one specifically
<Maylay> 14691, it's my own, just ran out of time to respond at the time
<waddlesplash> accessays: in QEMU, open the monitor console (may be Ctrl+Alt+2), and then "sendkey alt-sysrq-delete"
<waddlesplash> yes, if it's the same system you can reopen
<Maylay> alright, thank you
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
mmu_man is now known as Guest6309
mmu_man has joined #haiku
Major_Biscuit has quit []
<accessays> waddlesplash: mm, when I try to install Haiku on a VM with an SCSI Disk, DriveSetup cannot see the drive :/
<waddlesplash> need to use virtio-scsi
<waddlesplash> a "real" scsi controller probably won't work
<waddlesplash> you can also use SATA or NVME
Guest6309 has quit [Ping timeout: 480 seconds]
<accessays> not sure how to use virtio-scsi in virt-manager (the GUI), so I'll go with SATA then
Blendie has joined #haiku
jess has quit []
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
HaikuUser2 has joined #haiku
HaikuUser2 has quit []
mmu_man has joined #haiku
HaikuUser3 has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
<accessays> waddlesplash: I've finally gotten to compiling test_app_server, but I get "ld: cannot find -lroot" and "ld: cannot find crtn.o: No such file or directory"
<waddlesplash> accessays: missing devel package.
<waddlesplash> you need haiku_devel installed
orealis has quit [Read error: Connection reset by peer]
<accessays> waddlesplash: "haiku_devel-r1~beta4_hrev56803-1 from repository system is already installed."
orealis has joined #haiku
<waddlesplash> did you get a "You need to reboot" message when you last did something with pkgman?
<waddlesplash> check if /system/develop/lib/libroot.so exists (it won't, I presume)
<waddlesplash> if you have run any pkgman operations since you booted, you may need to reboot
FreeFull has joined #haiku
<accessays> it does exit, and I did reboot
<accessays> I'll reboot again just in case
<accessays> the command I run to compile is "TARGET_PLATFORM=libbe_test jam install-test-apps -j8"
<waddlesplash> you may need to build before installing
<waddlesplash> not sure
<accessays> i'll try building a @nightly-anyboot and see if install-test-apps works after that
matt1 has joined #haiku
matt1 has left #haiku [#haiku]
nosycat has quit [Quit: Leaving]
<waddlesplash> accessays: no I mean build the failing target without the install target
HaikuUser3 has quit [Read error: Connection reset by peer]
<accessays> not sure what that means? like doing "jam test-apps"?
frkzoid has joined #haiku
HaikuUser has joined #haiku
chuggy has joined #haiku
frkazoid333 has quit [Ping timeout: 480 seconds]
<accessays> waddlesplash: built @nightly-anyboot but "install-test-apps" still fails. It compiles most of the things, but at the end craps out being unable to find -lnetwork, -lroot, -lnetapi and crti.o & crtn.o
gouchi has joined #haiku
<nekobot> [haiku/haiku] korli pushed 1 commit to master [hrev56804] - https://git.haiku-os.org/haiku/log/?qt=range&q=45d7047cca4a+%5E338570d8d6cb
<nekobot> [haiku/haiku] 45d7047cca4a - mail: open New E-mail query on notification click
<zdykstra> heck yeah, first commit to Haiku.
ClaudioM has quit [Quit: leaving]
<accessays> waddlesplash: think I got what you mean now. One of the failing targets was "libnetwork.so". rebuilding just it yields "AddFileDataAttribute1 libnetwork.so"
<accessays> "addattr: can't add attribute to file libnetwork.so: No such file or directory"
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
mmu_man has quit [Ping timeout: 480 seconds]
tqh has quit [Quit: Leaving]
mmu_man has joined #haiku
samis is now known as CompanionCube
mmu_man has quit [Ping timeout: 480 seconds]
jmairboeck has joined #haiku
mmu_man has joined #haiku
jmairboeck has quit [Quit: Konversation terminated!]
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
<waddlesplash> accessays: are you compiling with -q
<waddlesplash> because you need that for jam to actually stop trying to build targets when it encounters an error
<waddlesplash> so, the real error was earlier up
<accessays> I am using -q
<waddlesplash> well, try jam -q libnetwork.so
<waddlesplash> scroll back in the list, before AddFileDataAttribute1
<waddlesplash> somewhere something else is failing
<waddlesplash> in the log, I mean
gouchi has quit [Remote host closed the connection]
FreeFull has quit []
<accessays> waddlesplash: there isn't anything much before it. here's the whole output: https://pastebin.com/GnK0LD2W
<waddlesplash> aha: libbe_test is not in SUPPORTED_PLATFORMS, cannot make struct-offsets header!
<waddlesplash> yeah, you need to do a build of at least part of the system before libbe_test
<waddlesplash> try: jam -q -jN libnetwork.so
<waddlesplash> without the PLATFORM specification
<waddlesplash> and then once that succeeds do install-test-apps target (with PLATFORM specified of course)
<x512[m]> Another Jam problem...
<x512[m]> Is structs-offsets header ever needed for test_app_server? Isn't it kernel only?
<accessays> waddlesplash: I built @nightly-anyboot before, so I don't think that's it...
<accessays> either way, I tried jam -q -j8 libnetwork.so
<accessays> and then libbe_test again
<accessays> same result
<waddlesplash> very weird?
<waddlesplash> no idea what's going on there, perhaps something has regressed
<x512[m]> libbe_test build may not support crosscompiling.
<waddlesplash> it doesn't
<waddlesplash> but that shouldn't be the problem her
<x512[m]> How it shouldn't if attempting to build on Linux?
<accessays> I'm building on Haiku
<accessays> it didn't work on Linux at all so I moved to Haiku right away
<accessays> x86_64, latest hrev (via pkgman update)
<x512[m]> Then you need to build without setup crosscompiler and without using buildtools.
<x512[m]> libbe_test build do not work with buildtools, both Haiku and Linux.
<waddlesplash> oho, is that so?
<waddlesplash> now that I didn't konw
<waddlesplash> know
<accessays> how do I do it without crosscompiling then? https://www.haiku-os.org/guides/building/compiling-x86_64 only shows commands to use cross-tools
<x512[m]> I setup separate "generated" directory for test_app_server.
<waddlesplash> accessays: make a new generated directory, and run ../configure with no arguments at all
<x512[m]> libbe_test was originally supposed to be built for BeOS.
<x512[m]> So it use native compiler.
<accessays> nice, it worked!
<accessays> this should probably be noted down in the NOTES file
chuggy has quit [Quit: Textual IRC Client: www.textualapp.com]
<mbrumbelow[m]> PulkoMandy: Is time to merge the Paladin develop branch changes back into master?