Re: [gentoo-user] problem installing confluent-kafka from guru

2022-02-23 Thread Anatoly Oreshkin
Hi,
Unfortunately specifying dev-python/confluent-kafka::guru hasn't helped.
I've received the same error message:
 ID: dev-python/confluent-kafka
   Function: pkg.installed
   Name: dev-python/confluent-kafka::guru
 Result: False
Comment: The following package(s) were not found, and no possible
matches were found in the package db: dev-pyt
hon/confluent-kafka::guru


Started: 08:23:53.928495
   Duration: 61.712 ms
Changes:





вт, 22 февр. 2022 г. в 17:42, Matt Connell (Gmail) <
matthewdconn...@gmail.com>:

> On Tue, 2022-02-22 at 10:02 +0300, Anatoly Oreshkin wrote:
> > The following package(s) were not found, and no possible matches were
> > found in the package db: dev-python/confluent-kafka.
>
> I've never used a gentoo system with salt stack, but I had a thought.
> Salt can be picky with package names sometimes.
>
> Try specifying the package name this way, with the repository
> explicitly specified:
>
> dev-python/confluent-kafka::guru
>
>
>
>


Re: [gentoo-user] problem installing confluent-kafka from guru

2022-02-23 Thread Matt Connell (Gmail)
On Wed, 2022-02-23 at 11:28 +0300, Anatoly Oreshkin wrote:
> Unfortunately specifying dev-python/confluent-kafka::guru hasn't
> helped.

Unfortunately I don't have any better ideas.  I've had more problems
with the pkg.installed state than any other single thing in Salt.

If you states don't need to be extended to other platforms, you could
just resort to cmd.run again.  Seems you're already doing that with
emaint anyway.




Re: [gentoo-user] problem installing confluent-kafka from guru

2022-02-23 Thread Anatoly Oreshkin
To work around my problem I've changed state dev-python/confluent-kafka to
this variant:

dev-python/confluent-kafka:
  cmd.run:
- name: emerge dev-python/confluent-kafka
- require:
  - confluent-kafka-1.7.0.ebuild
  - dev-libs/librdkafka
  - add_guru

It works !
Thanks.



чт, 24 февр. 2022 г. в 00:55, Matt Connell (Gmail) <
matthewdconn...@gmail.com>:

> On Wed, 2022-02-23 at 11:28 +0300, Anatoly Oreshkin wrote:
> > Unfortunately specifying dev-python/confluent-kafka::guru hasn't
> > helped.
>
> Unfortunately I don't have any better ideas.  I've had more problems
> with the pkg.installed state than any other single thing in Salt.
>
> If you states don't need to be extended to other platforms, you could
> just resort to cmd.run again.  Seems you're already doing that with
> emaint anyway.
>
>
>