libsoup-gnome-9999: No rule to make target soup-enum-types.h needed by Soup-2.4.gir. #2

Open
jfkw opened this Issue May 27, 2010 · 2 comments

Comments

Projects
None yet
1 participant

jfkw commented May 27, 2010

Apologies if this is an upstream issue, but the few google search results listed gentoo bugs, so it could be related.

In libsoup-gnome-9999 at commit d80d4b7a29afc6f, compile fails with the following error:

/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libsoup-2.4
-I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -DORBIT2=1 -pthread
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -march=core2 -O2 -pipe -Wall
-Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wdeclaration-after-statement
-Wformat=2 -Winit-self -Waggregate-return -Wmissing-format-attribute
-Wmissing-include-dirs -Wundef -MT soup-password-manager-gnome.lo -MD
-MP -MF .deps/soup-password-manager-gnome.Tpo -c -o
soup-password-manager-gnome.lo soup-password-manager-gnome.c

make[3]: *** No rule to make target soup-enum-types.h', needed bySoup-2.4.gir'. Stop.

make[3]: *** Waiting for unfinished jobs....

Does libsoup-gnome have a missing dependency on gir-repository?

  • dev-libs/gir-repository
    Latest version available: 0.6.5
    Latest version installed: [ Not Installed ]

jfkw commented Jun 24, 2010

I think I found the problem: libsoup-gnome-2.30.1 and .2 in portage have a special patch package: libsoup-2.30.1-build-gir-patches.tar.bz2.

I can't see how to get these to apply cleanly to the git version, although I think it has more to do with file paths than content diff conflicts. I've tried putting the untarred patches in the local FILESDIR and including them in the manifest. I've also tried using the SRC_URI line with only that patch distribution. No luck yet.

jfkw commented Jun 29, 2010

Turns out the patches are already applied in libsoup upstream git. The latest libsoup-gnome ebuild has new USE introspection. When synced with libsoup-gnome-9999.ebuild, it emerges fine. Difff included below, formatting may get munged:

diff -u /var/lib/layman/wirelay/net-libs/libsoup-gnome/libsoup-gnome-9999.ebuild /usr/local/portage/net-libs/libsoup-gnome/libsoup-gnome-9999.ebuild

--- /var/lib/layman/wirelay/net-libs/libsoup-gnome/libsoup-gnome-9999.ebuild 2010-02-27 05:23:31.574866574 -0800
+++ /usr/local/portage/net-libs/libsoup-gnome/libsoup-gnome-9999.ebuild 2010-06-26 10:58:20.740637814 -0700
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation

Distributed under the terms of the GNU General Public License v2

-# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup-gnome/libsoup-gnome-2.28.1.ebuild,v 1.1 2009/10/29 21:23:29 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup-gnome/libsoup-gnome-2.30.2.ebuild,v 1.1 2010/06/23 11:47:21 pacho Exp $

EAPI="2"

@@ -19,13 +19,14 @@
SLOT="2.4"
KEYWORDS=""

Do NOT build with --disable-debug/--enable-debug=no - gnome2.eclass takes care of that

-IUSE="debug doc"
+IUSE="debug doc +introspection"

RDEPEND="~net-libs/libsoup-${PV}

  •   gnome-base/gnome-keyring
    
  •   || ( gnome-base/libgnome-keyring <gnome-base/gnome-keyring-2.29.4 )
    net-libs/libproxy
    >=gnome-base/gconf-2
    
  •   dev-db/sqlite:3"
    
  •   dev-db/sqlite:3
    
  •   introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
    
    DEPEND="${RDEPEND}
    >=dev-util/pkgconfig-0.9
    dev-util/gtk-doc-am
    @@ -38,6 +39,7 @@
    pkg_setup() {
    G2CONF="${G2CONF}
    --disable-static
  •           $(use_enable introspection)
            --with-libsoup-system
            --with-gnome"
    
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment