Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387971 - x11-misc/fpm2-0.79: missing intltool DEPEND
Summary: x11-misc/fpm2-0.79: missing intltool DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 06:55 UTC by Bruno
Modified: 2011-11-13 19:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2011-10-21 06:55:01 UTC
Please add dev-util/intltool to DEPEND

Reproducible: Always

Steps to Reproduce:
1. emerge --depclean --with-bdeps=n
2. emerge fpm2
Actual Results:  
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for pow in -lm... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... ./configure: line 5999: intltool-update: command not found
 found
configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-misc/fpm2-0.79/work/fpm2-0.79/config.log
Comment 1 Bruno 2011-10-23 21:57:51 UTC
The dependency definition in fpm2 ebuild looks pretty wrong as a whole.

DEPEND="dev-util/pkgconfig"

RDEPEND=">=x11-libs/gtk+-2.10.14
        dev-libs/libxml2"


lddtree shows direct linking with:
- x11-libs/libX11-1.4.4 (/usr/lib/libX11.so.6)
- x11-libs/gtk+-2.24.5-r1 (/usr/lib/libgdk-x11-2.0.so.0, /usr/lib/libgtk-x11-2.0.so.0)
- x11-libs/gdk-pixbuf-2.24.0-r1 (/usr/lib/libgdk_pixbuf-2.0.so.0)
- sys-libs/glibc-2.12.2 (/lib/libc.so.6, /lib/libm.so.6, /lib/libpthread.so.0)
- dev-libs/glib-2.28.8 (/usr/lib/libglib-2.0.so.0, /usr/lib/libgobject-2.0.so.0)
- dev-libs/libxml2-2.7.8-r3 (/usr/lib/libxml2.so.2)

Configure script checks for:
  x11
  glib-2.0 >= 2.16
  gtk+-2.0
  libxml-2.0

So the build dependencies should include those, and the gtk+ dep should request :2 slot, fpm2 using GTK2 and not GTK3.

Something like the following should do:

RDEPEND=">=x11-libs/gtk+-2.10.14:2
    dev-libs/libxml2
    >=dev-libs/glib-2.16
    x11-libs/libX11"
DEPEND="${RDEPEND}
    dev-util/intltool
    dev-util/pkgconfig"
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-11-13 19:04:11 UTC
Fixed. Thanks for reporting