public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] app-emulation/docker-20.10.2 ebuild is borked?
@ 2021-01-09  1:46 Nikos Chantziaras
  2021-01-09  3:02 ` Ionen Wolkens
  0 siblings, 1 reply; 3+ messages in thread
From: Nikos Chantziaras @ 2021-01-09  1:46 UTC (permalink / raw
  To: gentoo-user

Portage was trying to update docker from 20.10.1 to 20.10.2. However, it 
aborts with:

   ERROR: setup
   CONFIG_RT_GROUP_SCHED:         is not set when it should be.

That's a stupid requirement and not needed, as it breaks realtime 
scheduling with rtkit (PulseAudio for example.)

So I copied the ebuild to my local overlay and removed ~RT_GROUP_SCHED 
from CONFIG_CHECK. Portage now aborts with:

   ERROR: compile
   ERROR: app-emulation/docker-20.10.2::local failed (compile phase):
     USE Flag 'selinux' not in IUSE for app-emulation/docker-20.10.2

OK, so I added "selinux" to IUSE. Portage now aborts with:

   Building: bundles/dynbinary-daemon/dockerd-dev
   GOOS="" GOARCH="" GOARM=""
   cannot find package "github.com/docker/docker/cmd/dockerd" in any of:
   /usr/lib/go/src/github.com/docker/docker/cmd/dockerd (from $GOROOT)
 
/var/tmp/portage/app-emulation/docker-20.10.2/work/docker-20.10.2/src/github.com/docker/docker/cmd/dockerd 
(from $GOPATH)
   * ERROR: app-emulation/docker-20.10.2::local failed (compile phase):
   *   dynbinary failed

Unfortunately, 20.10.1 was deleted from portage and I cannot go back as 
docker-cli has already been updated to 20.10.2...

Help?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] app-emulation/docker-20.10.2 ebuild is borked?
  2021-01-09  1:46 [gentoo-user] app-emulation/docker-20.10.2 ebuild is borked? Nikos Chantziaras
@ 2021-01-09  3:02 ` Ionen Wolkens
  2021-01-09  3:22   ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 3+ messages in thread
From: Ionen Wolkens @ 2021-01-09  3:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1384 bytes --]

On Sat, Jan 09, 2021 at 03:46:10AM +0200, Nikos Chantziaras wrote:
> Portage was trying to update docker from 20.10.1 to 20.10.2. However, it 
> aborts with:
> 
>    ERROR: setup
>    CONFIG_RT_GROUP_SCHED:         is not set when it should be.

I don't believe this check aborts the build, maybe something else
happened? At least it doesn't for me.

>    ERROR: compile
>    ERROR: app-emulation/docker-20.10.2::local failed (compile phase):
>      USE Flag 'selinux' not in IUSE for app-emulation/docker-20.10.2
> 
> OK, so I added "selinux" to IUSE. Portage now aborts with:
> 
>    Building: bundles/dynbinary-daemon/dockerd-dev
>    GOOS="" GOARCH="" GOARM=""
>    cannot find package "github.com/docker/docker/cmd/dockerd" in any of:
>    /usr/lib/go/src/github.com/docker/docker/cmd/dockerd (from $GOROOT)
>  
> /var/tmp/portage/app-emulation/docker-20.10.2/work/docker-20.10.2/src/github.com/docker/docker/cmd/dockerd 
> (from $GOPATH)
>    * ERROR: app-emulation/docker-20.10.2::local failed (compile phase):
>    *   dynbinary failed
> 
> Unfortunately, 20.10.1 was deleted from portage and I cannot go back as 
> docker-cli has already been updated to 20.10.2...
> 

I replied to https://bugs.gentoo.org/764524#c1 which should answer both
issues. I'm assuming some extra changes were accidentally merged while adding
cli USE.

-- 
ionen

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: app-emulation/docker-20.10.2 ebuild is borked?
  2021-01-09  3:02 ` Ionen Wolkens
@ 2021-01-09  3:22   ` Nikos Chantziaras
  0 siblings, 0 replies; 3+ messages in thread
From: Nikos Chantziaras @ 2021-01-09  3:22 UTC (permalink / raw
  To: gentoo-user

On 09/01/2021 05:02, Ionen Wolkens wrote:
> On Sat, Jan 09, 2021 at 03:46:10AM +0200, Nikos Chantziaras wrote:
>> Portage was trying to update docker from 20.10.1 to 20.10.2. However, it
>> aborts with:
>>
>>     ERROR: setup
>>     CONFIG_RT_GROUP_SCHED:         is not set when it should be.
> 
> I don't believe this check aborts the build, maybe something else
> happened? At least it doesn't for me.

Hm, right. It says "ERROR" so I assumed it's an error, not a warning.


> I replied to https://bugs.gentoo.org/764524#c1 which should answer both
> issues. I'm assuming some extra changes were accidentally merged while adding
> cli USE.

Thank you! Performing those two changes in the ebuild fixed it.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-09  3:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-09  1:46 [gentoo-user] app-emulation/docker-20.10.2 ebuild is borked? Nikos Chantziaras
2021-01-09  3:02 ` Ionen Wolkens
2021-01-09  3:22   ` [gentoo-user] " Nikos Chantziaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox