* Re : integrate bluez with ISAR
@ 2022-11-10 12:37 Balasubramanian Sundaram
2022-11-10 13:36 ` Schaffner, Tobias
2022-11-10 16:12 ` Jan Kiszka
0 siblings, 2 replies; 6+ messages in thread
From: Balasubramanian Sundaram @ 2022-11-10 12:37 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1.1: Type: text/plain, Size: 1496 bytes --]
Hi Team,
Iam using ISAR build system i'm trying to integrate bluez but iam getting
following error
[image: image.png]
and this is my bb file for it anything is missing
[image: image.png]
Thanks & Regards
--
Balasubramanian Sundaram
Firmware Engineer | Sanmina Tech services | India, Chennai | Desk: +91
044 61309865
--
CONFIDENTIALITY
This e-mail message and any attachments thereto, is
intended only for use by the addressee(s) named herein and may contain
legally privileged and/or confidential information. If you are not the
intended recipient of this e-mail message, you are hereby notified that any
dissemination, distribution or copying of this e-mail message, and any
attachments thereto, is strictly prohibited. If you have received this
e-mail message in error, please immediately notify the sender and
permanently delete the original and any copies of this email and any prints
thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS
E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the
Uniform Electronic Transactions Act or the applicability of any other law
of similar substance and effect, absent an express statement to the
contrary hereinabove, this e-mail message its contents, and any attachments
hereto are not intended to represent an offer or acceptance to enter into a
contract and are not otherwise intended to bind the sender, Sanmina
Corporation (or any of its subsidiaries), or any other person or entity.
[-- Attachment #1.1.2: Type: text/html, Size: 2054 bytes --]
[-- Attachment #1.2: image.png --]
[-- Type: image/png, Size: 299230 bytes --]
[-- Attachment #1.3: image.png --]
[-- Type: image/png, Size: 217160 bytes --]
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4276 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re : integrate bluez with ISAR
2022-11-10 12:37 Re : integrate bluez with ISAR Balasubramanian Sundaram
@ 2022-11-10 13:36 ` Schaffner, Tobias
2022-11-10 13:38 ` Roberto A. Foglietta
2022-11-10 16:12 ` Jan Kiszka
1 sibling, 1 reply; 6+ messages in thread
From: Schaffner, Tobias @ 2022-11-10 13:36 UTC (permalink / raw)
To: Balasubramanian Sundaram; +Cc: isar-users
On 10.11.22 13:37, 'Balasubramanian Sundaram' via isar-users wrote:
> Hi Team,
>
> Iam using ISAR build system i'm trying to integrate bluez but iam
> getting following error
> image.png
> and this is my bb file for it anything is missing
> image.png
>
> Thanks & Regards
Hello Balasubramanian,
you do not have to create a package if you just want to install bluez
from the repositories.
All you have to do is add it to IMAGE_PREINSTALL as Anton already explained.
You just have to add the following line:
IMAGE_PREINSTALL += "bluez"
Where you put it depends on your project. You could add it to your image
definition in recipes-core/images or to your machine config. But I would
recommend that you create a new layer for your project that uses the
isar-cip-core layer.
This project may be a good reference:
https://github.com/siemens/meta-iot2050
All the best!
> --
> Balasubramanian Sundaram
> Firmware Engineer | Sanmina Tech services | India, Chennai | Desk:
> +91 044 61309865
>
> CONFIDENTIALITY
> This e-mail message and any attachments thereto, is intended only for
> use by the addressee(s) named herein and may contain legally privileged
> and/or confidential information. If you are not the intended recipient
> of this e-mail message, you are hereby notified that any dissemination,
> distribution or copying of this e-mail message, and any attachments
> thereto, is strictly prohibited. If you have received this e-mail
> message in error, please immediately notify the sender and permanently
> delete the original and any copies of this email and any prints thereof.
> ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS
> NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the Uniform
> Electronic Transactions Act or the applicability of any other law of
> similar substance and effect, absent an express statement to the
> contrary hereinabove, this e-mail message its contents, and any
> attachments hereto are not intended to represent an offer or acceptance
> to enter into a contract and are not otherwise intended to bind the
> sender, Sanmina Corporation (or any of its subsidiaries), or any other
> person or entity.
>
> --
> You received this message because you are subscribed to the Google
> Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to isar-users+unsubscribe@googlegroups.com
> <mailto:isar-users+unsubscribe@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/isar-users/CAMxE6KnVtJAumY7YiwVX5xUi%2BHGVjogz4qatrMyNh3ZJEYZBYg%40mail.gmail.com <https://groups.google.com/d/msgid/isar-users/CAMxE6KnVtJAumY7YiwVX5xUi%2BHGVjogz4qatrMyNh3ZJEYZBYg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re : integrate bluez with ISAR
2022-11-10 13:36 ` Schaffner, Tobias
@ 2022-11-10 13:38 ` Roberto A. Foglietta
0 siblings, 0 replies; 6+ messages in thread
From: Roberto A. Foglietta @ 2022-11-10 13:38 UTC (permalink / raw)
To: Schaffner, Tobias; +Cc: Balasubramanian Sundaram, isar-users
On Thu, 10 Nov 2022 at 14:36, Schaffner, Tobias
<tobias.schaffner@siemens.com> wrote:
>
> On 10.11.22 13:37, 'Balasubramanian Sundaram' via isar-users wrote:
> > Hi Team,
> >
> > Iam using ISAR build system i'm trying to integrate bluez but iam
> > getting following error
> > image.png
> > and this is my bb file for it anything is missing
> > image.png
> >
> > Thanks & Regards
>
> Hello Balasubramanian,
>
> you do not have to create a package if you just want to install bluez
> from the repositories.
>
> All you have to do is add it to IMAGE_PREINSTALL as Anton already explained.
>
> You just have to add the following line:
> IMAGE_PREINSTALL += "bluez"
Considering your .bb recipe this one:
IMAGE_PREINSTALL += "bluez texinfo"
Best Regards, R-
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re : integrate bluez with ISAR
2022-11-10 12:37 Re : integrate bluez with ISAR Balasubramanian Sundaram
2022-11-10 13:36 ` Schaffner, Tobias
@ 2022-11-10 16:12 ` Jan Kiszka
2022-11-11 7:32 ` Balasubramanian Sundaram
1 sibling, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2022-11-10 16:12 UTC (permalink / raw)
To: Balasubramanian Sundaram, isar-users
On 10.11.22 13:37, 'Balasubramanian Sundaram' via isar-users wrote:
> Hi Team,
>
> Iam using ISAR build system i'm trying to integrate bluez but iam
> getting following error
> image.png
> and this is my bb file for it anything is missing
> image.png
I think this question was raised elsewhere already, but it is very
essential: WHY do you want to fork bluez away from Debian mainline? You
will inherit maintenance and testing efforts that can be critical,
specifically for product development. If you have a bug report against
bluez or the Debian package, file that first. Ideally, the issue will be
resolved and the new package will be available before you are done with
rebuilding your own one.
Jan
PS: Please share logs, not screenshots, whenever technically possible
(like in this case).
--
Siemens AG, Technology
Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re : integrate bluez with ISAR
2022-11-10 16:12 ` Jan Kiszka
@ 2022-11-11 7:32 ` Balasubramanian Sundaram
2022-11-11 7:52 ` Uladzimir Bely
0 siblings, 1 reply; 6+ messages in thread
From: Balasubramanian Sundaram @ 2022-11-11 7:32 UTC (permalink / raw)
To: Jan Kiszka; +Cc: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 4471 bytes --]
Hi Jan
*Still It is not getting included in isar*
WARNING: bluez-1.0-r0 do_fetch: Failed to fetch URL
https://sources.debian.org/patches/bluez/5.55-3.1/, attempting MIRRORS if
available
ERROR: bluez-1.0-r0 do_fetch: Fetcher failure for URL: '
https://sources.debian.org/patches/bluez/5.55-3.1/'. The fetch command
returned success for url https://sources.debian.org/patches/bluez/5.55-3.1/
but /work/build/downloads/sources.debian.org.patches.bluez.5.55-3.1.
doesn't exist?!
ERROR: bluez-1.0-r0 do_fetch: Fetcher failure for URL: '
https://sources.debian.org/patches/bluez/5.55-3.1/'. Unable to fetch URL
from any source.
ERROR: Logfile of failure stored in:
/work/build/tmp/work/cip-core-buster-armhf/bluez/1.0-r0/temp/log.do_fetch.917
ERROR: Task (/repo/recipes-core/bluez/bluez.bb:do_fetch) failed with exit
code '1'
NOTE: Tasks Summary: Attempted 20 tasks of which 19 didn't need to be rerun
and 1 failed.
Summary: 1 task failed:
/repo/recipes-core/bluez/bluez.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
builder@05bb7ca9f421:/work/build$
*Is there anything to change in the .bb file*
# This software is a part of ISAR.
# Copyright (c) Siemens AG, 2019
#
# SPDX-License-Identifier: MIT
inherit dpkg
# This will fetch and unpack the sources from upstream Debian.
# Note that you can also choose a version but have to pick the exact one
# i.e. "apt://bluez".
# You may also select the desired release in case multiples are configured
and
# you do want to pin the version: "apt://hello/buster".
#SRC_URI = "apt://bluez-5.50"
SRC_URI = "https://sources.debian.org/patches/bluez/5.55-3.1/"
MAINTAINER = "isar-users <isar-users@googlegroups.com>"
#CHANGELOG_V = "<orig-version>+isar"
DEB_BUILD_OPTIONS += "${@ 'nocheck' if d.getVar('ISAR_CROSS_COMPILE', True)
== '1' else '' }"
do_prepare_build() {
deb_add_changelog
# this seems to be a build dep missing in the upstream control file
if ! grep texinfo ${S}/debian/control; then
sed -i -e 's/Build-Depends:/Build-Depends: texinfo,/g' ${S}/debian/control
fi
}
can you give any file to need to do exact changes for including the bluez
Regards
On Thu, Nov 10, 2022 at 9:42 PM Jan Kiszka <jan.kiszka@siemens.com> wrote:
> On 10.11.22 13:37, 'Balasubramanian Sundaram' via isar-users wrote:
> > Hi Team,
> >
> > Iam using ISAR build system i'm trying to integrate bluez but iam
> > getting following error
> > image.png
> > and this is my bb file for it anything is missing
> > image.png
>
> I think this question was raised elsewhere already, but it is very
> essential: WHY do you want to fork bluez away from Debian mainline? You
> will inherit maintenance and testing efforts that can be critical,
> specifically for product development. If you have a bug report against
> bluez or the Debian package, file that first. Ideally, the issue will be
> resolved and the new package will be available before you are done with
> rebuilding your own one.
>
> Jan
>
> PS: Please share logs, not screenshots, whenever technically possible
> (like in this case).
>
> --
> Siemens AG, Technology
> Competence Center Embedded Linux
>
>
--
Balasubramanian Sundaram
Firmware Engineer | Sanmina Tech services | India, Chennai | Desk: +91
044 61309865
--
CONFIDENTIALITY
This e-mail message and any attachments thereto, is
intended only for use by the addressee(s) named herein and may contain
legally privileged and/or confidential information. If you are not the
intended recipient of this e-mail message, you are hereby notified that any
dissemination, distribution or copying of this e-mail message, and any
attachments thereto, is strictly prohibited. If you have received this
e-mail message in error, please immediately notify the sender and
permanently delete the original and any copies of this email and any prints
thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS
E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the
Uniform Electronic Transactions Act or the applicability of any other law
of similar substance and effect, absent an express statement to the
contrary hereinabove, this e-mail message its contents, and any attachments
hereto are not intended to represent an offer or acceptance to enter into a
contract and are not otherwise intended to bind the sender, Sanmina
Corporation (or any of its subsidiaries), or any other person or entity.
[-- Attachment #1.2: Type: text/html, Size: 6051 bytes --]
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4276 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: integrate bluez with ISAR
2022-11-11 7:32 ` Balasubramanian Sundaram
@ 2022-11-11 7:52 ` Uladzimir Bely
0 siblings, 0 replies; 6+ messages in thread
From: Uladzimir Bely @ 2022-11-11 7:52 UTC (permalink / raw)
To: Balasubramanian Sundaram; +Cc: isar-users
In mail from пятница, 11 ноября 2022 г. 10:32:18 +03 user 'Balasubramanian
Sundaram' via isar-users wrote:
> Hi Jan
>
> *Still It is not getting included in isar*
>
> WARNING: bluez-1.0-r0 do_fetch: Failed to fetch URL
> https://sources.debian.org/patches/bluez/5.55-3.1/, attempting MIRRORS if
> available
> ERROR: bluez-1.0-r0 do_fetch: Fetcher failure for URL: '
> https://sources.debian.org/patches/bluez/5.55-3.1/'. The fetch command
> returned success for url https://sources.debian.org/patches/bluez/5.55-3.1/
> but /work/build/downloads/sources.debian.org.patches.bluez.5.55-3.1.
> doesn't exist?!
> ERROR: bluez-1.0-r0 do_fetch: Fetcher failure for URL: '
> https://sources.debian.org/patches/bluez/5.55-3.1/'. Unable to fetch URL
> from any source.
> ERROR: Logfile of failure stored in:
> /work/build/tmp/work/cip-core-buster-armhf/bluez/1.0-r0/temp/log.do_fetch.91
> 7 ERROR: Task (/repo/recipes-core/bluez/bluez.bb:do_fetch) failed with exit
> code '1'
> NOTE: Tasks Summary: Attempted 20 tasks of which 19 didn't need to be rerun
> and 1 failed.
>
> Summary: 1 task failed:
> /repo/recipes-core/bluez/bluez.bb:do_fetch
> Summary: There was 1 WARNING message shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> builder@05bb7ca9f421:/work/build$
>
>
> *Is there anything to change in the .bb file*
>
> # This software is a part of ISAR.
> # Copyright (c) Siemens AG, 2019
> #
> # SPDX-License-Identifier: MIT
>
> inherit dpkg
>
> # This will fetch and unpack the sources from upstream Debian.
> # Note that you can also choose a version but have to pick the exact one
> # i.e. "apt://bluez".
> # You may also select the desired release in case multiples are configured
> and
> # you do want to pin the version: "apt://hello/buster".
> #SRC_URI = "apt://bluez-5.50"
> SRC_URI = "https://sources.debian.org/patches/bluez/5.55-3.1/"
>
>
>
>
>
> MAINTAINER = "isar-users <isar-users@googlegroups.com>"
> #CHANGELOG_V = "<orig-version>+isar"
>
> DEB_BUILD_OPTIONS += "${@ 'nocheck' if d.getVar('ISAR_CROSS_COMPILE', True)
> == '1' else '' }"
>
> do_prepare_build() {
> deb_add_changelog
> # this seems to be a build dep missing in the upstream control file
> if ! grep texinfo ${S}/debian/control; then
> sed -i -e 's/Build-Depends:/Build-Depends: texinfo,/g' ${S}/debian/control
> fi
> }
>
>
> can you give any file to need to do exact changes for including the bluez
>
You don't need your own recipe for blues (except you want to add some stuff
and maintain it by your own).
Just install Debian package via IMAGE_PREINSTALL in your `local.conf` (or in
image recipe or somewhere else, depending on your project structure).
> Regards
>
> On Thu, Nov 10, 2022 at 9:42 PM Jan Kiszka <jan.kiszka@siemens.com> wrote:
> > On 10.11.22 13:37, 'Balasubramanian Sundaram' via isar-users wrote:
> > > Hi Team,
> > >
> > > Iam using ISAR build system i'm trying to integrate bluez but iam
> > > getting following error
> > > image.png
> > > and this is my bb file for it anything is missing
> > > image.png
> >
> > I think this question was raised elsewhere already, but it is very
> > essential: WHY do you want to fork bluez away from Debian mainline? You
> > will inherit maintenance and testing efforts that can be critical,
> > specifically for product development. If you have a bug report against
> > bluez or the Debian package, file that first. Ideally, the issue will be
> > resolved and the new package will be available before you are done with
> > rebuilding your own one.
> >
> > Jan
> >
> > PS: Please share logs, not screenshots, whenever technically possible
> > (like in this case).
> >
> > --
> > Siemens AG, Technology
> > Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-11-11 7:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 12:37 Re : integrate bluez with ISAR Balasubramanian Sundaram
2022-11-10 13:36 ` Schaffner, Tobias
2022-11-10 13:38 ` Roberto A. Foglietta
2022-11-10 16:12 ` Jan Kiszka
2022-11-11 7:32 ` Balasubramanian Sundaram
2022-11-11 7:52 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox