Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package ne10 This fixes the RC bug 987643 which meant that it FTBFS in testing/unstable This was due to a change in the defaults between gcc9 and gcc10 from -nof-common to -fcommon Specifying the build flag explicitly in the build gets it building again. Debdiff attached unblock ne10/1.2.1-5
diff -Nru ne10-1.2.1/debian/changelog ne10-1.2.1/debian/changelog --- ne10-1.2.1/debian/changelog 2019-01-07 03:44:54.000000000 +0000 +++ ne10-1.2.1/debian/changelog 2021-05-07 04:57:03.000000000 +0100 @@ -1,3 +1,9 @@ +ne10 (1.2.1-5) unstable; urgency=medium + + * Fix FTBFS with gcc10 (Closes: #987643) + + -- Wookey <woo...@debian.org> Fri, 07 May 2021 03:57:03 +0000 + ne10 (1.2.1-4) unstable; urgency=medium * Fix build for armhf (Closes: #905831) diff -Nru ne10-1.2.1/debian/patches/gcc10-fixes.patch ne10-1.2.1/debian/patches/gcc10-fixes.patch --- ne10-1.2.1/debian/patches/gcc10-fixes.patch 2019-01-07 03:44:54.000000000 +0000 +++ ne10-1.2.1/debian/patches/gcc10-fixes.patch 2021-05-07 04:57:03.000000000 +0100 @@ -98,3 +98,20 @@ { { 1.00000, 0.00000 }, { 0.70711, -0.70711 }, +Index: ne10-1.2.1/CMakeLists.txt +=================================================================== +--- ne10-1.2.1.orig/CMakeLists.txt ++++ ne10-1.2.1/CMakeLists.txt +@@ -93,10 +93,10 @@ option(NE10_ENABLE_IMGPROC "Build image + set(NE10_VERSION 10) + + if(BUILD_DEBUG) +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-strict-aliasing -O0 -DDEBUG -g -Wall -Wno-unused-but-set-variable") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fcommon -fno-strict-aliasing -O0 -DDEBUG -g -Wall -Wno-unused-but-set-variable") + message("-- Building type: DEBUG") + else(BUILD_DEBUG) +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-strict-aliasing -O2 -DNDEBUG") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fcommon -fno-strict-aliasing -O2 -DNDEBUG") + message("-- Building type: RELEASE") + endif(BUILD_DEBUG) +