public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-tmpfiles/
Date: Mon, 31 May 2021 04:58:37 +0000 (UTC)	[thread overview]
Message-ID: <1622437104.bbac604599022d9b4472cb50d973d9e9223b984e.gyakovlev@gentoo> (raw)

commit:     bbac604599022d9b4472cb50d973d9e9223b984e
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 04:57:17 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon May 31 04:58:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbac6045

sys-apps/systemd-tmpfiles: more musl fixes for 248.3

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 .../systemd-tmpfiles/systemd-tmpfiles-248.3.ebuild    | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-248.3.ebuild b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-248.3.ebuild
index 8306be7d3a9..f3b38786b1a 100644
--- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-248.3.ebuild
+++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-248.3.ebuild
@@ -59,7 +59,20 @@ pkg_setup() {
 src_prepare() {
 	# musl patchset from:
 	# http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/systemd/systemd
-	use elibc_musl && eapply "${WORKDIR}/${P}-musl"
+	# check SRC_URI_MUSL in systemd_${PV}.bb file for exact list of musl patches
+	if use elibc_musl; then
+		einfo "applying musl patches and workarounds"
+		eapply "${WORKDIR}/${P}-musl"
+
+		# avoids re-definition of struct ethhdr, also 0006-Include-netinet-if_ether.h.patch
+		append-cflags '-D__UAPI_DEF_ETHHDR=0'
+
+		# src/basic/rlimit-util.c:46:19: error: format ‘%lu’ expects argument of type ‘long unsigned int’,
+		# but argument 9 has type ‘rlim_t’ {aka ‘long long unsigned int’}
+		# not a nice workaround, but it comes from debug messages and we don't really use this component.
+		append-cflags '-Wno-error=format'
+	fi
+
 	default
 
 	# https://bugs.gentoo.org/767403
@@ -168,7 +181,7 @@ src_configure() {
 }
 
 src_compile() {
-	# tmpfiles and sysusers can be built as standalone, link systemd-shared in statically.
+	# tmpfiles and sysusers can be built as standalone and link systemd-shared in statically.
 	# https://github.com/systemd/systemd/pull/16061 original implementation
 	# we just need to pass -Dstandalone-binaries=true and
 	# use <name>.standalone target below.
@@ -206,7 +219,7 @@ src_test() {
 		"${BUILD_DIR}"/systemd-tmpfiles.standalone || die "${FUNCNAME} failed"
 }
 
-# adapted from opentmpfiles ebuild
+# stolen from opentmpfiles ebuild
 add_service() {
 	local initd=$1
 	local runlevel=$2


             reply	other threads:[~2021-05-31  4:58 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31  4:58 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-04  2:21 [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-tmpfiles/ Sam James
2022-06-03  7:05 Sam James
2022-06-03  0:52 Sam James
2022-06-03  0:52 Sam James
2022-06-03  0:37 Sam James
2022-06-02  1:52 Sam James
2022-06-02  1:52 Sam James
2022-05-30  7:15 Sam James
2022-04-16 23:13 Mike Gilbert
2022-01-18 22:12 Sam James
2022-01-15 22:07 Georgy Yakovlev
2022-01-15 22:07 Georgy Yakovlev
2022-01-15 22:01 Sam James
2022-01-14 21:27 Sam James
2022-01-14 21:27 Sam James
2022-01-14 21:26 Sam James
2022-01-14 21:25 Sam James
2022-01-13 16:29 Mike Gilbert
2022-01-13  7:18 Sam James
2022-01-13  4:45 Sam James
2022-01-13  0:20 Sam James
2022-01-11  3:49 Sam James
2022-01-11  3:49 Sam James
2022-01-11  3:22 Georgy Yakovlev
2022-01-11  3:10 Georgy Yakovlev
2022-01-11  2:59 Georgy Yakovlev
2022-01-11  2:53 Georgy Yakovlev
2022-01-11  1:22 Mike Gilbert
2022-01-11  1:01 Mike Gilbert
2021-12-14 22:16 Sam James
2021-12-13 22:55 Sam James
2021-12-13 22:54 Sam James
2021-12-13  5:43 Sam James
2021-12-13  5:16 Sam James
2021-12-13  5:16 Sam James
2021-12-13  5:15 Sam James
2021-11-09  1:10 Georgy Yakovlev
2021-11-04  0:48 Georgy Yakovlev
2021-11-04  0:46 Georgy Yakovlev
2021-09-21 17:44 Sam James
2021-09-04 21:39 Sam James
2021-09-04 14:19 Mike Gilbert
2021-09-04 14:19 Mike Gilbert
2021-09-01 18:32 Sam James
2021-09-01 13:39 Agostino Sarubbo
2021-09-01  7:55 Agostino Sarubbo
2021-09-01  7:55 Agostino Sarubbo
2021-09-01  7:54 Agostino Sarubbo
2021-09-01  7:53 Agostino Sarubbo
2021-08-31 15:07 Georgy Yakovlev
2021-08-21 22:15 James Le Cuirot
2021-08-08 23:33 William Hubbs
2021-08-06 11:47 Georgy Yakovlev
2021-08-06  2:30 Georgy Yakovlev
2021-08-04 18:07 Georgy Yakovlev
2021-08-04 18:07 Georgy Yakovlev
2021-07-21  2:50 Sam James
2021-07-13 18:52 Georgy Yakovlev
2021-07-08  6:38 Joshua Kinard
2021-07-07  1:49 Georgy Yakovlev
2021-07-07  1:46 Georgy Yakovlev
2021-07-07  1:39 Georgy Yakovlev
2021-07-06 22:31 Sam James
2021-06-12  3:54 Georgy Yakovlev
2021-05-31  5:28 Georgy Yakovlev
2021-05-31  5:22 Georgy Yakovlev
2021-05-31  3:19 Georgy Yakovlev
2021-04-07 21:38 Georgy Yakovlev
2021-03-01 11:27 Georgy Yakovlev
2021-01-26 20:56 Mikle Kolyada
2020-12-13  0:16 Sam James
2020-12-10 19:19 Georgy Yakovlev
2020-12-10  2:13 Matt Turner
2020-12-02 19:20 Georgy Yakovlev
2020-11-28 11:26 Sergei Trofimovich
2020-11-22 23:59 Sam James
2020-11-22 23:44 Sam James
2020-11-22 20:50 Georgy Yakovlev
2020-11-22 20:50 Georgy Yakovlev
2020-11-22  3:27 Sam James
2020-11-22  3:26 Sam James
2020-11-22  0:31 Thomas Deutschmann
2020-10-30 18:29 Georgy Yakovlev
2020-10-30 12:44 Georgy Yakovlev
2020-10-30  4:35 Georgy Yakovlev
2020-10-30  4:35 Georgy Yakovlev
2020-10-30  2:05 Sam James
2020-10-30  2:04 Sam James
2020-10-30  2:01 Sam James
2020-10-30  1:59 Sam James
2020-10-29 22:24 Georgy Yakovlev
2020-10-29  6:42 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1622437104.bbac604599022d9b4472cb50d973d9e9223b984e.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox