Package: release.debian.org Severity: normal Tags: jessie User: release.debian....@packages.debian.org Usertags: pu
sparse FTBFS in jessie and sid since the llvm default version was updated to 3.5. Unfortunately nobody rebuilt contrib and non-free before the release so this was not noticed in time :-( Andreas
diff -Nru sparse-0.4.5~rc1/debian/.gitignore sparse-0.4.5~rc1/debian/.gitignore --- sparse-0.4.5~rc1/debian/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ sparse-0.4.5~rc1/debian/.gitignore 2015-08-08 13:34:52.000000000 +0200 @@ -0,0 +1 @@ +!patches diff -Nru sparse-0.4.5~rc1/debian/changelog sparse-0.4.5~rc1/debian/changelog --- sparse-0.4.5~rc1/debian/changelog 2013-06-15 01:10:11.000000000 +0200 +++ sparse-0.4.5~rc1/debian/changelog 2015-08-08 13:34:52.000000000 +0200 @@ -1,3 +1,25 @@ +sparse (0.4.5~rc1-2~deb8u1) jessie; urgency=medium + + * QA upload. + * Rebuild for jessie. + + -- Andreas Beckmann <a...@debian.org> Sat, 08 Aug 2015 13:33:23 +0200 + +sparse (0.4.5~rc1-2) unstable; urgency=medium + + [ Andreas Beckmann ] + * QA upload. + * Set maintainer to Debian QA Group. (See #794643) + * Fix Homepage and Vcs-Browser URLs. + * Refresh patch to apply without fuzz. + + [ Uwe Kleine-König ] + * Cherry-pick commit from upstream to fix build failure with llvm-3.5. + * Temporarily build-depend on libedit-dev because llvm-config claims to need + that. (Closes: #793197) + + -- Andreas Beckmann <a...@debian.org> Sat, 08 Aug 2015 13:17:27 +0200 + sparse (0.4.5~rc1-1) unstable; urgency=low [ Uwe Kleine-König ] diff -Nru sparse-0.4.5~rc1/debian/control sparse-0.4.5~rc1/debian/control --- sparse-0.4.5~rc1/debian/control 2013-06-15 01:09:43.000000000 +0200 +++ sparse-0.4.5~rc1/debian/control 2015-08-08 13:34:52.000000000 +0200 @@ -1,21 +1,22 @@ Source: sparse -Maintainer: Pierre Habouzit <madco...@debian.org> +Maintainer: Debian QA Group <packa...@qa.debian.org> Uploaders: Loïc Minier <l...@debian.org> Section: non-free/devel Priority: optional Build-Depends: debhelper (>= 9), libxml2-dev, libgtk2.0-dev, - llvm-dev (>= 1:3.0~) + llvm-dev (>= 1:3.0~), + libedit-dev Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/collab-maint/sparse.git -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/sparse.git +Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/sparse.git XS-autobuild: yes +Homepage: https://sparse.wiki.kernel.org/ Package: sparse Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${perl:Depends} -Homepage: http://sparse.wiki.kernel.org/index.php/Main_Page Description: semantic parser of source files Sparse, the semantic parser, provides a compiler frontend capable of parsing most of ANSI C as well as many GCC extensions, and a collection diff -Nru sparse-0.4.5~rc1/debian/patches/ld-as-needed.patch sparse-0.4.5~rc1/debian/patches/ld-as-needed.patch --- sparse-0.4.5~rc1/debian/patches/ld-as-needed.patch 2013-06-15 00:42:08.000000000 +0200 +++ sparse-0.4.5~rc1/debian/patches/ld-as-needed.patch 2015-08-08 13:34:52.000000000 +0200 @@ -37,4 +37,4 @@ +LDFLAGS += -Wl,--no-as-needed $(shell llvm-config --ldflags) -Wl,--as-needed LLVM_CFLAGS := $(shell llvm-config --cflags | sed -e "s/-DNDEBUG//g") LLVM_LIBS := $(shell llvm-config --libs) - PROGRAMS += $(LLVM_PROGS) + LLVM_LIBS += $(shell llvm-config --system-libs 2>/dev/null) diff -Nru sparse-0.4.5~rc1/debian/patches/series sparse-0.4.5~rc1/debian/patches/series --- sparse-0.4.5~rc1/debian/patches/series 2013-06-15 00:49:59.000000000 +0200 +++ sparse-0.4.5~rc1/debian/patches/series 2015-08-08 13:34:52.000000000 +0200 @@ -1,3 +1,4 @@ +sparse-llvm-Fix-LLVM-3.5-linker-errors.patch shut-down-upstream-version-detection.patch ld-as-needed.patch pass-down-cflags.patch diff -Nru sparse-0.4.5~rc1/debian/patches/sparse-llvm-Fix-LLVM-3.5-linker-errors.patch sparse-0.4.5~rc1/debian/patches/sparse-llvm-Fix-LLVM-3.5-linker-errors.patch --- sparse-0.4.5~rc1/debian/patches/sparse-llvm-Fix-LLVM-3.5-linker-errors.patch 1970-01-01 01:00:00.000000000 +0100 +++ sparse-0.4.5~rc1/debian/patches/sparse-llvm-Fix-LLVM-3.5-linker-errors.patch 2015-08-08 13:34:52.000000000 +0200 @@ -0,0 +1,25 @@ +From: Omar Sandoval <osan...@osandov.com> +Date: Wed, 24 Sep 2014 14:01:01 -0700 +Subject: [PATCH] sparse-llvm: Fix LLVM 3.5 linker errors + +llvm-config 3.5 no longer lists the non-LLVM libraries needed for linkage when +passed --libs. The --system-libs flag was added for this purpose. This adds +these libraries while silently doing nothing for older versions of LLVM. + +Signed-off-by: Omar Sandoval <osan...@osandov.com> +Signed-off-by: Christopher Li <spa...@chrisli.org> +Origin: commit:d92353b4eacbac54d693edd62fb565f071e3ba86 +--- + Makefile | 1 + + 1 file changed, 1 insertion(+) + +--- a/Makefile ++++ b/Makefile +@@ -87,6 +87,7 @@ $(LLVM_PROGS): LD := g++ + LDFLAGS += $(shell llvm-config --ldflags) + LLVM_CFLAGS := $(shell llvm-config --cflags | sed -e "s/-DNDEBUG//g") + LLVM_LIBS := $(shell llvm-config --libs) ++LLVM_LIBS += $(shell llvm-config --system-libs 2>/dev/null) + PROGRAMS += $(LLVM_PROGS) + INST_PROGRAMS += sparse-llvm sparsec + sparse-llvm_EXTRA_DEPS := sparse-llvm.o