IRC channel logs
2021-09-18.log
back to list of logs
<damo22>i just emailed the rump guru to see if he approves my build script patch <damo22>once it's upstreamed into netbsd i can work on upgrading our rump <damo22>Pellescours: did you end up building more rump <damo22>i wish rust didnt change so much <damo22>i almost got it to build on 1.29 but thats ancient now <Pellescours>and otherwise autotools have problem to detect rump/rump.h it detect it but when verifying that it builds it fails due tu register_t redefinition <Pellescours>the header changed a bumit in this part and we have to define some variable before includong the header to prevent the redefinition <zamfofex>Hello, everyone! I have decided to continue my Guix/Hurd/networking pursuits. Last time, I was facing a problem with multiple definitions of some struct. I think it was introduced by the latest commit to dde_net, so i just picked the previous commit, and it seems to have stopped complaining about it! <zamfofex>Now it seems like the “pci-arbiter/main.c” file (which seems required by netdde) is a bit outdated, because it calls the function “machdev_trivfs_init” with arguments, whereas it seems to have been refactored to accept none. <zamfofex>The question I have is (hopefully) pretty simple: Is it sufficient to patch the file to remove the arguments, or is there now a different way to pass in those values? <youpi>zamfofex: I don't understand. In the hurd repository, pci-arbiter/main.c: machdev_trivfs_init (argc, argv, next_task, "pci", NULL /* _SERVERS_BUS "pci" */, &bootstrap); just follows the prototype of libmachdev/machdev.h:int machdev_trivfs_init(int argc, char **argv, mach_port_t bootstrap_resume_task, const char *name, const char *path, mach_port_t *bootstrap); <zamfofex>youpi: You are right, I misread the diff of commit 9049b963b6023ef6d7bd3f8c81ef5ab1f3b43fd3. But the build error message is strange, then, because it tells me that both the ‘machdev_trivfs_init’ and the ‘machdev_trivfs_server’ should take no arguments, whereas ‘pci-arbiter/main.c’ does call them with arguments. <youpi>../libmachdev/machdev.h:36:5: note: declared here <youpi> int machdev_trivfs_init(void); <zamfofex>I could verify. I’m not sure about how familiar you are with Guix, but the builds are performed in containers, so it’s not possible for me to have set up the files wrong manually. I have to use the ‘-K’ flag so that it allows me to see the files after a failed build. <youpi>that file hasn't been so in the hurd git repo since july 2020 ? <zamfofex>That’s strange, I think. Specially so because the ‘pci-arbitrer/main.c’ file seems to be updated. <zamfofex>It copies the files from only three directories, it seems, “libmachdev”, “libmachdevdde” and “libddekit”. <youpi>libmachdev has been integrated, no need to copy it over <zamfofex>youpi: I wanted to mention that I was eventually able to build a Hurd image! My packages are a month outdated, so I’m going to update them and try to generate another one before trying it out, though, but I feel like I am hopefuly it will work well! Thanks for your help! <zamfofex>I wanted to mention that I still can’t get the netdde thingie to work! I’m still getting the same error as last year, where it tells me “translator died”. I verified the channel logs, and the error matched pretty much one to one as back then. <youpi>did you try to run it by hand with settrans -a /dev/netdde /hurd/netdde <youpi>("translator died" is not informative, it just tells that netdde quit) <zamfofex>Yes, I did pretty much the exact thing I had done last time. I wrote ‘settrans -fga /dev/netdde "$(which netdde)"’, and got the same error as last time: ‘vm_allocate_contiguous: (ipc/mig) bad request message ID’ <youpi>do you have netdde in your PATH ? <youpi>about vm_allocate_contiguous, do you have an up to date gnumach? <zamfofex>I haven’t updated the gnumach version, no, only the ‘hurd’ and ‘netdde’ packages. It seems Guix currently uses commit 097f9cf735ffa1212b828682ad92f0f6c5f1c552 for gnumach. <zamfofex>Do you feel like that could be the reason for my issues? <youpi>bad request message ID means the server side of the RPC doesn't know about the rpc <youpi>so it really just looks like a version of gnumach that simply doesn't know about the RPC <zamfofex>Yeah, it seems the aforementioned commit is from November of 2019. (!!!) <zamfofex>I think imma keep trying tomorrow, or maybe on Monday. youpi: Thank you for the help once again, by the way! I really appreciate it.