From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Mar 2023 12:57:23 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pabNC-00G2SS-A8 for lore@lore.pengutronix.de; Fri, 10 Mar 2023 12:57:23 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pabNC-0000Lc-EM; Fri, 10 Mar 2023 12:57:22 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pabN3-0000Km-3n; Fri, 10 Mar 2023 12:57:13 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pabN2-003ADx-En; Fri, 10 Mar 2023 12:57:12 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pabN1-004XIM-Ng; Fri, 10 Mar 2023 12:57:11 +0100 Date: Fri, 10 Mar 2023 12:57:11 +0100 From: Michael Olbrich To: Juergen Borleis Message-ID: Mail-Followup-To: Juergen Borleis , Ladislav Michl , ptxdist@pengutronix.de References: <20230309090850.148176-1-jbe@pengutronix.de> <20230309092906.GD3532@pengutronix.de> <6eaced15-c1d8-4f2e-9a2f-12931d170589@thorsis.com> <16802f944bc6d8e4df84cea80d1adaf9c17a04a2.camel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <16802f944bc6d8e4df84cea80d1adaf9c17a04a2.camel@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH] libmodbus: adapt help text to the reality X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Ladislav Michl , ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Mar 09, 2023 at 02:29:25PM +0100, Juergen Borleis wrote: > Am Donnerstag, dem 09.03.2023 um 14:24 +0100 schrieb Ladislav Michl: > > On Thu, Mar 09, 2023 at 10:38:15AM +0100, Alexander Dahl wrote: > > > Hei hei, > > > > > > Am Thu, Mar 09, 2023 at 10:29:06AM +0100 schrieb Michael Olbrich: > > > > On Thu, Mar 09, 2023 at 10:08:50AM +0100, Juergen Borleis wrote: > > > > > With change a08638d93d19624cf3c20d033ea8f61b96c43408 > > > > >   "libmodbus: version bump 2.0.4 -> 3.0.8" > > > > > libmodbus changed from 2.x.x to 3.0.x version like libmodbus3 did. > > > > > > > > > > And with change a76b31d5b637bc89ca26e7fa81503cbc7632b666 > > > > >   "libmodbus3: version bump 3.0.6 -> 3.1.4" > > > > > libmodbus3 switched to the recent to 3.1.x version. > > > > > > > > Hmmm, it feels like there were supposed to be for two packages, one for > > > > version 2.x and one for 3.x, at least it started that way. > > > > I don't really know anything about libmodbus. Are the two versions > > > > incompatible? > > > > > > Yes, 3.0.x and 3.1.x have incompatible APIs and probably ABIs. > > > 3.0.x has .so version 5 and 3.1.x has .so version 6, at least to my > > > notes and the code trying to distinguish this. > > > > > > Greets > > > Alex > > > > > > > > > > > Ladislav, you touched it last, you did the "2.0.4 -> 3.0.8". Do you have > > > > any insight here? > > > > As Alex pointed out above, 2.0.x has incompatible API and was last > > touched 12 years ago. I pretty much doubt anything sane currently depends > > on it and the truth is I overlooked libmodbus3 while doing update. > > It is even more worse: 2.x.x API != 3.0.x API != 3.1.x API 🙂 I'm tempted to say we just need 3.1.x in PTXdist upstream. Unless updating an application from 3.0.x to 3.1.x is difficult, because the API changed a lot? Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |