<?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>123854</bug_id>
          
          <creation_ts>2006-02-23 13:41 0000</creation_ts>
          <short_desc>sys-kernel/xen-sources-2.6.12.6-r2 depends on non-existent  app-emulation/xen version</short_desc>
          <delta_ts>2006-03-03 04:49:10 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>2005.1</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>molle.bestefich@gmail.com</reporter>
          <assigned_to>chrb@gentoo.org</assigned_to>
          <cc>bg@nick125.com</cc>
    
    <cc>cgs@ldsys.net</cc>

      

      
          <long_desc isprivate="0">
            <who>molle.bestefich@gmail.com</who>
            <bug_when>2006-02-23 13:41:41 0000</bug_when>
            <thetext>Ok, this REALLY sucks.

The Xen ebuild busted my Portage again.

This time it&apos;s really screwed.

My automatic updates crash, which is not good.

Here&apos;s output from emerge -Dp world.
================================================
# emerge -Dp world

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

Calculating world dependencies -
emerge: there are no ebuilds to satisfy &quot;=app-emulation/xen-3.0.1&quot;.
(dependency required by &quot;sys-kernel/xen-sources-2.6.12.6-r2&quot; [ebuild])

!!! Problem resolving dependencies for sys-fs/evms
!!! Depgraph creation failed.
================================================

Gah...  Is there any way we could stop breaking Portage please?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>molle.bestefich@gmail.com</who>
            <bug_when>2006-02-23 14:43:22 0000</bug_when>
            <thetext>(Checked the priorities list at http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity, changed the priority to &quot;major&quot;, since this issue causes major loss of functionality for me by breaking automatic updates.)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>molle.bestefich@gmail.com</who>
            <bug_when>2006-02-23 16:54:05 0000</bug_when>
            <thetext>Oh, and sorry if I seem worked up.
I&apos;m on a tight schedule, and I&apos;m a bit disappointed with, hmm, Portage I guess.

Based on jakub&apos;s new summary for this bug, I&apos;m guessing that this is just a typo?

If so, it seems that this sort of situation is something that could easily be fixed by a pre-commit hook in the repository that stores ebuilds, which checks that dependencies are OK before allowing the commit.

Eagerly awaiting comments :-).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrb@gentoo.org</who>
            <bug_when>2006-02-24 05:15:02 0000</bug_when>
            <thetext>Problem is xen-sources and xen versions must match to keep the hypervisor api the same. xen-sources depends on a specific xen version, but that got bumped so they no longer matched. It&apos;s fixed now.

Post-commit checking of syntax, depend sanity, compile etc. would be great, I look forward to your implementation :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cgs@ldsys.net</who>
            <bug_when>2006-02-27 21:58:59 0000</bug_when>
            <thetext>xen-3.0.1 is not in portage.  xen-3.0.1-r1 is.  I believe that this patch sorta breaks things, no?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrb@gentoo.org</who>
            <bug_when>2006-02-28 01:53:01 0000</bug_when>
            <thetext>Which patch? The depend is fixed already...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cgs@ldsys.net</who>
            <bug_when>2006-02-28 09:08:30 0000</bug_when>
            <thetext>The patch made to the ebuild.  I needed to change it back to &gt;= because xen-3.0.1 isn&apos;t in portage.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrb@gentoo.org</who>
            <bug_when>2006-02-28 11:10:13 0000</bug_when>
            <thetext># emerge -vp =xen-sources-2.6.12.6-r2

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

Calculating dependencies ...done!
[ebuild  N    ] app-emulation/xen-3.0.1-r1  -custom-cflags -debug -doc -screen 0 kB 
[ebuild  N    ] sys-kernel/xen-sources-2.6.12.6-r2  -build -doc -symlink 0 kB [1] 

I&apos;m not seeing the breakage? The new DEPEND is xen-3.0.1*</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cgs@ldsys.net</who>
            <bug_when>2006-02-28 11:28:14 0000</bug_when>
            <thetext>Hmmmm, very strange.  I diffed my overlay with what I thought was current (I had just run a sync to our portage mirror), and I saw your comment added for the patch, and I saw that &gt;= changed to =, but no asterisk.  Now, on another machine, the asterisk is there.  I specifically looked for that asterisk, too.  No idea.  Ok, nothing to see here...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-03-02 11:16:58 0000</bug_when>
            <thetext>*** Bug 124674 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>molle.bestefich@gmail.com</who>
            <bug_when>2006-03-03 04:49:10 0000</bug_when>
            <thetext>Just to confirm that it&apos;s fixed..

Updating with emerge --sync and emerge -D world works for me now.

Thanks! :-)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>