Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851657 - net-misc/spice-gtk-0.40 fails to compile: chown: cannot access spice-client-glib-usb-acl-helper: No such file or directory
Summary: net-misc/spice-gtk-0.40 fails to compile: chown: cannot access spice-client-g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-13 06:52 UTC by Agostino Sarubbo
Modified: 2022-06-13 23:31 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,222.37 KB, text/plain)
2022-06-13 06:52 UTC, Agostino Sarubbo
Details
1-testlog.txt (1-testlog.txt,11.55 KB, text/plain)
2022-06-13 06:52 UTC, Agostino Sarubbo
Details
Argh!... Rats!... build.log (rats_spice-gtk-0.40.build.log,192.16 KB, text/plain)
2022-06-13 22:06 UTC, Argh!... Rats!...
Details
Argh!... Rats!...emerge --info (rats_spice-gtk-0.40.emerge.info.txt,7.00 KB, text/plain)
2022-06-13 22:06 UTC, Argh!... Rats!...
Details
Argh!... Rats!...emerge -pqv (rats_spice-gtk-0.40.emerge.pqv.txt,257 bytes, text/plain)
2022-06-13 22:07 UTC, Argh!... Rats!...
Details
Argh!... Rats!... build.log of patched ebuild (rats_spice-gtk-0.40._patched.build.log,192.67 KB, text/x-log)
2022-06-13 22:58 UTC, Argh!... Rats!...
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-13 06:52:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/spice-gtk-0.40 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-13 06:52:39 UTC
Created attachment 784505 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-13 06:52:40 UTC
Created attachment 784508 [details]
1-testlog.txt

1-testlog.txt
Comment 3 Agostino Sarubbo gentoo-dev 2022-06-13 06:52:41 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


chown: cannot access '/var/tmp/portage/net-misc/spice-gtk-0.40/image/usr/libexec/spice-client-glib-usb-acl-helper': No such file or directory
Program gtkdoc-scan found: NO
Run-time dependency libcap-ng found: NO (tried pkgconfig and cmake)
Run-time dependency libva-x11 found: NO (tried pkgconfig and cmake)
Run-time dependency usbutils found: NO (tried pkgconfig and cmake)
spice-common| Program asciidoc found: NO
Comment 4 Argh!... Rats!... 2022-06-13 11:10:28 UTC
same problem here...
Comment 5 Larry the Git Cow gentoo-dev 2022-06-13 12:31:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39adfa4bf560f621765840bb484e29fd03eab350

commit 39adfa4bf560f621765840bb484e29fd03eab350
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-13 12:31:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-13 12:31:29 +0000

    net-misc/spice-gtk: conditionalise fowners for usbredir
    
    Closes: https://bugs.gentoo.org/851657
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/spice-gtk/spice-gtk-0.40.ebuild | 8 +++++---
 net-misc/spice-gtk/spice-gtk-9999.ebuild | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)
Comment 6 Argh!... Rats!... 2022-06-13 21:44:02 UTC
i still get the error:
``
chown: cannot access '/var/tmp/portage/net-misc/spice-gtk-0.40/image/usr/libexec/spice-client-glib-usb-acl-helper': No such file or directory
 * ERROR: net-misc/spice-gtk-0.40::gentoo failed (install phase):
 *   fowners failed
```


my ebuild has the usbredir adaption...
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-13 21:52:53 UTC
(In reply to Argh!... Rats!... from comment #6)
> i still get the error:
> ``
> chown: cannot access
> '/var/tmp/portage/net-misc/spice-gtk-0.40/image/usr/libexec/spice-client-
> glib-usb-acl-helper': No such file or directory
>  * ERROR: net-misc/spice-gtk-0.40::gentoo failed (install phase):
>  *   fowners failed
> ```
> 
> 
> my ebuild has the usbredir adaption...

Please share the full build.log and emerge --info.
Comment 8 Argh!... Rats!... 2022-06-13 22:06:18 UTC
Created attachment 784667 [details]
Argh!... Rats!... build.log
Comment 9 Argh!... Rats!... 2022-06-13 22:06:43 UTC
Created attachment 784670 [details]
Argh!... Rats!...emerge --info
Comment 10 Argh!... Rats!... 2022-06-13 22:07:12 UTC
Created attachment 784673 [details]
Argh!... Rats!...emerge -pqv
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-13 22:14:38 UTC
(In reply to Argh!... Rats!... from comment #8)
> Created attachment 784667 [details]
> Argh!... Rats!... build.log

Thanks!

>meson.build:265: [1;33mWARNING:[0m Building with usbredir support, but *not* building the usb acl helper

So, we only build the helper with Polkit.
Comment 12 Argh!... Rats!... 2022-06-13 22:17:23 UTC
(In reply to Sam James from comment #11)
> (In reply to Argh!... Rats!... from comment #8)
> > Created attachment 784667 [details]
> > Argh!... Rats!... build.log
> 
> Thanks!
> 
> >meson.build:265: [1;33mWARNING:[0m Building with usbredir support, but *not* building the usb acl helper
> 
> So, we only build the helper with Polkit.

You're very welcome...
Comment 13 Argh!... Rats!... 2022-06-13 22:24:31 UTC
currently set/unset useflags

```
equery uses net-misc/spice-gtk
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for net-misc/spice-gtk-0.40:
 U I
 + - gtk3          : Build the spice client (spicy), requires x11-libs/gtk+:3
 + + introspection : Add support for GObject based introspection
 - - lz4           : Enable support for lz4 compression (as implemented in app-arch/lz4)
 + + mjpeg         : Enable builtin mjpeg video decoder 
 - - policykit     : Enable sys-auth/polkit support for the usbredir acl helper
 - - sasl          : Add support for the Simple Authentication and Security Layer
 - - smartcard     : Enable smartcard support
 + - usbredir      : Use sys-apps/usbredir to redirect USB devices to another machine over TCP
 - - vala          : Enable bindings for dev-lang/vala
 + + wayland       : Enable dev-libs/wayland backend
 - - webdav        : Support for folder-sharing between guest and client using net-libs/phodav
```
Comment 14 Larry the Git Cow gentoo-dev 2022-06-13 22:25:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9

commit 3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-13 22:15:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-13 22:25:16 +0000

    net-misc/spice-gtk: fix usbredir conditional deux
    
    Closes: https://bugs.gentoo.org/851657
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/spice-gtk/spice-gtk-0.40.ebuild | 5 +++--
 net-misc/spice-gtk/spice-gtk-9999.ebuild | 7 ++++---
 2 files changed, 7 insertions(+), 5 deletions(-)
Comment 15 Argh!... Rats!... 2022-06-13 22:57:33 UTC
fails with:
```
 * ERROR: net-misc/spice-gtk-0.40::x-portage failed (install phase):
 *   You are not specifying README.gentoo contents!
```
Comment 16 Argh!... Rats!... 2022-06-13 22:58:56 UTC
Created attachment 784682 [details]
Argh!... Rats!... build.log of patched ebuild
Comment 17 Argh!... Rats!... 2022-06-13 23:31:21 UTC
works now...