[Debian-med-packaging] Bug#966417: vg: FTBFS in sid, with new elfutils

Gianfranco Costamagna locutusofborg at debian.org
Tue Jul 28 11:33:40 BST 2020


Source: vg
Version: 1.25.0+ds-2
Severity: serious

Hello, looks like elfutils dropped one library used by vg:

	# We do not provide a libebl anymore, use libdw instead.
	rm -f debian/tmp/usr/include/elfutils/libebl.h


causing now FTBFS in sid:
. ./source_me.sh && g++ -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -I/usr/include/fastahack -I/<<BUILDDIR>>/vg-1.25.0+ds/include -I. -I/<<BUILDDIR>>/vg-1.25.0+ds/src -I/<<BUILDDIR>>/vg-1.25.0+ds/src/unittest -I/<<BUILDDIR>>/vg-1.25.0+ds/src/subcommand -I/<<BUILDDIR>>/vg-1.25.0+ds/include/dynamic -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/smithwaterman -I/usr/include/vcflib -I/usr/include/smithwaterman -I/usr/include/fastahack -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -Werror=return-type -std=c++14 -ggdb -g -MMD -MP -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vg-1.25.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -msse4.1 -fopenmp -o test/build_graph test/build_graph.cpp -lvg -L/<<BUILDDIR>>/vg-1.25.0+ds/lib /<<BUILDDIR>>/vg-1.25.0+ds/lib/libvgio.a -lz -lgssw -lssw -lprotobuf -lsublinearLS -ldeflate -lpthread -ljansson -lncurses -lgcsa2 -lgbwtgraph -lgbwt -ldivsufsort -ldivsufsort64 -lraptor2 -lpinchesandcacti -l3edgeconnected -lsonlib -lfml -llz4 -lstructures -lvw -lboost_program_options -lallreduce -lbdsg -lxg -lsdsl -lhandlegraph -lfastahack -lsmithwaterman -ldisorder -lvcflib -lsmithwaterman -ldisorder -lfastahack -lhts -ltabixpp -lcairo -ljansson -latomic -rdynamic -ldw -lelf -lebl -ldl -llzma -lrocksdb -lbz2 -ljemalloc 
/usr/bin/ld: cannot find -lebl


I don't know if this patch is enough to make it build correctly, it is still building here
diff -Nru vg-1.25.0+ds/debian/changelog vg-1.25.0+ds/debian/changelog
--- vg-1.25.0+ds/debian/changelog	2020-07-14 15:15:28.000000000 +0200
+++ vg-1.25.0+ds/debian/changelog	2020-07-28 12:11:33.000000000 +0200
@@ -1,3 +1,9 @@
+vg (1.25.0+ds-2.1) unstable; urgency=medium
+
+  * Fix build by not linking anymore libebl.a (Closes: #-1)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 28 Jul 2020 12:11:33 +0200
+
 vg (1.25.0+ds-2) unstable; urgency=medium
 
   * Restrict architectures to build for. Closes: #964039.
diff -Nru vg-1.25.0+ds/debian/patches/use_packaged_elfutils vg-1.25.0+ds/debian/patches/use_packaged_elfutils
--- vg-1.25.0+ds/debian/patches/use_packaged_elfutils	2020-02-03 13:26:00.000000000 +0100
+++ vg-1.25.0+ds/debian/patches/use_packaged_elfutils	2020-07-28 12:11:25.000000000 +0200
@@ -7,7 +7,7 @@
  
      # We want to link against the elfutils libraries
 -    LD_LIB_FLAGS += -ldwfl -ldw -ldwelf -lelf -lebl
-+    LD_LIB_FLAGS += -ldw -lelf -lebl
++    LD_LIB_FLAGS += -ldw -lelf
  
      # We get OpenMP the normal way, using whatever the compiler knows about
      CXXFLAGS += -fopenmp


More information about the Debian-med-packaging mailing list