Problems emerge dev-libs/libressl-3.7.1 on ~amd64
Closed this issue · 6 comments
This is the error:
>>> Failed to emerge dev-libs/libressl-3.7.1, Log file:
>>> '/var/tmp/portage/dev-libs/libressl-3.7.1/temp/build.log'
* Messages for package dev-libs/libressl-3.7.1:
* Header files have changed between ABIs.
* --- /var/tmp/portage/dev-libs/libressl-3.7.1/temp/.multilib_header_cksum 2023-03-18 01:35:10.439676194 +0200
* +++ /var/tmp/portage/dev-libs/libressl-3.7.1/temp/.multilib_header_cksum.new 2023-03-18 01:35:17.701678499 +0200
* @@ -40,13 +40,13 @@
* 4294393890 4177 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/md4.h
* 2747642889 42071 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/x509v3.h
* 3242533849 4267 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/ripemd.h
* +460249183 4313 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/opensslconf.h
* 1472192742 4330 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/hmac.h
* 3073375536 4331 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/rc2.h
* 3299083677 4373 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/md5.h
* 3630486234 4397 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/idea.h
* 4005432646 4423 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/cast.h
* 1341785234 4444 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/stack.h
* -3781369073 4496 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/opensslconf.h
* 1153570624 4511 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/txt_db.h
* 3330444544 4587 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/ecdh.h
* 2501708628 46276 /var/tmp/portage/dev-libs/libressl-3.7.1/image/usr/include/openssl/asn1.h
* ERROR: dev-libs/libressl-3.7.1::libressl failed (install phase):
* Header checksum mismatch, aborting.
*
* Call stack:
* ebuild.sh, line 136: Called src_install
* environment, line 2104: Called multilib-minimal_src_install
* environment, line 1567: Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
* environment, line 1797: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
* environment, line 1479: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
* environment, line 1477: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
* environment, line 481: Called multilib-minimal_abi_src_install
* environment, line 1564: Called multilib_check_headers
* environment, line 1615: Called die
* The specific snippet of code:
* die "Header checksum mismatch, aborting.";
*
* If you need support, post the output of `emerge --info '=dev-libs/libressl-3.7.1::libressl'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/libressl-3.7.1::libressl'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/libressl-3.7.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libressl-3.7.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/libressl-3.7.1/work/libressl-3.7.1-abi_x86_64.amd64'
* S: '/var/tmp/portage/dev-libs/libressl-3.7.1/work/libressl-3.7.1'
*
* The following package has failed to build, install, or execute postinst:
*
* (dev-libs/libressl-3.7.1:0/54::libressl, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/dev-libs/libressl-3.7.1/temp/build.log'
I think this is related.
And explained here.
https://wiki.gentoo.org/wiki/Multilib/Concepts#Header_files
However I don't understand how to resolve this and I can't reproduce it immediately since my multilib system is on libressl 3.6.
So is this an upstream problem, or is it something I can fix?
This is either an upstream problem or a problem with the ebuild. I'm not sure how to handle arch specific headers on Gentoo, do you?
@stefan11111 Can you test if adding MULTILIB_WRAPPED_HEADERS=( /usr/include/openssl/opensslconf.h )
to the ebuild helps?
That allowed it to build and install.
Thanks for testing, the libressl issue explains more on what this does if you are curious. I am unsure if this is the best solution, but lets go with it until we know otherwise...