Skip to contentSkip to conversation

package/libkrb5: doesn't build with libressl

PATCH Applied Fabrice Fontaine 4 participants 4 messages Apr 18, 2022 – May 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libkrb5: doesn't build with libressl

libkrb5 does not build with libressl since commit b7a5b9d06d484700fc4fcbd354f2c15e0422688c and upstream is not interested in fixing this issue as a PR is opened for more than 4 years
(https://github.com/krb5/krb5/pull/607):

pkinit_crypto_openssl.c: In function 'cms_signeddata_verify':
pkinit_crypto_openssl.c:1700:22: error: implicit declaration of function 'OBJ_get0_data'; did you mean 'BIO_get_data'? [-Werror=implicit-function-declaration]

 1700 |         print_buffer(OBJ_get0_data(etype), OBJ_length(etype));
      |                      ^~~~~~~~~~~~~
      |                      BIO_get_data

Fixes:
- http://autobuild.buildroot.org/results/e623f4e1d6b6004e98815b8b7da3938238890bd8

---
 package/libkrb5/libkrb5.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libkrb5/libkrb5.mk +1 -1
index f406cd9e49..bd751d9c77 100644
@@ -49,7 +49,7 @@ else
 LIBKRB5_CONF_OPTS += --without-ldap
 endif
 
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
+ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
 LIBKRB5_CONF_OPTS += \
 	--enable-pkinit \
 	--with-crypto-impl=openssl \
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/1
#1 lore raw

Hi Fabrice,

Quoted 4 lines

libkrb5 does not build with libressl since commit b7a5b9d06d484700fc4fcbd354f2c15e0422688c and upstream is not interested in fixing this issue as a PR is opened for more than 4 years
(https://github.com/krb5/krb5/pull/607):

Good catch!

Kind regards,
Petr
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Fabrice Fontaine
Quoted 7 lines · Fabrice Fontaine

libkrb5 does not build with libressl since commit b7a5b9d06d484700fc4fcbd354f2c15e0422688c and upstream is not interested in fixing this issue as a PR is opened for more than 4 years
(https://github.com/krb5/krb5/pull/607):

pkinit_crypto_openssl.c: In function 'cms_signeddata_verify':
pkinit_crypto_openssl.c:1700:22: error: implicit declaration of function 'OBJ_get0_data'; did you mean 'BIO_get_data'? [-Werror=implicit-function-declaration]

Quoted 8 lines
  1700 |         print_buffer(OBJ_get0_data(etype), OBJ_length(etype));
       |                      ^~~~~~~~~~~~~
       |                      BIO_get_data

Fixes:
- http://autobuild.buildroot.org/results/e623f4e1d6b6004e98815b8b7da3938238890bd8

Applied to master, thanks.

Regards,
Arnout

Quoted 9 lines
---
  package/libkrb5/libkrb5.mk | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
package/libkrb5/libkrb5.mk +0 -0
index f406cd9e49..bd751d9c77 100644

package/libkrb5/libkrb5.mk else · line 55

Quoted 8 lines
package/libkrb5/libkrb5.mk +1 -1
@@ -49,7 +49,7 @@ else
  LIBKRB5_CONF_OPTS += --without-ldap
  endif
 
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
+ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
  LIBKRB5_CONF_OPTS += \
  	--enable-pkinit \
  	--with-crypto-impl=openssl \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Fabrice Fontaine
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

libkrb5 does not build with libressl since commit b7a5b9d06d484700fc4fcbd354f2c15e0422688c and upstream is not interested in fixing this issue as a PR is opened for more than 4 years
(https://github.com/krb5/krb5/pull/607):

pkinit_crypto_openssl.c: In function 'cms_signeddata_verify':
pkinit_crypto_openssl.c:1700:22: error: implicit declaration of function 'OBJ_get0_data'; did you mean 'BIO_get_data'? [-Werror=implicit-function-declaration]

Quoted 8 lines
 1700 |         print_buffer(OBJ_get0_data(etype), OBJ_length(etype));
      |                      ^~~~~~~~~~~~~
      |                      BIO_get_data

Fixes:
- http://autobuild.buildroot.org/results/e623f4e1d6b6004e98815b8b7da3938238890bd8

Committed to 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot