Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1424556 - xml-security-c: FTBFS in rawhide: OpenSSLCryptoHashHMAC.hpp:178:13: error: field 'm_hctx' has incomplete type 'HMAC_CTX {aka hmac_ctx_st}'
Summary: xml-security-c: FTBFS in rawhide: OpenSSLCryptoHashHMAC.hpp:178:13: error: fi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xml-security-c
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antti Andreimann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1383740 F26FTBFS
TreeView+ depends on / blocked
 
Reported: 2017-02-17 17:32 UTC by Fedora Release Engineering
Modified: 2017-09-04 16:16 UTC (History)
5 users (show)

Fixed In Version: xml-security-c-1.7.3-2.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-04 16:16:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (128.67 KB, text/plain)
2017-02-17 17:32 UTC, Fedora Release Engineering
no flags Details
root.log (73.40 KB, text/plain)
2017-02-17 17:32 UTC, Fedora Release Engineering
no flags Details
state.log (651 bytes, text/plain)
2017-02-17 17:32 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA SANTUARIO-460 0 None None None 2017-02-21 16:10:24 UTC

Description Fedora Release Engineering 2017-02-17 17:32:43 UTC
Your package xml-security-c failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17794691

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 17:32:48 UTC
Created attachment 1254930 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 17:32:52 UTC
Created attachment 1254931 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 17:32:54 UTC
Created attachment 1254932 [details]
state.log

Comment 4 Petr Pisar 2017-02-21 16:10:24 UTC
This because OpenSSL 1.1.0 changed API.

Comment 5 Petr Pisar 2017-02-23 10:30:35 UTC
Upstream states it applied some fix into SVN, but I wasn't able to locate the fix.

Another patch is available <https://raw.githubusercontent.com/metsma/libdigidocpp/openssl11/xml-security-c-1.7.3_openssl1.1.patch>. It looks good. It does not check for some failed allocations, but this is problem even in the original code.

Comment 6 Fedora End Of Life 2017-02-28 12:20:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 7 Tomasz Kłoczko 2017-04-17 19:20:48 UTC
(In reply to Petr Pisar from comment #5)
[..]
> Another patch is available
> <https://raw.githubusercontent.com/metsma/libdigidocpp/openssl11/xml-
> security-c-1.7.3_openssl1.1.patch>. It looks good. It does not check for
> some failed allocations, but this is problem even in the original code.

I've been trying to download this patch.
Seems it gone.

Comment 8 Petr Pisar 2017-04-18 15:53:55 UTC
I got the link to the patch from <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/FUTZ7XAZD2UN6YST6ZL7NX4RYZ6GTBTQ/>. You can try to ask the original poster.

Comment 9 Upstream Release Monitoring 2017-08-29 18:50:53 UTC
kalev's xml-security-c-1.7.3-1.fc27 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=962954

Comment 10 Tomasz Kłoczko 2017-08-30 08:52:41 UTC
Thx Kalev for updating package.

I've not been touching this package as I'm still been trying to build it against openssl 1.1 patch.
Two days ago I found contact to Raul who originally wrote patch against openssl 1.1 (I found the way how to find any github contact over github API).
Hopefully will be able to update package with openssl 1.1 shortly.

Comment 11 Tomasz Kłoczko 2017-08-30 11:43:11 UTC
Just committed openssl 1.1 patch with other changes.

Summary %changelog entry:

* Wed Aug 30 2017 Tomasz Kłoczko <kloczek> - 1.7.3-2
- added patch which allows build xml-security-c against openssl 1.1
- added ac_fixes patch: do not use sed to remove hardcoded compile
  options. Use patch because you will never know is such correction
  still needed (added autoconf and automake to BuildRequires)
- added libstdc++-devel to BuildReqires and to devel Requires
- add explicit all %%configure options to prevent build by mistake package
  against nss and force use openssl
- added --disable-debug to %%configure options
- added use %%autosetup in %%prep
- do not waste IOs on remove not packaged files and add them %%files
  with %%exclude
- indent and clean spec (move patch comments to the patch)

Now I only need to learn how to push those changes to build system against rawhide and f27 :P

Comment 12 Fedora Update System 2017-08-30 17:33:00 UTC
xmltooling-1.6.0-1.fc27 opensaml-2.6.0-1.fc27 xml-security-c-1.7.3-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b6c8385f4f

Comment 13 Upstream Release Monitoring 2017-08-31 20:13:00 UTC
kloczek's xml-security-c-1.7.3-2.fc27 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=964680

Comment 14 Fedora Update System 2017-09-01 09:06:09 UTC
opensaml-2.6.0-1.fc27 xml-security-c-1.7.3-2.fc27 xmltooling-1.6.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b6c8385f4f

Comment 15 Fedora Update System 2017-09-03 19:52:04 UTC
opensaml-2.6.0-1.fc27, xml-security-c-1.7.3-2.fc27, xmltooling-1.6.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b6c8385f4f

Comment 16 Fedora Update System 2017-09-04 16:16:16 UTC
opensaml-2.6.0-1.fc27, xml-security-c-1.7.3-2.fc27, xmltooling-1.6.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.