Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 619870

Summary: dev-lang/lfe: uses bad distfile name
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 619838    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-27 21:25:36 UTC
The ebuild seems to be missing SRC_URI arrows to rename the distfile:

v0.10.1.zip
Comment 1 Patrick Lauer gentoo-dev 2017-06-26 11:42:52 UTC
SRC_URI="https://github.com/rvirding/lfe/archive/v${PV}.zip -> ${P}.zip"

I don't see how this is broken
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-15 09:33:12 UTC
(In reply to Patrick Lauer from comment #1)
> SRC_URI="https://github.com/rvirding/lfe/archive/v${PV}.zip -> ${P}.zip"
> 
> I don't see how this is broken

commit 87dbd605d27d17a3dc910a40393215f9cf7d8c01
Author: Sergei Trofimovich <slyfox@gentoo.org>
Date:   Sat Jun 3 13:28:50 2017 +0100

    dev-lang/lfe: rename all distfile .zip-balls to ${PV}

    Applies https://github.com/gentoo/gentoo/pull/4786
    change to all ebuilds.

    The only checksum change happened for lfe-0.7a.

    File contents did not change but .zip compression attributes
    shifted slightly: 'bx -> tx' (binary file -> text file)

    $ diffoscope $(portageq envvar DISTDIR)/{v,lfe-}0.7a.zip

    │ --rw----     0.0 fat       20 bx stor 11-Aug-10 02:35 lfe-0.7a/.gitignore
    │ +-rw----     0.0 fat       20 tx stor 11-Aug-10 02:35 lfe-0.7a/.gitignore

    Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-lang/lfe/lfe-0.7.ebuild   | 4 ++--
 dev-lang/lfe/lfe-1.0.ebuild   | 4 ++--
 dev-lang/lfe/lfe-1.1.1.ebuild | 4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)

---

It had already been fixed for you by that point.