https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-misc/tigervnc-1.11.0-r1 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 663436 [details] build.log build log and emerge --info
Possible context of error(s): rm: cannot remove 'usr/bin/vncserver': No such file or directory
*** Bug 745999 has been marked as a duplicate of this bug. ***
This happens with USE="-server" Delete the item 'vncserver' from the list of files in line 174 of the ebuild and the problem goes away. Here is the patch. ---------------------------------------------------------------------- --- /var/db/pkg/net-misc/tigervnc-1.11.0-r1/tigervnc-1.11.0-r1.ebuild +++ /usr/portage/net-misc/tigervnc/tigervnc-1.11.0-r1.ebuild @@ -171,7 +171,7 @@ else local f cd "${ED}" || die - for f in x0vncserver vncconfig; do + for f in vncserver x0vncserver vncconfig; do rm usr/bin/$f || die rm usr/share/man/man1/$f.1 || die done ----------------------------------------------------------------------
(In reply to Andreas Proteus from comment #4) > This happens with USE="-server" > Delete the item 'vncserver' from the list of files in line 174 of the ebuild > and the problem goes away. > > Here is the patch. > ---------------------------------------------------------------------- > --- /var/db/pkg/net-misc/tigervnc-1.11.0-r1/tigervnc-1.11.0-r1.ebuild > +++ /usr/portage/net-misc/tigervnc/tigervnc-1.11.0-r1.ebuild > @@ -171,7 +171,7 @@ > else > local f > cd "${ED}" || die > - for f in x0vncserver vncconfig; do > + for f in vncserver x0vncserver vncconfig; do > rm usr/bin/$f || die > rm usr/share/man/man1/$f.1 || die > done > ---------------------------------------------------------------------- Are you sure about the patch? should not it be reversed?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe6b665628d0893edb8f6ee5dd9b287cb3f2929 commit 7fe6b665628d0893edb8f6ee5dd9b287cb3f2929 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2020-10-03 08:55:05 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2020-10-03 09:06:45 +0000 net-misc/tigervnc: Fix install failure. Closes: https://bugs.gentoo.org/745987 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Ulrich Müller <ulm@gentoo.org> net-misc/tigervnc/tigervnc-1.11.0-r1.ebuild | 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=8f0cb17c74f10c28be6c270fa99ec2e57f01fe39 commit 8f0cb17c74f10c28be6c270fa99ec2e57f01fe39 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2020-10-03 16:53:37 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2020-10-03 17:20:05 +0000 net-misc/tigervnc: Remove vncserver binary when USE=-server. The previous fix was incomplete, because vncserver is now installed in /usr/libexec instead of /usr/bin. Fixes: 7fe6b665628d0893edb8f6ee5dd9b287cb3f2929 Bug: https://bugs.gentoo.org/745987 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Ulrich Müller <ulm@gentoo.org> .../{tigervnc-1.11.0-r1.ebuild => tigervnc-1.11.0-r2.ebuild} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)