Andreas Tille pushed to branch master at Debian Med / ncbi-vdb

Commits:
245dbdb2 by Andreas Tille at 2018-09-04T10:42:12Z
Add bug reference

- - - - -
c8ff0c06 by Andreas Tille at 2018-09-04T10:42:58Z
Revert attempt to build with DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs

- - - - -
e085572c by Andreas Tille at 2018-09-04T12:14:19Z
Disable patch that would be needed for -Wl,-z,defs

- - - - -
ddf9c5ab by Andreas Tille at 2018-09-04T12:21:05Z
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/patches/fix_linking.patch
- debian/patches/i386-uint64_msbit.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-ncbi-vdb (2.9.2-1+dfsg-1) UNRELEASED; urgency=medium
+ncbi-vdb (2.9.2-1+dfsg-1) unstable; urgency=medium
 
   * New upstream version
 
@@ -8,14 +8,17 @@ ncbi-vdb (2.9.2-1+dfsg-1) UNRELEASED; urgency=medium
 
   [ Andreas Tille ]
   * d/rules:
-     - DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs -Wl,--as-needed
-       This should prevent successful build of a broken library (thanks
-       for the hint to Steve Langasek in #907358)
+     - DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
+     - Considered using
+           DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs
+       which should prevent successful build of a broken library (thanks
+       for the hint to Steve Langasek) Unfortunately this uncovers several
+       other build failures - volunteers to provide the correct linker
+       flags are welcome
      - dh_auto_build --no-parallel
   * Standards-Version: 4.2.1
-  TODO: Try to fix linking but failed
 
- -- Andreas Tille <[email protected]>  Tue, 28 Aug 2018 07:55:59 +0200
+ -- Andreas Tille <[email protected]>  Tue, 04 Sep 2018 14:14:44 +0200
 
 ncbi-vdb (2.9.1-1+dfsg-1) unstable; urgency=medium
 


=====================================
debian/patches/fix_linking.patch
=====================================
@@ -1,3 +1,12 @@
+Description: When using
+          DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs
+ which should prevent successful build of a broken library this patch is needed
+ but not sufficient to build the project successfully.  There are at least one
+ further library that needs additional linking options.  Any volunteer who 
wants
+ to provide a complete patch that enables linking with  -Wl,-z,defs  is welcome
+Author: Andreas Tille <[email protected]>
+Last-Update: Tue, 28 Aug 2018 07:55:59 +0200
+
 --- a/libs/hdf5/Makefile
 +++ b/libs/hdf5/Makefile
 @@ -112,7 +112,9 @@ ifdef HDF5_LIBDIR


=====================================
debian/patches/i386-uint64_msbit.patch
=====================================
@@ -4,6 +4,7 @@ Description: add missing implementation of uint64_msbit for i386
  x86_64.
 Author: Steve Langasek <[email protected]>
 Last-Modified: 2018-08-26
+Bug-Debian: https://bugs.debian.org/907358
 
 Index: ncbi-vdb-2.9.1-1+dfsg/interfaces/cc/gcc/i386/arch-impl.h
 ===================================================================


=====================================
debian/patches/series
=====================================
@@ -10,4 +10,4 @@ add_-msse2.patch
 use_debian_packaged_libmbedx.patch
 mbedtls_ssl_init.patch
 i386-uint64_msbit.patch
-fix_linking.patch
+# fix_linking.patch


=====================================
debian/rules
=====================================
@@ -18,7 +18,9 @@ LIBINSTALLDIR := 
debian/tmp/usr/$(DEB_SOURCE)/$(OS)/gcc/$(VDB_ARCH)/dbg/lib
 LIBPKG := libncbi-vdb2
 SCHEMADIR := debian/$(LIBPKG)/usr/lib/$(DEB_SOURCE)
 
-export DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs -Wl,--as-needed
+# See debian/patches/fix-linking
+# export DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs -Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
 
 %:
        dh $@



View it on GitLab: 
https://salsa.debian.org/med-team/ncbi-vdb/compare/8800585355ba19a73a500e03458ee799694188aa...ddf9c5ab425b7b594f9aa344ea3d3692fadacd29

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/ncbi-vdb/compare/8800585355ba19a73a500e03458ee799694188aa...ddf9c5ab425b7b594f9aa344ea3d3692fadacd29
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to