Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632126 - media-radio/gpredict-1.3-r1 installs a symlink to /usr/portage/licenses
Summary: media-radio/gpredict-1.3-r1 installs a symlink to /usr/portage/licenses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-27 09:06 UTC by Ulrich Müller
Modified: 2017-10-02 16:57 UTC (History)
1 user (show)

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 Ulrich Müller gentoo-dev 2017-09-27 09:06:22 UTC
In src_install:

    dosym /usr/portage/licenses/GPL-2 /usr/share/${PN}/COPYING

It is not guaranteed that /usr/portage exists on the user's system (and see bug 373349 why using PORTDIR instead would not be a good idea either).

I'd suggest to restore installation of COPYING in gpredict-1.1-doc.patch and let the package's build system install it from the tarball.
Comment 1 Thomas Beierlein gentoo-dev 2017-10-02 16:57:14 UTC
(In reply to Ulrich Müller from comment #0)
> In src_install:
> 
>     dosym /usr/portage/licenses/GPL-2 /usr/share/${PN}/COPYING
> 
> It is not guaranteed that /usr/portage exists on the user's system (and see
> bug 373349 why using PORTDIR instead would not be a good idea either).
> 
> I'd suggest to restore installation of COPYING in gpredict-1.1-doc.patch and
> let the package's build system install it from the tarball.

Fixed in gpredict-1.3-r2 

>     media-radio/gpredict: drop symlink to license (bug #632126)