letto@localhost: ~ $ sudo eix-sync eix-sync: cannot find eix-functions.sh letto@localhost: ~ $ This happens after the 0.33.9 upgrade. Reproducible: Always
I can confirm this. The problem is that /usr/bin/eix-sync contains the block if eix_funcs=`cat "usr/share/eix/eix-functions" 2>/dev/null` then eval "$eix_funcs" else echo "${0##*/}: cannot find eix-functions.sh" >&2 exit 1 fi As you can see, the slash behind "usr" is missing, which means that it's trying to resolve it as a relative path. The same problem is present in lines 261 and 277 in eix-functions.sh, which leads me to believe that the preprocessing happening on compile time, which "translates" the paths, is flawed by not adding the slashes in the beginning. Manually adding them in these three locations fixes the problem for me.
This seems to have been fixed without revbump by: commit 6f827ddcd47d9c69f65a90d5db5c5c86774b733f Author: Mikle Kolyada <zlogene@gentoo.org> AuthorDate: 2019-12-13 08:44:23 +0100 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2019-12-13 08:44:46 +0100 app-portage/eix: make ci green Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> However, I see another issue, so I'll fix that and then revbump to propagate it properly.
(In reply to Michał Górny from comment #2) > This seems to have been fixed without revbump by: > > commit 6f827ddcd47d9c69f65a90d5db5c5c86774b733f > Author: Mikle Kolyada <zlogene@gentoo.org> > AuthorDate: 2019-12-13 08:44:23 +0100 > Commit: Mikle Kolyada <zlogene@gentoo.org> > CommitDate: 2019-12-13 08:44:46 +0100 > > app-portage/eix: make ci green > > Package-Manager: Portage-2.3.79, Repoman-2.3.16 > Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> > > > However, I see another issue, so I'll fix that and then revbump to propagate > it properly. Thanks for the quick response! I didn't consider the ebuild itself, as I thought this was a bug in the package itself. I'll do that in the future.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186273c339c1fdbbc5d3621d8be036b31fef40e2 commit 186273c339c1fdbbc5d3621d8be036b31fef40e2 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-12-15 12:54:34 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-12-15 13:00:04 +0000 app-portage/eix: Fix sourced file paths Fix sourced file paths to use EPREFIX rather than EROOT. ROOT is meant to be only temporary, and used only in pkg_*inst/*rm. The revbump also covers propagating earlier fix to missing slash in the ebuild. Closes: https://bugs.gentoo.org/702814 Signed-off-by: Michał Górny <mgorny@gentoo.org> app-portage/eix/{eix-0.33.9.ebuild => eix-0.33.9-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)