First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 117057
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brian Harring <ferringb@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 117057 depends on: 211696 Show dependency tree
Bug 117057 blocks: 147067 204249
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: 2005-12-29 01:58 0000
rdeps (deps are similar)...

!<x11-libs/openmotif-2.1.30-r13 !=x11-libs/openmotif-2.2.2*
!=x11-libs/openmotif-2.2.3 !=x11-libs/openmotif-2.2.3-r1
!=x11-libs/openmotif-2.2.3-r2 !=x11-libs/openmotif-2.2.3-r3
!=x11-libs/openmotif-2.2.3-r4 !=x11-libs/openmotif-2.2.3-r5
!=x11-libs/openmotif-2.2.3-r6 !<x11-libs/lesstif-0.93.94-r4
!=x11-libs/lesstif-0.93.97 !=x11-libs/lesstif-0.94.0* app-shells/bash

Offhand... this is a built in land mine.  Instead of specifying what's usable,
it's specifying everything that will cause it to explode.

Offhand... these deps could be converted over to a || (), thus whatever the
user has merged would be used, or portage would force an upgrade.

Jason, comments?  The deps in place are whacky imo... offered solution isn't
necessarily any better, but _something_ should be doable to make it saner.

------- Comment #1 From Brian Harring 2005-12-29 18:09:13 0000 -------
*** Bug 116727 has been marked as a duplicate of this bug. ***

------- Comment #2 From Jakob Schiotz 2006-01-03 04:13:15 0000 -------
This is causing trouble when doing an emerge -auD on a stable x86 system:

demokrit ~ # emerge -auDv world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B     ] =x11-libs/openmotif-2.2.3-r3 (is blocking
x11-libs/motif-config-0.9)
[ebuild  N    ] x11-libs/motif-config-0.9  0 kB
[ebuild     U ] x11-libs/openmotif-2.2.3-r8 [2.2.3-r3] 0 kB
[ebuild     U ] media-sound/alsa-headers-1.0.10 [1.0.10_rc3] 0 kB
  .......

I really think this is a portage bug: portage should note that the blocking
package is on its way out, and that when the emerge has completed, there will
be no trouble.

Just my .02 Euro :-)

------- Comment #3 From Brian Harring 2006-01-04 23:14:27 0000 -------
Not a portage bug, the problem is that the ebuild is specifying everything it
*cannot* work with rather then specifying what it cannot work with.

A smarter resolver would unmerge all of the blockers, but that still doesn't
ixnay the fact the deps are structured in reverse.

Write your deps so they specify what you can work with, rather then writing
them stating what they won't.  Sounds odd, but the former is easier on
resolvers, and works for our particular resolver.

------- Comment #4 From Jakob Schiotz 2006-01-05 01:48:49 0000 -------
Yes, I can see that it is unusual - but is it even possible to specify that IF
a specific package is installed, it must only be this or that version?  Without
requirering that package to be installed, that is.  I guess that is what the
ebuild it trying to do.


/Jakob

------- Comment #5 From Jakub Moc (RETIRED) 2006-01-06 17:18:23 0000 -------
*** Bug 118121 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2006-02-06 23:30:15 0000 -------
*** Bug 121926 has been marked as a duplicate of this bug. ***

------- Comment #7 From Heinrich Wendel (RETIRED) 2006-02-16 07:53:25 0000 -------
the thing is that all openmotif versions that are not motif-config versions
have to be removed before installing motif-config

------- Comment #8 From Jakub Moc (RETIRED) 2006-06-27 03:35:30 0000 -------
Re-assign wrt Bug 23545, maintainer retired.

------- Comment #9 From Mark Loeser 2007-11-23 07:23:35 0000 -------
Jeroen:  You touched this once or twice....would you be interested in
maintaining and fixing this? :)  Remove yourself if not, I just really want to
see this bug closed.

Jason: Or maybe you?  You touched the openmotif stuff atleast once :)

------- Comment #10 From Jakub Moc (RETIRED) 2007-11-23 07:33:18 0000 -------
(In reply to comment #9)
Mark, this whole motif-config idea plain needs to die... You can't have
something like motif-config or eselect-motif for binary-incompatible stuff for
starters, see Bug 29388; plus one variant of this horrible fugly toolkit is
more than enough to maintain for legacy apps that haven't switched to something
decent yet.

So, the quick solution would be:

- pick up *one* motif implementation
- fix dependencies accordingly
- punt motif-config and the other two implementations
- punt anything that doesn't compile/work with the chosen motif implementation
because noone's interested in such cruft

------- Comment #11 From Mark Loeser 2007-11-23 07:43:18 0000 -------
Jakub:  That's fine by me...someone just has to do something...please :)

------- Comment #12 From Jakub Moc (RETIRED) 2007-11-23 08:22:31 0000 -------
http://dev.gentooexperimental.org/~jakub/motif.txt

A quick look suggests that the only thing in the whole tree that requires a 
x11-libs/lesstif and doesn't work with x11-libs/openmotif would be those two
obsolete sci-mathematics/geomview versions. The solution looks pretty obvious
to me then.

(And just to make myself rather clear - no, moaning that A rocks and B sucks,
that Gentoo is all about choice and similar is totally irrelevant because what
we have now is heavily broken and there's no interest in maintaining the stuff,
let alone in multiple redundant implementations).

------- Comment #13 From Jakub Moc (RETIRED) 2008-01-04 09:05:19 0000 -------
OK, lets try to move things somewhere:

@ emacs: app-editors/emacs-21.4-{r4,r14} - can we please get rid of USE=lesstif
there?

@ tex: app-text/tetex-3.0_p1-r6 - can we please get of USE=lesstif there (or
better said, in tetex-3 eclass)?

@ cjk: can we please remove app-text/xdvik-22.84.5?

@ common-lisp: dev-lisp/cmucl - can we please get rid of USE=lesstif there?

@ sci-geosciences: sci-geosciences/gempak-5.7.2_p2 - sticking virtual/motif
!x11-libs/lesstif to DEPEND doesn't make much sense to me, why don't you just
depend on openmotif directly?

sci-mathematics/geomview was already cleaned-up since Comment #12, so all good
for x11-libs/lesstif removal, allowing us to get rid of the horrible
motif-config thing eventually, and sorting out this huge mess.

------- Comment #14 From Ulrich Müller 2008-01-04 09:45:26 0000 -------
(In reply to comment #13)
> @ emacs: app-editors/emacs-21.4-{r4,r14} - can we please get rid of
> USE=lesstif there?

Will virtual/motif go away, too?

I.e., at the moment we depend on:
    lesstif? ( x11-libs/lesstif )
    !lesstif? ( >=x11-libs/openmotif-2.1.30 )

Should this be changed to virtual/motif (as it is already the case for
>=emacs-22.1) or to x11-libs/openmotif?

------- Comment #15 From Jakub Moc (RETIRED) 2008-01-04 10:01:09 0000 -------
(In reply to comment #14)
> (In reply to comment #13)
> > @ emacs: app-editors/emacs-21.4-{r4,r14} - can we please get rid of
> > USE=lesstif there?
> 
> Will virtual/motif go away, too?

No, not ATM at least, since we desperately lack volunteers and there's no issue
with leaving the virtual in place even if it's going to have just one provider.
:)

To clarify here a bit more - the goal (for now) is to get rid of
x11-libs/lesstif at least; at that point we stop breaking lots of stuff b/c
this whole concept plain can't work for binary-incompatible implementations
(discussed in great detail on other bugs). For now, mitigating issues like
those mentioned in bug 117458 comment #6 would be nice progress to see. :)

Once that's done, openmotif should be slotted in a *proper* way so that no such
utility like motif-config is required, it really doesn't make sense to have a
tool that switches between different slots of a *library* to me... We can
rename it and keep the shared stuff that'd collide otherwise between slots, but
you totally cannot expect apps to remain working if you switch the motif libs
to different ABI, that's just crazy. Also, do we really need the slotting here?
Etc. etc. But, that's beyond the scope of this bug.

------- Comment #16 From J.O. Aho 2008-01-04 11:02:48 0000 -------
I know there been trouble with lesstif, but I can't make the *tif to act and
look as nice as lesstif. So I would want to keep lesstif as long as there
aren't a proper replacement.

------- Comment #17 From Jakub Moc (RETIRED) 2008-01-04 11:12:38 0000 -------
(In reply to comment #16)
> I know there been trouble with lesstif, but I can't make the *tif to act and
> look as nice as lesstif. So I would want to keep lesstif as long as there
> aren't a proper replacement.

Re-read Comment #12 please. Once again:

1/ motif-config cannot work it heavily breaks stuff
2/ openmotif slotting cannot work as it is either
3/ you'd get blockers between lesstif and openmotif anyway once motif-config is
gone
4/ there's zero interest in maintaining either of the implementations in Gentoo
and this this whole toolkit regardless of implementation is an obsolete
80's-style piece of *censored* that makes one's eyes bleed

Solution -> keep exactly *one* implementation and *one* slot of this thing in
the tree and reduce the maintenance overhead to a plain minimum.

Alternatives include nuking everything that depends on virtual/motif from the
tree altogether if that's what you prefer.

The above is not going to change no matter how much people complain b/c there's
noone to fix and maintain this mess.

------- Comment #18 From Ulrich Müller 2008-01-04 13:23:52 0000 -------
Removed lesstif USE flag from emacs-21.4-r14.

I won't bother to fix -r4 since it will be removed anyway, as soon as -r14 is
stable (that is bug #197313).

------- Comment #19 From Alexis Ballier 2008-01-06 18:03:58 0000 -------
(In reply to comment #13)

> @ tex: app-text/tetex-3.0_p1-r6 - can we please get of USE=lesstif there (or
> better said, in tetex-3 eclass)?

done

------- Comment #20 From Ulrich Müller 2008-01-21 07:10:08 0000 -------
(In reply to comment #13)
> dev-lisp/cmucl - can we please get rid of USE=lesstif there?

Done.

------- Comment #21 From Ulrich Müller 2008-01-28 19:13:52 0000 -------
So, what is left?

> @ cjk: can we please remove app-text/xdvik-22.84.5?

Trivial.

> @ sci-geosciences: sci-geosciences/gempak-5.7.2_p2 - sticking virtual/motif
> !x11-libs/lesstif to DEPEND doesn't make much sense to me, why don't you
> just depend on openmotif directly?

This is a blocker, not a dependency, so it doesn't hinder lesstif removal.

So, only thing is to remove the old xdvik version, and then lesstif can go
away. Or am I missing something?

------- Comment #22 From Jakub Moc (RETIRED) 2008-01-28 19:22:38 0000 -------
(In reply to comment #21)
> This is a blocker, not a dependency, so it doesn't hinder lesstif removal.

Well, ebuilds should state directly what they need and not what they don't
want. Similar stuff messes with dependency resolver, this one IMO makes
dependency calculation go kaboom when virtual/motif is satisfied with lesstif.
But no, that doesn't hinder lesstif removal.

> So, only thing is to remove the old xdvik version, and then lesstif can go
> away. Or am I missing something?

Yeah. Once xdvik is done, need a saner motif-config commited (see Bug 91951)
and stabilized together with latest openmotif, once that's done, nuke the
slotting.

------- Comment #23 From Ulrich Müller 2008-01-31 13:56:32 0000 -------
xdvik done, thanks aballier.

------- Comment #24 From Jakub Moc (RETIRED) 2008-02-02 14:06:40 0000 -------
All blocking stuff done from Comment #13 done here, sci-geosciences please
sanitize the gempak deps a bit, thanks.

Now we need the motif-config-0.10-r2 ebuild from Bug 91951 Comment #6 committed
and stabilized with x11-libs/openmotif-2.3.0 (Bug 204265) to get rid of the
mess.

------- Comment #25 From Jakub Moc (RETIRED) 2008-02-12 18:46:18 0000 -------
Fixed in motif-config-0.10-r2

------- Comment #26 From Joris Vandermeersch 2008-02-13 11:27:52 0000 -------
(In reply to comment #25)
> Fixed in motif-config-0.10-r2
> 

no it isn't:
emerge -uavD gives me

[ebuild     U ] x11-libs/motif-config-0.10-r2 [0.10-r1] 9 kB
[blocks B     ] <x11-libs/openmotif-2.3.0 (is blocking
x11-libs/motif-config-0.10-r2)


however,  the ebuilds seem to be ok:

/usr/portage/x11-libs/motif-config/motif-config-0.10-r2.ebuild:
> DEPEND="!<x11-libs/openmotif-2.3.0
> ...

/usr/portage/x11-libs/openmotif/openmotif-2.3.0.ebuild
> RDEPEND="
> ...
>     >=x11-libs/motif-config-0.9"

I'm guessing this is a peculiar bug where version numbers are compared
alphabetically, and 0.10 >= 0.9 thus evaluates to false... I wouldn't expect
this kind of bug in portage though, does anyone know more about this?

I think i'll go look if there's another bug filed for this but if there isn't
i'll open a new one - since it doesn't really seem related to this...

(for the record, I'm a gentoo user for 2 years, I'd like to be a gentoo dev if
I had the time but for now I'm happy with just using gentoo and finding out why
things don't work)

------- Comment #27 From Jakub Moc (RETIRED) 2008-02-13 11:34:36 0000 -------
(In reply to comment #26)
> no it isn't:
> emerge -uavD gives me
> 
> [ebuild     U ] x11-libs/motif-config-0.10-r2 [0.10-r1] 9 kB
> [blocks B     ] <x11-libs/openmotif-2.3.0 (is blocking
> x11-libs/motif-config-0.10-r2)

Yeah of course, read the comments in the motif-config ebuild. The blocker is
staying there so that you unmerge everything before updating. Not a bug.

------- Comment #28 From Joris Vandermeersch 2008-02-13 11:41:46 0000 -------
ah. ok

(odd, it's the first time I come across this practice afaik.)

but the thing that confuses me is that motif-config asks for openmotif-2.3.0 or
higher. I _have_ 2.3.0 installed on my system (and no older versions besides
it). so why is it complaining?

------- Comment #29 From Jakub Moc (RETIRED) 2008-02-13 11:44:33 0000 -------
(In reply to comment #28)
> but the thing that confuses me is that motif-config asks for openmotif-2.3.0 or
> higher. I _have_ 2.3.0 installed on my system (and no older versions besides
> it). so why is it complaining?

Because the thing is (incorrectly) slotted. You must unmerge everything but the
latest version.

------- Comment #30 From Jakub Moc (RETIRED) 2008-02-22 06:21:12 0000 -------
*** Bug 211065 has been marked as a duplicate of this bug. ***

------- Comment #31 From Jakub Moc (RETIRED) 2008-03-09 08:08:45 0000 -------
*** Bug 212796 has been marked as a duplicate of this bug. ***

------- Comment #32 From Ulrich Müller 2008-03-09 08:22:52 0000 -------
Reopening, since x11-libs/motif-config is still in the tree. Waiting for
stabilisation of openmotif-2.3.0-r1 in bug 211696, then it can be punted.

------- Comment #33 From Ulrich Müller 2008-04-13 23:45:24 0000 -------
(In reply to comment #32)
> Waiting for stabilisation of openmotif-2.3.0-r1 in bug 211696, then it
> can be punted.

Package masked for removal.

------- Comment #34 From Ulrich Müller 2008-05-04 18:25:40 0000 -------
(In reply to comment #13)
> @ sci-geosciences: sci-geosciences/gempak-5.7.2_p2 - sticking virtual/motif
> !x11-libs/lesstif to DEPEND doesn't make much sense to me, why don't you
> just depend on openmotif directly?

No response since 4 months, so I've fixed this myself.

------- Comment #35 From Ulrich Müller 2008-05-11 16:21:32 0000 -------
x11-libs/motif-config removed. Closing.

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