Switching to powerpc-unknown-linux-gnu-2.34 ...mv: cannot stat '//etc/env.d/05binutils.tmp': No such file or directory binutils-config has: DATAPATH="${EPREFIX}"/usr/share/binutils-data/${TARGET}/${VER} local e="${EROOT}"/etc/env.d/05binutils local ee="${e}.tmp" rm -f "${ee}" [[ -d ${ROOT}/${DATAPATH}/man ]] && echo "MANPATH=${DATAPATH}/man" >> "${ee}" [[ -d ${ROOT}/${DATAPATH}/info ]] && echo "INFOPATH=${DATAPATH}/info" >> "${ee}" mv_if_diff "${ee}" "${e}" If there is no info nor man dirs no 05binutils.tmp will be created. Adding a touch "${ee}" fixes it: rm -f "${ee}" +touch "${ee}" [[ -d ${ROOT}/${DATAPATH}/man ]] && echo "MANPATH=${DATAPATH}/man" >> "${ee}"
ping? This is a simple fix
ping?
Maybe write and attach a git am'able patch?
Created attachment 743100 [details, diff] Fixes problem Lets hope this gets things moving
(In reply to Joakim Tjernlund from comment #5) seems like it'd be easier to do an -e check on $ee and not emit anything. an empty env.d file isn't that useful after all. is there something that needs this to exist that i'm forgetting about ?
(In reply to SpanKY from comment #6) > (In reply to Joakim Tjernlund from comment #5) > > seems like it'd be easier to do an -e check on $ee and not emit anything. > an empty env.d file isn't that useful after all. > > is there something that needs this to exist that i'm forgetting about ? Any conclusion w.r.t above?
Created attachment 761275 [details, diff] Alt. fix
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/binutils-config.git/commit/?id=b3d5707738167a15b9a12d73b855d16784f63d05 commit b3d5707738167a15b9a12d73b855d16784f63d05 Author: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> AuthorDate: 2022-01-04 09:19:06 +0000 Commit: Mike Frysinger <vapier@gentoo.org> CommitDate: 2022-01-13 07:42:52 +0000 binutils-config: skip updating empty env.d files If the package doesn't have any info or man pages, we won't create an env.d file, so don't try moving it. Closes: https://bugs.gentoo.org/796260 Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> src/binutils-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28899642a1158c227faacf2c0a0d1bc8132598c commit f28899642a1158c227faacf2c0a0d1bc8132598c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-20 06:07:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-20 06:07:08 +0000 sys-devel/binutils-config: add 5.4.1 Bug: https://bugs.gentoo.org/796260 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/binutils-config/Manifest | 1 + .../binutils-config/binutils-config-5.4.1.ebuild | 43 ++++++++++++++++++++++ .../binutils-config/binutils-config-9999.ebuild | 2 +- 3 files changed, 45 insertions(+), 1 deletion(-)