To reproduce, just start gst and type 0.05 at the prompt followed by enter. It throws a ZeroDivide exception. I recompiled it with CFLAGS="-no-pie", and then it behaves as normal again. Side note: If I compile manually I can set either CFLAGS or LDFLAGS to -no-pie, but I didn't get LDFLAGS to work in /etc/portage/make.conf. However, when I run `make check` in the manual build, the test fails for XML-Expat on my amd64 machines with profile 17.0. On an x86 machine which is still on profile 13.0 the XML-Expat test succeeds when I build gst-smalltalk manually. I don't know if its 64 bit or the 17.0 profile that is causing the XML-Expat test to fail, so it might be unrelated. If I switch to prifile 17.0 I will test again.
Created attachment 551944 [details] gnu-smalltalk-3.2.5.ebuild Even appending no-pie it keeps failing for me
I disagree with removing this package from Gentoo. I've been using GNU Smalltalk on armhv7hfel without any issues. It even works with PIE enabled on a 17.0 profile (default/linux/arm/17.0/armv7a/desktop). I think it would be better to report this bug upstream than to just remove the package. Un-keyword the package for amd64 if it's broken there. Maybe trying a newer (pre-release) version like 3.2.91 might help on amd64. I didn't run "make check" before, but I can confirm that XML-Expat errors. I will report this error upstream.
Pacho Ramos, have you tried adding -no-pie to CFLAGS? Just adding it to LDFLAGS fails for me too in the ebuild.
Created attachment 555534 [details] gnu-smalltalk-3.2.5.ebuild it keeps failing in the same way
I have smalltalk-3.2.5 in my game engine as script module too and I do not see this problem. Can it be some gentoo-specific patch causes problems or a dependency of smalltalk is configured in a particular way on gentoo? (side note: in my game engine I compile smalltalk from the pure 3.2.5 source package without any patches)
I see. It's a problem linked with FloatD. Using Float (0.01e) does not show the problem. Interesting bug.
I failed to reproduce the problem, with or without CFLAGS="-pie" configure. My profile is default/linux/amd64/17.0/desktop/gnome/systemd.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ccbf790c00fe5de46d99cf0a7941d67545bae9 commit 63ccbf790c00fe5de46d99cf0a7941d67545bae9 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-12-11 13:37:49 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-12-11 13:37:49 +0000 dev-lang/gnu-smalltalk: Remove last-rited pkg Closes: https://bugs.gentoo.org/645690 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-lang/gnu-smalltalk/Manifest | 1 - .../gnu-smalltalk/files/50gnu-smalltalk-gentoo.el | 7 -- .../files/gnu-smalltalk-3.2_use-result.patch | 16 ----- dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild | 79 ---------------------- dev-lang/gnu-smalltalk/metadata.xml | 11 --- profiles/package.mask | 4 -- 6 files changed, 118 deletions(-)