Re: [gentoo-user] gradle as source? How safe are overlays?

2023-10-16 Thread Viktar Patotski
Usually all gradle projects contain gradle wrappers (gradlew.bat and
gradlew.sh). If you have them, you just need Java and run: ./gradlew build

Viktar

On Mon, Oct 16, 2023 at 9:29 PM n952162  wrote:

> In order to build an android app, I need gradle.  Apparently, there's
> only a binary version in gentoo, dev-java/gradle-bin, but there's a
> source version in the mva overlay.  Why might it only be in an overlay?
>
> This link:
>
> https://wiki.gentoo.org/wiki/Gradle#Availability
>
> links to:
>
> https://github.com/msva/mva-overlay/tree/master/dev-java/gradle
>
> containing 3 files, none of which is 100 lines.
>
> If that's all it takes, why not be part of the distribution?
>
> TIA
>
>
>
>


Re: [gentoo-user] Re: WARNING: Do not update your system on ~amd64

2020-06-20 Thread Viktar Patotski
Hi All,

First of all thanks for this thread! It helped me a lot. In short:

I was not able to login to my notebook after battery discharge reboot...
Thanks, I always have Gentoo live USB drive. So:

1. I booted to livecd
2. chrooted to my system (thanks I still not encrypted my hdd)
3. emerge --ask --update --newuse --deep @world
4. reboot
5. Happy Login!

:-)

Viktar Patotski

On Fri, Jun 19, 2020 at 5:44 PM Nikos Chantziaras  wrote:

> On 19/06/2020 15:31, Arve Barsnes wrote:
> > On Fri, 19 Jun 2020 at 12:49, Neil Bothwick  wrote:
> >>
> >> On Fri, 19 Jun 2020 10:55:46 +0100, Peter Humphrey wrote:
> >>
> >>> And today, pam and pambase are restored to their earlier versions
> >>> because sddm requires them. But sddm has not changed versions, so why
> >>> did portage want to upgrade pam and pambase on Wednesday?
> >>
> >> The sddm ebuild has changed without changing the version
> >>
> >> -   pam? ( sys-libs/pam )
> >> +   pam? ( <=sys-libs/pam-1.3.1_p20200128-r1 )
> >
> > I only got a message about skipping sddm on my world update, so
> > apparently I'm now running an unsupported pam version. Rebooting
> > worked just fine though, so what I gain/lose by staying like this is
> > unknown.
>
> I lost my Plasma auto login. SDDM would just display a black screen at
> boot rather than log me in automatically.
>
> Fixing it was easy though:
>
>emerge -a1 =sys-auth/pambase-20200304 =sys-libs/pam-1.3.1_p20200128-r1
>
>
>


Re: [gentoo-user] Kernel config for Docker

2020-05-16 Thread Viktar Patotski
hey,

to solve this part:
- /dev/zfs: missing
- zfs command: missing
- zpool command: missing


Do `emerge sys-fs/zfs` and reboot.

Viktar

On Sat, May 16, 2020 at 8:05 PM Victor Ivanov 
wrote:

> Some of these are obsolete and have been removed in newer kernels.
>
> NF_NAT ones have been superseded by / renamed to:
>
> CONFIG_NF_NAT
> CONFIG_IP_NF_NAT
> CONFIG_IP6_NF_NAT
>
> I'm not sure about CONFIG_INET_XFRM_MODE_TRANSPORT but I believe it's
> now incorporated into other XFRM config variables in newer kernels. I
> will need to look at the kernel changelogs. But you should be fine
> without it.
>
> AUFS is not part of the main kernel tree, so the following option does
> not apply:
>
> CONFIG_AUFS_FS
>
> That said, Docker does _not_ require AUFS, but it does still support it
> as an option. Docker docs, recommend using OverlayFS instead which is
> also part of the main kernel tree.
>
> As far as I recall there are patches and overlays that will allow you to
> enable AUFS if needed. Debian, for example, does not include AUFS and
> instead uses DKMS for AUFS support.
>
> The CFQ I/O scheduler is obsolete and has been removed, so the following
> do not exist and have no alternatives except for running an older kernel:
>
> CONFIG_IOSCHED_CFQ
> CONFIG_CFQ_GROUP_IOSCHED
>
> Docker will run just fine with the BFQ scheduler.
>
> Generally speaking the docker kernel validation script is fundamentally
> flawed by design - it doesn't check the kernel options based on the
> kernel version. Instead it uses as single global list of CONFIG options
> and matches against that.
>
> - Victor
>
> On 16/05/2020 18:12, Peter Humphrey wrote:
> > Afternoon all,
> >
> > I'm trying to follow the wiki[1] to set up gentoo-sources-5.4.38, but
> the wiki
> > seems to have been written for a different kernel version. Nothing
> daunted, I
> > set as many parameters as I could, rebooted and ran
> /usr/share/docker/contrib/
> > check-config.sh. I got 9 things missing, thus:
> >
> > $ /usr/share/docker/contrib/check-config.sh > /tmp/config-check
> > $ grep missing /tmp/config-check
> > - CONFIG_NF_NAT_IPV4: missing
> > - CONFIG_NF_NAT_NEEDED: missing
> > - CONFIG_IOSCHED_CFQ: missing
> > - CONFIG_CFQ_GROUP_IOSCHED: missing
> >   - CONFIG_INET_XFRM_MODE_TRANSPORT: missing
> > - CONFIG_AUFS_FS: missing
> > - /dev/zfs: missing
> > - zfs command: missing
> > - zpool command: missing
> >
> > I can't find any of those. Any clues for the uninitiated?
> >
> > 1.  https://wiki.gentoo.org/wiki/Docker
> >
>
>


Re: [gentoo-user] Gentoo Tinderboxes?

2020-04-26 Thread Viktar Patotski
Being honest, I also have some rather powerful hardware that is completely
free over the night and weekends. I was also thinking if it's possible to
build some additional QA using this box and "dev-python/ebuildtester". This
is very good initiative and idea. In order to get it implemented it's
better to create GLEP and see what could be done.

Thanks,
Viktar

On Sat, Apr 25, 2020 at 12:23 AM jdm  wrote:

> On Wed, 22 Apr 2020 12:20:38 +0100
> Neil Bothwick  wrote:
>
> > On Wed, 22 Apr 2020 12:17:23 +0200, J. Roeleveld wrote:
> >
> > > >"BOINC is an open-source software platform for computing using
> > > >volunteered
> > > >resources."
> > >
> > > Considering the current situation, I switched my systems to
> > > foldingathome.
> >
> > Aren't BOINC doing COViD-19 work too?
> >
> >
>
> Rosetta@Home
>
> Running night and day.
>
> John
>
>


Re: [gentoo-user] Borg 1.1 is out, when can we expect it in the repos?

2017-10-08 Thread Viktar Patotski
Hi,

The proper to get it done is to submit an upgrade request to
https://bugs.gentoo.org/ . And then even probably provide ebuild for
maintainers to pick it up.

Best regards,
Viktar

On Sun, Oct 8, 2017 at 7:36 PM, azarus  wrote:

> Hi,
>
> there's a new release of Borg (app-backup/borgbackup) out, and I was
> wondering when it'd arrive in the Gentoo repos. I've tested it a bit on
> my Gentoo boxes (manually edited an ebuild for that) and it runs
> perfectly fine.
>
> Thanks for the information!
>
> Best regards,
> --
> azarus
> email: aza...@posteo.net
> xmpp:  aza...@azarus.ch
> PGP:   3A79D6CFD2567CF9
>
>


[gentoo-user] Running Gentoo infrastructure on MacOS

2017-04-11 Thread Viktar Patotski
Hi List,

I know that it's possible to install Gentoo as a dual boot on a Mac Book.
However I do like MacOs interface and it's power saving features. So, I
have a question: Is there any way to have MacOs booted, but use Gentoo
infrastructure (portage, packages etc.)? I'm aware of VirtualBox and
similar options, but is there a way to be integrated in more easy way?
Something similar to container based virtualisation?

Thanks,
Viktar


Re: [gentoo-user] can't launch skype...

2014-08-01 Thread Viktar Patotski
Hi, I had the same problem. Managed to solve it following way:
1. make sure that skype process not running
2. Backup your ~home/.skype and than delete it.
3. Start skype normally.

This way you loose all history which was stored on your PC, but skype runs
normally. You can restore chats history from backup you made earlier.

Viktar
On Aug 1, 2014 10:14 PM, Tamer Higazi th9...@googlemail.com wrote:

 Hi people!

 Totally strange, I have merged (previous) and now the least version. But
 I cannot execute skype.
 When I say: whereis skype I get the result:

 skype: /usr/share/skype

 tamer@tux /opt/jitsi $ ls -lA /usr/share/skype/
 insgesamt 12
 drwxr-xr-x 2 root root 4096  1. Aug 22:07 avatars
 drwxr-xr-x 2 root root 4096  1. Aug 22:07 lang
 drwxr-xr-x 2 root root 4096  1. Aug 22:07 sounds


 Do I have to be in a special group or something equal ?!
 what did I make wrong ?!


 I am not getting smart.


 For Any ideas, thank you!



 Tamer




[gentoo-user] Perl-cleaner failing

2014-04-07 Thread Viktar Patotski
Hi,

I'm trying to run
   perl-cleaner --reallyall

And it fails with following reason:

Total: 137 packages (5 upgrades, 1 downgrade, 2 new, 129 reinstalls), Size
of downloads: 222 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/perl:0

  (dev-lang/perl-5.18.2:0/5.18::gentoo, installed) pulled in by
=dev-lang/perl-5.18* required by (virtual/perl-IO-1.280.0:0/0::gentoo,
ebuild scheduled for merge)
^
^

(and 9 more with the same problem)

  (dev-lang/perl-5.16.3:0/5.16::gentoo, ebuild scheduled for merge) pulled
in by
=dev-lang/perl-5.16* required by
(virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo, ebuild
scheduled for merge)
^
^

(and 3 more with the same problem)

Does anyone have any ideas how to solve it?

Thanks a lot in advance


Re: [gentoo-user] Perl-cleaner failing

2014-04-07 Thread Viktar Patotski
Thanks for your reply, Yes I tried to update. But packages failing to
install because of some perl XML libriaries problems. I googled and found
suggestions to run perl-cleaner and it doesn;t run for me.

Thanks


On Mon, Apr 7, 2014 at 7:42 PM, Tom Wijsman tom...@gentoo.org wrote:

 On Mon, 7 Apr 2014 19:12:23 +0300
 Viktar Patotski xp.vit@gmail.com wrote:

  I'm trying to run
 perl-cleaner --reallyall
 
  And it fails with following reason:
 
  Total: 137 packages (5 upgrades, 1 downgrade, 2 new, 129 reinstalls),
  Size of downloads: 222 kB
 
  !!! Multiple package instances within a single package slot have been
  pulled !!! into the dependency graph, resulting in a slot conflict:

 Did you upgrade your system (`emerge -auvDN @world`) prior to this?

 --
 With kind regards,

 Tom Wijsman (TomWij)
 Gentoo Developer

 E-mail address  : tom...@gentoo.org
 GPG Public Key  : 6D34E57D
 GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D




Re: [gentoo-user] Re: Perl-cleaner failing

2014-04-07 Thread Viktar Patotski
Thanks again for reply, but same error:

dev-lang/perl:0

  (dev-lang/perl-5.18.2:0/5.18::gentoo, installed) pulled in by
dev-lang/perl:0/5.18=[-build(-)] required by
(dev-perl/Proc-ProcessTable-0.480.0:0/0::gentoo, installed)



=dev-lang/perl-5.18* required by (virtual/perl-IO-1.280.0:0/0::gentoo,
ebuild scheduled for merge)
^
^

(and 33 more with the same problems)

  (dev-lang/perl-5.16.3:0/5.16::gentoo, ebuild scheduled for merge) pulled
in by
=dev-lang/perl-5.16* required by
(virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo, ebuild
scheduled for merge)
^
^

(and 1 more with the same problem)


It seems to me that there is a problem with:
virtual/perl-Locale-Maketext-Simple-0.210.0-r3:0/0::gentoo which tries to
emerge dev-lang/perl-5.16.3, while dev-lang/perl-5.18.2:0 is used in the
system.

I think this is a bug.

Thanks,
Viktar


On Tue, Apr 8, 2014 at 12:32 AM, James wirel...@tampabay.rr.com wrote:

 Tom Wijsman TomWij at gentoo.org writes:


   Thanks for your reply, Yes I tried to update. But packages failing to
   install because of some perl XML libriaries problems. I googled and
   found suggestions to run perl-cleaner and it doesn;t run for me.

  Exclude those with --exclude ...; as perl-cleaner needs to be run after
  a Perl upgrade (not only Perl, but also its libraries), and if that as
  part of a system upgrade didn't completely go well then perl-cleaner
  will come across blockers due to an inconsistent system state.


 Sometimes I have to run these commands several times to
 clean up perl:

 perl-cleaner --modules

 perl-cleaner --all

 rinse and repeat as necessary


 hth/ymmv,
 James