Bug 1388858

Summary: open-vm-tools FTBFS with new openssl
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: open-vm-toolsAssignee: Ravindra Kumar <ravindrakumar>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: negativo17, ravindrakumar, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-03 22:28:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
build.log none

Description Richard W.M. Jones 2016-10-26 10:18:31 UTC
Description of problem:

open-vm-tools fails to build from source in Rawhide with some
errors that seem related to the new OpenSSL:

../common/certverify.c: In function 'CertVerify_CheckSignature':
../common/certverify.c:830:15: error: storage size of 'mdCtx' isn't known
    EVP_MD_CTX mdCtx;
               ^~~~~
../common/certverify.c:882:4: error: implicit declaration of function 'EVP_MD_CTX_cleanup' [-Werror=implicit-function-declaration]
    EVP_MD_CTX_cleanup(&mdCtx);
    ^~~~~~~~~~~~~~~~~~
../common/certverify.c:830:15: error: unused variable 'mdCtx' [-Werror=unused-variable]
    EVP_MD_CTX mdCtx;
               ^~~~~

Version-Release number of selected component (if applicable):

10.0.5-3227872

How reproducible:

100%

Steps to Reproduce:
1. Build from source.

Additional info:

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/OE3Y3ZHE2LUJJE3V72LZCE7D6CHIMOFU/

Comment 1 Richard W.M. Jones 2016-10-26 10:18:55 UTC
Created attachment 1214244 [details]
build.log

Comment 2 Richard W.M. Jones 2016-10-26 10:20:11 UTC
See also:
https://github.com/patch-exchange/openssl-1.1-transition

Comment 3 Fedora End Of Life 2017-02-28 10:31:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 4 Ravindra Kumar 2017-02-28 21:26:17 UTC
Fixed it as http://pkgs.fedoraproject.org/cgit/rpms/open-vm-tools.git/commit/?id=5ecc079e0d892dcde892e6e4cc0ae84a10bdb248 patch.

This patch is no longer needed with open-vm-tools 10.1.x. So, latest package in Rawhide fixes it as well, https://koji.fedoraproject.org/koji/buildinfo?buildID=862961.

Comment 5 Fedora End Of Life 2018-05-03 08:33:50 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.