[med-svn] [Git][med-team/parsinsert][master] 6 commits: initialize changelog for team upload

Étienne Mollier gitlab at salsa.debian.org
Tue Jan 19 18:56:31 GMT 2021



Étienne Mollier pushed to branch master at Debian Med / parsinsert


Commits:
faee5bc6 by Étienne Mollier at 2021-01-19T18:31:26+01:00
initialize changelog for team upload

- - - - -
8a8628a0 by Étienne Mollier at 2021-01-19T18:46:57+01:00
d/p/020_hardening.patch remove unused CFLAGS

The CFLAGS provided in the makefile is unused after the pass of the
020_hardening patch.  There is no real need to remove it, but this
makes the makefile less confusing after patching.  Besides, options
passed to the compiler are triggering computation errors on a couple
of architectures.

- - - - -
748d92f2 by Étienne Mollier at 2021-01-19T19:17:06+01:00
d/rules: reduce CXXFLAGS to -O1 on some archs

On armel, armhf, mips64el, ppc64el, and riscv64, optimization of
-O2 is too agressive, and this causes regressions in test suites.
Interestingly, -Os crashes in a different manner.

- - - - -
195ca6ac by Étienne Mollier at 2021-01-19T19:36:16+01:00
update changelog

- - - - -
ef7dfd8a by Étienne Mollier at 2021-01-19T19:36:34+01:00
routine-update: Standards-Version: 4.5.1

- - - - -
2309de53 by Étienne Mollier at 2021-01-19T19:40:01+01:00
routine-update: Ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/patches/020_hardening.patch
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+parsinsert (1.04-10) unstable; urgency=medium
+
+  * Team upload.
+  * Remove unused CFLAGS from 020_hardening.patch; makefile less confusing.
+  * d/rules: reduce CXXFLAGS to optimization level -O1 on armel, armhf, ppc64el,
+    mips64el and riscv64, which otherwise would output incorrect results..
+    (Closes: #973789, #976929)
+  * Standards-Version: 4.5.1 (routine-update)
+
+ -- Étienne Mollier <etienne.mollier at mailoo.org>  Tue, 19 Jan 2021 19:36:40 +0100
+
 parsinsert (1.04-9) unstable; urgency=medium
 
   * Team Upload.


=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Uploaders: Tim Booth <tbooth at ceh.ac.uk>, Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13)
-Standards-Version: 4.5.0
+Standards-Version: 4.5.1
 Vcs-Browser: https://salsa.debian.org/med-team/parsinsert
 Vcs-Git: https://salsa.debian.org/med-team/parsinsert.git
 Homepage: http://sourceforge.net/projects/parsinsert/


=====================================
debian/patches/020_hardening.patch
=====================================
@@ -3,17 +3,14 @@ Forwarded: https://sourceforge.net/p/parsinsert/bugs/3/
 Author: Andreas Tille <tille at debian.org>
 Last-Update: Thu, 27 Feb 2014 16:50:26 +0000
 
-Index: parsinsert/makefile
-===================================================================
 --- parsinsert.orig/makefile
 +++ parsinsert/makefile
-@@ -9,15 +9,15 @@
+@@ -9,15 +9,14 @@
  PROGRAM = ParsInsert
  OBJECTS = AttrList.o Knox_Stddef.o PNode.o SeqList.o Taxonomy.o ParsInsert.o
  
 -CFLAGS   = -g -O3
 -CC       = g++
-+CFLAGS  += -g -O3
 +CXX     ?= g++
  INCLUDES =
  LIBS     = -lm -lc
@@ -26,7 +23,7 @@ Index: parsinsert/makefile
  
  all:    $(PROGRAM) 
  
-@@ -26,12 +26,12 @@ clean:
+@@ -26,12 +25,12 @@
  
  TEST_OBJECTS = PNode.o AttrList.o Knox_Stddef.o Test.o
  test:  $(TEST_OBJECTS)


=====================================
debian/rules
=====================================
@@ -4,6 +4,13 @@
 #export DH_VERBOSE=1
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+# Trade performances for correctess of result on these architectures; yes, I'm
+# afraid performances are impeded, but wrong results do not serve anything.  :(
+# See bugs #964082, #973789 and #976929.
+ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf mips64el ppc64el riscv64))
+export DEB_CXXFLAGS_MAINT_APPEND = -O1
+endif
+
 %:
 	dh $@
 



View it on GitLab: https://salsa.debian.org/med-team/parsinsert/-/compare/338a8570f3707e3ca43f6be6c556719a1d780c18...2309de53c814a6c6445d5c1dc80d8deb5f2f7693

-- 
View it on GitLab: https://salsa.debian.org/med-team/parsinsert/-/compare/338a8570f3707e3ca43f6be6c556719a1d780c18...2309de53c814a6c6445d5c1dc80d8deb5f2f7693
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210119/4f4d0ee0/attachment-0001.html>


More information about the debian-med-commit mailing list