Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not be build without systemd, #738 #753

Open
Visone-Selektah opened this issue May 22, 2024 · 10 comments
Open

Can not be build without systemd, #738 #753

Visone-Selektah opened this issue May 22, 2024 · 10 comments

Comments

@Visone-Selektah
Copy link

Expected behaviour

Build correctly

Actual behaviour

Breaks cause it doesn't find systemd

......

checking for systemd >= 248... no
configure: error: Package requirements (systemd >= 248) were not met:

Package 'systemd' not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SYSTEMD_CFLAGS
and SYSTEMD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> ERROR: Build failed: mate-control-center-1.28.0-1

Steps to reproduce the behaviour

scratch install mate-control-center

MATE general version

1.28.0

Package version

1.28.0

Linux Distribution

Venom linux

Link to bugreport of your Distribution (requirement)

@Visone-Selektah Visone-Selektah changed the title Can not be build without systemd, #738 again Can not be build without systemd, #738 May 22, 2024
@lukefromdc
Copy link
Member

We have
9c2e887
#746
2ad9568

and others that make use of systemd option, but we have NOT had a new release since they came out. That will fix this issue when using released versions. The current release is 1.28.0 which predates those changes

@lukefromdc
Copy link
Member

I just released 1.28.1 to fix this but ran into a major problem: travis integration seems to have disappeared, so a release tarball is not being made and I have no idea how to fix that

d39afc2

@lukefromdc
Copy link
Member

I was able to create this tarball with make distcheck (which completed fine) but no idea how to do that remotely for https://pub.mate-desktop.org/releases/1.28/ with travis having seemingly disappeared

@Visone-Selektah
Copy link
Author

Thanks for the fast fix!!!

@lukefromdc
Copy link
Member

lukefromdc commented May 22, 2024

Had to gzip the tar.xz tarball to get it to upload here
mate-control-center-1.28.1.tar.xz.gz

Extract the tar.xz file from the tar.xz.gz file to use it, it was made with make distcheck same as a normal release tarball

@Visone-Selektah
Copy link
Author

Visone-Selektah commented May 23, 2024

Still having thte same error

checking for libsystemd... no
checking for libsystemd >= 248... no
configure: error: Package requirements (libsystemd >= 248) were not met:

Package 'libsystemd' not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

@lukefromdc
Copy link
Member

What version are you trying to build? With Travis out, distros are probably not getting any new versions from
https://pub.mate-desktop.org/releases

@Visone-Selektah
Copy link
Author

This one

@lukefromdc
Copy link
Member

OK, we need the folks who worked on this to revisit something. I did not write any of the code that uses systemd, I also do not have any systems that do not use systemd, nor a landline over which to download installers, so I cannot test the non-systemd case.

Are you building with meson or with autotools? You should be able to explicitly disable systemd if my understanding of this is correct. Possible that might work only with autotools or only with meson. Again, I don't know as I did not work on that part of the code at all.

@Visone-Selektah
Copy link
Author

Ok, It builds ok adding --disable-systemd as compile option.
Sorry about that, should thought of it..xdd
Thanks for the help and for keeping this proyect init agnostic!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants