Re: AFS fails to build on FreeBSD
Måns Nilsson <[email protected]>
| Newsgroups | gmane.comp.file-systems.openafs.general |
|---|---|
| Message-ID | <[email protected]> |
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
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEpp2QVFhCcv+wDUfCDgtx4NP2G7QFAlyii2cACgkQDgtx4NP2 G7RzFw/+OLa3IXCquSgEX00HMLrm0il59o3GXLzfTiT/45HSAquNJQ8us+kYtVg1 oqOIhHgUFAHU0XnAqBs1BPc/c1zNEtfyLIfjagr3TcapAUv27yenefOSY9M7EFSI MnvCWqmy38Nrg91JxQ4BF7qfZ/gBrAn0jsIlLt4ZPuHJe/sjIkcapYuHZkvLvDMN aRXiJd8kSTYTUD6KLm3PW3K3ZBAsBj1kiXWJeADeOEHmDMg/M/yYQG4w+QjlpwT2 Xizc4sSDk16nK88hSL/MqN9sk78dqcw00l/AW4PpALoG+iJqnpjRG3h3H1FlH9NJ xWp9y1ZxSRBjJaYjEMRa8m2UYRbXR/QpzuCVIiwKx4g5QRhuVTs69jZkNYizjb1+ rZJywHfG5I0cfhy0HOfmdn0bNxwdAgzffRScqLnbv828HLwXgIvUgDtrTTKWZMOc d3hLD5GE00AbmgghZxR2K0wLZiYoqBaCYcGH1KsED6UX7Z2uNvvkL+r+D4nLf6wo bKmHOF8R01BqGAmtWj7VL4BxKlU2w0Jvqag80Qv3zVreEasHSeZRKTANZzhywRt6 kJSYP9RmfANi964DUXP+rMkzRYShYF/k/yXnOTTUrWV5Ldg/rLVl1BOTw7X0CyK6 wKxNlWtE3TdLeIgZyBDeMCckrk1y/ahgEVAbfv4sMShrzVEbS38= =bZJ7 -----END PGP SIGNATURE-----