Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699500 - media-plugins/alsa-plugins: dosym with path starting with ${ED}
Summary: media-plugins/alsa-plugins: dosym with path starting with ${ED}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
: 689184 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-07 01:27 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-12-07 04:51 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 Arfrever Frehtes Taifersar Arahesis 2019-11-07 01:27:39 UTC
media-plugins/alsa-plugins/alsa-plugins-1.1.9-r1.ebuild:  dosym "${ED%/}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf \
media-plugins/alsa-plugins/alsa-plugins-1.1.9-r1.ebuild-          /etc/alsa/conf.d/51-pulseaudio-probe.conf #670960


Problems with above dosym command:

1. Initial ${D} or ${ED} is unnecessary in first argument (target of symbolic link), and PMS-compliant package managers will issue QA notice.
   PMS (https://projects.gentoo.org/pms/7/pms.html#x1-14800013.4.1):
   """
   13.4.1 Rewriting

   Any absolute symlink whose link starts with D must be rewritten with
   the leading D removed. The package manager should issue a notice when doing this. 
   """

2. Target of symbolic link could be made relative, instead of absolute.


Solution:

dosym ../../../usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf /etc/alsa/conf.d/51-pulseaudio-probe.conf
Comment 1 Pacho Ramos gentoo-dev 2019-11-19 11:11:59 UTC

*** This bug has been marked as a duplicate of bug 689184 ***
Comment 2 Arfrever Frehtes Taifersar Arahesis 2019-12-07 04:50:13 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3412cde619db953d00f3120e5104dd09ccad94ff

commit 3412cde619db953d00f3120e5104dd09ccad94ff
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-11-16 12:32:10 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-11-16 13:06:17 +0000

    media-plugins/alsa-plugins: Bump to version 1.2.1
    
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>


https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ea4337f9496849e758b564246a5b69c25451b1b

commit 2ea4337f9496849e758b564246a5b69c25451b1b
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-12-03 16:23:42 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-12-03 16:27:54 +0000

    media-plugins/alsa-plugins: Fixed QA issues
    
    Package-Manager: Portage-2.3.80, Repoman-2.3.19
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Comment 3 Arfrever Frehtes Taifersar Arahesis 2019-12-07 04:51:48 UTC
*** Bug 689184 has been marked as a duplicate of this bug. ***