Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645690 - dev-lang/gnu-smalltalk-3.2.5: removal (was: with CFLAGS=-pie throws ZeroDivide exception)
Summary: dev-lang/gnu-smalltalk-3.2.5: removal (was: with CFLAGS=-pie throws ZeroDivid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2018-12-11
Keywords: PMASKED
Depends on:
Blocks: default-pie
  Show dependency tree
 
Reported: 2018-01-25 13:54 UTC by Tommy Pettersson
Modified: 2018-12-11 13:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gnu-smalltalk-3.2.5.ebuild (gnu-smalltalk-3.2.5.ebuild,1.86 KB, text/plain)
2018-10-20 12:06 UTC, Pacho Ramos
Details
gnu-smalltalk-3.2.5.ebuild (gnu-smalltalk-3.2.5-r1.ebuild,1.90 KB, text/plain)
2018-11-18 09:40 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tommy Pettersson 2018-01-25 13:54:53 UTC
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.
Comment 1 Pacho Ramos gentoo-dev 2018-10-20 12:06:17 UTC
Created attachment 551944 [details]
gnu-smalltalk-3.2.5.ebuild

Even appending no-pie it keeps failing for me
Comment 2 Dennis Camera 2018-11-13 10:18:03 UTC
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.
Comment 3 Tommy Pettersson 2018-11-16 14:52:45 UTC
Pacho Ramos, have you tried adding -no-pie to CFLAGS? Just adding it to LDFLAGS fails for me too in the ebuild.
Comment 4 Pacho Ramos gentoo-dev 2018-11-18 09:40:04 UTC
Created attachment 555534 [details]
gnu-smalltalk-3.2.5.ebuild

it keeps failing in the same way
Comment 5 Plüss Roland 2018-11-18 17:25:25 UTC
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)
Comment 6 Plüss Roland 2018-11-18 17:54:19 UTC
I see. It's a problem linked with FloatD. Using Float (0.01e) does not show the problem. Interesting bug.
Comment 7 Linlin Yan 2018-11-20 09:26:30 UTC
I failed to reproduce the problem, with or without CFLAGS="-pie" configure. My profile is default/linux/amd64/17.0/desktop/gnome/systemd.
Comment 8 Larry the Git Cow gentoo-dev 2018-12-11 13:39:36 UTC
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(-)