Summary: | dev-perl/File-BaseDir-0.70.0 : fails with FEATURES=test ( t/03_userdirs.t (Wstat: 2048 Tests: 8 Failed: 8) ) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kentnl |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://rt.cpan.org/Ticket/Display.html?id=123343 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-perl:File-BaseDir-0.70.0:20170705-212500.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 |
Description
Toralf Förster
2017-07-06 16:35:28 UTC
Created attachment 481420 [details]
emerge-info.txt
Created attachment 481422 [details]
dev-perl:File-BaseDir-0.70.0:20170705-212500.log
Created attachment 481424 [details]
emerge-history.txt
Created attachment 481426 [details]
environment
Created attachment 481428 [details]
etc.portage.tbz2
Created attachment 481430 [details]
temp.tbz2
Do you happen to know how these ENV vars are set? declare -x XDG_CACHE_HOME="/root/cache" declare -x XDG_CONFIG_DIRS="/etc/xdg" declare -x XDG_CONFIG_HOME="/root/config" declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share" declare -x XDG_DATA_HOME="/root/share" declare -x XDG_DESKTOP_DIR="/root/Desktop" declare -x XDG_DOCUMENTS_DIR="/root/Documents" declare -x XDG_DOWNLOAD_DIR="/root/Downloads" declare -x XDG_MUSIC_DIR="/root/Music" declare -x XDG_PICTURES_DIR="/root/Pictures" declare -x XDG_PUBLICSHARE_DIR="/root/Public" declare -x XDG_RUNTIME_DIR="/root/run" declare -x XDG_TEMPLATES_DIR="/root/Templates" declare -x XDG_VIDEOS_DIR="/root/Videos" My configuration only exposes: XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/mesa/xdg And it looks like these paths are taking precedence in the test. Looks like XDG_CONFIG_HOME is the trip-wire for this. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1476c135ae813f7269a536504f3c40d8a6a794ad commit 1476c135ae813f7269a536504f3c40d8a6a794ad Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2017-10-21 05:52:25 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2017-10-21 05:52:44 +0000 dev-perl/File-BaseDir: Prevent XDG_CONFIG_HOME breaking tests bug #624028 Closes: https://bugs.gentoo.org/624028 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-perl/File-BaseDir/File-BaseDir-0.70.0.ebuild | 2 ++ 1 file changed, 2 insertions(+) (In reply to Kent Fredric (IRC: kent\n) from comment #7) I forced this in the tinderbox as a requirement of a Gentoo dev : https://github.com/toralf/tinderbox/blob/master/bin/job.sh#L1187 see bug #567192 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83fc69b13e3dde230f78203a9e8c862abdf07292 commit 83fc69b13e3dde230f78203a9e8c862abdf07292 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2020-08-21 15:51:28 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2020-08-21 15:52:26 +0000 dev-perl/File-BaseDir: Bump to version 0.80.0 - EAPI7 - Unconditionally strip bad tests - Remove bug #624028 workaround due to upstream mimicing it Upstream: - Fix failing test 03_userdirs.t Bug: https://bugs.gentoo.org/624028 Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org> dev-perl/File-BaseDir/File-BaseDir-0.80.0.ebuild | 36 ++++++++++++++++++++++++ dev-perl/File-BaseDir/Manifest | 1 + 2 files changed, 37 insertions(+) |