All of lore.kernel.org
 help / color / mirror / Atom feed
* How to bring up "apt and dpkg" packages on yocto
@ 2013-10-21 23:06 Sandeep G.R
  2013-10-22  5:05 ` Gaurang Shastri
  0 siblings, 1 reply; 6+ messages in thread
From: Sandeep G.R @ 2013-10-21 23:06 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

Hi All,

I have ported Embedded Linux using yocto opensource for Freescale QorIQ
T4240QDS processor. I need to bring up "apt and dpkg" on T4240QDS using
yocto.

For this i need to modify in some .conf or .bb files. Can you please let me
know in which files i need to do these changes in order to bring up "apt
and dpkg" on T4240QDS using yocto.

-- 
*Thanks & Regards,*
*Sandeep G R*

[-- Attachment #2: Type: text/html, Size: 1017 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to bring up "apt and dpkg" packages on yocto
  2013-10-21 23:06 How to bring up "apt and dpkg" packages on yocto Sandeep G.R
@ 2013-10-22  5:05 ` Gaurang Shastri
  2013-10-22 14:10   ` Sandeep G.R
  0 siblings, 1 reply; 6+ messages in thread
From: Gaurang Shastri @ 2013-10-22  5:05 UTC (permalink / raw)
  To: Sandeep G.R; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

hi,

what packaging method you have selected while creating your image ??

//Gaurang Shastri



On Tue, Oct 22, 2013 at 4:36 AM, Sandeep G.R <grsandeep85@gmail.com> wrote:

> Hi All,
>
> I have ported Embedded Linux using yocto opensource for Freescale QorIQ
> T4240QDS processor. I need to bring up "apt and dpkg" on T4240QDS using
> yocto.
>
> For this i need to modify in some .conf or .bb files. Can you please let
> me know in which files i need to do these changes in order to bring up "apt
> and dpkg" on T4240QDS using yocto.
>
> --
> *Thanks & Regards,*
> *Sandeep G R*
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 1950 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to bring up "apt and dpkg" packages on yocto
  2013-10-22  5:05 ` Gaurang Shastri
@ 2013-10-22 14:10   ` Sandeep G.R
  2013-10-28 11:05     ` Paul Eggleton
  0 siblings, 1 reply; 6+ messages in thread
From: Sandeep G.R @ 2013-10-22 14:10 UTC (permalink / raw)
  To: Gaurang Shastri; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

Hi,

      I have selected PACKAGE_CLASSES ?= "package_rpm package_deb" and
IMAGE_FSTYPE is tar.gz


On Mon, Oct 21, 2013 at 11:05 PM, Gaurang Shastri <gmshastri@gmail.com>wrote:

> hi,
>
> what packaging method you have selected while creating your image ??
>
> //Gaurang Shastri
>
>
>
> On Tue, Oct 22, 2013 at 4:36 AM, Sandeep G.R <grsandeep85@gmail.com>wrote:
>
>> Hi All,
>>
>> I have ported Embedded Linux using yocto opensource for Freescale QorIQ
>> T4240QDS processor. I need to bring up "apt and dpkg" on T4240QDS using
>> yocto.
>>
>> For this i need to modify in some .conf or .bb files. Can you please let
>> me know in which files i need to do these changes in order to bring up "apt
>> and dpkg" on T4240QDS using yocto.
>>
>> --
>> *Thanks & Regards,*
>> *Sandeep G R*
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>


-- 
*Thanks & Regards,*
*Sandeep G R*

[-- Attachment #2: Type: text/html, Size: 3064 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to bring up "apt and dpkg" packages on yocto
  2013-10-22 14:10   ` Sandeep G.R
@ 2013-10-28 11:05     ` Paul Eggleton
  2013-10-28 15:26       ` Sandeep G.R
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2013-10-28 11:05 UTC (permalink / raw)
  To: Sandeep G.R; +Cc: yocto

On Tuesday 22 October 2013 08:10:15 Sandeep G.R wrote:
>       I have selected PACKAGE_CLASSES ?= "package_rpm package_deb" and
> IMAGE_FSTYPE is tar.gz

"package_deb" must be listed first in PACKAGE_CLASSES if you wish to use it for 
constructing your image. You will also need to have "package-management" in 
IMAGE_FEATURES if you want apt/dpkg and the package manager data to be 
installed into the image itself.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to bring up "apt and dpkg" packages on yocto
  2013-10-28 11:05     ` Paul Eggleton
@ 2013-10-28 15:26       ` Sandeep G.R
  2013-10-31  3:40         ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Sandeep G.R @ 2013-10-28 15:26 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto@yoctoproject.org


[-- Attachment #1.1: Type: text/plain, Size: 934 bytes --]

Hi Paul,

        I have made those changes as PACKAGE_CLASSES ?= "package_deb"
IMAGE_FEATURES
+= "package-management" IMAGE_INSTALL_append += "dpkg" but ended with an
error and attached a log file for reference. I have attached the log for
reference.


On Mon, Oct 28, 2013 at 5:05 AM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:

> On Tuesday 22 October 2013 08:10:15 Sandeep G.R wrote:
> >       I have selected PACKAGE_CLASSES ?= "package_rpm package_deb" and
> > IMAGE_FSTYPE is tar.gz
>
> "package_deb" must be listed first in PACKAGE_CLASSES if you wish to use
> it for
> constructing your image. You will also need to have "package-management" in
> IMAGE_FEATURES if you want apt/dpkg and the package manager data to be
> installed into the image itself.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>



-- 
*Thanks & Regards,*
*Sandeep G R*

[-- Attachment #1.2: Type: text/html, Size: 2523 bytes --]

[-- Attachment #2: log_deb_rfs.txt --]
[-- Type: text/plain, Size: 6151 bytes --]

sda-14@sandeep:~/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto$ source fsl-setup-poky -m t4240qds-64b -j4 -t4
Configuring for t4240qds-64b board type
Creating an yocto build output at /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release
Run the following commands to start a build:
    bitbake fsl-image-core
    bitbake fsl-image-kvm
    bitbake fsl-image-flash
    bitbake fsl-image-minimal
    bitbake fsl-image-lsb-sdk
    bitbake fsl-image-full
To return to this build environment later please run:
    source /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release/SOURCE_THIS
sda-14@sandeep:~/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release$ bitbake fsl-image-full
Pseudo is not present but is required, building this first before the main build
Parsing recipes: 100% |#########################################################################################################| Time: 00:02:26
Parsing of 1363 .bb files complete (0 cached, 1363 parsed). 3119 targets, 128 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "powerpc64-fsl_networking-linux"
MACHINE           = "t4240qds-64b"
DISTRO            = "fsl-networking"
DISTRO_VERSION    = "1.4"
TUNE_FEATURES     = "m64 fpu-hard e6500 altivec"
TARGET_FPU        = "hard"
meta              
meta-yocto        
meta-yocto-bsp    = "sdk-v1.4.x:5a7532143a49f59a5c85b08d3daf574fb1eccd8d"
meta-fsl-ppc      = "sdk-v1.4.x:f9fd0a617eb6913f87335c551918315ff4ebe18c"
meta-fsl-ppc-toolchain = "sdk-v1.4.x:8ec94cec04527cb971c125b1ddd2c5375034d723"
meta-virtualization = "sdk-v1.4.x:ad6df4f59cd7646f61db29e8fa51f878329d6f93"
meta-fsl-networking = "(nobranch):00f7a535029ca7ef8c96ba8e9916d4742166bab0"
meta-oe           
meta-networking   = "sdk-v1.4.x:7c8dd8f096b64a709175d37a08a4fb02ca263616"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 63 tasks of which 63 didn't need to be rerun and all succeeded.
No currently running tasks (2 of 9)
Loading cache: 100% |###########################################################################################################| ETA:  00:00:00
Loaded 3120 entries from dependency cache.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "powerpc64-fsl_networking-linux"
MACHINE           = "t4240qds-64b"
DISTRO            = "fsl-networking"
DISTRO_VERSION    = "1.4"
TUNE_FEATURES     = "m64 fpu-hard e6500 altivec"
TARGET_FPU        = "hard"
meta              
meta-yocto        
meta-yocto-bsp    = "sdk-v1.4.x:5a7532143a49f59a5c85b08d3daf574fb1eccd8d"
meta-fsl-ppc      = "sdk-v1.4.x:f9fd0a617eb6913f87335c551918315ff4ebe18c"
meta-fsl-ppc-toolchain = "sdk-v1.4.x:8ec94cec04527cb971c125b1ddd2c5375034d723"
meta-virtualization = "sdk-v1.4.x:ad6df4f59cd7646f61db29e8fa51f878329d6f93"
meta-fsl-networking = "(nobranch):00f7a535029ca7ef8c96ba8e9916d4742166bab0"
meta-oe           
meta-networking   = "sdk-v1.4.x:7c8dd8f096b64a709175d37a08a4fb02ca263616"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_rootfs (see /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release/tmp/work/t4240qds_64b-fsl_networking-linux/fsl-image-full/1.0-r22/temp/log.do_rootfs.30800 for further information)
ERROR: Logfile of failure stored in: /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release/tmp/work/t4240qds_64b-fsl_networking-linux/fsl-image-full/1.0-r22/temp/log.do_rootfs.30800
Log data follows:
| DEBUG: Executing shell function do_rootfs
| dpkg-scanpackages: info: Wrote 53 entries to output Packages file.
| dpkg-scanpackages: info: Wrote 6106 entries to output Packages file.
| dpkg-scanpackages: info: Wrote 74 entries to output Packages file.
| dpkg-scanpackages: info: Wrote 53 entries to output Packages file.
| Ign file: ./ InRelease
| Ign file: ./ InRelease
| Ign file: ./ InRelease
| Ign file: ./ Release.gpg
| Ign file: ./ Release.gpg
| Ign file: ./ Release.gpg
| Get:1 file: ./ Release [20 B]
| Get:2 file: ./ Release [18 B]
| Get:3 file: ./ Release [11 B]
| Ign file: ./ Translation-en
| Ign file: ./ Translation-en
| Ign file: ./ Translation-en
| Reading package lists...
| W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__
| W: You may want to run apt-get update to correct these problems
| Reading package lists...
| Building dependency tree...
| Package lib32-libgcc-s-dev is not available, but is referred to by another package.
| This may mean that the package is missing, has been obsoleted, or
| is only available from another source
| 
| W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__
| W: You may want to run apt-get update to correct these problems
| E: Unable to locate package lib32-gcc
| E: Package 'lib32-libgcc-s-dev' has no installation candidate
| E: Unable to locate package lib32-binutils
| E: Unable to locate package lib32-eglibc-dev
| ERROR: Function failed: do_rootfs (see /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release/tmp/work/t4240qds_64b-fsl_networking-linux/fsl-image-full/1.0-r22/temp/log.do_rootfs.30800 for further information)
ERROR: Task 7 (/home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/meta-fsl-networking/images/fsl-image-full.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6440 tasks of which 5038 didn't need to be rerun and 1 failed.
No currently running tasks (6440 of 6441)

Summary: 1 task failed:
  /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/meta-fsl-networking/images/fsl-image-full.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
sda-14@sandeep:~/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release$

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to bring up "apt and dpkg" packages on yocto
  2013-10-28 15:26       ` Sandeep G.R
@ 2013-10-31  3:40         ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2013-10-31  3:40 UTC (permalink / raw)
  To: Sandeep G.R; +Cc: Paul Eggleton, yocto@yoctoproject.org

This seems more of multilib issue with dpkg provided you have
configured multilib correctly in your distro/local.conf for ppc64. One
test would be that you use default packaging/opkg and see if that
works to  isolate the issue

On Mon, Oct 28, 2013 at 8:26 AM, Sandeep G.R <grsandeep85@gmail.com> wrote:
> Hi Paul,
>
>         I have made those changes as PACKAGE_CLASSES ?= "package_deb"
> IMAGE_FEATURES += "package-management" IMAGE_INSTALL_append += "dpkg" but
> ended with an error and attached a log file for reference. I have attached
> the log for reference.
>
>
> On Mon, Oct 28, 2013 at 5:05 AM, Paul Eggleton
> <paul.eggleton@linux.intel.com> wrote:
>>
>> On Tuesday 22 October 2013 08:10:15 Sandeep G.R wrote:
>> >       I have selected PACKAGE_CLASSES ?= "package_rpm package_deb" and
>> > IMAGE_FSTYPE is tar.gz
>>
>> "package_deb" must be listed first in PACKAGE_CLASSES if you wish to use
>> it for
>> constructing your image. You will also need to have "package-management"
>> in
>> IMAGE_FEATURES if you want apt/dpkg and the package manager data to be
>> installed into the image itself.
>>
>> Cheers,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>
>
>
>
> --
> Thanks & Regards,
> Sandeep G R
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-31  3:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 23:06 How to bring up "apt and dpkg" packages on yocto Sandeep G.R
2013-10-22  5:05 ` Gaurang Shastri
2013-10-22 14:10   ` Sandeep G.R
2013-10-28 11:05     ` Paul Eggleton
2013-10-28 15:26       ` Sandeep G.R
2013-10-31  3:40         ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.