New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues on NetBSD #1
Comments
Hi, |
Right, when I first made this some fifteen years ago it was all a bit of a mixed bag regarding POSIX support so there were various workarounds. I'm not sure I ever actually tested with NetBSD. It appears that the NetBSD implementation actually defines some of the functions whereas FreeBSD doesn't define any. I think it's a combinatiom of the NOUTFUNCS and some more specialized preprocessor fun. I've got a NetBSD VM now but won't get to this until Saturday. |
I've just uploaded 1.8 to Pause - it compiles and passes its tests with NetBSD, FreeBSD and Linux |
Thank you for fixing this so quickly! I can confirm that it builds now. However, I still see test errors on NetBSD-8.99.2/amd64:
|
Ah, this is the current rather than the stable - they must have changed something fairly fundamental for it to fail like that. I'm guessing that they've jumped wholesale to the POSIX utmpx stuff and stopped populating the heritage utmp file. So I'm confident that it works well with the stable NetBSD and I'll have to make a VM with current to see what is going on there. |
Well, I just installed Is there a |
Yes, there is a recent
As I understand it, the native interface is now utmpx but the utmp files are still kept up-to-date. |
Right so there is a difference in the version I have installed and the one you have. As it definitely works in the 8.00 Beta I have. For reference the Perl 6 version of Sys::Utmp does use the utmpx functions but I haven't got round to back porting the code. Can you provide me with the URI of an ISO that I can use to install the 8.99_2 in a VM? |
Strange. Anyway, daily builds are here: but the date in the URI changes often. |
Hmm that is the exact one I installed (from the boot.iso) why does the kernel version differ on mine? |
That is confusing. Are you sure you took |
I'll try another one when I get in. |
This looks like it may be closer. https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/201709161700Z/images/NetBSD-8.99.2-amd64.iso |
Well.....
I'm not sure where to go from here. |
I'm really terribly sorry to have sent you on such a wild goose hunt. I just found that I had no |
No need to apologise, it motivated me to test a whole bunch of other stuff on NetBSD and I've also started on back-porting the utmpx stuff from the Perl 6 version so all good 👍 |
I tried building Sys-Utmp-1.7 on NetBSD-8.99.2/amd64, but I see two problems. With unchanged sources, the build fails with:
Switching to the
NOUTFUNCS
case with the following patch:makes the build progress further, but die in
I used the following patch to fix that:
Even with those two, a couple of self tests are not happy:
Please advise.
One other thing: The Changes file in the CPAN distribution does not list the changes for 1.7.
The text was updated successfully, but these errors were encountered: