Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858668 - www-apps/gitea-1.16.8 - The tmpfiles processor exited with a non-zero exit code
Summary: www-apps/gitea-1.16.8 - The tmpfiles processor exited with a non-zero exit code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ryan Tsien
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-17 22:57 UTC by Toralf Förster
Modified: 2023-11-21 14:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-history.txt (emerge-history.txt,62.07 KB, text/plain)
2022-07-17 22:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.17 KB, application/x-bzip)
2022-07-17 22:57 UTC, Toralf Förster
Details
www-apps:gitea-1.16.8:20220717-215209.log (www-apps:gitea-1.16.8:20220717-215209.log,60.53 KB, text/plain)
2022-07-17 22:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-07-17 22:57:54 UTC
 * The tmpfiles processor exited with a non-zero exit code

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20220717-120004

  -------------------------------------------------------------------

  The log matches a QA pattern or a pattern requested by a Gentoo developer.
Comment 1 Toralf Förster gentoo-dev 2022-07-17 22:57:55 UTC
Created attachment 792029 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-17 22:57:56 UTC
Created attachment 792032 [details]
etc.portage.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-07-17 22:57:57 UTC
Created attachment 792035 [details]
www-apps:gitea-1.16.8:20220717-215209.log
Comment 4 Tomáš Mózes 2022-07-18 10:54:01 UTC
--- /lib/
--- /lib/systemd/
--- /lib/systemd/system/
>>> /lib/systemd/system/gitea.service
/usr/lib/tmpfiles.d/gitea.conf:1: Failed to resolve user 'git': No such process
 * The tmpfiles processor exited with a non-zero exit code
Comment 5 Larry the Git Cow gentoo-dev 2023-11-21 14:38:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb39ef76095d92e575957a40533ef0ada3e68c7

commit 7fb39ef76095d92e575957a40533ef0ada3e68c7
Author:     Ryan Qian <i@bitbili.net>
AuthorDate: 2023-11-17 12:22:18 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2023-11-21 14:27:00 +0000

    www-apps/gitea: fix the execution logic of 'tmpfiles_process'
    
    It is not guaranteed that the git user and group always exist (due
    to the acct USE Flag), but for convenience, the tmpfile uses the git
    user and group by default.
    
    To avoid installation errors, a condition needs to be added here:
    if there is no git user or group, the installation of tmpfile will be
    skipped and the user will be notified to handle it by themselves.
    
    This commit won't affect the already installed gitea, so no new revision.
    
    Closes: https://bugs.gentoo.org/829761
    Closes: https://bugs.gentoo.org/858668
    Closes: https://github.com/gentoo/gentoo/pull/33867
    
    Signed-off-by: Ryan Qian <i@bitbili.net>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 www-apps/gitea/gitea-1.20.4.ebuild | 21 +++++++++++++++++++--
 www-apps/gitea/gitea-1.20.5.ebuild | 21 +++++++++++++++++++--
 www-apps/gitea/gitea-1.21.0.ebuild | 21 +++++++++++++++++++--
 3 files changed, 57 insertions(+), 6 deletions(-)