Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (4)
Add bug reference
· 245dbdb2
Andreas Tille
authored
Sep 04, 2018
245dbdb2
Revert attempt to build with DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs
· c8ff0c06
Andreas Tille
authored
Sep 04, 2018
c8ff0c06
Disable patch that would be needed for -Wl,-z,defs
· e085572c
Andreas Tille
authored
Sep 04, 2018
e085572c
Upload to unstable
· ddf9c5ab
Andreas Tille
authored
Sep 04, 2018
ddf9c5ab
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
ddf9c5ab
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 <tille@debian.org> Tue,
28 Aug 2018 07:55:59
+0200
-- Andreas Tille <tille@debian.org> Tue,
04 Sep 2018 14:14:44
+0200
ncbi-vdb (2.9.1-1+dfsg-1) unstable; urgency=medium
...
...
debian/patches/fix_linking.patch
View file @
ddf9c5ab
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 <tille@debian.org>
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
View file @
ddf9c5ab
...
...
@@ -4,6 +4,7 @@ Description: add missing implementation of uint64_msbit for i386
x86_64.
Author: Steve Langasek <steve.langasek@ubuntu.com>
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
View file @
ddf9c5ab
...
...
@@ -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
View file @
ddf9c5ab
...
...
@@ -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 $@
...
...