First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 153294
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNOME C++ Bindings Maintainers <gnome-mm@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gtkmm-2.10.2.ebuild The corrected ebuild text/plain Renato Caldas 2006-11-18 06:11 0000 989 bytes Details
gtkmm-2.10.2-no_atk.patch A simplified version of John Laliberte's patch patch Renato Caldas 2006-11-18 06:12 0000 372 bytes Details | Diff
no_atk.patch The patch to be submitted upstream patch Renato Caldas 2006-11-18 06:34 0000 836 bytes Details | Diff
gtkmm-2.10.2-r1.ebuild gtkmm-2.10.2-r1.ebuild text/plain Renato Caldas 2006-11-18 07:05 0000 891 bytes Details
gtkmm-2.10.2-no_atk.patch gtkmm-2.10.2-no_atk.patch patch Daniel Black 2006-11-18 22:05 0000 962 bytes Details | Diff
gtkmm-2.10.2.ebuild.patch gtkmm-2.10.2.ebuild.patch patch Daniel Black 2006-11-18 22:07 0000 745 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 153294 depends on: Show dependency tree
Bug 153294 blocks: 155616
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-29 06:56 0000
Installing gtkmm-2.10.2 with -accessibility breaks any program that uses
pkg-config to work out gtkmm deps:

ciaranm@snowdrop ~ 0 0.18 $ pkg-config --libs gtkmm-2.4
Package atkmm-1.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `atkmm-1.6.pc'
to the PKG_CONFIG_PATH environment variable
Package 'atkmm-1.6', required by 'gtkmm', not found

------- Comment #1 From Jakub Moc (RETIRED) 2006-10-29 22:50:24 0000 -------
*** Bug 153392 has been marked as a duplicate of this bug. ***

------- Comment #2 From Jakub Moc (RETIRED) 2006-10-30 13:04:07 0000 -------
*** Bug 153467 has been marked as a duplicate of this bug. ***

------- Comment #3 From R Stephan 2006-10-31 01:07:03 0000 -------
Reported upstream:

http://bugzilla.gnome.org/show_bug.cgi?id=366930

------- Comment #4 From Jakub Moc (RETIRED) 2006-11-02 09:20:04 0000 -------
*** Bug 153831 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2006-11-03 01:25:01 0000 -------
*** Bug 153886 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2006-11-06 07:58:05 0000 -------
*** Bug 154251 has been marked as a duplicate of this bug. ***

------- Comment #7 From John N. Laliberte (RETIRED) 2006-11-09 11:22:24 0000 -------
*** Bug 154583 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jakub Moc (RETIRED) 2006-11-15 11:59:04 0000 -------
*** Bug 155283 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2006-11-18 04:51:05 0000 -------
*** Bug 155571 has been marked as a duplicate of this bug. ***

------- Comment #10 From Jakub Moc (RETIRED) 2006-11-18 05:06:48 0000 -------
*** Bug 155574 has been marked as a duplicate of this bug. ***

------- Comment #11 From Renato Caldas 2006-11-18 05:22:39 0000 -------
The gnome team hasn't done much yet to solve this. Maybe we should use for now
a conditional patch like the one on the upstream tracker.. I'll see what I can
do.

Also, please include the keyword "atkmm" in the summary. This way lots of dups
would be avoided. Something like "(...) breaks pkg-config (missing atkmm-1.6)"
would do fine.

Cheers,
  Renato

------- Comment #12 From Samuli Suominen 2006-11-18 05:29:17 0000 -------
media-video/bmpx is using this, and so should other ebuilds having this problem
I think.

pkg_setup() {
        if has_version '>dev-cpp/gtkmm-2.10' &&! built_with_use dev-cpp/gtkmm
accessibility; then
                die "You need to build dev-cpp/gtkmm with USE accessibility."
        fi
}

------- Comment #13 From Ciaran McCreesh 2006-11-18 05:35:57 0000 -------
That's a horrible solution. It'd involve updating nearly every ebuild that uses
gtkmm, and it'd involve going through and removing all those hacks as soon as
it's fixed.

------- Comment #14 From Jakub Moc (RETIRED) 2006-11-18 05:45:43 0000 -------
*** Bug 155585 has been marked as a duplicate of this bug. ***

------- Comment #15 From Jakub Moc (RETIRED) 2006-11-18 05:53:25 0000 -------
*** Bug 155585 has been marked as a duplicate of this bug. ***

------- Comment #16 From Renato Caldas 2006-11-18 06:09:01 0000 -------
No no no! that solution is indeed awful. The problem is with gtkmm, so the
solution should solve the problem and not the symptoms.

I've solved the problem in gtkmm by simply applying John Laliberte's patch
conditionaly. It works perfectly, but as said in the upstream bugzila, it
should be solved using a var. That's what I'm doing now.

------- Comment #17 From Renato Caldas 2006-11-18 06:11:42 0000 -------
Created an attachment (id=102265) [details]
The corrected ebuild

This ebuild works perfectly, but I'm finishing solving this upstream. This will
be obsoleted as soon as I finish this.

------- Comment #18 From Renato Caldas 2006-11-18 06:12:41 0000 -------
Created an attachment (id=102266) [details]
A simplified version of John Laliberte's patch

The conditionally applied patch

------- Comment #19 From Renato Caldas 2006-11-18 06:34:57 0000 -------
Created an attachment (id=102267) [details]
The patch to be submitted upstream

Ok I've corrected it for good. Unfortunately I guess it would be difficult to
use this patch on the ebuild, as it involves changing configure.in, which would
then require the recreation of the configure script, etc.. too much headache.

But the corrected ebuild above already solves the problem gentoo-wise, so it
can be used until the upstream publishes the corrected distfile. No more
bmpx-like hacks :)

Can someone please submit this patch upstream? I don't have a gnome account..

cheers
  renato

------- Comment #20 From Renato Caldas 2006-11-18 07:05:08 0000 -------
Created an attachment (id=102272) [details]
gtkmm-2.10.2-r1.ebuild

I've done a gtkmm-2.10.2-r1.ebuild with the corrections. It should be used
before a new version of gtkmm comes out from upstream. Can this be put in cvs
along with the gentoo patch (102266)?

By the way, I have a question regarding it. There is SLOT="2.4" on the ebuild,
but I don't understand why this is set to 2.4 and not 2.10 or just 2.0..

Cheers
  Renato

------- Comment #21 From Jakub Moc (RETIRED) 2006-11-18 11:35:09 0000 -------
*** Bug 155599 has been marked as a duplicate of this bug. ***

------- Comment #22 From Jakub Moc (RETIRED) 2006-11-18 16:22:54 0000 -------
*** Bug 155625 has been marked as a duplicate of this bug. ***

------- Comment #23 From Daniel Black 2006-11-18 19:11:15 0000 -------
*** Bug 155596 has been marked as a duplicate of this bug. ***

------- Comment #24 From Daniel Black 2006-11-18 22:05:26 0000 -------
Created an attachment (id=102314) [details]
gtkmm-2.10.2-no_atk.patch

an upstream patch can't be conditional.

needs  dev-cpp/cairomm dependency maybe:

checking for PANGOMM... configure: error: Package requirements (glibmm-2.4 >=
2.12.1 cairomm-1.0 >= 1.1.12 pangocairo >= 1.5.2) were not met:

No package 'cairomm-1.0' found

------- Comment #25 From Daniel Black 2006-11-18 22:07:22 0000 -------
Created an attachment (id=102315) [details]
gtkmm-2.10.2.ebuild.patch

if you change configure.in you need to eautoconf

------- Comment #26 From Rémi Cardona 2006-11-19 02:28:50 0000 -------
Daniel, your configure.in patch looks very similar to what I posted upstream
yesterday. However, your updated src_unpack() should probably model the one
from gnome2.eclass which has an added gnome2_omf_fix call inside.

Other than that, it works for me.

------- Comment #27 From Renato Caldas 2006-11-19 04:43:38 0000 -------
(In reply to comment #25)
> Created an attachment (id=102315) [edit] [details]
> gtkmm-2.10.2.ebuild.patch
> 
> if you change configure.in you need to eautoconf
> 
Yes, that's why I said to use John's patch instead of the mine for now.

------- Comment #28 From Peter Weber 2006-11-19 09:43:40 0000 -------
new release in portage, when?

------- Comment #29 From Rémi Cardona 2006-11-19 13:03:41 0000 -------
I'm ready to commit the patch I sent upstream but repoman shows gtkmm is broken
on alpha, ppc64 and x86-fbsd. Flameeyes gave me the go order for x86-fbsd to
keep the arch for now.

Alpha and PPC64, gtkmm won't compile on your arches with or without the patch.
Should I keep KEYWORDS as is?

Thanks

------- Comment #30 From Rémi Cardona 2006-11-19 13:37:28 0000 -------
*** Bug 155716 has been marked as a duplicate of this bug. ***

------- Comment #31 From Samuli Suominen 2006-11-20 07:23:32 0000 -------
*** Bug 155768 has been marked as a duplicate of this bug. ***

------- Comment #32 From Jakub Moc (RETIRED) 2006-11-20 13:53:33 0000 -------
*** Bug 155795 has been marked as a duplicate of this bug. ***

------- Comment #33 From Jakub Moc (RETIRED) 2006-11-20 14:37:39 0000 -------
*** Bug 155806 has been marked as a duplicate of this bug. ***

------- Comment #34 From Jakub Moc (RETIRED) 2006-11-20 15:10:03 0000 -------
*** Bug 155809 has been marked as a duplicate of this bug. ***

------- Comment #35 From Rémi Cardona 2006-11-21 00:21:42 0000 -------
Ok folks, I've finally committed the patch. This is my first commit to portage
so please please tell me if something fscks up.

Alpha and PPC64, i've committed the revbumped ebuild without your two arches.

Closing bug, please reopen if things go wrong.

Thanks

------- Comment #36 From Tristan Heaven 2006-11-21 02:21:04 0000 -------
*** Bug 155843 has been marked as a duplicate of this bug. ***

------- Comment #37 From Brent Baude 2006-11-21 10:44:19 0000 -------
marked ppc64 stable

------- Comment #38 From Brent Baude 2006-11-21 11:26:59 0000 -------
disregard my previous comment, adding ppc64 back in

------- Comment #39 From Martin Wegner 2006-11-21 12:21:13 0000 -------
Hm, this is still not fixed for me, I just synced at 2006-11-21 19:40 CET,
recompiled gtkmm and I'm still getting this error:

[...]
checking pkg-config is at least version 0.9.0... yes
checking for LIBGNOMEMM... configure: error: Package requirements (gtkmm-2.4 >= 
2.4.0 libgnome-2.0 >= 2.6.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the LIBGNOMEMM_CFLAGS and LIBGNOMEMM_LIBS environment
variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!!
/var/tmp/portage/dev-cpp/libgnomemm-2.12.2/work/libgnomemm-2.12.2/config.log

!!! ERROR: dev-cpp/libgnomemm-2.12.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  libgnomemm-2.12.2.ebuild, line 30:   Called gnome2_src_compile
  gnome2.eclass, line 63:   Called gnome2_src_configure
  gnome2.eclass, line 59:   Called econf '--enable-gtk-doc'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

What am I doing wrong?

------- Comment #40 From Rémi Cardona 2006-11-21 12:34:55 0000 -------
ppc64: looks good now, dropping you from CC

arm, ia64, sh: like alpha, gtkmm-2.10.2{,-r1} will refuse to build on your
arches because of unkeyworded deps. If you guys could please keyword the
following packages or drop yourselves from gtkmm :

~alpha >=dev-cpp/cairomm-1.1.12

~arm   >=dev-cpp/cairomm-1.1.12
       >=dev-cpp/glibmm-2.12.1

~ia64  >=dev-cpp/cairomm-1.1.12

~sh    >=dev-cpp/cairomm-1.1.12
       >=dev-cpp/glibmm-2.12.1

Thanks

------- Comment #41 From Rémi Cardona 2006-11-21 12:37:24 0000 -------
@Martin :

This is not what this bug is about, if you could file another bug for it,
providing all info emerge gives you.

Thanks

------- Comment #42 From Martin Wegner 2006-11-21 12:51:55 0000 -------
> @Martin :
> 
> This is not what this bug is about, if you could file another bug for it,
> providing all info emerge gives you.

Hm, weird. There was a bug report, bug #155596 , that has been marked as a
duplicate of this one. So, what shall I do?

------- Comment #43 From Renato Caldas 2006-11-21 13:00:16 0000 -------
(In reply to comment #42)
> > @Martin :
> > 
> > This is not what this bug is about, if you could file another bug for it,
> > providing all info emerge gives you.
> 
> Hm, weird. There was a bug report, bug #155596 , that has been marked as a
> duplicate of this one. So, what shall I do?
> 

That bug was correctly identified as a dup of this one. It's different from
yours. The problem here is (was) with gtkmm and not gnomemm. Please compare the
error outputs.

------- Comment #44 From Martin Wegner 2006-11-21 13:29:37 0000 -------
Ok, thanks. Please excuse me for my error.

------- Comment #45 From Jakub Moc (RETIRED) 2007-05-25 13:44:29 0000 -------
*** Bug 179750 has been marked as a duplicate of this bug. ***

------- Comment #46 From Peter Weber 2007-05-27 11:08:12 0000 -------
Will gtkmm become ever stable?

First Last Prev Next    No search results available      Search page      Enter new bug