Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196984 - dev-lang/squeak-3.9.9 version bump (and stop using dev-libs/libffi)
Summary: dev-lang/squeak-3.9.9 version bump (and stop using dev-libs/libffi)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Luis Araujo (RETIRED)
Depends on:
Blocks: 163724
  Show dependency tree
Reported: 2007-10-25 00:28 UTC by Pablo Lalloni
Modified: 2008-06-09 18:33 UTC (History)
4 users (show)

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

squeak-3.9.9.ebuild (squeak-3.9.9.ebuild,1.43 KB, text/plain)
2007-10-25 00:29 UTC, Pablo Lalloni
squeak-3.9.9.ebuild (squeak-3.9.9.ebuild,1.58 KB, text/plain)
2007-12-02 22:31 UTC, David Leverton
squeak-3.9.9-64bit.patch (squeak-3.9.9-64bit.patch,1.60 KB, patch)
2007-12-02 22:32 UTC, David Leverton
Details | Diff
squeak-3.9.9-64bit.patch (squeak-3.9.9-64bit.patch,2.46 KB, patch)
2007-12-03 13:04 UTC, David Leverton
Details | Diff
Squeak VM (squeak-3.10.ebuild,1.59 KB, text/plain)
2008-06-06 09:48 UTC, Luis Araujo (RETIRED)
Squeak basic image (squeak-basicimage-3.10.ebuild,1.27 KB, text/plain)
2008-06-06 09:49 UTC, Luis Araujo (RETIRED)
squeak-3.10.ebuild patch (squeak-ebuild.patch,1.55 KB, patch)
2008-06-06 17:48 UTC, David Leverton
Details | Diff
squeak-3.10.ebuild patch (squeak-ebuild.patch,1.91 KB, patch)
2008-06-06 23:01 UTC, David Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Lalloni 2007-10-25 00:28:36 UTC
This ebuild is for installing squeak-3.9-9.

Just for the record I've setup a working repository/overlay at with this.

Reproducible: Always

Steps to Reproduce:
Comment 1 Pablo Lalloni 2007-10-25 00:29:50 UTC
Created attachment 134285 [details]
Comment 2 James Laver 2007-11-25 20:02:59 UTC
Given that the squeakvm folks haven't even linked to it from their unix homepage, I have some concerns about the stability of this.

And it still doesn't compile on amd64 (-march=nocona with sane cflags). Bizarrely it filters out -O2 as well...
Comment 3 Pablo Lalloni 2007-11-25 20:14:55 UTC
(In reply to comment #2)
> Given that the squeakvm folks haven't even linked to it from their unix
> homepage, I have some concerns about the stability of this.
> And it still doesn't compile on amd64 (-march=nocona with sane cflags).
> Bizarrely it filters out -O2 as well...

Working without a problem for more than a month here.

With 3.9 and 3.10 images.

I've also had images running for several days in a row without seeing any instability/problem.
Comment 4 Luis Araujo (RETIRED) gentoo-dev 2007-11-25 21:39:50 UTC
I am actually waiting for a more 'official' announcement of such a versions to add them into the tree.

Thanks for this ebuild submit.
Comment 5 David Leverton 2007-12-02 22:31:37 UTC
Created attachment 137575 [details]

Updated ebuild that builds and (appears to) run on amd64.  Changes:

* Don't specify which FFI implementation to use; allow the build system to autodetect.  This allows it to build on non-x86 platforms.
  + Note that the dev-libs/libffi dependency should probably be conditional, as squeak has a custom FFI implementation for x86 Linux, ppc Linux and ppc Darwin, and uses libffi on all other platforms.  I didn't change it because I haven't tested on anything but amd64 Linux.

* Apply a 64-bit patch from upstream's bug-tracker.

* Fix an erroneous "tail" call in inisqueak that is not caught by the fixheadtails eclass.
  + inisqueak has an additional problem, in that it looks for SqueakV3.sources, but, at least with the squeak-image-3.9.7067 ebuild from bug 196985, the file is actually SqueakV39.sources.  I didn't try to fix this because I'm not familiar enough with squeak to know the best way to do so.
Comment 6 David Leverton 2007-12-02 22:32:51 UTC
Created attachment 137576 [details, diff]

This is the patch from, regenerated so it can be applied with epatch.
Comment 7 David Leverton 2007-12-03 13:04:55 UTC
Created attachment 137616 [details, diff]

Previous patch updated with the patch from
Comment 8 Leonardo Valeri Manera 2008-04-08 08:19:21 UTC
I might add that the libffi made with gcc's libffi USE should probably be preferred to the separate package.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 09:22:20 UTC
(In reply to comment #8)
> I might add that the libffi made with gcc's libffi USE should probably be
> preferred to the separate package.

Yes, otherwise the entire package is getting removed soonish.

Comment 10 Luis Araujo (RETIRED) gentoo-dev 2008-05-15 09:59:33 UTC
I will be testing and committing these changes soon to the tree.

Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2008-06-05 11:49:48 UTC
Sorry, enough time has passed again; libffi is getting removed and squeak went into same package mask with it.
Comment 12 Luis Araujo (RETIRED) gentoo-dev 2008-06-06 09:48:33 UTC
Squeak doesn't really depend on libffi, so it is safe to remove such a dependency for latest versions.

Please, test these latest ebuilds for the virtual machine and basic-image that includes some slight changes, among them, the libffi removal.

Also, the official Squeak project isn't releasing full-images anymore , so don't expect any updates for it any time soon, plus I will make the virtual/squeak-image  to point to the basicimage now.

Other detail, is that the vm binary contains executable stacks , so, a clear QA warning that you will get when compiling and a compilation error in hardened (please, test this if you can) ; this should be more likely fixed by upstream, but in any case I am doing some research.

If everything goes well, I expect to commit this package during this weekend , and will unmask it by then.

Thanks and Regards,

Comment 13 Luis Araujo (RETIRED) gentoo-dev 2008-06-06 09:48:55 UTC
Created attachment 155697 [details]
Squeak VM
Comment 14 Luis Araujo (RETIRED) gentoo-dev 2008-06-06 09:49:09 UTC
Created attachment 155699 [details]
Squeak basic image
Comment 15 David Leverton 2008-06-06 17:48:24 UTC
Created attachment 155739 [details, diff]
squeak-3.10.ebuild patch

Patch against the 3.10 ebuild for amd64 support, to fix a bug in inisqueak -l and to clean it up slightly.  With this patch it works for me on amd64 and x86, with limited testing.
Comment 16 David Leverton 2008-06-06 23:01:51 UTC
Created attachment 155765 [details, diff]
squeak-3.10.ebuild patch

Updated patch that makes libffi optional on platforms where it's used.  The libffi flag should be package.use.masked on x86 and ppc profiles, because it has no effect there.
Comment 17 Luis Araujo (RETIRED) gentoo-dev 2008-06-09 18:33:27 UTC
Added Squeak 3.10 to the tree.

Among the changes:

- Now the squeak virtual image defaults to the basicimage instead of the fullimage.
- The libffi dependency isn't required in x86.

As of some researching, the libffi library is only needed in some platforms, but since squeak is only supported on x86 inside Gentoo , we don't need to deal with it for now.

Thanks David Leverton for helping with this bug.

Please test and report back, I am closing this bug now, open a new one if needed in case of anything.