Dear Pintu,

I am afraid debugging connectivity errors is not my strongest point. If I happen to determine possible cause of these messages, I will let you know right away.

Paweł Wieczorek
Samsung R&D Institute Poland
Samsung Electronics
p.wieczor...@samsung.com

On 04/10/16 09:14, PINTU KUMAR wrote:

Dear Pawel,

Thank you very much for your reply.

Yes, I am able to build Tizen 3.0 common package using GBS and the following repo detailed.

I am also able to install the rpm on my device.

However, now I am not able to scan and connect the Bluetooth device on my Raspberry Pi2 using the USB Bluetooth dongle.

Actually scanning is fine, but device discoverable on is failing and I am not able to pair it with another device, even though it shows me the device mac id.

I used the following steps:

#hciconfig hci0 up

#bluetoothctl

#power on

#agent on

#default-agent

#pairable on

#discoverable on

Failed to set discoverable on: org.bluez.Error.Failed

#pair 94:76:B7:7D:C9:B2

Attempting to pair …

Failed to pair: org.freedesktop.DBus.Error.UnknownMethod

Please help, if you know how to fix this problem.

Thank You!

Regards,

Pintu

*From:*Paweł Wieczorek [mailto:p.wieczor...@samsung.com]
*Sent:* Friday, September 30, 2016 9:38 PM
*To:* PINTU KUMAR; dev@lists.tizen.org
*Cc:* pravi...@samsung.com
*Subject:* Re: [Dev] GBS package build for Tizen 3.0 common repo

Hi Pintu,

The repository you mentioned (framework/api/bluetooth) is dedicated to Tizen 2 (https://build.tizen.org/package/view_file?file=_service&package=capi-network-bluetooth&project=Tizen%3A2.4%3AMobile).

Tizen:Common 3.0 builds capi-network-bluetooth package from a different repository - platform/core/api/bluetooth available at https://git.tizen.org/cgit/platform/core/api/bluetooth (https://build.tizen.org/package/show?package=bluetooth&project=Tizen%3ACommon).

Also, GBS fails to resolve package dependencies because your .gbs.conf lacks URLs to Tizen:Base package repository. To access them, add a new repository:

[repo.tizen_base_arm]
url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm/packages/

and add it as the first repository for Tizen:Common profile:

[profile.tizen_common]
repos = repo.tizen_base_arm, repo.tizen_common

to your .gbs.conf file. Please find below exemplary configuration file that I use:

[general]
profile = profile.tizen_common

[profile.tizen_common]
repos = repo.tizen_base_arm, repo.tizen_common

[repo.tizen_base_arm]
url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm/packages/

[repo.tizen_common]
url = http://download.tizen.org/snapshots/tizen/common/latest/repos/arm-wayland/packages/

Best regards,

Paweł Wieczorek
Samsung R&D Institute Poland
Samsung Electronics
p.wieczor...@samsung.com <mailto:p.wieczor...@samsung.com>

On 30/09/16 16:39, PINTU KUMAR wrote:

    Hi All,

    I need one help for Tizen 3.0 common package build using GBS setup.

    In my .gbs.conf file I included this for Tizen 3.0 common repo.

    [profile.tizen_common]

    [repo.tizen_common]

    #url = https://download.tizen.org/snapshots/tizen/common/latest/

    url =
    
https://download.tizen.org/snapshots/tizen/common/latest/repos/arm-wayland/packages/

    And I am trying to build this package:

    git://git.tizen.org/framework/api/Bluetooth

    But, I am getting following error during GBS build.

    Can somebody help, how to do GBS build for Tizen 3.0 common repo.

    I want to create a new repo for Tizen 3.0 common but the existing
    repo itself is not build.

    Please help.

    ----------------------------------------------------------

    # gbs build -A armv7l --include-all –clean

    info: generate repositories ...

    gbs 0.24.2

    info: prepare sources...

    info: package files have been exported to:

    /home/pintu/GBS-ROOT/local/sources/slp/capi-network-bluetooth-0.1.15-1

    info: retrieving repo metadata...

    info: parsing package data...

    info: building repo metadata ...

    info: resolving skipped packages ...

    info: package dependency resolving ...

    info: *** Build Status Summary ***

    === the following packages failed to build due to missing build
    dependencies (1) ===

    capi-network-bluetooth:

    nothing provides ld-linux.so.3 needed by dbus-glib-devel

    nothing provides ld-linux.so.3(GLIBC_2.4) needed by dbus-glib-devel

    nothing provides libexpat.so.1 needed by dbus-glib-devel

    nothing provides libgcc_s.so.1 needed by dbus-glib-devel

    nothing provides libgcc_s.so.1(GCC_3.5) needed by dbus-glib-devel

    nothing provides rtld(GNU_HASH) needed by dbus-glib-devel

    nothing provides libc.so.6(GLIBC_2.4) needed by dbus-glib-devel

    --

    --

    error: <gbs>some packages failed to be built

    ----------------------------------------------------------

    Can somebody point out what is the problem.

    Thanks,

    Pintu




    _______________________________________________

    Dev mailing list

    Dev@lists.tizen.org <mailto:Dev@lists.tizen.org>

    https://lists.tizen.org/listinfo/dev


_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

Reply via email to