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 1894891

Summary: gecode ships bundled boost headers
Product: [Fedora] Fedora Reporter: Till Hofmann <thofmann>
Component: gecodeAssignee: Julian C. Dunn <jdunn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: jdunn, loganjerry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gecode-6.2.0-6.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-23 00:24:57 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1923591    

Description Till Hofmann 2020-11-05 11:20:24 UTC
gecode bundles boost in /usr/include/gecode/third-party/boost/ and BR: boost-devel at the same time. Possibly the bundled boost is not even used, in which case it can just be removed. In any case, I think shipping a bundled boost is not a good idea, unless it cannot be avoided.

Comment 1 Julian C. Dunn 2020-11-27 04:54:49 UTC
Yes, it's not used as we use --with-boost-include=%{_includedir}/boost . I will look into deleting it from the installed RPM.

Comment 2 Fedora Update System 2020-11-28 18:19:10 UTC
FEDORA-2020-9862e421bb has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-9862e421bb

Comment 3 Fedora Update System 2020-11-29 02:07:57 UTC
FEDORA-2020-9862e421bb has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-9862e421bb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9862e421bb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Jerry James 2021-01-01 17:13:48 UTC
Unfortunately, a reference to the bundled gecode has not been removed.  This is causing mp builds to fail:

In file included from /usr/include/gecode/minimodel.hh:51,
                 from /usr/include/gecode/driver.hh:37,
                 from /builddir/build/BUILD/mp-7fd4828c934fccf7367499c9e01cc9a1e90a2093/solvers/gecode/gecode.h:33,
                 from /builddir/build/BUILD/mp-7fd4828c934fccf7367499c9e01cc9a1e90a2093/solvers/gecode/gecode.cc:23:
/usr/include/gecode/float.hh:80:10: fatal error: gecode/third-party/boost/numeric/interval.hpp: No such file or directory
   80 | #include <gecode/third-party/boost/numeric/interval.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Please patch float.hh to point to the system boost headers.

Comment 5 Jerry James 2021-01-01 17:15:01 UTC
Bundled boost, I mean.  Sheesh.

Comment 6 Jerry James 2021-01-20 16:13:07 UTC
Please see https://src.fedoraproject.org/rpms/gecode/pull-request/3 for a fix for the problem noted in comment 4, as well as more spec file cleanups.

Comment 7 Julian C. Dunn 2021-02-10 03:11:52 UTC
Thanks Jerry -- your PR looks good so I rebased and merged it. Have a look at what's in rawhide now and see if it fixes your problem.

Comment 8 Fedora Update System 2021-02-13 02:47:35 UTC
FEDORA-2021-3c4d39cb69 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3c4d39cb69

Comment 9 Fedora Update System 2021-02-14 02:13:39 UTC
FEDORA-2021-3c4d39cb69 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3c4d39cb69`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3c4d39cb69

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-02-23 00:24:57 UTC
FEDORA-2021-3c4d39cb69 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.