<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>117057</bug_id>
          
          <creation_ts>2005-12-29 01:58 0000</creation_ts>
          <short_desc>x11-libs/motif-config removal (was: blocker deps)</short_desc>
          <delta_ts>2008-05-11 16:21:32 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://forums.gentoo.org/viewtopic-t-416112.html</bug_file_loc>
          <status_whiteboard>Removed</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>211696</dependson>
          <blocked>147067</blocked>
    
    <blocked>204249</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>ferringb@gmail.com</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          <cc>boulder_flight_technician@yahoo.com</cc>
    
    <cc>bugs-gentoo@kotiaho.net</cc>
    
    <cc>jakub@gentoo.org</cc>
    
    <cc>jer@gentoo.org</cc>
    
    <cc>joris@infogroep.be</cc>
    
    <cc>jsin@gentoo.org</cc>
    
    <cc>jstubbs@gentoo.org</cc>
    
    <cc>ladanyi@tmit.bme.hu</cc>
    
    <cc>qa@gentoo.org</cc>
    
    <cc>simon+bugzilla@matthews-family.org.uk</cc>
    
    <cc>the.root.life@gmail.com</cc>
    
    <cc>ulm@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ferringb@gmail.com</who>
            <bug_when>2005-12-29 01:58:44 0000</bug_when>
            <thetext>rdeps (deps are similar)...

!&lt;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 !&lt;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&apos;s usable, it&apos;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&apos;t necessarily any better, but _something_ should be doable to make it saner.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferringb@gmail.com</who>
            <bug_when>2005-12-29 18:09:13 0000</bug_when>
            <thetext>*** Bug 116727 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schiotz@fysik.dtu.dk</who>
            <bug_when>2006-01-03 04:13:15 0000</bug_when>
            <thetext>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 :-)

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferringb@gmail.com</who>
            <bug_when>2006-01-04 23:14:27 0000</bug_when>
            <thetext>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&apos;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&apos;t.  Sounds odd, but the former is easier on resolvers, and works for our particular resolver.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schiotz@fysik.dtu.dk</who>
            <bug_when>2006-01-05 01:48:49 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-01-06 17:18:23 0000</bug_when>
            <thetext>*** Bug 118121 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-02-06 23:30:15 0000</bug_when>
            <thetext>*** Bug 121926 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2006-02-16 07:53:25 0000</bug_when>
            <thetext>the thing is that all openmotif versions that are not motif-config versions have to be removed before installing motif-config</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-06-27 03:35:30 0000</bug_when>
            <thetext>Re-assign wrt Bug 23545, maintainer retired.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2007-11-23 07:23:35 0000</bug_when>
            <thetext>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 :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-11-23 07:33:18 0000</bug_when>
            <thetext>(In reply to comment #9)
Mark, this whole motif-config idea plain needs to die... You can&apos;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&apos;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&apos;t compile/work with the chosen motif implementation because noone&apos;s interested in such cruft


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2007-11-23 07:43:18 0000</bug_when>
            <thetext>Jakub:  That&apos;s fine by me...someone just has to do something...please :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-11-23 08:22:31 0000</bug_when>
            <thetext>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&apos;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&apos;s no interest in maintaining the stuff, let alone in multiple redundant implementations).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-01-04 09:05:19 0000</bug_when>
            <thetext>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&apos;t make much sense to me, why don&apos;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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-01-04 09:45:26 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; @ emacs: app-editors/emacs-21.4-{r4,r14} - can we please get rid of
&gt; USE=lesstif there?

Will virtual/motif go away, too?

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

Should this be changed to virtual/motif (as it is already the case for &gt;=emacs-22.1) or to x11-libs/openmotif?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-01-04 10:01:09 0000</bug_when>
            <thetext>(In reply to comment #14)
&gt; (In reply to comment #13)
&gt; &gt; @ emacs: app-editors/emacs-21.4-{r4,r14} - can we please get rid of
&gt; &gt; USE=lesstif there?
&gt; 
&gt; Will virtual/motif go away, too?

No, not ATM at least, since we desperately lack volunteers and there&apos;s no issue with leaving the virtual in place even if it&apos;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&apos;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&apos;s done, openmotif should be slotted in a *proper* way so that no such utility like motif-config is required, it really doesn&apos;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&apos;d collide otherwise between slots, but you totally cannot expect apps to remain working if you switch the motif libs to different ABI, that&apos;s just crazy. Also, do we really need the slotting here? Etc. etc. But, that&apos;s beyond the scope of this bug.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bugs-gentoo@kotiaho.net</who>
            <bug_when>2008-01-04 11:02:48 0000</bug_when>
            <thetext>I know there been trouble with lesstif, but I can&apos;t make the *tif to act and look as nice as lesstif. So I would want to keep lesstif as long as there aren&apos;t a proper replacement.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-01-04 11:12:38 0000</bug_when>
            <thetext>(In reply to comment #16)
&gt; I know there been trouble with lesstif, but I can&apos;t make the *tif to act and
&gt; look as nice as lesstif. So I would want to keep lesstif as long as there
&gt; aren&apos;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&apos;d get blockers between lesstif and openmotif anyway once motif-config is gone
4/ there&apos;s zero interest in maintaining either of the implementations in Gentoo and this this whole toolkit regardless of implementation is an obsolete 80&apos;s-style piece of *censored* that makes one&apos;s eyes bleed

Solution -&gt; 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&apos;s what you prefer.

The above is not going to change no matter how much people complain b/c there&apos;s noone to fix and maintain this mess.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-01-04 13:23:52 0000</bug_when>
            <thetext>Removed lesstif USE flag from emacs-21.4-r14.

I won&apos;t bother to fix -r4 since it will be removed anyway, as soon as -r14 is stable (that is bug #197313).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-01-06 18:03:58 0000</bug_when>
            <thetext>(In reply to comment #13)

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

done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-01-21 07:10:08 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; dev-lisp/cmucl - can we please get rid of USE=lesstif there?

Done.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-01-28 19:13:52 0000</bug_when>
            <thetext>So, what is left?

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

Trivial.

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

This is a blocker, not a dependency, so it doesn&apos;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?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-01-28 19:22:38 0000</bug_when>
            <thetext>(In reply to comment #21)
&gt; This is a blocker, not a dependency, so it doesn&apos;t hinder lesstif removal.

Well, ebuilds should state directly what they need and not what they don&apos;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&apos;t hinder lesstif removal.

&gt; So, only thing is to remove the old xdvik version, and then lesstif can go
&gt; 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&apos;s done, nuke the slotting.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-01-31 13:56:32 0000</bug_when>
            <thetext>xdvik done, thanks aballier.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-02 14:06:40 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-12 18:46:18 0000</bug_when>
            <thetext>Fixed in motif-config-0.10-r2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joris@infogroep.be</who>
            <bug_when>2008-02-13 11:27:52 0000</bug_when>
            <thetext>(In reply to comment #25)
&gt; Fixed in motif-config-0.10-r2
&gt; 

no it isn&apos;t:
emerge -uavD gives me

[ebuild     U ] x11-libs/motif-config-0.10-r2 [0.10-r1] 9 kB
[blocks B     ] &lt;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:
&gt; DEPEND=&quot;!&lt;x11-libs/openmotif-2.3.0
&gt; ...

/usr/portage/x11-libs/openmotif/openmotif-2.3.0.ebuild
&gt; RDEPEND=&quot;
&gt; ...
&gt;     &gt;=x11-libs/motif-config-0.9&quot;

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

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

(for the record, I&apos;m a gentoo user for 2 years, I&apos;d like to be a gentoo dev if I had the time but for now I&apos;m happy with just using gentoo and finding out why things don&apos;t work)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-13 11:34:36 0000</bug_when>
            <thetext>(In reply to comment #26)
&gt; no it isn&apos;t:
&gt; emerge -uavD gives me
&gt; 
&gt; [ebuild     U ] x11-libs/motif-config-0.10-r2 [0.10-r1] 9 kB
&gt; [blocks B     ] &lt;x11-libs/openmotif-2.3.0 (is blocking
&gt; 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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joris@infogroep.be</who>
            <bug_when>2008-02-13 11:41:46 0000</bug_when>
            <thetext>ah. ok

(odd, it&apos;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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-13 11:44:33 0000</bug_when>
            <thetext>(In reply to comment #28)
&gt; but the thing that confuses me is that motif-config asks for openmotif-2.3.0 or
&gt; higher. I _have_ 2.3.0 installed on my system (and no older versions besides
&gt; it). so why is it complaining?

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

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-22 06:21:12 0000</bug_when>
            <thetext>*** Bug 211065 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-03-09 08:08:45 0000</bug_when>
            <thetext>*** Bug 212796 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-03-09 08:22:52 0000</bug_when>
            <thetext>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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-04-13 23:45:24 0000</bug_when>
            <thetext>(In reply to comment #32)
&gt; Waiting for stabilisation of openmotif-2.3.0-r1 in bug 211696, then it
&gt; can be punted.

Package masked for removal.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-05-04 18:25:40 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; @ sci-geosciences: sci-geosciences/gempak-5.7.2_p2 - sticking virtual/motif
&gt; !x11-libs/lesstif to DEPEND doesn&apos;t make much sense to me, why don&apos;t you
&gt; just depend on openmotif directly?

No response since 4 months, so I&apos;ve fixed this myself.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-05-11 16:21:32 0000</bug_when>
            <thetext>x11-libs/motif-config removed. Closing.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>