coolcoder613 has quit [Quit: Vision[]: i've been blurred!]
coolcoder613 has joined #haiku
walkingdisaster has joined #haiku
The_DarkFire_[m] has joined #haiku
<coolcoder613>
I am making a interactive fiction game engine, with a class Game, inheriting from BWindow, that the user inherits from, how do i initialise a BApplication?
<phschafft>
hm.
<coolcoder613>
This is in Python BTW
* phschafft
more wonders what an 'interactive fiction game' is.
<OscarL>
and looking at what the "rules" files for a debian package does sometimes helps too (same with Gentoo's ebuild files, or Fedora's "spec" ones).
<erysdren>
ah shit i forgot to create a directory before i copied files into it... 30 minutes wasted
freddietilley has quit [Quit: WeeChat 4.0.2]
<erysdren>
but since it got that far, that means gcc built and installed properly otherwise
<erysdren>
but i have to build it again anyways so i can test if the damn thing even works... AGH
<nekobot>
[haiku/haiku] 8b61424d3b1b - Debugger: fix typo call_size vs call_site
mr_lou has quit [Remote host closed the connection]
mr_lou has joined #haiku
mmu_man has joined #haiku
tuaris has joined #haiku
wicknix has joined #haiku
wicknix_ has quit [Ping timeout: 480 seconds]
erysdren has quit [Quit: Konversation terminated!]
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
diver1 has joined #haiku
Diver is now known as Guest2730
diver1 is now known as Diver
Guest2730 has quit [Ping timeout: 480 seconds]
B2IA has quit [Quit: Vision[]: i've been blurred!]
aa72 has joined #haiku
B2IA has joined #haiku
aa72 has left #haiku [#haiku]
tqh has joined #haiku
<Begasus>
re
HaikuUser has joined #haiku
HaikuUser has quit []
<Begasus>
OscarL, is this needed during build? Total tests: run=8,929 failures=35 skipped=221
<OscarL>
from which PR is that?
<Begasus>
python3.12 :)
<OscarL>
can you point to that line? Not seeing it here.
<Begasus>
err ... it's done somewhere during the build, not listed in the recipe from the looks
<OscarL>
part of the optimization is using "Profile Guided Optimizations"... for that it needs to run parts of the tests... while gathering info about those runs.
<Begasus>
if it's need then no prob :)
<OscarL>
after that, it builds things again, letting the compiler know about that info, so it gets better optimizations.
<Begasus>
build went fine +1
<Begasus>
ah k, if it improves the better :)
<OscarL>
you can just turn --with-optimizations off for speedier builds, but slower Pythons :-D
<Begasus>
was fast enough here :)
<OscarL>
wish that was the case here, hehehe
<Begasus>
trying gtk4 took longer :P
<OscarL>
Begasus: btw, I fixed that intermitent build failure we were seeing with newer Python recipes (by relying on python3.10 during build).
HaikuUser has joined #haiku
<OscarL>
considering that haikuporter runs on py3.10, we're not gaining much by not having it as BUILD_PREREQUIRES for the Python recipes :-D
HaikuUser has quit []
<Begasus>
so you're bootstrapping?
<OscarL>
we *were* bootstrapping it (by using `export PYTHON_FOR_REGEN="./python"`)
<Begasus>
ah :) haven't tackled the major one myself, so a bit in the mist there :)
<OscarL>
but as that seems unreliable for some reason that escapes me... better rely on the Python we already have :-)
<Begasus>
looks good to me, also check on 32bit?
<OscarL>
did some searches over Pythons github repo about it... and bootstraping was the only reason for people to NOT rely on an already present Python 3.10 for builds....
<OscarL>
seems *very* few people actually bootstraps even just for tests.
<OscarL>
Begasus: yup, build, installed, run tests, and even tried calling code from libroot.so from 32 bits.
<OscarL>
via the ctypes module.... calling is_computer_on_fire() from Python code was fun :-D
<OscarL>
Not really sure. We might need to force a new build on 32 bits to find out?
jmairboeck has joined #haiku
<OscarL>
mmm, git build failed on buildmaster. Weird.
<OscarL>
failed to initialize the work git repo for SOURCE_URI_2 for some reason?
<OscarL>
I thought you were talking about numpy in particular needing manual intervention. You meant the whole 32 bits buildmaster instead waddlesplash?
<waddlesplash>
yes
<waddlesplash>
"Initialized empty Git repository in /boot/home/haikuports/dev-vcs/git/work-2.42.0/sources-2/.git/
<waddlesplash>
fatal: not in a git directory"
<waddlesplash>
indeed that's odd
<OscarL>
yeah... hella weird.
<OscarL>
storage failing?
<OscarL>
(either hardware, or filesystem foobar?)
<waddlesplash>
no idea
<waddlesplash>
considering they both failed in exactly the same way, I don't think this is a problem with hardware/OS
<OscarL>
right... previous issue were on 32 bits only.
<waddlesplash>
maybe try running a fully clean build yourself?
<OscarL>
will do.
<waddlesplash>
anyway I don't think manual cleanup will do anything for numpy
<waddlesplash>
as it cleans the workdir on every step
<OscarL>
but it got "[Errno -2147459064] Read-only file system: '.self'" right after "Cleaning work directory of numpy_x86-1.26.0 ..."
<waddlesplash>
hmm
<OscarL>
isn't that a sign that there's something not being properly unmounted? on the "boot/system", for example?
<waddlesplash>
I guess I'll sign into it
<waddlesplash>
and see what's up
<Begasus>
update installed, time to close down and see what's new in the morning
<OscarL>
meanhwile... started pristine build of git-2.42.0 on 64 bits (slow HDD ain't happy :-D)
<Begasus>
cu peeps!
<OscarL>
later Begasus!
Begasus has quit [Quit: Vision[]: i've been blurred!]
<OscarL>
waddlesplash: zero issues initializing the 3 work git repos, here, build is progressing nicely.
<waddlesplash>
ok
<OscarL>
(for the PR, I ran the builds/tests on beta4 32 bits, and been using 2.42.0 there for a few days already.)
<OscarL>
build went fine. now riding on shiny git 2.42.0 wheels. (⌐■_■)
<OscarL>
darn "UnlockGL is called from the wrong thread" SDL bug (tried to resize gitk window :-D)
<waddlesplash>
OscarL: the buildmasters were running HaikuPorter 2894b31ea223946f4515ded779d11362b3a9dd23 (Feb 18)
<waddlesplash>
I updated them to a much more recent version
<waddlesplash>
maybe that's related, idk. I also cleaned out numpy workdirs and performed some other maintenance
<botifico>
[haikuports/haikuports] waddlesplash 73d3923 - git: Bump revision for rebuild
<OscarL>
Awesome, waddlesplash. Thanks a lot!
<erysdren>
i got DJGPP building, but i messed up the include directory
<erysdren>
so i have to build... again... to see if it works
gouchi has joined #haiku
<erysdren>
i got it packaging though.
<waddlesplash>
OscarL: nope same problem.
<OscarL>
ouch.
<waddlesplash>
let's try on my VM
<waddlesplash>
works here...
<waddlesplash>
OscarL: hmm there's a missing line on the remote one: it doesn't initialize git repo in sources-3
<waddlesplash>
I have no idea what the difference could be
<OscarL>
erysdren: sometimes I can bypass the need for a full rebuild by just renaming BUILD() to _BUILD() on the recipe... and doing the necessary changes on INSTALL()
<OscarL>
erysdren: just for testing, of course, I do a full clean build before opening the PRs (unless I forget, of course :-P)
<jmairboeck>
OscarL, erysdren: you can also skip the build and just redo the INSTALL section by using hp -F
<jmairboeck>
if the build part succeeded before
<erysdren>
damn
<OscarL>
noice. thanks jmairboeck :-)
<erysdren>
i already started the build :P
<erysdren>
would've been great to know
<erysdren>
i'll remember for next time
<jmairboeck>
it doesn't delete flag.build from the workdir then and skip the build function, even if the recipe file changed
<OscarL>
Darn! waddlesplash's build of git took < 2 mins... mine > 13 mins :-D
<waddlesplash>
no, I didn't let the build finish
<OscarL>
ah :-D
<waddlesplash>
I just let it get to the actual building step entering chroot
mr_lou has quit [Remote host closed the connection]
HaikuUser has joined #haiku
<HaikuUser>
helo
<erysdren>
hello
<OscarL>
hola HaikuUser.
<erysdren>
hallo
HaikuUser has quit []
HaikuUser has joined #haiku
<erysdren>
hallo HaikuUser
HaikuUser has quit []
<OscarL>
stop scaring new users away erysdren!!! :P
<erysdren>
i'm not doing it on purpose!!!
<erysdren>
i guess they're scared of a little german
<OscarL>
That missing git repo for SOURCE_URI_3 on buildmasters is really puzzling :-/
<waddlesplash>
currently conferring with mmlr about it
<OscarL>
mmlr, what a legend.
erysdren has quit [Quit: Konversation terminated!]
<hightower2>
btw, I know there have been efforts to pair gnu/linux userland with haiku kernel. Was the opposite ever attempted - to run haiku GUI under linux?
<OscarL>
hightower2: Cosmoe OS and BlueEyedOS.
jmairboeck has quit [Quit: Konversation terminated!]
<OscarL>
Because I haven't accounted for all "pkgman install" failure modes yet.
<waddlesplash>
probably not possible
<waddlesplash>
likely one should just list the pkgman problem...
<waddlesplash>
I mean, just tell users to invoke pkgman
<OscarL>
Begasus was happy with that patch at least. that's something :-P
<OscarL>
dumb /me realize waddlesplash was asking if the patch worked, not the link. /me dumb.
talos has joined #haiku
<OscarL>
except minor formating issues (extra `\n` if the package name was not found), works pretty nicely. Not entirely sure about the quality of the patch but... I guess that's what reviews are for.
coolcoder613_32 has quit [Ping timeout: 480 seconds]