please drop build-dependency on g++-4.9 and ftbfs with GCC 5

Bug #1452333 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
net-cpp (Ubuntu)
Fix Released
Critical
Thomas Voß

Bug Description

The net-cpp package currently has a build-dependency on g++-4.9. This build-dependency is present because of the recommendations on https://wiki.ubuntu.com/cpp-11 about handling of C++11.

The C++11 ABI has now stabilized in gcc as of gcc 5; however, before we can switch to gcc 5, we first need to be able to do rebuild tests of the archive against this compiler.

To facilitate this, please drop the build-dependency on g++-4.9 from the package in wily. 4.9 will remain the default until all transition issues have been identified, so there is no risk of accidental ABI breakage here anymore.

Related branches

Steve Langasek (vorlon)
tags: added: lsd-cxx11
Revision history for this message
Matthias Klose (doko) wrote :

raising importance, prevents build using GCC 5, which will become the default at the end of July

Changed in net-cpp (Ubuntu):
importance: Undecided → Critical
milestone: none → ubuntu-15.07
status: New → Confirmed
Changed in net-cpp (Ubuntu):
assignee: nobody → Thomas Voß (thomas-voss)
Revision history for this message
Matthias Klose (doko) wrote :

and ftbfs with GCC 5:

Scanning dependencies of target http_client_load_test
make[3]: Leaving directory '/scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/obj-x86_64-linux-gnu'
make -f tests/CMakeFiles/http_client_load_test.dir/build.make tests/CMakeFiles/http_client_load_test.dir/build
make[3]: Entering directory '/scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/obj-x86_64-linux-gnu/CMakeFiles 10
[ 83%] Building CXX object tests/CMakeFiles/http_client_load_test.dir/http_client_load_test.cpp.o
cd /scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/obj-x86_64-linux-gnu/tests && /usr/bin/g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++11 -Werror -Wall -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pedantic -Wextra -I/scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/include -I/scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/obj-x86_64-linux-gnu/tests -I/usr/include/gmock/include -I/usr/src/gmock/gtest/include -I/usr/include/jsoncpp -o CMakeFiles/http_client_load_test.dir/http_client_load_test.cpp.o -c /scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/tests/http_client_load_test.cpp
/scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/tests/http_client_load_test.cpp:120:19: error: '{anonymous}::is_initialized' defined but not used [-Werror=unused-variable]
 static const bool is_initialized = init();
                   ^
cc1plus: all warnings being treated as errors
tests/CMakeFiles/http_client_load_test.dir/build.make:57: recipe for target 'tests/CMakeFiles/http_client_load_test.dir/http_client_load_test.cpp.o' failed
make[3]: *** [tests/CMakeFiles/http_client_load_test.dir/http_client_load_test.cpp.o] Error 1
make[3]: Leaving directory '/scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:1123: recipe for target 'tests/CMakeFiles/http_client_load_test.dir/all' failed
make[2]: *** [tests/CMakeFiles/http_client_load_test.dir/all] Error 2
make[2]: Leaving directory '/scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/obj-x86_64-linux-gnu'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/scratch/packages/tmp/net-cpp-1.2.0+15.04.20150415.2/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 2

summary: - please drop build-dependency on g++-4.9
+ please drop build-dependency on g++-4.9 and ftbfs with GCC 5
Revision history for this message
Matthias Klose (doko) wrote :
tags: added: patch
Revision history for this message
Matthias Klose (doko) wrote :

now fixed in silo16

Changed in net-cpp (Ubuntu):
status: Confirmed → Fix Committed
Steve Langasek (vorlon)
Changed in net-cpp (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.