Openrc update problem

please go easy on me; i don’t know how these things work. an update came through for openrc. i type “pamac update -a” into the terminal. at the end of it all, i get this error;
”meson.build:1:0: ERROR: Unknown option: “os”.

A full log can be found at /var/tmp/pamac-build-coolguy2/openrc/src/openrc-0.63/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting…”
i checked the build files, and i don’t see any reference to anything “os”. so i don’t know how an option “os” shows up. unless this is something i can’t fix . i need help here how to fix this, if this is something that is fixable, or if its something i have to wait for.
if there is something else needed here, please let me know. i’ll do my best to supply what is needed. its either fixing this , or opting to ignore updates for this package, which i don’t think its good to ignore. - thank you

You did - of course - examine the log

You will need to consult the source for the PKGBUILD on AUR.

Read the comments - ask the maintainer…

The usual disclaimer for custom packages

Looking at that meson.build file, it is a function to determine, for what architecture and system the program is going to be built.
It looks for keywords like “linux”, “bsd”, GNU … but somehow it can’t figure out that the return it gets from Manjaro is … linux.

That is my interpretation of what I saw when I looked at that file.

… do you want to change/replace the init system on your machine from systemd to openrc?
(Just curious, I certainly cannot help with that.)

My thoughts exactly. Why on earth would someone try to force openrc in an arch distro…why? And to successfully do that, you will definitely need a level of knowledge that you currently do not have, if you post such topic in such a way.

There actually are a few Arch derivatives out there that do use openrc instead of systemd, and my guess — I can only speculate, of course — is that the OP was using such a distribution earlier, before switching (back) to Manjaro.

This I will also agree upon. “If you have to ask the question, then you don’t possess the knowledge yet to pull it off.”

1 Like

i did not install openrc. it was installed as some dependency for a package. i came here for help. if i knew the answer to fixing this, i wouldn’t have made the post and this would have been unnecessary. but thank you for your thoughtful response

Just an inquiry:
do you know (and are willing to share) which one this is?

It might help to determine whether the openrc is really needed or whether there is an alternative without that dependency.

… something depending on the presence of an alien (to Arch/Manjaro) init system is quite odd …

1 Like

Please bear with us - we have no idea why you have openrc - and as noted earlier - it is entirely unsupported - custom build from AUR.

Then this should do - since nothing depends on it :slight_smile:

sudo pacman -Rns openrc

Since you say it was a dependency of something - that something will likely prevent removal - unless you add that something to the command

1 Like

Running pacman -Qi openrc should list anything depending on this in the Required by: line(s).

2 Likes

It is an AUR package, pacman is no help here.

Generally, inexperienced users are advised to stay away from aur. Especially if they are inexperienced and on stable branch.

This is exactly why we say aur is not officially supported. There will be no hand-holding in such cases (from me at least).

Really?
pacman -Qi … would not show it?

I have doubts. (quote from “The fifth element” :wink:

1 Like

Well, I have a few things installed from AUR, and pacman -Qi works just fine on them.

A little misunderstanding here: pacman will work on already installed packages from aur. It will not work on packages from aur that are not yet installed.

2 Likes

pacman will work on already installed packages from aur. It will not work on packages from aur that are not yet installed.

The OP said an update came through for openrc so I took that to mean it was already installed :person_shrugging:

Edit: And they said they used pamac update -a which sounds like it was already installed.

1 Like

update; i have uninstalled openrc. it didn’t complain when i did. so i’m going to call this solved.
thank you all for your input.

2 Likes

Maybe it was only a (misguided) build-time dependency for another AUR package? :thinking:

good question. i only know i didn’t install it. therefore i was stumped. but as long as it didn’t complain at uninstalling it? im ok with that. if it was a necessary dependency, it would have complained. we’re good to go here.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.