[LU-14116] gss: undefined reference to 'krb5int_enc_des3' Created: 05/Nov/20 Updated: 09/Dec/20 Resolved: 07/Dec/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0 |
| Fix Version/s: | Lustre 2.14.0, Lustre 2.12.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jian Yu | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
While building Lustre client on RHEL 8.3 with krb5 1.18.2-5.el8, gss codes failed as follows: Making all in gss libtool: link: gcc -fPIC -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -D_GNU_SOURCE -g -O2 -Werror -Wall -Werror -g -O2 -Werror -Wall -Werror -Wl,-z -Wl,relro -o .libs/lsvcgssd lsvcgssd-context.o lsvcgssd-context_lucid.o lsvcgssd-context_mit.o lsvcgssd-context_heimdal.o lsvcgssd-context_spkm3.o lsvcgssd-gss_util.o lsvcgssd-gss_oids.o lsvcgssd-err_util.o lsvcgssd-lsupport.o lsvcgssd-sk_utils.o lsvcgssd-cacheio.o lsvcgssd-svcgssd.o lsvcgssd-svcgssd_main_loop.o lsvcgssd-svcgssd_mech2file.o lsvcgssd-svcgssd_proc.o ../../../lustre/utils/.libs/liblustreapi.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcrypto -lssl -lm -lkeyutils lsvcgssd-context_lucid.o: In function `derive_key_lucid': /tmp/rpmbuild-lustre-root-9fwzvk4G/BUILD/lustre-2.13.56_78_g994d2ca/lustre/utils/gss/context_lucid.c:285: undefined reference to `krb5int_enc_des3' collect2: error: ld returned 1 exit status This is because all DES3 enctypes supports were removed from krb5 1.18.2-5.el8 on RHEL 8.3. Attached is the downstream-Remove-3des-support.patch in krb5-1.18.2-5.el8.src.rpm. |
| Comments |
| Comment by Gerrit Updater [ 05/Nov/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40554 |
| Comment by Gerrit Updater [ 06/Nov/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40560 |
| Comment by Gerrit Updater [ 06/Nov/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40566 |
| Comment by Gerrit Updater [ 07/Nov/20 ] |
|
Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/40554/ |
| Comment by Gerrit Updater [ 13/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40560/ |
| Comment by Jian Yu [ 07/Dec/20 ] |
|
The issue in this ticket was resolved.
The above work was moved to LU-14190. |