Bug#730157: kdepimlibs FTBFS on ia64, linker segfaults.

2013-11-23 Thread Stephan Schreiber

block 730157 by 718047
thanks

This is likely bug#718047. Removing the --as-needed switch from the ld  
invoke is the tentative workaround for that.


Regards
Stephan


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#730157: kdepimlibs FTBFS on ia64, linker segfaults.

2013-11-23 Thread peter green

Stephan Schreiber wrote:

block 730157 by 718047
thanks

This is likely bug#718047. Removing the --as-needed switch from the ld 
invoke is the tentative workaround for that.
I just tried to reproduce the issue on merulo and the package failed 
with a ld segfault but on a different file, I guess whether a given 
binary succeeds or fails to link is somewhat sensitive to the 
environment the compiler is running in.


Anyway I was able to disable --as-needed and get a successful build. 
Patch is attatched, no intent to NMU.
diff -ur kdepimlibs-4.11.3/debian/rules kdepimlibs-4.11.3.new/debian/rules
--- kdepimlibs-4.11.3/debian/rules	2013-11-06 17:42:55.0 +
+++ kdepimlibs-4.11.3.new/debian/rules	2013-11-23 23:18:16.0 +
@@ -1,5 +1,10 @@
 #!/usr/bin/make -f
 
+DEB_HOST_ARCH:=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifeq ($(DEB_HOST_ARCH),ia64)
+  dqk_link_with_as_needed := no
+endif
+
 include /usr/share/pkg-kde-tools/qt-kde-team/2/debian-qt-kde.mk
 libpkgs_addsubst_allLibraries = kdepimlibs5-dev kdepimlibs-dbg
 libpkgs_gen_strict_local_shlibs = $(libpkgs_all_packages)


Bug#730157: kdepimlibs FTBFS on ia64, linker segfaults.

2013-11-21 Thread peter green

Package: kdepimlibs
Severity: serious
Version: 4:4.11.3-1
X-debbugs-cc: debian-i...@lists.debian.org

/usr/bin/c++  -fPIC -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2  -Wnon-virtual-dtor -Wno-long-long -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 -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc   -Wl,--as-needed -Wl,--no-undefined -shared -Wl,-soname,libgpgme++-pthread.so.2 -o ../lib/libgpgme++-pthread.so.2.8.0 CMakeFiles/gpgmepp-pthread.dir/gpgmepp-pthread_automoc.o CMakeFiles/gpgmepp-pthread.dir/exception.o CMakeFiles/gpgmepp-pthread.dir/context.o CMakeFiles/gpgmepp-pthread.dir/key.o CMakeFiles/gpgmepp-pthread.dir/trustitem.o CMakeFiles/gpgmepp-pthread.dir/data.o CMakeFiles/gpgmepp-pthread.dir/callbacks.o CMakeFiles/gpgmepp-pthread.dir/eventloopinteractor.o CMakeFiles/gpgmepp-pthread.dir/editinteractor.o CMakeFiles/gpgmepp-pthread.dir/assuanresult.o CMakeFiles/gpgmepp-pthread.dir/keylistresult.o CMakeFiles/gpgmepp-pthread.dir/keygenerationresult.o CMakeFiles/gpgmepp-pthread.dir/importresult.o CMakeFiles/gpgmepp-pthread.dir/decryptionresult.o CMakeFiles/gpgmepp-pthread.dir/verificationresult.o CMakeFiles/gpgmepp-pthread.dir/signingresult.o CMakeFiles/gpgmepp-pthread.dir/encryptionresult.o CMakeFiles/gpgmepp-pthread.dir/engineinfo.o CMakeFiles/gpgmepp-pthread.dir/gpgsetexpirytimeeditinteractor.o CMakeFiles/gpgmepp-pthread.dir/gpgsetownertrusteditinteractor.o CMakeFiles/gpgmepp-pthread.dir/gpgsignkeyeditinteractor.o CMakeFiles/gpgmepp-pthread.dir/gpgadduserideditinteractor.o CMakeFiles/gpgmepp-pthread.dir/defaultassuantransaction.o CMakeFiles/gpgmepp-pthread.dir/scdgetinfoassuantransaction.o CMakeFiles/gpgmepp-pthread.dir/gpgagentgetinfoassuantransaction.o CMakeFiles/gpgmepp-pthread.dir/vfsmountresult.o CMakeFiles/gpgmepp-pthread.dir/configuration.o CMakeFiles/gpgmepp-pthread.dir/context_vanilla.o -lgpgme-pthread -lassuan -lgpg-error -lpthread 
collect2: ld terminated with signal 11 [Segmentation fault]

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.23.52.20130727 assertion fail 
elf64-ia64.c:2723


This is blocking the decrufting of libnepomukwidgets4 which in turn is 
blocking the migration of nepomuk-widgets to testing which in turn is 
blocking the migration of kde-baseapps to testing which in turn means 
that the build-dependencies of konsole and ark cannot be satisfied in 
testing. So even though this bug is filed against a version that is only 
in sid it needs to be resolved one way or another before release.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org