Good evening, 

Every few months I take a whack at getting FreeBSD 12 working. This is one of 
those tries. 

First, a success report: I thoughtlessly rebooted my media player
middleware server that ran 1.8.2 and was hit with the bug that resulted in
1.8.7 release. I can report that 1.8.7 compiles on FreeBSD 11.4 as soon
as the predictable changes in src/config/ are applied; ie. sysnames and
such. Configure ran without arguments and produced a working binary set.

I then tried 1.8.7 on 12.2, with appropriate changes for sysnames. No
such luck. To my untrained eye, malloc does not want a redefinition:
(yeah, I know, that's a 1.9.0 compile run, but do read on. Same thing happens 
there too) 

########################################
In file included from 
/usr/local/src/openafs-1.9.0/src/external/heimdal/hcrypto/sha256.c:34:
/usr/local/src/openafs-1.9.0/src/crypto/hcrypto/kernel/config.h:63:9: error: 
'malloc' macro redefined [-Werror,-Wmacro-redefined]
#define malloc _afscrypto_malloc
        ^
/usr/src/sys/sys/malloc.h:220:9: note: previous definition is here
#define malloc(size, type, flags) ({                                    \
        ^
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/local/src/openafs-1.9.0/src/libafs/MODLOAD
*** Error code 1
########################################

I then redid the attempt on 1.9.0 and FreeBSD 12.2, again with src/config
changes, and hit what looks like the same snag.

That entire trip, including context diff for my changes in src/config,
a config.log, and the "typescript" file of the compilation run, is
available as

/afs/besserwisser.org/home/mansaxel/Public/trip.12.2.tgz

Suggestions welcome. Including clue-bats. 

Regards, 
-- 
Måns Nilsson     primary/secondary/besserwisser/machina
MN-1334-RIPE           SA0XLR            +46 705 989668
Wait ... is this a FUN THING or the END of LIFE in Petticoat Junction??

Attachment: signature.asc
Description: PGP signature

Reply via email to