Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] package/{collectd, domoticz, shairport-sync}: fix mosquitto dependencies
Date: Thu, 27 Aug 2020 23:36:40 +0200	[thread overview]
Message-ID: <20200827233640.4e579129@windsurf.home> (raw)
In-Reply-To: <20200819120506.137013-2-titouan.christophe@railnova.eu>

On Wed, 19 Aug 2020 14:05:06 +0200
Titouan Christophe <titouan.christophe@railnova.eu> wrote:

> In 4fc62e1eb6b3adbfc3d3eb7f841275ae8cd1b424, we removed arch/toolchain
> dependencies from the mosquitto library (MMU, !STATIC, SYNC4), and moved
> them to the mosquitto broker only.
> 
> All the packages modified here only need the mosquitto library, so they
> shouldn't have those depends anymore; but this was never done before.
> 
> Moreover, domoticz and shairport-sync both use the mosquitto threaded
> API, so we make them dependent on the newly introduced symbol
> BR2_PACKAGE_MOSQUITTO_WITH_THREADING.
> 
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>

I think this mixes two different things. One is dropping the
dependencies that are no longer needed following
4fc62e1eb6b3adbfc3d3eb7f841275ae8cd1b424. This should be the first
patch in the series.

Also, regarding the threading, nothing needs to be done: both
shairport-sync and domoticz already have a dependency on
BR2_TOOLCHAIN_HAS_THREADS_NPTL. The only thing that could be worthwhile
doing, is *within* the 1.6.11 version bump patch, update the
BR2_TOOLCHAIN_HAS_THREADS_NPTL comments in domoticz and shairport-sync
packages. Like:

-  	# pthread_condattr_setclock
+	# pthread_condattr_setclock, and threading support needed in
+	# mosquitto
  	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL

and something similar for shairport-sync.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2020-08-27 21:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 12:05 [Buildroot] [PATCH v2 1/2] package/mosquitto: bump to v1.6.11 Titouan Christophe
2020-08-19 12:05 ` [Buildroot] [PATCH v2 2/2] package/{collectd, domoticz, shairport-sync}: fix mosquitto dependencies Titouan Christophe
2020-08-27 21:36   ` Thomas Petazzoni [this message]
2020-08-27 21:32 ` [Buildroot] [PATCH v2 1/2] package/mosquitto: bump to v1.6.11 Thomas Petazzoni
2020-08-28  9:12   ` Titouan Christophe

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=20200827233640.4e579129@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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