[unmet dependencies] glife requires libglade-gnome0, but that doesn't exists

Bug #205218 reported by Sense Egbert Hofstede
44
Affects Status Importance Assigned to Milestone
glife (Ubuntu)
Fix Released
Medium
Phil Pratt-Szeliga

Bug Description

Binary package hint: glife

gLife requires libglade-gnome0, but that package doesn't exist, so it won't install.
I'm using an up-to-date Hardy Heron amd64.
The version of gLife is 0.2.1-1build1

Tags: unmetdeps

Related branches

Revision history for this message
Saša Bodiroža (jazzva) wrote :

Same here. It looks like the required package is not in Hardy Heron.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

The following packages have unmet dependencies:
  glife: Depends: libglade-gnome0 but it is not installable
          Depends: libglade0 but it is not installable

Changed in glife:
status: New → Confirmed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

In fact, this package fails to build from source in pbuilder. After changing the depends from libglade-gnome0 to glade-gnome, I get past the glade issue but it still fails to build with:

configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install

I tried adding libgnome2-0 as a depends and it still fails to build with the same error. I don't really understand how there is even a deb in the archive.

Changed in glife:
importance: Undecided → Medium
Changed in glife:
assignee: nobody → rainct
status: Confirmed → In Progress
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Adding libgnome-dev to the build dependencies fixes the gnomeConf.sh issue but then it fails with the following error:

checking for Glade libraries...... configure: error: Did not find libGlade installed

Installing libglade2-dev doesn't help.

Revision history for this message
Saša Bodiroža (jazzva) wrote :

Looks like this package and some of its depends has been dropped in Hardy [1]. Their status pages [2] [3] [4] show that they are superseded. I tried installing that version of packages. After that glife builds with no errors.

[1] <http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=libglade-gnome>
[2] <https://edge.launchpad.net/ubuntu/hardy/i386/libglade-gnome0/1:0.17-9ubuntu1>
[3] <https://edge.launchpad.net/ubuntu/hardy/i386/libglade-gnome0-dev/1:0.17-9ubuntu1>
[4] <https://edge.launchpad.net/ubuntu/hardy/i386/libglade0-dev/1:0.17-9ubuntu1>

Revision history for this message
William Grant (wgrant) wrote :

It needs libglade, not libglade2 (the former being for GTK 1.x). I suspect that we should remove this, unless somebody really likes it and wants to port it to GTK 2.

Changed in glife:
status: In Progress → Triaged
assignee: rainct → nobody
Revision history for this message
Savvas Radevic (medigeek) wrote :

I tried to port it, just for practice..
It requires gnome-config command (libgnome-dev)
Also, /usr/include/gnome-xml seems to be required and missing (libxml-dev).
I tried using libxml2-dev, but I got stuck at compiling:
glife.c:299: error: ‘LifeData’ has no member named ‘xml’
glife.c:300: error: ‘LifeData’ has no member named ‘xml’

But I'm not that good with C programming.

I'm attaching the files I've changed:
1) configure:
echo $ac_n "checking for Glade libraries...""... $ac_c" 1>&6
echo "configure:2132: checking for Glade libraries..." >&5

LIBGLADE_LIBS="-rdynamic -L/usr/lib -L/usr/X11R6/lib -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl"
LIBGLADE_CFLAGS="-I/usr/include/libglade-2.0 -I/usr/include/libxml2"

2) src/glife.glade

Revision history for this message
Prosthetic Head (propanone) wrote :

Just to confirm that this package in broken in Intrepid also:

"
The following packages have unmet dependencies:
  glife: Depends: libglade-gnome0 which is a virtual package.
         Depends: libglade0 which is a virtual package.
         Depends: libxml1 (>= 1:1.8.14-3) which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
glife [Not Installed]

Score is -9881

Accept this solution? [Y/n/q/?]
"

Revision history for this message
Phil Pratt-Szeliga (pcpratts) wrote :

Hello,

I am working on porting it to use gtk-2.0 and gnome-2.0. I have got it to build using those libraries but there is a runtime error I am working on now.

Phil

Revision history for this message
Phil Pratt-Szeliga (pcpratts) wrote :

How do I get this bug assigned to me?

Revision history for this message
Savvas Radevic (medigeek) wrote :

The arrow next to "glife (Ubuntu)" package icon

Or here:
https://bugs.launchpad.net/ubuntu/+source/glife/+bug/205218/+editstatus

:)

Changed in glife:
assignee: nobody → phil-pratt-szeliga
status: Triaged → In Progress
Revision history for this message
Phil Pratt-Szeliga (pcpratts) wrote :

I have made glife compile and startup on my machine. Here is a patch that makes it happen. The glife package needs to be updated so it includes dependencies for gtk+-2.0, libgnome2-dev and libgnomeui-dev.

Revision history for this message
Phil Pratt-Szeliga (pcpratts) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks a bunch for your work on this.

 - Can you please forward the patch upstream (filter out ./debian/ and ./config.* changes)? It'll be difficult for us to maintain the delta.
 - a few things concerning the packaging:
  - "glife (0.2.1-1build2) intrepid" -> "glife (0.2.1-1ubuntu1) jaunty"
  - please add (LP: #205218) to the changelog

Revision history for this message
Prosthetic Head (propanone) wrote : Re: [Bug 205218] Re: [unmet dependencies] glife requires libglade-gnome0, but that doesn't exists

Thanks for this! I hope it gets in to the repos :)

2009/2/27 Daniel Holbach <email address hidden>

> Thanks a bunch for your work on this.
>
> - Can you please forward the patch upstream (filter out ./debian/ and
> ./config.* changes)? It'll be difficult for us to maintain the delta.
> - a few things concerning the packaging:
> - "glife (0.2.1-1build2) intrepid" -> "glife (0.2.1-1ubuntu1) jaunty"
> - please add (LP: #205218) to the changelog
>
> --
> [unmet dependencies] glife requires libglade-gnome0, but that doesn't
> exists
> https://bugs.launchpad.net/bugs/205218
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Quote of the [period of time 'till I change it]:
"They hung in the air, in the same way that bricks don't" - Douglas Adams

Revision history for this message
Savvas Radevic (medigeek) wrote :

$ diff -Naur glife_0.2.1-1build2.diff glife_0.2.1_gtk-2.0_gnome-2.0_filtered.diff | grep -- ----
---- glife-0.2.1.orig/config.guess
---- glife-0.2.1.orig/config.sub
---- glife-0.2.1.orig/debian/gnome-life.uuencode
---- glife-0.2.1.orig/debian/compat
---- glife-0.2.1.orig/debian/copyright
---- glife-0.2.1.orig/debian/control
---- glife-0.2.1.orig/debian/glife.sgml
---- glife-0.2.1.orig/debian/changelog
---- glife-0.2.1.orig/debian/rules
---- glife-0.2.1.orig/debian/docs
---- glife-0.2.1.orig/debian/dirs
---- glife-0.2.1.orig/debian/watch

$ grep +++ glife_0.2.1_gtk-2.0_gnome-2.0_filtered.diff
+++ glife-0.2.1/glife.1
+++ glife-0.2.1/configure
+++ glife-0.2.1/src/glife.desktop
+++ glife-0.2.1/src/conf.c
+++ glife-0.2.1/src/glife.c
+++ glife-0.2.1/src/simulation.c
+++ glife-0.2.1/src/glife.glade
+++ glife-0.2.1/src/feedback.c
+++ glife-0.2.1/src/glife.h

Revision history for this message
Savvas Radevic (medigeek) wrote :
Revision history for this message
Phil Pratt-Szeliga (pcpratts) wrote :

Daniel Holbach:

I have some questions regarding your email:

 - Can you please forward the patch upstream (filter out ./debian/ and ./config.* changes)? It'll be difficult for us to maintain the delta.

Is this all set with what Savvas Radevic did? (Thanks alot Savvas Radevic).

 - a few things concerning the packaging:
  - "glife (0.2.1-1build2) intrepid" -> "glife (0.2.1-1ubuntu1) jaunty"
     Does this mean you want me to rename the package to 0.2.1-1ubuntu1 for jaunty?

  - please add (LP: #205218) to the changelog
    Okay, will do.

Um, it never changed the dependencies from glade0 to glade2 etc, still working on that. I'll post a new patch today.

Revision history for this message
Savvas Radevic (medigeek) wrote :

>  - Can you please forward the patch upstream (filter out ./debian/ and
> ./config.* changes)? It'll be difficult for us to maintain the delta.
>
> Is this all set with what Savvas Radevic did?  (Thanks alot Savvas
> Radevic).

Yes, that part is done - and anytime! I just thought to speed things
up a bit. :)

Revision history for this message
Phil Pratt-Szeliga (pcpratts) wrote :

Okay, here is glife_0.2.1-1ubuntu1.diff.gz and glife_0.2.1-1ubuntu1.dsc. I tried to change the name to jaunty but I am running on intrepid, so I don't know if it worked. I added the bug number to the changelog.

Also, I hosed my ubuntu system running on virtual box somehow, so I lost my pgp private key. so this is signed with a new key.

Revision history for this message
Phil Pratt-Szeliga (pcpratts) wrote :
Revision history for this message
Saša Bodiroža (jazzva) wrote :

Hello philps,

On Fri, Feb 27, 2009 at 7:36 PM, philps wrote:
>  - a few things concerning the packaging:
>  - "glife (0.2.1-1build2) intrepid" -> "glife (0.2.1-1ubuntu1) jaunty"
>     Does this mean you want me to rename the package to 0.2.1-1ubuntu1 for jaunty?

I suppose he meant that you should change version in debian/changelog
from 0.2.1-1build2 to 0.2.1-1ubuntu1, and targeted release from
intrepid to jaunty.

--
Best regards,
Saša Bodiroža

Revision history for this message
Iain Lane (laney) wrote :

Hi,

I just looked at this, and it looks as if the files in debian/ seem to be duplicated, as if pasted twice into the same file. It's difficult to review like this. Please could you fix it and reupload?

Also it would be nice to use a patch system (we can do this as the package is not in Debian despite the version number) and fix up the lintian warnings if you can. Not essential though.

Please submit your patch as a debdiff next time. See [0] for how to do this. There is no need to sign it - the uploader will do this.

Resubscribe the sponsors when you have an updated patch ready. Thanks in advance!

[0] https://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff

Revision history for this message
Phil Pratt-Szeliga (pcpratts) wrote :

Iain Lane:

Here is a better patch. Somewhere along the way I had applied a patch wrong and it screwed up the debian folder. So I just did the changes from scratch on a new version of the source. The configure file has more changes than needed, that happened while I was applying patches as well. But it works. Let me know if you want me to take out the non-essential configure changes. I could probably just edit the debdiff file directly...

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

I will take a look at this today (about 10 hours from now).

Revision history for this message
Daniel Holbach (dholbach) wrote :

How are things looking here? :-)

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Bad. I didn't get any time in last week to look at this. :-(
I hope to find some time today.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glife - 0.2.1-1ubuntu1

---------------
glife (0.2.1-1ubuntu1) jaunty; urgency=low

  * Rebuild to use libgnome2, libglade-2.0. (LP: #205218)

 -- Phil Pratt-Szeliga <email address hidden> Sat, 07 Mar 2009 17:15:16 -0500

Changed in glife (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.