Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 745987 - net-misc/tigervnc-1.11.0-r1 fails to install: rm: cannot remove 'usr/bin/vncserver': No such file or directory
Summary: net-misc/tigervnc-1.11.0-r1 fails to install: rm: cannot remove 'usr/bin/vncs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: otakuto.gentoo
URL:
Whiteboard:
Keywords:
: 745999 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-01 13:22 UTC by Agostino Sarubbo
Modified: 2020-10-03 17:20 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,97.45 KB, text/plain)
2020-10-01 13:22 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-10-01 13:22:45 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-01 13:22:48 UTC
Created attachment 663436 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-01 13:22:49 UTC
Possible context of error(s):

rm: cannot remove 'usr/bin/vncserver': No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2020-10-01 15:01:01 UTC
*** Bug 745999 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Proteus 2020-10-01 22:23:08 UTC
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
----------------------------------------------------------------------
Comment 5 Fabio Coatti 2020-10-02 07:32:39 UTC
(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?
Comment 6 Larry the Git Cow gentoo-dev 2020-10-03 09:13:11 UTC
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(-)
Comment 7 Larry the Git Cow gentoo-dev 2020-10-03 17:20:19 UTC
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(-)