[Bug 276542] Building heimdal from source fails on llvm16 and llvm17
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276542] Building heimdal from source fails on llvm16 and llvm17"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276542] Building heimdal from source fails on llvm16 and llvm17"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276542] Building heimdal from source fails on llvm16 and llvm17"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276542] Building heimdal from source fails on llvm16 and llvm17"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276542] Building heimdal from source fails on llvm16 and llvm17"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276542] Building heimdal from source fails on llvm16 and llvm17"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276542] Building heimdal from source fails on llvm16 and llvm17"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 22:28:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276542
Bug ID: 276542
Summary: Building heimdal from source fails on llvm16 and
llvm17
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: minsoochoo0122@proton.me
Building heimdal for source fails on llvm16 and llvm17.
I used the latest version, which is 7.8.0.
<https://github.com/heimdal/heimdal/releases/tag/heimdal-7.8.0>
This program occurs since llvm16, and llvm15 does not have this problem. This
also occurs only on FreeBSD, since building with llvm17 on macOS works.
autoconf, autoconf-archive, automake, libtool, cpan:JSON, gmake, and llvm are
required for build.
To use specific version of clang, specify $CC with export CC=(clang17, clang16,
clang15, gcc, ...)
$ curl -L
https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz
> heimdal.tar.gz
$ tar -xzf heimdal.tar.gz
$ cd heimdal-7.8.0/
$ ./autogen.sh
$ ./configure MAKE=gmake
$ gmake -j12
(...)
CC emalloc.lo
CC erealloc.lo
CC estrdup.lo
CC strlwr.lo
CC strsep_copy.lo
CC strupr.lo
CCLD libroken.la
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol 'cgetcap'
failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'cgetclose' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'cgetmatch' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol 'cgetnum'
failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol 'cgetset'
failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'cgetustr' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol 'err'
failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol 'errx'
failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'hex_decode' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'hex_encode' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_asprintf' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_cgetent' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_cgetstr' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_closefrom' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_flock' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_fnmatch' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_freeaddrinfo' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_freehostent' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_freeifaddrs' failed: symbol not defined
ld: error: version script assignment of 'HEIMDAL_ROKEN_1.0' to symbol
'rk_gai_strerror' failed: symbol not defined
ld: error: too many errors emitted, stopping now (use --error-limit=0 to see
all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:1195: libroken.la] Error 1
gmake[3]: Leaving directory '/home/minsoochoo/heimdal-7.8.0/lib/roken'
gmake[2]: *** [Makefile:1095: all] Error 2
gmake[2]: Leaving directory '/home/minsoochoo/heimdal-7.8.0/lib/roken'
gmake[1]: *** [Makefile:576: all-recursive] Error 1
gmake[1]: Leaving directory '/home/minsoochoo/heimdal-7.8.0/lib'
gmake: *** [Makefile:625: all-recursive] Error 1
--
You are receiving this mail because:
You are the assignee for the bug.