diff mbox series

[meta-oe,2/2] socketcand: add recipe

Message ID 20250519141525.3708957-2-jeroen@myspectrum.nl
State Accepted
Headers show
Series [meta-oe,1/2] can-utils: correct the FiLES for can-utils-access | expand

Commit Message

Jeroen Hofstee May 19, 2025, 2:15 p.m. UTC
From: Jeroen Hofstee <jhofstee@victronenergy.com>

Socketcand allows to transfer socketcan messages over tcp/ip.

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
---
 .../recipes-extended/socketcan/socketcand_git.bb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-extended/socketcan/socketcand_git.bb

Comments

Khem Raj May 21, 2025, 7:17 a.m. UTC | #1
Fails to build with gcc-15 -
https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2442453/raw_inline

On Mon, May 19, 2025 at 1:34 PM jeroen via lists.openembedded.org
<jeroen=myspectrum.nl@lists.openembedded.org> wrote:
>
> From: Jeroen Hofstee <jhofstee@victronenergy.com>
>
> Socketcand allows to transfer socketcan messages over tcp/ip.
>
> Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
> ---
>  .../recipes-extended/socketcan/socketcand_git.bb | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/socketcan/socketcand_git.bb
>
> diff --git a/meta-oe/recipes-extended/socketcan/socketcand_git.bb b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
> new file mode 100644
> index 0000000000..764a87f874
> --- /dev/null
> +++ b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "Socketcand, socketcan over tcp/ip"
> +LICENSE = "GPL-2.0-only | BSD-3-Clause"
> +LIC_FILES_CHKSUM = " \
> +    file://LICENSES/BSD-3-Clause;md5=4c00cf8b0a04a9441d8fa24850231d00 \
> +    file://LICENSES/GPL-2.0-only.txt;md5=f9d20a453221a1b7e32ae84694da2c37 \
> +"
> +
> +SRC_URI = "git://github.com/linux-can/socketcand;branch=master;protocol=https"
> +SRCREV = "7b5e91ec656b33c325db2f9136daebb9e357bb65"
> +S = "${WORKDIR}/git"
> +
> +inherit meson pkgconfig
> +
> +PACKAGECONFIG ?= "libconfig libsocketcan"
> +PACKAGECONFIG[libconfig] = "-Dlibconfig=true,-Dlibconfig=false,libconfig"
> +PACKAGECONFIG[libsocketcan] = "-Dlibsocketcan=true,-Dlibsocketcan=false,libsocketcan"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#117480): https://lists.openembedded.org/g/openembedded-devel/message/117480
> Mute This Topic: https://lists.openembedded.org/mt/113200001/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Jeroen Hofstee May 21, 2025, 7:39 a.m. UTC | #2
That is odd, I will have a look what is happening there.

On 5/21/25 09:17, Khem Raj wrote:
> Fails to build with gcc-15 -
> https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2442453/raw_inline
>
> On Mon, May 19, 2025 at 1:34 PM jeroen via lists.openembedded.org
> <jeroen=myspectrum.nl@lists.openembedded.org> wrote:
>> From: Jeroen Hofstee <jhofstee@victronenergy.com>
>>
>> Socketcand allows to transfer socketcan messages over tcp/ip.
>>
>> Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
>> ---
>>   .../recipes-extended/socketcan/socketcand_git.bb | 16 ++++++++++++++++
>>   1 file changed, 16 insertions(+)
>>   create mode 100644 meta-oe/recipes-extended/socketcan/socketcand_git.bb
>>
>> diff --git a/meta-oe/recipes-extended/socketcan/socketcand_git.bb b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
>> new file mode 100644
>> index 0000000000..764a87f874
>> --- /dev/null
>> +++ b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
>> @@ -0,0 +1,16 @@
>> +SUMMARY = "Socketcand, socketcan over tcp/ip"
>> +LICENSE = "GPL-2.0-only | BSD-3-Clause"
>> +LIC_FILES_CHKSUM = " \
>> +    file://LICENSES/BSD-3-Clause;md5=4c00cf8b0a04a9441d8fa24850231d00 \
>> +    file://LICENSES/GPL-2.0-only.txt;md5=f9d20a453221a1b7e32ae84694da2c37 \
>> +"
>> +
>> +SRC_URI = "git://github.com/linux-can/socketcand;branch=master;protocol=https"
>> +SRCREV = "7b5e91ec656b33c325db2f9136daebb9e357bb65"
>> +S = "${WORKDIR}/git"
>> +
>> +inherit meson pkgconfig
>> +
>> +PACKAGECONFIG ?= "libconfig libsocketcan"
>> +PACKAGECONFIG[libconfig] = "-Dlibconfig=true,-Dlibconfig=false,libconfig"
>> +PACKAGECONFIG[libsocketcan] = "-Dlibsocketcan=true,-Dlibsocketcan=false,libsocketcan"
>> --
>> 2.43.0
>>
>>
>> 
>>
Jeroen Hofstee May 21, 2025, 5:37 p.m. UTC | #3
Hello Khem,

For completeness, this should be fixed by 
https://patchwork.yoctoproject.org/project/oe/patch/20250521091721.2622210-1-jeroen@myspectrum.nl/
Marc fixed it before I could send the changes to him.
A bit odd I didn't notice this earlier, but so be it.

Regards,

Jeroen

On 5/21/25 09:39, Jeroen Hofstee wrote:
> That is odd, I will have a look what is happening there.
>
> On 5/21/25 09:17, Khem Raj wrote:
>> Fails to build with gcc-15 -
>> https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2442453/raw_inline 
>>
>>
>> On Mon, May 19, 2025 at 1:34 PM jeroen via lists.openembedded.org
>> <jeroen=myspectrum.nl@lists.openembedded.org> wrote:
>>> From: Jeroen Hofstee <jhofstee@victronenergy.com>
>>>
>>> Socketcand allows to transfer socketcan messages over tcp/ip.
>>>
>>> Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
>>> ---
>>>   .../recipes-extended/socketcan/socketcand_git.bb | 16 
>>> ++++++++++++++++
>>>   1 file changed, 16 insertions(+)
>>>   create mode 100644 
>>> meta-oe/recipes-extended/socketcan/socketcand_git.bb
>>>
>>> diff --git a/meta-oe/recipes-extended/socketcan/socketcand_git.bb 
>>> b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
>>> new file mode 100644
>>> index 0000000000..764a87f874
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
>>> @@ -0,0 +1,16 @@
>>> +SUMMARY = "Socketcand, socketcan over tcp/ip"
>>> +LICENSE = "GPL-2.0-only | BSD-3-Clause"
>>> +LIC_FILES_CHKSUM = " \
>>> + file://LICENSES/BSD-3-Clause;md5=4c00cf8b0a04a9441d8fa24850231d00 \
>>> + 
>>> file://LICENSES/GPL-2.0-only.txt;md5=f9d20a453221a1b7e32ae84694da2c37 \
>>> +"
>>> +
>>> +SRC_URI = 
>>> "git://github.com/linux-can/socketcand;branch=master;protocol=https"
>>> +SRCREV = "7b5e91ec656b33c325db2f9136daebb9e357bb65"
>>> +S = "${WORKDIR}/git"
>>> +
>>> +inherit meson pkgconfig
>>> +
>>> +PACKAGECONFIG ?= "libconfig libsocketcan"
>>> +PACKAGECONFIG[libconfig] = 
>>> "-Dlibconfig=true,-Dlibconfig=false,libconfig"
>>> +PACKAGECONFIG[libsocketcan] = 
>>> "-Dlibsocketcan=true,-Dlibsocketcan=false,libsocketcan"
>>> -- 
>>> 2.43.0
>>>
>>>
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Links: You receive all messages sent to this group.
>>> View/Reply Online (#117480): 
>>> https://lists.openembedded.org/g/openembedded-devel/message/117480
>>> Mute This Topic: https://lists.openembedded.org/mt/113200001/1997914
>>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>>> Unsubscribe: 
>>> https://lists.openembedded.org/g/openembedded-devel/unsub 
>>> [raj.khem@gmail.com]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>
Khem Raj May 21, 2025, 5:51 p.m. UTC | #4
On Wed, May 21, 2025 at 10:37 AM Jeroen Hofstee
<jhofstee@victronenergy.com> wrote:
>
> Hello Khem,
>
> For completeness, this should be fixed by
> https://patchwork.yoctoproject.org/project/oe/patch/20250521091721.2622210-1-jeroen@myspectrum.nl/
> Marc fixed it before I could send the changes to him.
> A bit odd I didn't notice this earlier, but so be it.
>

Thanks for quick turnaround

> Regards,
>
> Jeroen
>
> On 5/21/25 09:39, Jeroen Hofstee wrote:
> > That is odd, I will have a look what is happening there.
> >
> > On 5/21/25 09:17, Khem Raj wrote:
> >> Fails to build with gcc-15 -
> >> https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2442453/raw_inline
> >>
> >>
> >> On Mon, May 19, 2025 at 1:34 PM jeroen via lists.openembedded.org
> >> <jeroen=myspectrum.nl@lists.openembedded.org> wrote:
> >>> From: Jeroen Hofstee <jhofstee@victronenergy.com>
> >>>
> >>> Socketcand allows to transfer socketcan messages over tcp/ip.
> >>>
> >>> Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
> >>> ---
> >>>   .../recipes-extended/socketcan/socketcand_git.bb | 16
> >>> ++++++++++++++++
> >>>   1 file changed, 16 insertions(+)
> >>>   create mode 100644
> >>> meta-oe/recipes-extended/socketcan/socketcand_git.bb
> >>>
> >>> diff --git a/meta-oe/recipes-extended/socketcan/socketcand_git.bb
> >>> b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
> >>> new file mode 100644
> >>> index 0000000000..764a87f874
> >>> --- /dev/null
> >>> +++ b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
> >>> @@ -0,0 +1,16 @@
> >>> +SUMMARY = "Socketcand, socketcan over tcp/ip"
> >>> +LICENSE = "GPL-2.0-only | BSD-3-Clause"
> >>> +LIC_FILES_CHKSUM = " \
> >>> + file://LICENSES/BSD-3-Clause;md5=4c00cf8b0a04a9441d8fa24850231d00 \
> >>> +
> >>> file://LICENSES/GPL-2.0-only.txt;md5=f9d20a453221a1b7e32ae84694da2c37 \
> >>> +"
> >>> +
> >>> +SRC_URI =
> >>> "git://github.com/linux-can/socketcand;branch=master;protocol=https"
> >>> +SRCREV = "7b5e91ec656b33c325db2f9136daebb9e357bb65"
> >>> +S = "${WORKDIR}/git"
> >>> +
> >>> +inherit meson pkgconfig
> >>> +
> >>> +PACKAGECONFIG ?= "libconfig libsocketcan"
> >>> +PACKAGECONFIG[libconfig] =
> >>> "-Dlibconfig=true,-Dlibconfig=false,libconfig"
> >>> +PACKAGECONFIG[libsocketcan] =
> >>> "-Dlibsocketcan=true,-Dlibsocketcan=false,libsocketcan"
> >>> --
> >>> 2.43.0
> >>>
> >>>
> >>> -=-=-=-=-=-=-=-=-=-=-=-
> >>> Links: You receive all messages sent to this group.
> >>> View/Reply Online (#117480):
> >>> https://lists.openembedded.org/g/openembedded-devel/message/117480
> >>> Mute This Topic: https://lists.openembedded.org/mt/113200001/1997914
> >>> Group Owner: openembedded-devel+owner@lists.openembedded.org
> >>> Unsubscribe:
> >>> https://lists.openembedded.org/g/openembedded-devel/unsub
> >>> [raj.khem@gmail.com]
> >>> -=-=-=-=-=-=-=-=-=-=-=-
> >>>
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/socketcan/socketcand_git.bb b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
new file mode 100644
index 0000000000..764a87f874
--- /dev/null
+++ b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
@@ -0,0 +1,16 @@ 
+SUMMARY = "Socketcand, socketcan over tcp/ip"
+LICENSE = "GPL-2.0-only | BSD-3-Clause"
+LIC_FILES_CHKSUM = " \
+    file://LICENSES/BSD-3-Clause;md5=4c00cf8b0a04a9441d8fa24850231d00 \
+    file://LICENSES/GPL-2.0-only.txt;md5=f9d20a453221a1b7e32ae84694da2c37 \
+"
+
+SRC_URI = "git://github.com/linux-can/socketcand;branch=master;protocol=https"
+SRCREV = "7b5e91ec656b33c325db2f9136daebb9e357bb65"
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+PACKAGECONFIG ?= "libconfig libsocketcan"
+PACKAGECONFIG[libconfig] = "-Dlibconfig=true,-Dlibconfig=false,libconfig"
+PACKAGECONFIG[libsocketcan] = "-Dlibsocketcan=true,-Dlibsocketcan=false,libsocketcan"