Subject: Re: [OpenAFS] AFS fails to build on FreeBSD Date: Wed, Mar 27, 2019 at 04:52:29PM +0100 Quoting Andreas Ladanyi ([email protected]): > Hi, > > Hi, > > > >>> I don't have it in front of me right now, but at least on 1.8.x (I > >>> haven't tried 1.6.x), it's necessary to create that file based on the > >>> FreeBSD 11.1 version and add a systype for 11.2 into some other file(s) > >>> (a grep for fbsd should help). It was actually pretty straightforward > >>> and it seems stable (at least the client; I haven't tried the server). > > For FreeBSD 11.2: > > > > 1.8.2 compiles with the patch > > > > 1.6.x doesnt compile with the patch, i will have a look later > > make fails with the error message: > > error: unknown type name 'afs_uint32' > > I could see afs_uint32 is declared as typedef in include/afs/stds.h
I'm not surprised; the amount of history expressed in patches that I
had to remove from the FreeBSD port to get 1.8.2 to compile in that
environment speaks volumes about the increased portability of the
source code. Two conclusions can IMNSHO be made from this:
1. It is not reasonable to expect 1.6 to compile cleanly on
FreeBSD. Perhaps a gentle update of the port metadata (file names,
checksums, URLen to source code) could be a easier way to get newer
1.6 code to build.
2. The 1.8 series is so much better! I honestly believe that effort
spent on 1.8 compiles is much more beneficial to all involved.
But, I could be wrong. I'd switch positions in an instant if a good reason
to do so is presented.
"Those are my principles, and if you don't like them... well,
I have others."
Grouch Marx.
--
Måns Nilsson primary/secondary/besserwisser/machina
MN-1334-RIPE SA0XLR +46 705 989668
I brought my BOWLING BALL -- and some DRUGS!!
signature.asc
Description: PGP signature
