Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506880 - dev-libs/glib-2.38.2-r1 fails to emerge : Package requirements (libffi >= 3.0.0) were not met
Summary: dev-libs/glib-2.38.2-r1 fails to emerge : Package requirements (libffi >= 3.0...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-06 02:18 UTC by Pariksheet Nanda
Modified: 2014-04-06 03:25 UTC (History)
1 user (show)

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


Attachments
emerge log file (dev-libs:glib-2.38.2-r1:20140406-021510.log,7.18 KB, text/plain)
2014-04-06 02:19 UTC, Pariksheet Nanda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pariksheet Nanda 2014-04-06 02:18:25 UTC
Configure fails with:

configure: error: Package requirements (libffi >= 3.0.0) were not met

Reproducible: Always

Steps to Reproduce:
1. emerge --oneshot =dev-libs/glib-2.38.2-r1
Comment 1 Pariksheet Nanda 2014-04-06 02:19:36 UTC
Created attachment 374356 [details]
emerge log file
Comment 2 Pariksheet Nanda 2014-04-06 02:23:04 UTC
Whoops, I have >=dev-libs/libffi-3.0 installed, so I will look into this before further wasting any of your time.

---
# eix libffi
[I] dev-libs/libffi
     Available versions:  3.0.11 ~3.0.12 ~3.0.13 ~3.0.13-r1 {debug pax_kernel static-libs test ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
     Installed versions:  3.0.11(11:11:04 PM 06/04/2012)(-debug -static-libs -test)
     Homepage:            http://sourceware.org/libffi/
     Description:         a portable, high level programming interface to various calling conventions.

[I] virtual/libffi
     Available versions:  3.0.10 3.0.11 ~3.0.13-r1 {ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
     Installed versions:  3.0.11(10:10:32 PM 04/05/2014)
     Description:         A virtual for the Foreign Function Interface implementation

Found 2 matches.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-04-06 02:26:16 UTC
(In reply to Pariksheet Nanda from comment #1)

Like your log file says:

> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2-x86/config.log

Please attach it :)

Also, please attach the output of "emerge --info".

Also, make sure you are not using sys-devel/crossdev for x86 (current versions of crossdev install a /usr/bin/i686-pc-linux-gnu-pkg-config wrapper script for cross-compiling x86 packages on amd64, and this wrapper is incompatible with building natively multilib ebuilds like glib).
Comment 4 Pariksheet Nanda 2014-04-06 03:25:32 UTC
This is resolved after re-emerging libffi.  I recently globally added "32" onto ABI_X86, which I think is what caused this (since revdep-rebuild didn't find anything wrong).  Thanks for the quick response and sorry again for the noise.