Created attachment 654668 [details] emerge --info user@mytest ~/gentoo $ ls -l /home/user/gentoo/usr/bin/gm4 lrwxrwxrwx 1 user user 11 Jul 20 01:17 /home/user/gentoo/usr/bin/gm4 -> /usr/bin/m4 user@mytest ~/gentoo $ ls -l /home/user/gentoo/usr/bin/m4 -rwxr-xr-x 1 user user 162816 Jul 20 01:17 /home/user/gentoo/usr/bin/m4 user@mytest ~/gentoo $ ls -l /usr/bin/m4 ls: cannot access '/usr/bin/m4': No such file or directory
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d937c1f2d37ccf9dc15440ef5ee75a3d827ba25d commit d937c1f2d37ccf9dc15440ef5ee75a3d827ba25d Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2020-09-13 09:57:09 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2020-09-13 09:57:30 +0000 sys-devel/m4: fix gm4 symlink target, thanks Alexey Closes: https://bugs.gentoo.org/737152 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Fabian Groffen <grobian@gentoo.org> sys-devel/m4/m4-1.4.17.ebuild | 2 +- sys-devel/m4/m4-1.4.18-r1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
I thought the fixed package needs reinstallation for the fix to apply, which is why I revbumped it in PR. Is that not the case?
Well, this only affects prefix users who use standalone prefix (=linux). I figured for those this dangling symlink will not cause to many issues (if any), therefore didn't want the whole gentoo user-base to re-emerge m4 to fix this issue for standalone linux prefix users only.
(In reply to comment #1) Relative symlink would be better: use prefix && dosym m4 /usr/bin/gm4
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40160de0851297d83efe15434c2e46c9a4f56093 commit 40160de0851297d83efe15434c2e46c9a4f56093 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-09-13 22:29:03 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-09-13 22:29:03 +0000 sys-devel/m4: use relative path for symlink target Bug: https://bugs.gentoo.org/737152 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-devel/m4/m4-1.4.17.ebuild | 2 +- sys-devel/m4/m4-1.4.18-r1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)