FTBFS with gcc-8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
boost1.67 (Debian) |
Fix Released
|
Unknown
|
|||
boost1.67 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
High
|
Andreas Hasenack |
Bug Description
[Impact]
There is an FTBFS with boost1.67 in cosmic that is fixed in disco already via this patch[1].
This FTBFS prevents boost1.67 in cosmic from ever being SRUed. Such an SRU need has showed up[2].
[Test Case]
Build boost1.67 in cosmic. Without this fix, the build fails.
[Regression Potential]
Patch is applied upstream and in disco already. Bug was caused by newly introduced gcc8 checks, and one such check is being fixed.
[Other Info]
Not at this time.
[Original Description]
There is an FTBFS with boost1.67 in cosmic that is fixed in disco via this patch[1]:
From fdbdb94db64e888
From: pradeep <email address hidden>
Date: Tue, 8 May 2018 14:53:38 +0530
Subject: [PATCH 1/2] Fix return var qualifier in svm_ptr:
Lack of `const` qualifier is throwing errors with GCC 8.1
---
include/
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/
index c8753f5b..56cf1268 100644
--- a/libs/
+++ b/libs/
@@ -126,7 +126,7 @@ class svm_ptr
return m_ptr - other.m_ptr;
}
- context& get_context() const
+ const context& get_context() const
{
return m_context;
}
1. https:/
2. https:/
Related branches
- Robie Basak: Approve
- Canonical Server: Pending requested
-
Diff: 112 lines (+72/-1)5 files modifieddebian/changelog (+9/-0)
debian/control (+2/-1)
debian/patches/boostorg-program_options-pull-59.patch (+31/-0)
debian/patches/fix-boost-compute-gcc8-ftbfs.patch (+28/-0)
debian/patches/series (+2/-0)
Changed in boost1.67 (Ubuntu): | |
status: | New → Fix Released |
Changed in boost1.67 (Ubuntu Cosmic): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in boost1.67 (Debian): | |
status: | Unknown → Fix Released |
description: | updated |
description: | updated |
Hello Andreas, or anyone else affected,
Accepted boost1.67 into cosmic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ boost1. 67/1.67. 0-7ubuntu0. 1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- cosmic to verification- done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- cosmic. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!