Package Details: systemd-git 251.r58405.4e5c39597a-1

Git Clone URL: https://aur.archlinux.org/systemd-git.git (read-only, click to copy)
Package Base: systemd-git
Description: system and service manager (git version)
Upstream URL: https://www.github.com/systemd/systemd
Keywords: git init systemd
Licenses: GPL2, LGPL2.1
Conflicts: nss-myhostname, systemd, systemd-tools, udev
Provides: nss-myhostname, systemd, systemd-tools, udev
Replaces: nss-myhostname, systemd-tools, udev
Submitter: yurikoles
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 10
Popularity: 0.002186
First Submitted: 2015-10-23 20:49 (UTC)
Last Updated: 2022-06-24 19:37 (UTC)

Required by (1813)

Sources (19)

Pinned Comments

yurikoles commented on 2018-03-27 13:17 (UTC) (edited on 2019-04-14 16:12 (UTC) by yurikoles)

PRs are welcome: https://github.com/yurikoles/systemd-git

If check fails use makepkg with --nocheck

Latest Comments

Dylan14 commented on 2022-01-16 14:55 (UTC)

On systemd version 250.r328.gadc1b76c30, the patch file 0003-PARTIAL-REVERT-commit-tree-wide-replace-strverscmp-and-str_verscmp-with-strverscmp_improved.patch fails on the second hunk in prepare():

==> Starting prepare()...
patching file rules.d/50-udev-default.rules.in
Hunk #2 succeeded at 68 (offset 6 lines).
patching file sysusers.d/basic.conf.in
Hunk #1 succeeded at 23 (offset -1 lines).
patching file src/boot/efi/boot.c
Hunk #1 succeeded at 1021 with fuzz 1 (offset 107 lines).
Hunk #2 FAILED at 1525.
1 out of 2 hunks FAILED -- saving rejects to file src/boot/efi/boot.c.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

yurikoles commented on 2022-01-14 02:09 (UTC)

Thanks for a reminder, Dylan14. I actually already did update locally, just forgot to push it.

Dylan14 commented on 2022-01-13 22:06 (UTC)

hwids needs to be replaced with hwdata as hwids has been removed from the repos.

Dylan14 commented on 2021-10-24 15:15 (UTC)

In building the latest revision of systemd, it appears that legacy.conf no longer exists, and the packaging fails.

yurikoles commented on 2021-08-01 08:25 (UTC)

@whynothugo

Thanks, fixed. In fact, splash-arch.bmp is too large for AUR :(

whynothugo commented on 2021-07-31 14:49 (UTC)

Commenting out the line regarding legacy.conf works for me.

I'm not sure why that file is installed separately, but it doesn't seem to be needed for me.

whynothugo commented on 2021-07-31 14:36 (UTC)

URL for splash-arch.bmp is out-of-date; git.archlinux.org is gone. This URL works for now:

https://gitlab.archlinux.org/bot-test/packages/systemd/-/raw/main/splash-arch.bmp

I'd recommend moving the file into this repository until the git migration is finalised though.

whynothugo commented on 2021-07-31 11:02 (UTC)

Oh, having a look at 6fe23ff31c02c7e9607edd0df819e59da5d49abc, it seems that changed the behaviour.

legacy.conf was previously just a file that was copied as-is. Now the file is templated to optionally include extra lines, and is only built when using SYSV_COMPAT.

whynothugo commented on 2021-07-31 10:42 (UTC)

Build fail on current main:

Running custom install script '/usr/bin/sh -c mkdir -p $DESTDIR//etc/systemd/network'
Running custom install script '/usr/bin/sh -c mkdir -p $DESTDIR//var/lib/systemd'
Running custom install script '/usr/bin/sh -c touch $DESTDIR/usr'
install: cannot stat 'systemd/tmpfiles.d/legacy.conf': No such file or directory
==> ERROR: A failure occurred in package_systemd-git().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/hugo/build

Building with extra-x86_64-build also fails with the same error.

Hexawolf commented on 2021-07-30 20:36 (UTC)

splash-arch.bmp is failing validity check

yurikoles commented on 2021-06-22 20:20 (UTC)

Thanks @Dylan,

I actually made the same workaround locally, but forgot to push my changes.

Dylan14 commented on 2021-06-20 01:37 (UTC)

The 0001-Use-Arch-Linux-device-access-groups.patch as provided breaks with systemd-git 249.rc1 as we now have a tty group in basic.conf.in. Here is a working patch: https://github.com/Dylan1496/aur-pkgbuilds/blob/master/0001-Use-Arch-Linux-device-access-groups.patch

dr460nf1r3 commented on 2021-03-15 21:22 (UTC)

@Dylan14 nice, good work! We have this package compiled over at Chaotic-AUR if you are interested.

Dylan14 commented on 2021-03-14 05:34 (UTC)

@dr460nfir3 - See here for a working patch: https://github.com/Dylan1496/aur-pkgbuilds/blob/master/0001-Use-Arch-Linux-device-access-groups.patch

dr460nf1r3 commented on 2021-03-11 15:39 (UTC)

The recent update killed a patch patching file rules.d/50-udev-default.rules.in Hunk #2 succeeded at 62 (offset 5 lines). patching file sysusers.d/basic.conf.in Hunk #1 FAILED at 24. 1 out of 1 hunk FAILED -- saving rejects to file sysusers.d/basic.conf.in.rej

intgr commented on 2020-08-23 19:19 (UTC)

Sorry, when I use makepkg --check there are no failures. I was using rua before, it must be rua's sandbox feature that is interfering with tests.

yurikoles commented on 2020-08-23 18:35 (UTC)

I have lots of tests failing here. Is it safe to skip tests, is it known why they might be failing? I don't want a buggy systemd.

Me too. As always, you are better to consult upstream repo on those fails. As I see they aren't CI on ArchLinux, mostly on Ubuntu 18.04 aka bionic and Fedora.

From my experience running this package on bleeding-edge master with --nocheck is mostly error-free.

intgr commented on 2020-08-23 17:59 (UTC)

If check fails use makepkg with --nocheck

I have lots of tests failing here. Is it safe to skip tests, is it known why they might be failing? I don't want a buggy systemd.

gdamjan commented on 2020-05-29 22:13 (UTC)

telinit and runlevel are no longer built https://github.com/systemd/systemd/commit/6589a56972d9afe9d860889f11cb9c8e6cb8a60c

Terence commented on 2019-10-13 15:22 (UTC)

0001-Use-Arch-Linux-device-access-groups.patch fails to apply because the directory "rules" is now "rules.d"

yurikoles commented on 2019-08-01 05:42 (UTC)

Hi @nl6720,

I had fixed, thanks for report.

nl6720 commented on 2019-07-30 08:43 (UTC)

/usr/share/factory/etc/issue conflicts with the file provided by the filesystem package.

yurikoles commented on 2018-11-25 09:25 (UTC)

@gdamjan, it's semi-automatic, I have a script that updates all my packages periodically.

gdamjan commented on 2018-11-24 19:46 (UTC)

is there any real reason to bump the package version 10 times in the past 10 days? with no changes in the content at all.

yurikoles commented on 2018-10-03 16:58 (UTC)

Hi @kerberizer!

I had tried removing ccache, since I have already !ccache in makepkg.conf, and still see no issues. Seems to be problem in your local setup. Please try to build in clean chroot as described in Arch Wiki.

yurikoles commented on 2018-10-03 16:37 (UTC)

Hi @falconindy!

Good catch, it was backported from official package, see https://git.archlinux.org/svntogit/packages.git/commit/trunk/PKGBUILD?h=packages/systemd&id=e2f302152dda811acce9ac5d9d3c3730ca11b24b, but I didn't ported this change in call to arch-meson below.

falconindy commented on 2018-10-03 15:20 (UTC)

For the past 2 months this package hasn't built with any of the options defined in _meson_options:

https://github.com/yurikoles-aur/systemd-git/commit/2cb6c325fbd3

You're expanding meson_options after defining _meson_options. Good job making useless stylistic changes that make backporting changes from the repo harder.

kerberizer commented on 2018-09-29 17:08 (UTC)

Um, I've already provided in my comment a link to the open issue upstream. It's from January and has seen almost zero activity, so I think it's better to fix the PKGBUILD.

yurikoles commented on 2018-09-29 13:39 (UTC)

Hi @kerberizer!

Please report it upstream. I had explicitly specified !ccache !distcc in PKGBUILD, https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=systemd-git#n20, due to problems with build that I had. I had also filled bug: https://bugs.archlinux.org/task/52388

kerberizer commented on 2018-09-29 08:24 (UTC)

After a recent commit,[1] the build would break with src/boot/efi/meson.build:163:8: ERROR: Program or command 'ccache cc' not found or not executable. Unfortunately, Meson auto-detects ccache regardless of the !ccache option to makepkg.[2][3] Meson recommends in such cases to explicitly set CC. Indeed, simply adding export CC=gcc (thus emulating the behaviour before that commit) before running meson build fixes the problem.

  1. https://github.com/systemd/systemd/commit/df7cacae696ae3c1d13d2f9a4db24815e07e29a1#diff-d3b6b8a63398afc62d2ecc773245c6b0
  2. https://github.com/mesonbuild/meson/blob/master/docs/markdown/Feature-autodetection.md
  3. https://github.com/mesonbuild/meson/issues/2991

yurikoles commented on 2018-03-27 13:17 (UTC) (edited on 2019-04-14 16:12 (UTC) by yurikoles)

PRs are welcome: https://github.com/yurikoles/systemd-git

If check fails use makepkg with --nocheck

yurikoles commented on 2018-03-04 09:31 (UTC)

Hi, @misc!

I had fixed it by removing sysvcompat and adding it to conflicts.

misc commented on 2018-03-03 03:07 (UTC)

Seems sysvcompat is conflicting now after: https://github.com/systemd/systemd/commit/ba7f4ae6178309dc937e10cf7dce0eca9dafb8de

tjackson commented on 2017-08-20 00:54 (UTC)

This package seems to work now, thanks.

yurikoles commented on 2017-08-08 20:23 (UTC)

I'm trying to port changes from Arch, here is my work: https://github.com/yurikoles/systemd-git The new version doesn't work. @graysky Could you help me?

graysky commented on 2017-08-08 18:11 (UTC)

This PKGBUILD is out-of-sync with Arch upstream. Do not build.

graysky commented on 2017-08-08 18:06 (UTC)

==> Starting prepare()... /scratch/systemd-git/PKGBUILD: line 57: ./autogen.sh: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting...

gdamjan commented on 2017-01-23 03:40 (UTC)

the official package has some additional pacman hooks now https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/systemd

yurikoles commented on 2016-12-02 19:27 (UTC)

I have disowned this package, you are now free do adopt it.

thx1138 commented on 2016-12-02 19:23 (UTC)

diff'ing the stock libsystemd and libsystemd-git PKGBUILDs, at package_libsystemd-git(): make -C "$pkgbase" DESTDIR="$pkgdir" install-rootlibLTLIBRARIES vs make -C "$_realpkgname" DESTDIR="$pkgdir" install-libLTLIBRARIES

thx1138 commented on 2016-12-02 11:20 (UTC)

libtool: warning: 'libsystemd-shared.la' has not been installed in '/usr/lib/systemd' The package produced has zero files in it. Version : 232.r272.gcd66af2-1

yurikoles commented on 2016-03-02 15:40 (UTC)

done

Nefelim4ag commented on 2016-02-22 13:06 (UTC) (edited on 2016-02-22 13:07 (UTC) by Nefelim4ag)

ERROR: pkgver is not allowed to contain colons, hyphens or whitespace. ERROR: conflicts should be an array - pkgver=228.r54.g0c203f1-1 + pkgver=228.r54.g0c203f1 - conflicts= + #conflicts=