Bug#784655: can't rebuild casablanca with newer libstdc++6 (sid)
Package: gcc-5 Version: 5.1.1-4 Severity: Serious Justification: Package rebuild trigger a test failure. As said, casablanca doesn't pass the testsuite anymore with libstdc++6 library. I triggered a successful build from Stretch, and upgraded packages until I upgraded libstdc++6 Preparing to unpack .../libstdc++6_5.1.1-4_amd64.deb ... Unpacking libstdc++6:amd64 (5.1.1-4) over (4.9.2-10) ... Now I have the testsuite giving some failures: /casablanca/Release/tests/functional/http/client/connections_and_errors.cpp:94: error: Failure in server_doesnt_exist: CHECK_EQUAL(static_castint(std::errc::host_unreachable), _condFound.value()) where static_castint(std::errc::host_unreachable)=113 and _condFound.value()=0 FAILED Test case connections_and_errors:server_doesnt_exist FAILED [...] and /casablanca/Release/tests/functional/streams/fstreambuf_tests.cpp:148: error: Failure in OpenForReadDoesntCreateFile1: CHECK_EQUAL(static_castint(std::errc::no_such_file_or_directory), _condFound.value()) where static_castint(std::errc::no_such_file_or_directory)=2 and _condFound.value()=0 FAILED Test case file_buffer_tests:OpenForReadDoesntCreateFile1 FAILED (code following from http://anonscm.debian.org/cgit/collab-maint/casablanca.git/tree/Release/tests/functional/streams/fstreambuf_tests.cpp) TEST(OpenForReadDoesntCreateFile1) { utility::string_t fname = U(OpenForReadDoesntCreateFile1.txt); VERIFY_THROWS_SYSTEM_ERROR(OPEN_Rchar(fname).get(), std::errc::no_such_file_or_directory); std::ifstream is; VERIFY_IS_NULL(is.rdbuf()-open(fname.c_str(), std::ios::in)); } any idea for the regression? thanks, Gianfranco -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#784655: can't rebuild casablanca with newer libstdc++6 (sid)
Hi Matthias, thanks for the quick reply are you running sid, or stretch? in plain sid the package doesn't build at all, in order to trim down the differences I started from a Stretch clean pbuilder environment, and upgraded stuff until I got the problem. is the testsuite rebuilt after the new libstdc++ installed? if yes, is the libstdc++-5-dev package upgraded as well? yes, of course the testsuite has been rebuilt, if that matters, I'm compiling with -std=c++11 flag so, to resume starting from stretch, enabling sid repository apt-get install libstdc++6 libstdc++-5-dev The following extra packages will be installed: gcc-5-base libasan2 libatomic1 libcilkrts5 libgcc-5-dev libgcc1 libgomp1 libitm1 liblsan0 libmpx0 libquadmath0 libtsan0 libubsan0 fetch casablanca and try to build. /casablanca/Release/tests/functional/streams/fstreambuf_tests.cpp:158: error: Failure in OpenForReadDoesntCreateFile2: CHECK_EQUAL(static_castint(std::errc::no_such_file_or_directory), _condFound.value()) where static_castint(std::errc::no_such_file_or_directory)=2 and _condFound.value()=0 please can you distill down a test case? the test case seems pretty generic utility::string_t fname = U(OpenForReadDoesntCreateFile2.txt); VERIFY_THROWS_SYSTEM_ERROR(OPENchar(fname, std::ios_base::in | std::ios_base::binary ).get(), std::errc::no_such_file_or_directory); std::ifstream is; VERIFY_IS_NULL(is.rdbuf()-open(fname.c_str(), std::ios::in | std::ios_base::binary)); isn't this something generic? (sorry I don't undestand too much g++ code, moreover I'm using an embedded UnitTestpp because the Debian one is too outdated) cheers, G. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#784655: can't rebuild casablanca with newer libstdc++6 (sid)
On 05/07/2015 04:14 PM, Gianfranco Costamagna wrote: Package: gcc-5 Version: 5.1.1-4 Severity: Serious Justification: Package rebuild trigger a test failure. As said, casablanca doesn't pass the testsuite anymore with libstdc++6 library. I triggered a successful build from Stretch, and upgraded packages until I upgraded libstdc++6 are you running sid, or stretch? is the testsuite rebuilt after the new libstdc++ installed? if yes, is the libstdc++-5-dev package upgraded as well? any idea for the regression? please can you distill down a test case? -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org