diff mbox series

[2/2] socat: 1.8.0.3 -> 1.8.1.0

Message ID 20251215084345.1797393-2-hongxu.jia@windriver.com
State New
Headers show
Series [1/2] libgpg-error: 1.56 -> 1.58 | expand

Commit Message

Hongxu Jia Dec. 15, 2025, 8:43 a.m. UTC
License-Update: No change, update README to add new lines

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../socat/{socat_1.8.0.3.bb => socat_1.8.1.0.bb}              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/socat/{socat_1.8.0.3.bb => socat_1.8.1.0.bb} (91%)

Comments

Mathieu Dubois-Briand Dec. 16, 2025, 9:40 a.m. UTC | #1
On Mon Dec 15, 2025 at 9:43 AM CET, hongxu via lists.openembedded.org wrote:
> License-Update: No change, update README to add new lines
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---

Hi Hongxu,

Thanks for your patch.

It looks like the new version is having build issues with musl:

ERROR: socat-1.8.1.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/socat/1.8.1.0/temp/run.do_compile.476916' failed with exit code 1
...
| ../sources/socat-1.8.1.0/xio-netlink.c: In function 'xio_netlink_mtu':
| ../sources/socat-1.8.1.0/xio-netlink.c:33:59: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|    33 |         struct msghdr rtmsg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };
|       |                                                           ^~~~
| ../sources/socat-1.8.1.0/xio-netlink.c:33:59: note: (near initialization for 'rtmsg.__pad1')
| make: *** [<builtin>: xio-netlink.o] Error 1

Can you have a look at the issue?

Thanks,
Mathieu
Mathieu Dubois-Briand Dec. 16, 2025, 9:41 a.m. UTC | #2
On Tue Dec 16, 2025 at 10:40 AM CET, Mathieu Dubois-Briand wrote:
> On Mon Dec 15, 2025 at 9:43 AM CET, hongxu via lists.openembedded.org wrote:
>> License-Update: No change, update README to add new lines
>>
>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>> ---
>
> Hi Hongxu,
>
> Thanks for your patch.
>
> It looks like the new version is having build issues with musl:
>
> ERROR: socat-1.8.1.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/socat/1.8.1.0/temp/run.do_compile.476916' failed with exit code 1
> ...
> | ../sources/socat-1.8.1.0/xio-netlink.c: In function 'xio_netlink_mtu':
> | ../sources/socat-1.8.1.0/xio-netlink.c:33:59: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
> |    33 |         struct msghdr rtmsg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };
> |       |                                                           ^~~~
> | ../sources/socat-1.8.1.0/xio-netlink.c:33:59: note: (near initialization for 'rtmsg.__pad1')
> | make: *** [<builtin>: xio-netlink.o] Error 1
>
> Can you have a look at the issue?
>
> Thanks,
> Mathieu

Sorry, I forgot to add some links:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/2910
https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/1595

Thanks,
Mathieu
Hongxu Jia Dec. 16, 2025, 9:53 a.m. UTC | #3
On 12/16/25 17:41, Mathieu Dubois-Briand wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On Tue Dec 16, 2025 at 10:40 AM CET, Mathieu Dubois-Briand wrote:
>> On Mon Dec 15, 2025 at 9:43 AM CET, hongxu via lists.openembedded.org wrote:
>>> License-Update: No change, update README to add new lines
>>>
>>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>>> ---
>> Hi Hongxu,
>>
>> Thanks for your patch.
>>
>> It looks like the new version is having build issues with musl:
>>
>> ERROR: socat-1.8.1.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/socat/1.8.1.0/temp/run.do_compile.476916' failed with exit code 1
>> ...
>> | ../sources/socat-1.8.1.0/xio-netlink.c: In function 'xio_netlink_mtu':
>> | ../sources/socat-1.8.1.0/xio-netlink.c:33:59: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
>> |    33 |         struct msghdr rtmsg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 };
>> |       |                                                           ^~~~
>> | ../sources/socat-1.8.1.0/xio-netlink.c:33:59: note: (near initialization for 'rtmsg.__pad1')
>> | make: *** [<builtin>: xio-netlink.o] Error 1
>>
>> Can you have a look at the issue?
>>
>> Thanks,
>> Mathieu
> Sorry, I forgot to add some links:
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/2910
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/1595

Copy, I am working on it

//Hongxu

>
> Thanks,
> Mathieu
>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/socat/socat_1.8.0.3.bb b/meta/recipes-connectivity/socat/socat_1.8.1.0.bb
similarity index 91%
rename from meta/recipes-connectivity/socat/socat_1.8.0.3.bb
rename to meta/recipes-connectivity/socat/socat_1.8.1.0.bb
index b5f5d72f9c..d9daa0635e 100644
--- a/meta/recipes-connectivity/socat/socat_1.8.0.3.bb
+++ b/meta/recipes-connectivity/socat/socat_1.8.1.0.bb
@@ -7,13 +7,13 @@  SECTION = "console/network"
 
 LICENSE = "GPL-2.0-with-OpenSSL-exception"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://README;beginline=248;endline=278;md5=338c05eadd013872abb1d6e198e10a3f"
+                    file://README;beginline=252;endline=282;md5=338c05eadd013872abb1d6e198e10a3f"
 
 SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \
            file://0001-fix-compile-procan.c-failed.patch \
 "
 
-SRC_URI[sha256sum] = "01eb017361d95bb3a6941e840b59e4463a3fabf92df4154ed02b16a2ed6a0095"
+SRC_URI[sha256sum] = "91f222ee65559036600c2505b999acebed48b899f0e2e53ae1c9c31d6986b6a4"
 
 inherit autotools