[Pkg-kde-extras] Bug#669098: qapt FTBFS MD5Summation and debMD5 undeclared
Package: qapt Version: 1.3.0-1 from the armel build log cd /build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/obj-arm-linux-gnueabi/src /usr/bin/c++ -Dqapt_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -std=c++0x -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -I/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0 -I/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/obj-arm-linux-gnueabi -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/polkit-qt-1 -I/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src -I/build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/obj-arm-linux-gnueabi/src-o CMakeFiles/qapt.dir/debfile.o -c /build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp /build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp: In member function 'QByteArray QApt::DebFile::md5Sum() const': /build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp:187:5: error: 'MD5Summation' was not declared in this scope /build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp:187:18: error: expected ';' before 'debMD5' /build/buildd-qapt_1.3.0-1+b1-armel-vECdlq/qapt-1.3.0/src/debfile.cpp:191:5: error: 'debMD5' was not declared in this scope make[3]: *** [src/CMakeFiles/qapt.dir/debfile.o] Error 1 Many (perhaps all, I haven't taken a detailed look at all the paralell build logs) other architectures are failing in the same way. ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras
[Pkg-kde-extras] Processed: fix ftbfs with gcc 4.7
Processing commands for cont...@bugs.debian.org: tags 667145 + patch Bug #667145 [ctemplate] ctemplate: ftbfs with GCC-4.7 Added tag(s) patch. thanks Stopping processing here. Please contact me if you need assistance. -- 667145: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667145 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras
[Pkg-kde-extras] Bug#669163: qapt: FTBFS (error: 'MD5Summation' was not declared in this scope)
Source: qapt Version: 1.3.0-1 Severity: serious Tags: wheezy sid Hi, qapt FTBFS having been binNMUed for the apt 0.9 transition. From the amd64 build log: cd /build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/obj-x86_64-linux-gnu/utils/plasma-runner-installer /usr/bin/c++ -DMAKE_KRUNNER_INSTALLER_LIB -D_BSD_SOURCE -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -std=c++0x -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -fPIC -I/build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/obj-x86_64-linux-gnu/utils/plasma-runner-installer -I/build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/utils/plasma-runner-installer -I/build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0 -I/build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/obj-x86_64-linux-gnu -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/polkit-qt-1 -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -o CMakeFiles/krunner_installer.dir/installerrunner.cpp.o -c /build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/utils/plasma-runner-installer/installerrunner.cpp /build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/src/debfile.cpp: In member function 'QByteArray QApt::DebFile::md5Sum() const': /build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/src/debfile.cpp:187:5: error: 'MD5Summation' was not declared in this scope /build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/src/debfile.cpp:187:18: error: expected ';' before 'debMD5' /build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/src/debfile.cpp:191:5: error: 'debMD5' was not declared in this scope make[3]: *** [src/CMakeFiles/qapt.dir/debfile.o] Error 1 make[3]: *** Waiting for unfinished jobs make[3]: Leaving directory `/build/buildd-qapt_1.3.0-1+b1-amd64-r6DoHN/qapt-1.3.0/obj-x86_64-linux-gnu' make[2]: *** [src/CMakeFiles/qapt.dir/all] Error 2 Full logs available via https://buildd.debian.org/status/package.php?p=qapt Regards, Adam ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras
[Pkg-kde-extras] Processed: block 665969 with 669163 669061 669151
Processing commands for cont...@bugs.debian.org: block 665969 with 669163 669061 669151 Bug #665969 [release.debian.org] transition: apt 0.9.0 665969 was not blocked by any bugs. 665969 was not blocking any bugs. Added blocking bug(s) of 665969: 669163, 669061, and 669151 thanks Stopping processing here. Please contact me if you need assistance. -- 665969: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665969 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras
[Pkg-kde-extras] Processed: reassign 669098 to src:qapt, forcibly merging 669163 669098
Processing commands for cont...@bugs.debian.org: reassign 669098 src:qapt qapt/1.3.0-1 Bug #669098 [qapt] qapt FTBFS MD5Summation and debMD5 undeclared Bug reassigned from package 'qapt' to 'src:qapt'. No longer marked as found in versions 1.3.0-1. Ignoring request to alter fixed versions of bug #669098 to the same values previously set Bug #669098 [src:qapt] qapt FTBFS MD5Summation and debMD5 undeclared Marked as found in versions qapt/1.3.0-1. forcemerge 669163 669098 Bug #669163 [src:qapt] qapt: FTBFS (error: 'MD5Summation' was not declared in this scope) Bug #669098 [src:qapt] qapt FTBFS MD5Summation and debMD5 undeclared Severity set to 'serious' from 'normal' 665969 was blocked by: 669163 669061 669151 665969 was not blocking any bugs. Added blocking bug(s) of 665969: 669098 Added tag(s) sid and wheezy. Merged 669098 669163 thanks Stopping processing here. Please contact me if you need assistance. -- 665969: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665969 669098: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669098 669163: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669163 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras
[Pkg-kde-extras] Bug#669182: gtk2-engines-oxygen: LDFLAGS hardening flags missing
Package: gtk2-engines-oxygen Version: 1.2.2-1 Severity: normal Tags: patch Dear Maintainer, The LDFLAGS hardening flags are missing because they are overwritten in debian/rules. For more hardening information please have a look at [1], [2] and [3]. The following patch fixes the issue. diff -Nru gtk2-engines-oxygen-1.2.2/debian/rules gtk2-engines-oxygen-1.2.2/debian/rules --- gtk2-engines-oxygen-1.2.2/debian/rules 2012-01-21 20:09:29.0 +0100 +++ gtk2-engines-oxygen-1.2.2/debian/rules 2012-04-15 18:54:39.0 +0200 @@ -7,9 +7,9 @@ dh_auto_configure -- \ -DDEBIAN_NO_DEMOS=1 \ -DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=yes \ - -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-undefined -Wl,--as-needed \ - -DCMAKE_MODULE_LINKER_FLAGS=-Wl,--no-undefined -Wl,--as-needed \ - -DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-undefined -Wl,--as-needed + -DCMAKE_SHARED_LINKER_FLAGS=$(LDFLAGS) -Wl,--no-undefined -Wl,--as-needed \ + -DCMAKE_MODULE_LINKER_FLAGS=$(LDFLAGS) -Wl,--no-undefined -Wl,--as-needed \ + -DCMAKE_EXE_LINKER_FLAGS=$(LDFLAGS) -Wl,--no-undefined -Wl,--as-needed override_dh_makeshlibs: dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0 To check if all flags were correctly enabled you can use `hardening-check` from the hardening-includes package and check the build log (for example with blhc [4]) (hardening-check doesn't catch everything): $ hardening-check /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/liboxygen-gtk.so /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/liboxygen-gtk.so: Position Independent Executable: no, regular shared library (ignored) Stack protected: yes Fortify Source functions: no, only unprotected functions found! Read-only relocations: yes Immediate binding: no not found! (Position Independent Executable and Immediate binding is not enabled by default.) Use find -type f \( -executable -o -name \*.so\* \) -exec hardening-check {} + on the build result to check all files. Regards, Simon [1]: https://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags [2]: https://wiki.debian.org/HardeningWalkthrough [3]: https://wiki.debian.org/Hardening [4]: http://ruderich.org/simon/blhc/ -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9 signature.asc Description: Digital signature ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras
[Pkg-kde-extras] Bug#669098: qapt FTBFS MD5Summation and debMD5 undeclared
Hi Jonathan and hello qapt debian-maintainers, Attached is a simple patch to fix the FTBFS of qapt since apt = 0.9: src/debfile.cpp:187:5: error: 'MD5Summation' was not declared in this scope The problem is that it seems like I forgot to guard some header cleanup properly, so the transitive include of apt-pkg/md5.h is gone now. We might end up fixing this in libapt-pkg-dev, but as transitive includes are a bad thing it should be fixed in qapt either way. (After wheezy release we might start bugging front-ends to have a look at APT_8_CLEANER_HEADERS, but that is another story…) Best regards David Kalnischkies qapt-669098-ftbfs-md5summation-undeclared.diff Description: Binary data ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras
[Pkg-kde-extras] Bug#669189: kvirc: Hardening flags missing
Package: kvirc Version: 4:4.1.3+2024.svn5988-1 Severity: normal Tags: patch Dear Maintainer, The LDFLAGS hardening flags are missing because they are overwritten in debian/rules. The other hardening flags are missing because they are overwritten by the build system. DEB_*_MAINT_APPEND is the preferred way to set additional flags (see man dpkg-buildflags for more information). For more hardening information please have a look at [1], [2] and [3]. The attached patch fixes the overwrite by the build system. The following patch fixes the LDFLAGS issue: diff -Nru kvirc-4.1.3+2024.svn5988/debian/rules kvirc-4.1.3+2024.svn5988/debian/rules --- kvirc-4.1.3+2024.svn5988/debian/rules 2011-09-29 16:26:40.0 +0200 +++ kvirc-4.1.3+2024.svn5988/debian/rules 2012-04-18 02:28:16.0 +0200 @@ -2,6 +2,8 @@ # DH_ALWAYS_EXCLUDE:=CVS:.svn:.svnignore:.hg:.hgignore +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined -Wl,--as-needed + DEBVERSION = $(shell head -n 1 debian/changelog | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') UPVERSION = $(shell echo $(DEBVERSION) | sed -r -e 's/^.*://' -e 's/-[0-9.]*(\+b[0-9])?$$//' -e 's/.dfsg[0-9]*$$//') REV = $(shell echo $(UPVERSION) | sed -e 's/^.*svn//' -e 's/\+rc[0-9]$$//') @@ -21,9 +23,6 @@ dh_auto_configure --parallel -Skde -- -DWANT_COEXISTENCE=OFF \ -DWANT_ESD=OFF -DWANT_OSS=OFF \ -DWANT_STRIP=OFF \ - -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-undefined -Wl,--as-needed \ - -DCMAKE_MODULE_LINKER_FLAGS=-Wl,--no-undefined -Wl,--as-needed \ - -DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-undefined -Wl,--as-needed \ -DMANUAL_REVISION=$(REV) \ -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) To check if all flags were correctly enabled you can use `hardening-check` from the hardening-includes package and check the build log (for example with blhc [4]) (hardening-check doesn't catch everything): $ hardening-check /usr/bin/kvirc /usr/lib/x86_64-linux-gnu/kvirc/4.1/modules/libkviwindow.so /usr/lib/x86_64-linux-gnu/kvirc/4.1/modules/libkviuserlist.so ... /usr/bin/kvirc: Position Independent Executable: no, normal executable! Stack protected: yes Fortify Source functions: no, only unprotected functions found! Read-only relocations: yes Immediate binding: no not found! /usr/lib/x86_64-linux-gnu/kvirc/4.1/modules/libkviwindow.so: Position Independent Executable: no, regular shared library (ignored) Stack protected: no, not found! Fortify Source functions: no, only unprotected functions found! Read-only relocations: yes Immediate binding: no not found! /usr/lib/x86_64-linux-gnu/kvirc/4.1/modules/libkviuserlist.so: Position Independent Executable: no, regular shared library (ignored) Stack protected: no, not found! Fortify Source functions: unknown, no protectable libc functions used Read-only relocations: yes Immediate binding: no not found! ... (Position Independent Executable and Immediate binding is not enabled by default.) Use find -type f \( -executable -o -name \*.so\* \) -exec hardening-check {} + on the build result to check all files. Regards, Simon [1]: https://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags [2]: https://wiki.debian.org/HardeningWalkthrough [3]: https://wiki.debian.org/Hardening [4]: http://ruderich.org/simon/blhc/ -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9 Description: Use build flags from environment (dpkg-buildflags). Necessary for hardening flags. Author: Simon Ruderich si...@ruderich.org Last-Update: 2012-04-17 --- kvirc-4.1.3+2024.svn5988.orig/CMakeLists.txt +++ kvirc-4.1.3+2024.svn5988/CMakeLists.txt @@ -220,8 +220,8 @@ ELSE() ENDIF() IF(CMAKE_COMPILER_IS_GNUCXX) #force gdb options - SET(CMAKE_CXX_FLAGS -O3 -fomit-frame-pointer -DNDEBUG --no-enforce-eh-specs -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math) - SET(CMAKE_C_FLAGS -O3 -fomit-frame-pointer -DNDEBUG --no-enforce-eh-specs -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math) + SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -O3 -fomit-frame-pointer -DNDEBUG --no-enforce-eh-specs -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math) + SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -O3 -fomit-frame-pointer -DNDEBUG --no-enforce-eh-specs -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math) INCLUDE(CheckCXXCompilerFlag) CHECK_CXX_COMPILER_FLAG(-fvisibility-inlines-hidden CXX_HAS_VIH_FLAG) #gcc doesn't support visibility on PE/win32 signature.asc Description: Digital signature ___ pkg-kde-extras