Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163724 - Tracker for unmasking separate dev-libs/libffi
Summary: Tracker for unmasking separate dev-libs/libffi
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest 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:
Keywords: Tracker
Depends on: 196984 199850
Blocks: 116103 160183 272046
  Show dependency tree
 
Reported: 2007-01-25 09:11 UTC by Marijn Schouten (RETIRED)
Modified: 2009-09-15 09:39 UTC (History)
14 users (show)

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


Attachments
dev-libs/libffi/libffi-3.0.5.ebuild (libffi-3.0.5.ebuild,530 bytes, text/plain)
2008-06-12 17:42 UTC, Marijn Schouten (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Schouten (RETIRED) gentoo-dev 2007-01-25 09:11:18 UTC
Please bump libffi.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-25 09:24:44 UTC
All the people that ever touched this beyond keywording are either retired or MIA; no maintainer. Feel free to take this one :)
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2007-04-05 16:04:22 UTC
toolchain, could you please bump libffi?
Comment 3 SpanKY gentoo-dev 2007-04-07 09:09:44 UTC
nobody in toolchain who would bump this uses the package ... it's a frickin mess
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 10:19:54 UTC
Completely broken and useless after fixing bug 199850, please punt it.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 10:24:07 UTC
dev-libs/g-wrap
dev-java/jamvm
dev-java/jamvm:ffi
dev-lang/squeak
dev-scheme/chicken
x11-libs/gtk-server                                                                                                

The above needs to be fixed to check for gcc w/ USE=libffi, please do it.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2008-03-03 17:30:47 UTC
(In reply to comment #5)
> dev-libs/g-wrap
> dev-java/jamvm
> dev-java/jamvm:ffi
> dev-lang/squeak
> dev-scheme/chicken
> x11-libs/gtk-server                                                             
> 
> The above needs to be fixed to check for gcc w/ USE=libffi, please do it.
> 

jamvm-1.5.0 fixed. Will remove 1.4.5 if no reports about it being broken come up.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 09:02:28 UTC
Ping.. scheme, common-lisp, please fix your packages.. or would you prefed the listed packages go as well?
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 09:28:39 UTC
I've added bug 196984 and bug 222235 blockers here, those are about getting newer gtk-server and squeak in tree with the issue fixed. Unless they get fixed soonish, i'll be package.masking libffi with them.

Any objections?
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2008-06-05 11:48:29 UTC
Masked for removal:

dev-libs/libffi
dev-lang/squeak
x11-libs/gtk-server
Comment 10 Luis Araujo (RETIRED) gentoo-dev 2008-06-09 18:26:46 UTC
Just added a new version of Squeak without the libffi dependency.

Unmasking squeak.

Thanks :-)
Comment 11 Luis Araujo (RETIRED) gentoo-dev 2008-06-09 20:10:15 UTC
Just added a new version of Squeak without the libffi dependency.

Unmasking squeak.

Thanks :-)
Comment 12 Marijn Schouten (RETIRED) gentoo-dev 2008-06-12 09:36:02 UTC
It looks like libffi got a new release:
http://spindazzle.org/greenblog/index.php?/archives/80-ARC,-libffi.html
http://spindazzle.org/greenblog/index.php?/archives/81-libffi-users.html

"libffi-3.0.5 was released on April 3, 2008.":
http://sourceware.org/libffi/

I don't know when/if libffi will be unbundled from gcc, but it seems to me that a separate libffi is the way forward. Toolchain team, please comment.
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2008-06-12 09:37:44 UTC
Also see:
http://sourceware.org/ml/libffi-announce/2008/msg00002.html
Comment 14 SpanKY gentoo-dev 2008-06-12 13:47:21 UTC
i would make an effort at virtual/libffi ... i dont want to get in a situation where we're constantly shuffling between libffi versions (toolchain -> external -> toolchain -> external -> ...) as the package goes supported/unsupported
Comment 15 Marijn Schouten (RETIRED) gentoo-dev 2008-06-12 17:42:40 UTC
Created attachment 156519 [details]
dev-libs/libffi/libffi-3.0.5.ebuild

Libffi ebuild which passes tests on ~amd64 and with which g-wrap doesn't fail to configure.
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2008-06-13 20:39:11 UTC
(In reply to comment #15)
> Created an attachment (id=156519) [edit]
> dev-libs/libffi/libffi-3.0.5.ebuild
> 
> Libffi ebuild which passes tests on ~amd64 and with which g-wrap doesn't fail
> to configure.
> 

Thanks,

*libffi-3.0.5 (13 Jun 2008)

  13 Jun 2008; Samuli Suominen <drac@gentoo.org>
  -files/libffi-soversion.dpatch, -files/libffi-without-libgcj.dpatch,
  +libffi-3.0.5.ebuild, -libffi-3.4.1.ebuild, -libffi-3.4.1-r1.ebuild,
  -libffi-3.4.3.ebuild:
  Version bump for testing wrt #163724, thanks to Marijn Schouten. Remove
  old versions which came from GCC 3.4.x.

Vapier, can you look at libffi-3.0.5.ebuild I committed.. is that sane? And if it is, I guess if USE libffi in gcc is enabled, the ebuilds should block dev-libs/libffi for this to be complete.
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2008-06-13 21:01:48 UTC
For minute I had something like this there.. but gcc-slots.. sigh..

pkg_setup() {
		if built_with_use --missing true sys-devel/gcc libffi; then
			eerror "Only one libffi installed is supported."
			die "Re-emerge sys-devel/gcc without USE libffi."
		fi
}

Ideas welcome. For now there's an elog message.
Comment 18 SpanKY gentoo-dev 2008-06-17 01:50:00 UTC
you shouldnt patch the .pc file to /usr/include ... use @includedir@ like normal

also, considering the nature of the change, you may consider patching Makefile.in so that you dont need to run autotools

otherwise, seems like a good start
Comment 19 Marijn Schouten (RETIRED) gentoo-dev 2008-06-29 12:53:58 UTC
I've changed the current masked ebuild to not patch anymore. Instead packages not using pkgconfig to find libffi should be fixed to use pkgconfig.

x11-libs/gtk-server has already been masked, so the only remaining reason to not unmask is a possible bad interaction between separate libffi and the one packaged with gcc. Toolchain team, please advise what the path to unmasking this ebuild is and how we can help.
Comment 20 SpanKY gentoo-dev 2008-06-29 13:01:39 UTC
i still dont see a virtual/libffi
Comment 21 Samuli Suominen (RETIRED) gentoo-dev 2008-06-30 17:45:08 UTC
(In reply to comment #20)
> i still dont see a virtual/libffi
> 

Is that even possible considering GCC slotting, and the lack of USE deps?
Comment 22 Samuli Suominen (RETIRED) gentoo-dev 2008-06-30 17:47:19 UTC
I agree it can't be unmasked long as it conflicts with a package from toolchain, gcc in this case. Can't we proceed with this libffi, and get rid of the USE="libffi" in sys-devel/gcc? This version seems easily maintainable, and other distributions have adopted it.
Comment 23 SpanKY gentoo-dev 2008-07-01 14:10:31 UTC
that's what we thought in the past as well.  i didnt say we'd make the virtual/libffi depend on gcc and libffi.  if the libffi proves to be a dead end, we only need to update virtual/libffi, not every package out there.  i'm not going to keep shuffling files around as upstream packages remain turbulent.
Comment 24 Marijn Schouten (RETIRED) gentoo-dev 2008-07-03 16:40:39 UTC
I added virtual/libffi.
Comment 25 Luis Araujo (RETIRED) gentoo-dev 2008-09-02 15:05:49 UTC
Any news about this bug? , and should we probably unmask virtual/libffi now (if that's what we are going to use)?

It seems a little exaggerated it is masked.

Regards,
Comment 26 Samuli Suominen (RETIRED) gentoo-dev 2008-11-24 20:23:30 UTC
Then add yourself to metadata.xml of libffi and unmask it. It's maintainer-needed package, but remember that you need cooperation from toolchain so the two libraries won't conflict.
Comment 27 James Ausmus 2009-01-21 18:44:23 UTC
pygobject-2.16.0 fails to build with the gcc/libffi USE flag solution, as gcc doesn't install a libffi.pc pkgconfig file, which the pygobject configure script expects to find if libffi is enabled. What's the best way to resolve this - re-emerge gcc with USE="-libffi", then unmask the dev-libs/libffi package and emerge it?
Comment 28 Mike Auty (RETIRED) gentoo-dev 2009-01-25 16:58:23 UTC
Perhaps we can use EAPI="2" and USE dependencies to block gcc's ffi and libffi?
Comment 29 Honza Macháček 2009-01-25 18:01:23 UTC
(In reply to comment #27)
> pygobject-2.16.0 fails to build with the gcc/libffi USE flag solution, as gcc
> doesn't install a libffi.pc...

I've counterfeited the pc-file by hand and pygobject-2.16.0 built OK.

Shouldn't gcc provide such a file -- if not provided upstream, then at least created by the ebuild? Should be managed by gcc-config, if only to provide the correct version number.
Comment 30 Samuli Suominen (RETIRED) gentoo-dev 2009-06-01 07:25:24 UTC
virtual/libffi
dev-libs/libffi

unmasked.