Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread Kusoneko


Aug 11, 2023 15:48:22 Arsen Arsenović :

>
> Alan Mackenzie  writes:
>
>> Hello, Gentoo.
>>
>> For the past couple of days, after $ emerge --sync, I've tried
>>
>>     $ emerge -auND @world
>>
>> ..  It has come back very quickly with the error message:
>>
>> #
>>
>> !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet 
>> requirements.
>> - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3 
>> progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos 
>> -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh (-sslv3) 
>> -static-libs -telnet
>> -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" 
>> CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)"
>>
>>   The following REQUIRED_USE flag constraints are unsatisfied:
>>     curl_ssl_openssl? ( openssl )
>
> A REQUIRED_USE of 'X? ( Y Z )' means that if X is set, Y and Z must be
> set.  In boolean algebra, it can be expressed as a X => ( Y AND Z ).
>
> See https://wiki.gentoo.org/wiki/Required_USE_flags
>
> Hope that helps, have a lovely day.
>

To add to this, essentially what it's saying is either to change the USE flags 
of curl to include openssl or to change the CURL_SSL flag to "-openssl gnutls" 
(by adding "-curl_ssl_openssl curl_ssl_gnutls" to curl's USE flags) so that it 
aligns with your current curl USE flags.



Re: [gentoo-user] boa server won't start

2022-03-23 Thread Kusoneko
I don't know anything about boa, but I'm fairly certain that

> Listen 192.168.023

is never going to work since that's obviously not a valid IP address to listen 
on.

Mar. 21, 2022 12:18:11 Michael :

> I've moved my local portage distfiles server to a new installation, with no
> changes in the configuration.  I expected www-servers/boa to start, but for
> reasons I fail to understand it won't do so:
> 
> ~ # rc-service -v boa start
> * Caching service dependencies ...    [ ok ]
> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/
> boa start
> * Starting boa ...
> * start-stop-daemon: fopen `/run/boa.pid': No such file or directory
> * Detaching to start `/usr/sbin/boa' ...
> [21/Mar/2022:15:46:43 +] Before parse_debug, debug_level is: 0
> [21/Mar/2022:15:46:43 +] Enabling CGI Input debug level.
> [21/Mar/2022:15:46:43 +] After parse_debug, debug_level is: 4
> gethostbyname:: Success
> *   start-stop-daemon: failed to start `/usr/sbin/boa'
> * Failed to start boa 
>   
>   
> [ !! ]
> * ERROR: boa failed to start
> 
> 
> This is the content of my boa.conf:
> 
> ~ # cat /etc/boa/boa.conf | grep ^[^#]
> Port 5024
> Listen 192.168.023
> User nobody
> Group nogroup
> ErrorLog /var/log/boa/error_log
> AccessLog /var/log/boa/access_log
> UseLocaltime
> DocumentRoot /var/cache/distfiles
> UserDir public_html
> DirectoryIndex index.html
> DirectoryMaker /usr/lib/boa/boa_indexer
> KeepAliveMax 1000
> KeepAliveTimeout 10
> MimeTypes /etc/boa/mime.types
> DefaultType text/plain
> Alias /doc /usr/share/doc
> Alias /icons /var/www/localhost/icons
> Alias /distfiles /var/cache/distfiles
> ScriptAlias /cgi-bin/ /var/www/localhost/cgi-bin/
> PidFile /run/boa.pid
> 
> 
> The /var/cache/distfiles directory is readable by all:
> 
> ~ # stat /var/cache/distfiles
>   File: /var/cache/distfiles
>   Size: 98304   Blocks: 200    IO Block: 4096   directory
> Device: 802h/2050d  Inode: 854295  Links: 2
> Access: (0775/drwxrwxr-x)  Uid: (    0/    root)   Gid: (  250/ portage)
> Access: 2022-03-21 11:31:07.571755000 +
> Modify: 2022-03-21 15:44:43.278010793 +
> Change: 2022-03-21 15:44:43.278010793 +
> Birth: 2022-03-18 19:24:56.282024446 +
> 
> Can you see anything amiss in the above setup, to explain why the server does
> not start?


signature.asc
Description: PGP signature


Re: [gentoo-user] Where does emerge --sync store the versions of pkgs for updates?

2021-06-05 Thread Kusoneko

On Sat, Jun 05, 2021 at 11:00:58PM +0200, n952162 wrote:

I'm trying to track down why sometimes binary packages on my server
aren't used by my client.

Does anyone know where the information gotten by emerge --sync is stored?



I'm pretty sure emerge --sync pulls ebuilds into /var/db/repos/gentoo,
as for the files the ebuild mentions they are usually downloaded into
/var/cache/distfiles and for the patches, they are located into
/var/db/repos/gentoo/[category]/[package]/files. Built packages are put
into /var/db/pkgs. I'm unsure where anything else would go.

--
Kusoneko
https://kusoneko.moe

GPG Fingerprint: 5F58 0A60 4D06 074D F624 3526 8FDE CBBC 178C 72E1
Fediverse: @kuson...@misskey.kusoneko.moe
XMPP: kuson...@kusoneko.moe

https://email.is-not-s.ms

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


signature.asc
Description: PGP signature


Re: [gentoo-user] I am thinking of buying Raspberry Pi 4 Model B 8GB with 7 or 10 inch touch screen display in June 2021

2021-05-09 Thread Kusoneko

On Sun, May 09, 2021 at 04:29:12PM +0800, Turritopsis Dohrnii Teo En Ming wrote:

Subject: I am thinking of buying Raspberry Pi 4 Model B 8GB with 7 or
10 inch touch screen display in June 2021

Good day from Singapore,

I am thinking of buying Raspberry Pi 4 Model B 8GB with 7 or 10 inch
touch screen display in June 2021.

Raspberry Pi 4 Model B - 8GB (Latest) - Price SGD$120

https://sg.cytron.io/c-raspberry-pi/c-raspberry-pi-main-board/c-raspberry-pi-4/p-raspberry-pi-4-model-b-8gb-latest

Raspberry Pi 7 Inch Touch Screen Display With SmartiPi Case - Price SGD$147

https://sg.cytron.io/c-raspberry-pi/c-raspberry-pi-display/c-display-for-rpi-4/p-raspberry-pi-7in-touch-screen-with-smartipi-case

Do you think it is a good match?

I want to use my Raspberry Pi like a regular laptop or desktop
computer. Would a 7 inch touch screen display be too small for my use
case? I don't want to strain my eyes looking at a small display.
However, if I get a 10 inch touch screen display, I can't find one
with a supporting base. I can't find a 10 inch touch screen display
with a supporting base which could allow the screen to stand
vertically.

Finally, does your Linux distribution support Raspberry Pi 4 Model B 8
GB? Can I do 4K Ultra HD video editing on the Raspberry Pi 4 Model B 8
GB? Like adding watermarks, and cutting away unwanted 4K scenes. Is
there a good 4K video editing software for Linux?

I am looking forward to your reply.

Thank you very much.



Hello,

I can't say anything about the Raspberry Pi part, as I don't have one
and have never used one, however, I believe every CPU architectures are
supported on Gentoo. However, you might need a keyboard to properly set
it up until you have touchscreen support and a virtual keyboard, and
likely to help with rescuing the OS if for some reason something breaks.
Maintaining a Gentoo distro on a CPU architecture that isn't x86_64/amd64
might also be quite the task, as I'm not quite sure how used other
architectures are. As for 4K video editing software, as I am not a video
editor at all, I cannot tell you what the video editing software options
are on Linux as a whole. What I can tell you however is that if you
don't plan on putting in some effort and time to make Gentoo to your
taste and all, using Gentoo might be a bad idea, as it is a distribution
based on the concept of building the OS you want. Updates also require
recompiling all the software that is updated, and if you don't update
regularly enough (let's say at least monthly), you might end up like one
of the many other people who end up with an unupdatable system that end
up on this mailing list. If you are seeking an easy to use and easy to
maintain distribution for your Raspberry Pi, you might be better off
looking into one of the distributions based around Pis such as Raspbian.
I can't however promise that any of them will be good distributions for
your use case as, like I said, I have no Raspberry Pis and therefore
haven't tried doing anything with one.

--
Kusoneko
https://kusoneko.moe

GPG Fingerprint: E5FD 4F97 502A 0BB3 04F4 4BA1 4405 15F2 4B65 A136
Fediverse: @kuson...@misskey.kusoneko.moe
XMPP: kuson...@kusoneko.moe

https://email.is-not-s.ms

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: File transfer via USB?

2021-04-22 Thread Kusoneko

On Thu, Apr 22, 2021 at 04:29:26PM -, Grant Edwards wrote:

On 2021-04-22, tastytea  wrote:

On 2021-04-22 14:27- Grant Edwards 
wrote:


I'm trying to figure out a convenient way to transfer files between a
Linux machine (running Gentoo) and a Windows 10 machine (which has no
internet access). IP connection between the machines is not allowed.


The easiest solution would be to connect both machines with an ethernet
cable and run samba on Linux. The interfaces will be configured with a
link-local address¹ automatically.


That won't use IP?



Honestly, I don't get the problem you're stating with using IP. If you
connect 2 machines with Ethernet, assign them both a static IP address
on the same subnet, with no gateway or anything, you can easily have
them communicate using the IP addresses only. A computer doesn't require
internet access to have local network IP connectivity.

--
Kusoneko
https://kusoneko.moe

GPG Fingerprint: E5FD 4F97 502A 0BB3 04F4 4BA1 4405 15F2 4B65 A136
Fediverse: @kuson...@misskey.kusoneko.moe
XMPP: kuson...@kusoneko.moe

https://email.is-not-s.ms

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


signature.asc
Description: PGP signature


Re: [gentoo-user] Moving from Lastpass to Bitwarden

2021-02-19 Thread Kusoneko
On Thu, Feb 18, 2021 at 03:22:52PM +0100, Frank Steinmetzger wrote:
> So the natural answer for my password needs is keepass (by now the XC
> variant). I sync it between my Linux machines with all other files using
> unison.

That is also what I use. I also personally use my phone with KeepassDX
for when I'm not next to my personal PC, and I have the databases synced
together through Syncthing. However, on the topic of Syncthing, I
haven't had any issue so far, but I also haven't been able to find
anywhere if the thing encrypts traffic that's sent from anywhere to
anywhere else. From what I understand of Syncthing though, it seems to
give each machine a unique ID, let's you give them names and then
specify a shared folder, then using the local networks it can find
other devices running Syncthing, and on the wider internet, it seems to
connect to some random "discovery servers" that seem like their purpose
is to act as a way to have the devices find each other if they're on
other networks so that the shared directories stay synced at all times.
I just wish I knew if the files are encrypted e2e or not when using this.

Kusoneko.


signature.asc
Description: PGP signature


Re: [gentoo-user] news 2021-01-30-display-manager-init -- blocked package

2021-01-31 Thread Kusoneko
On Sun, Jan 31, 2021 at 03:56:48PM +0100, Jacques Montier wrote:
> Le dim. 31 janv. 2021 à 11:45, Neil Bothwick  a écrit :
> 
> > On Sat, 30 Jan 2021 23:01:42 -0500, Kusoneko wrote:
> >
> > > Following my daily syncing today, 2 news items appeared,
> > > the important one for this being the following:
> > >
> > > 2021-01-30-display-manager-init
> > >
> > > It states that starting the next xorg-server version,
> > > the xdm init script will be removed and that one
> > > install gui-libs/display-manager-init to replace it.
> > > Following the instructions to install said package
> > > leads to a wonderful error stating that the package
> > > is blocked by the following packages:
> > >
> > > x11-apps/xinit-1.4.1
> > > sys-apps/sysvinit-2.98
> > > x11-base/xorg-server-1.20.10
> > >
> > > Removing xorg-server is not gonna happen, so
> > > looking at what emerge says, there's a bit of an
> > > issue here:
> > >
> > > https://zifb.in/GUtgto4VcX
> > >
> > > Doing the required update is currently impossible.
> > >
> > > I am definitely not gonna remember about this
> > > in a week or 2 so I'd like to deal with whatever
> > > this issue is asap. Is there any way to do this?
> >
> > You could use eselect to mark the news unread.To get
> >
> > You cannot use display-manager-init with the current stable xorg-server,
> > because of this depend
> >
> > !<=x11-base/xorg-server-1.20.10
> >
> > However, you can use it with the -r1 version, which is currently ~arch.
> > The differences between the ebuilds relate to the init handling, they
> > install the same server code, so you have two choices: add -r1 to
> > package.accept_keywords or wait a couple of weeks and hope you remember.
> >
> > The worst that is likely to happen is you forget and boot to a console
> > one day, at which point you will almost certainly remember :)
> >
> >
> > --
> > Neil Bothwick
> >
> > Normal people believe that if it ain't broke, don't fix it. Engineers
> > believe that if it ain't broke, it doesn't have enough features yet."
> >
> 
> 
> 
> Hello all,
> 
> To get display-manager-init built and installed, i had to accept_keywords :
> xinit, sysvinit and xorg-server.
> As  specified in the news :
> - changing the DISPLAYMANAGER variable in /etc/conf.d/display-manager
> (lightdm for me)
> - rc-update del xdm default
> - rc-update add display-manager
> - reboot
> 
> Everything works fine.
> 
> Cheers,
> 
> Jacques

Thanks Jacques, your solution worked perfectly.

Thanks for attempting to help Neil, however
I did mention that I wished to deal with it
asap rather than postpone it by unreading
the news as I'll inevitably end up reading it
again eventually and re-attempting it and
face the same issue. Having it done and dealt
with like this is easier for me.

Kusoneko.


signature.asc
Description: PGP signature


[gentoo-user] news 2021-01-30-display-manager-init -- blocked package

2021-01-30 Thread Kusoneko

Following my daily syncing today, 2 news items appeared,
the important one for this being the following:

2021-01-30-display-manager-init

It states that starting the next xorg-server version,
the xdm init script will be removed and that one
install gui-libs/display-manager-init to replace it.
Following the instructions to install said package
leads to a wonderful error stating that the package
is blocked by the following packages:

x11-apps/xinit-1.4.1
sys-apps/sysvinit-2.98
x11-base/xorg-server-1.20.10

Removing xorg-server is not gonna happen, so
looking at what emerge says, there's a bit of an
issue here:

https://zifb.in/GUtgto4VcX

Doing the required update is currently impossible.

I am definitely not gonna remember about this
in a week or 2 so I'd like to deal with whatever
this issue is asap. Is there any way to do this?

Note: all 3 of the blocking packages and whatever
pulls them in are NOT using the ~amd64 keyword
at the moment, except for nvidia-drivers.

Thanks for any help,
Kusoneko.


signature.asc
Description: PGP signature


Re: [gentoo-user] Switching default tmpfiles and faster internet coming my way.

2020-12-03 Thread Kusoneko
On December 4, 2020 1:40:57 AM UTC, Dale  wrote:
>Howdy,
>
>I've mentioned I follow -dev to see what is coming around the corner. 
>There is a thread on there about switching tmpfiles packages for
>security reasons.  I currently have sys-apps/opentmpfiles installed.  I
>guess that is the default for openrc.  Someone mentioned
>systemd-tmpfiles as a alternative that doesn't have the same security
>problems.  My question is, is this big enough a problem to switch or is
>it safe enough for us to use the same we have been?  It sounds like a
>rather rare problem.  Maybe even only during boot up.  I'm not 100%
>sure
>what it does or anything really.  I guess that's why I con't make sense
>of switching or not since I'm not sure what the package does or how
>serious the security problem is.

This is the first I've heard of this but I'm definitely not switching to 
systemd-anything, even if that's the only alternative.

>Also, our local power company is about to start rolling out internet
>service.  It's done with fiber and the slowest package, 200MBs/sec, is
>over 100 times faster than my current DSL.  It only costs $4.00 a month
>more than what I'm paying now.  Their fastest package is 1GBs/sec. 
>Dang, I can't even imagine that sort of speed.  Another good thing,
>same
>speed BOTH ways.  I can upload videos just as fast as I can download
>one. Yeppie!!

Good for you!

>My only thing now, I hope it works like DSL/cable/etc and just requires
>me to plug in a ethernet cable.  In other words, OS doesn't matter.  I
>suspect it does but we will see. 

Highly doubt OS matters at all for ISPs. Internet service is standardized you 
could say, at least at the end points where a device connects to a home network 
or to the ISP, so there's no reason why a Linux-based OS wouldn't be able to 
connect.

>Any thoughts on tmpfiles?  What are other doing?  Switching?  Nothing? 

Waiting for more info + whether a fix will come and if not what the 
alternatives are, and if the only alternative is systemd then I'll wait still 
for something that isn't systemd.

Kusoneko.



signature.asc
Description: PGP signature