Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78645 - kde-meta.eclass broken
Summary: kde-meta.eclass broken
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 03:35 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-01-29 01:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2005-01-19 03:35:45 UTC
I would email, but dev.gentoo.org smtpd still doesn't like me...

I tried to perform `ebuild kpdf-3.4.0_beta1.ebuild digest` which resulted in 

>>> Generating digest file...
<<< kdegraphics-3.3.90.tar.bz2
!!! We have a source URI, but no file...
!!! File: /usr/portage/distfiles/kdegraphics-3.3.90.tar.bz2

today and was pretty surprised by the tarball version and that it not even tried 
to fetch it...

Exposing a few variables revealed the follwing:
*** $PV: 3.4.0_beta1 ***
*** $myPV: kdegraphics-3.3.91 ***

and after 

# Main tarball for normal downloading style                                                                                  &#9474;
        case "$myPV" in                                                                                                              &#9474;
                3.3.9?)         SRC_PATH="unstable/${myPV}/src/${myPN}-${myPV}.tar.bz2" ;;                                           &#9474;
                3.3.0)          SRC_PATH="stable/3.3/src/${myP}.tar.bz2" ;;                                                          &#9474;
                3*)                     SRC_PATH="stable/${myPV}/src/${myP}.tar.bz2" ;;                                              &#9474;
                5)                      SRC_URI="" # cvs ebuilds, no SRC_URI needed                                                  &#9474;
                                        debug-print "$ECLASS: cvs detected, SRC_URI left empty" ;;                                   &#9474;
                *)                      die "$ECLASS: Error: unrecognized version ${myPV}, could not set SRC_URI" ;;                 &#9474;
        esac

*** $SRC_URI: ***

Since I did not have a real look at this eclass, yet, I think I let you tinker with it. The eclass could be a bit more verbose in general from my POV.
Comment 1 Dan Armak (RETIRED) gentoo-dev 2005-01-21 12:37:03 UTC
It needs kdegraphics-3.3.90.tar.bz2 for the digest for xdelta mode to work.
With USE=kdexdelta, it'll download the 3.3.90 (alpha1) tarball and the 
(official upstream) 3.3.90-3.3.91 xdelta and apply it at unpacking time.
This useflag is off by default, so usually you just see that in the digests...

So the behaviour is OK AFAICS.

As for not fetching on digest, I don't know why that'd happen (doesn't happen
here), but it's surely a portage issue not a kde one... Check the SRC_URI in
the cache to be sure.
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2005-01-24 03:39:43 UTC
Not fetching on digest is behavior/bug with portage 2.0.51 (or at least this was reported to me on irc). 

This is also reported in bug #69462

Comment 3 Dan Armak (RETIRED) gentoo-dev 2005-01-29 01:21:40 UTC
So as per my first comment, the eclass is OK and the bug is due to portage.