Re: [gentoo-user] Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64

2023-05-02 Thread jul...@jroy.ca
On Tue, 2023-05-02 at 13:37 -0600, the...@sys-concept.com wrote:
> Trying to emerge evince-44.1 but I get:
> 
> Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1
> ~amd64
> 
> What is it looking for?
> 

The `package.unmask` file is used to unmask packages, not accept
keywords.

Evince is not masked in the gentoo repo, but the 44.1 version is
keyworded with the ~amd64 keyword.

This means that the line you put in package.unmask actually goes in
package.accept_keywords.

-- 
Julien


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] chromium and dbus...

2023-04-28 Thread jul...@jroy.ca
On Fri, 2023-04-28 at 11:15 -0400, Alan Grimes wrote:
> So basically this is just a hack-layer to get around the inherent
> fact 
> that linux is garbage.

I don't think shitting on Linux will attract a lot of help on this
mailing list. Nevertheless...

> Dbus is in my runlevels and shows no errors when I poke it with the 
> script in /etc/init.d

What login manager and DE/WM are you using? If you're using a WM, it's
your own reponsibility to setup dbus when starting your session. A DE
will do this for you.

Typically, you can start your WM using `dbus-run-session `, at
least for Wayland. I'm not familiar with X11 but maybe you can use the
same command.

That said, I'm not sure dbus is the problem with chromium, since you're
still having the same network error when starting it with `dbus-launch
chromium`...

Have you seen https://github.com/systemd/systemd/issues/3 ?

The last comment sounds pertinent:
> after update package dev-libs/icu to version 72.1 and rebuild
> chromium, chromium work well.
> 
> Maybe an incompatible icu version caused this problem.

-- 
Julien


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Gcc 13.1 and chromium

2023-04-27 Thread jul...@jroy.ca
On Thu, 2023-04-27 at 14:40 -0400, Alan Grimes wrote:
> atg@tortoise ~ $ chromium
> [19039:19057:0427/143338.626886:ERROR:bus.cc(399)] Failed to connect
> to 
> the bus: Could not parse server address: Unknown address type
> (examples 
> of valid types are "tcp" and on UNIX "unix")

This seems to be an environment variable issue.
Do you have a value set for DBUS_SESSION_BUS_ADDRESS?

Try `dbus-launch chromium`

-- 
Julien


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] dev-lang/php - making binary

2023-04-15 Thread jul...@jroy.ca
On Sat, 2023-04-15 at 18:57 -0600, the...@sys-concept.com wrote:
> So I want to make a binary of the current dev-lang/php-7.4.33-r2 just
> in case in the near future they will pull out the old version out of
> the portage.
> 
> Will making binary allow me to install dev-lang/php-7.4.33-r2
> (binary) with future upgrades (after PHP-7.4 is gone from the
> portage)?

You can keep a copy of the ebuild so even if it's removed from portage
you will be able to install it.

Even without a copy, you will be able to retrieve it from git history.

-- 
Julien


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] updating remote system

2023-04-11 Thread jul...@jroy.ca
On Tue, 2023-04-11 at 20:24 -0400, jul...@jroy.ca wrote:
> On Tue, 2023-04-11 at 18:21 -0600, the...@sys-concept.com wrote:
> > What is the correct way of updating remote system?
> > I'll need to update the kernel + world
> > 
> > 1.) Update all packages in world first, reboot and update kernel
> > 2.) Update kernel first, reboot and update world
> > 
> > It seems to me logical choice is 2.) as I'll need new kernel to
> > update to new VirtualBox.
> > Right now remote system is running linux-5.10.103-gentoo and I
> > think
> > new VirtualBox need kerenl-5.13 or higher.
> > 
> 
> 
> 
> -- 

It seems my message got sent empty...
Let's try again:

I usually update world first, then the kernel, and finally reboot.


-- 
Julien


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] updating remote system

2023-04-11 Thread jul...@jroy.ca
On Tue, 2023-04-11 at 18:21 -0600, the...@sys-concept.com wrote:
> What is the correct way of updating remote system?
> I'll need to update the kernel + world
> 
> 1.) Update all packages in world first, reboot and update kernel
> 2.) Update kernel first, reboot and update world
> 
> It seems to me logical choice is 2.) as I'll need new kernel to
> update to new VirtualBox.
> Right now remote system is running linux-5.10.103-gentoo and I think
> new VirtualBox need kerenl-5.13 or higher.
> 



-- 
Julien


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] emerge -U or emerge -N

2023-04-10 Thread jul...@jroy.ca
On Mon, 2023-04-10 at 22:10 -0600, the...@sys-concept.com wrote:
> On 4/10/23 18:53, Dale wrote:
> 
> 
> I've asked ChatGPT for explanation and here is what I got:
> 
> Here are the differences between emerge -U and emerge -N:
> 
> emerge -U: This option upgrades the specified package(s) to the
> latest available version. It will first download the new version,
> then build and install it. If a dependency of the package being
> upgraded also needs to be upgraded, it will also be upgraded.
> 
> emerge -N: This option installs the specified package(s) without
> upgrading any dependencies. It will only download and install the
> package(s) if they are not already installed. If any dependencies of
> the package(s) are not already installed, the command will fail.
> 
> In other words, emerge -U upgrades packages and their dependencies,
> while emerge -N only installs packages without upgrading any
> dependencies.
> 

This is a good example of why ChatGPT cannot be trusted.
When ChatGPT doesn't know the answer to something, rather than saying
it doesn't know the answer, it just makes it up.

The difference between -U and -N as explained by ChatGPT is wrong; in
fact, it has nothing to do with dependencies.

To have a truthful answer, let's not ask ChatGPT and instead look at
`man 5 emerge`:

--newuse, -N
Tells emerge  to include installed packages  where USE
flags have changed since compilation. This option also
implies the --selective option.  USE flag changes
include:

A USE flag  was added to a package.  A  USE flag was
removed from a package.  A USE flag  was
turned on for
a package.  A USE flag was turned off for a package.

--changed-use, -U
Tells emerge  to include installed packages  where USE
flags have changed  since installation.  This option 
also implies the --selective  option. Unlike --newuse,
the --changed-use option does  not trigger
reinstallation when  flags that the user has not
enabled are added orremoved.

In a nutshell, `--newuse` or `-N` rebuilds packages when USE flags have
changed, regardless of whether the changed USE flags affect the outcome
Where as `--changed-use` or `-U` rebuilds packages when the USE flags
have changed, AND the changed USE flags affect the outcome.

For example, suppose you are on an openRC system, and a package
introduces a new `systemd` USE flag;
With `-N`: this package will be rebuilt with `-systemd`
With `-U`: this package will not be rebuilt

-- 
Julien


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] net-libs/webkit-gtk-2.38.5 and net-libs/webkit-gtk-2.38.5-r500

2023-04-09 Thread jul...@jroy.ca
On Sun, 2023-04-09 at 14:37 -0600, the...@sys-concept.com wrote:
> My system pulled IN two versions of webkit-gtk (slot 4 and 5)
> net-libs/webkit-gtk-2.38.5
> net-libs/webkit-gtk-2.38.5-r500
> 
> Running:
> equery d =net-libs/webkit-gtk-2.38.5-r500
>   * These packages depend on net-libs/webkit-gtk-2.38.5-r500:
> app-office/gnucash-4.8 (net-libs/webkit-gtk:4/37)
> net-libs/libproxy-0.4.18 (webkit ? net-libs/webkit-gtk:4)
> 
> equery d =net-libs/webkit-gtk-2.38.5
>   * These packages depend on net-libs/webkit-gtk-2.38.5:
> app-office/gnucash-4.8 (net-libs/webkit-gtk:4/37)
> net-libs/libproxy-0.4.18 (webkit ? net-libs/webkit-gtk:4)
> 
> Which package is pulling IN slotted version?

Looking at the ebuilds for both packages, neither of them depend on the
net-libs/webkit-gtk:5 package.

It seems that `equery d` is not accurate when querying by version when
the packages are slotted. Instead, you should query by slot:
`equery d net-libs/webkit-gtk:5`.

Another option is to use the `emerge` command directly:
`emerge --pretend --verbose --depclean net-libs/webkit-gtk:5`, or,
shorter version: `emerge -pvc net-libs/webkit-gtk:5`

If it returns nothing, then nothing is pulling it in, so either it's
been explicitely installed on your system, or, it will be unmerged when
running `--depclean` the next time.

-- 
Julien


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Chromium

2023-04-05 Thread jul...@jroy.ca
On Wed, 2023-04-05 at 20:18 -0400, Alan Grimes wrote:
> Now building emptytree world again
> 
> console looks like:
> 
> [7268:7268:0405/201646.772380:ERROR:network_service_instance_impl.cc(
> 541)] 
> Network service crashed, restarting service.
> [7268:7268:0405/201646.812949:ERROR:network_service_instance_impl.cc(
> 541)] 
> Network service crashed, restarting service.
> [7268:7268:0405/201646.854146:ERROR:network_service_instance_impl.cc(
> 541)] 
> Network service crashed, restarting service.
> [7268:7268:0405/201646.894384:ERROR:network_service_instance_impl.cc(
> 541)] 
> Network service crashed, restarting service.
> 
> [repeated thousands of times ]
> 

If rebuilding @world is failing, a good next step is to start by
rebuilding @system. Hopefully that succeeds, and then you can try
rebuilding @world again.

-- 
Julien


signature.asc
Description: This is a digitally signed message part