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

David T Lewis dtlewis290 at gmail.com
Wed Jun 7 14:32:36 UTC 2017


Thanks Bert.

Adrian, all,

Please treat me as a newbie with respect to Debian package support, but I'd
like to help with this if I can. I don't currently have a Debian
development system (I only have Ubuntu 15.04 on a laptop for the moment),
and my time will be very limited for the next couple of weeks. That said ...

The traditional Squeak VM for Etoys is actively but quietly maintained on
squeakvm.org, and I personally have been using the 64-bit version for years
without trouble. So aside from possible differences in the compiler
toolchain in recent versions compared to the older gcc that I am currently
using (gcc 4.9.2 at the moment), I am guessing that if we could refresh the
sources for squeak-vm with up to date sources from squeakvm.org, then we
should have a good solid VM that would support Etoys on 32-bit and 64-bit
Debian.

The easiest and quickest way to find out if this makes sense would be if
someone with an up to date Debian 64-bit development system could try
building the Squeak VM, following the instructions that I maintain at
http://wiki.squeak.org/squeak/6354.

If this seems to be a good approach, we would then want to trim out the
portions of the source tree that are not relevant to Linux, or that should
be excluded for licensing reasons. But first please try following the
instructions on http://wiki.squeak.org/squeak/6354 verbatim, as this will
tell us if the resulting updated VM is solid on Debian 64-bits.

I should also note that the build process relies on Cmake, so that might
present issues from a license perspective. I'm not sure what to do about
that if it is a concern, but first things first let's see if the updated
source work as expected.

Thanks!
Dave




On Tue, Jun 6, 2017 at 5:36 PM, Bert Freudenberg <bert at freudenbergs.de>
wrote:

> @James: You can press alt-. (period) in Etoys to see what it's doing -
> this should also create a SqueakDebug.log file which you can attach.
> However, this sounds like a squeak-vm bug, not Etoys.
>
> @Adrian: Thanks for finding a work-around!
>
> ​CC'ing Dave Lewis, our ​VM guy ...
>
> ​- Bert -​
>
> On Tue, Jun 6, 2017 at 11:28 AM, Adrian Bunk <bunk at debian.org> wrote:
>
>> 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-squeak-devel mailing list