[Pkg-sugar-devel] Bug#862576: etoys: Doesn't get beyond Squeak security key generation

Adrian Bunk bunk at debian.org
Tue Jun 6 09:28:56 UTC 2017


Control: reassign -1 squeak-vm 4.10.2.2614-4
Control: affects -1 etoys

On Sun, Jun 04, 2017 at 10:23:51PM +0200, Petter Reinholdtsen wrote:
> This issue is going to cause etags to be removed from Stretch.  Anyone have any idea what is wrong?

It seems better optimization in recent gcc versions exposes bugs
in squeak-vm.

The following workaround to use less optimization works for me:

--- debian/rules.old	2017-06-06 09:04:49.000000000 +0000
+++ debian/rules	2017-06-06 09:20:17.000000000 +0000
@@ -6,6 +6,9 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+# workaround for #862576
+export DEB_CFLAGS_MAINT_APPEND = -O1
+
 include /usr/share/cdbs/1/rules/upstream-tarball.mk
 include /usr/share/cdbs/1/class/cmake.mk
 include /usr/share/cdbs/1/rules/debhelper.mk


This is a short-term workaround for stretch.

Additionally adding -Wall gives tons of warnings for non-harmless 
issues, that's a good starting point when searching for a proper fix.


> Happy hacking
> Petter Reinholdtsen

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the pkg-sugar-devel mailing list