All of lore.kernel.org
 help / color / mirror / Atom feed
* dev-pkgs not installed in Extensible SDK
@ 2018-01-22 13:38 Adrian Dudau
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Dudau @ 2018-01-22 13:38 UTC (permalink / raw)
  To: yocto

Adding dev-pkgs to SDKIMAGE_FEATURES I expected that the -dev packages would be installed in the sysroot in the eSDK, but it seems that is valid only for the standard SDK.

I have my own image that inherits core-image with various additions. In the standard SDK, the debug folder under rpi_standard/sysroots/aarch64-enea-linux/usr/src/debug shows like this:
acl          expat        less           libtirpc            make             rpcbind
atk          file         libaio         libtool             mingetty         rpm
attr         findutils    libarchive     libunistring        mpfr             rsync
babeltrace   fontconfig   libassuan      liburcu             ncurses          shadow
base-passwd  freetype     libcap         libx11              nettle           shared-mime-info
bash         fuse         libcheck       libxau              nfs-utils        slang
bc           gcc-runtime  libcomps       libxcb              nspr             sqlite3
blktrace     gdbm         libdnf         libxcomposite       nss              strace
busybox      gdk-pixbuf   libevent       libxcursor          openssh          systemd
bzip2        gettext      libffi         libxdamage          openssl          systemtap
cairo        glib-2.0     libgcc         libxdmcp            pango            tcf-agent
ccache       glibc        libgpg-error   libxext             patch            tcl
coreutils    gmp          libidn         libxfixes           pciutils         tcp-wrappers
curl         gnutls       libjpeg-turbo  libxft              perl             trace-cmd
db           gpgme        libmpc         libxml2             pixman           util-linux
dbus         gtk+         libnfsidmap    libxml-parser-perl  pkgconfig        xz
dhcp         harfbuzz     libnl          libxrandr           popt             zlib
diffstat     json-c       libpcre        libxrender          powertop
diffutils    kbd          libpng         lttng-tools         python3
e2fsprogs    kmod         librepo        lttng-ust           python3-pygpgme
elfutils     latencytop   libsolv        m4                  readline


In the extensible SDK, I only have this under rpi/sysroots/aarch64-enea-linux/usr/src/debug:
bash  bc  glibc  ncurses


I tried building both SDKs based on a vanilla core-image-minimal, and the standard SDK has the sources installed as expected, but the ext SDK has no debug folder containing sources. I tried 

I tried looking into the populate_sdk* classes, but the code there is very hard to understand at a first view. So I guess question is: Is this intended by design or is it a bug? If intended, what is the development worklfow for a user wanting to remote debug applications using shared libraries? 

Best regards,
--Adrian


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

* dev-pkgs not installed in Extensible SDK
@ 2018-01-22 14:33 Adrian Dudau
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Dudau @ 2018-01-22 14:33 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Adding dev-pkgs to SDKIMAGE_FEATURES I expected that the -dev packages
would be installed in the sysroot in the eSDK, but it seems that is
valid only for the standard SDK.

I have my own image that inherits core-image with various additions. In
the standard SDK, the debug folder under rpi_standard/sysroots/aarch64-
enea-linux/usr/src/debug shows like this:
acl          expat        less           libtirpc            make      
       rpcbind
atk          file         libaio         libtool             mingetty  
       rpm
attr         findutils    libarchive     libunistring        mpfr      
       rsync
babeltrace   fontconfig   libassuan      liburcu             ncurses   
       shadow
base-
passwd  freetype     libcap         libx11              nettle         
  shared-mime-info
bash         fuse         libcheck       libxau              nfs-
utils        slang
bc           gcc-
runtime  libcomps       libxcb              nspr             sqlite3
blktrace     gdbm         libdnf         libxcomposite       nss       
       strace
busybox      gdk-
pixbuf   libevent       libxcursor          openssh          systemd
bzip2        gettext      libffi         libxdamage          openssl   
       systemtap
cairo        glib-
2.0     libgcc         libxdmcp            pango            tcf-agent
ccache       glibc        libgpg-
error   libxext             patch            tcl
coreutils    gmp          libidn         libxfixes           pciutils  
       tcp-wrappers
curl         gnutls       libjpeg-
turbo  libxft              perl             trace-cmd
db           gpgme        libmpc         libxml2             pixman    
       util-linux
dbus         gtk+         libnfsidmap    libxml-parser-
perl  pkgconfig        xz
dhcp         harfbuzz     libnl          libxrandr           popt      
       zlib
diffstat     json-c       libpcre        libxrender          powertop
diffutils    kbd          libpng         lttng-tools         python3
e2fsprogs    kmod         librepo        lttng-ust           python3-
pygpgme
elfutils     latencytop   libsolv        m4                  readline


In the extensible SDK, I only have this under rpi/sysroots/aarch64-
enea-linux/usr/src/debug:
bash  bc  glibc  ncurses


I tried building both SDKs based on a vanilla core-image-minimal, and
the standard SDK has the sources installed as expected, but the ext SDK
has no debug folder containing sources. I tried

I tried looking into the populate_sdk* classes, but the code there is
very hard to understand at a first view. So I guess question is: Is
this intended by design or is it a bug? If intended, what is the
development worklfow for a user wanting to remote debug applications
using shared libraries?

Best regards,
--Adrian

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

end of thread, other threads:[~2018-01-22 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-22 14:33 dev-pkgs not installed in Extensible SDK Adrian Dudau
  -- strict thread matches above, loose matches on Subject: below --
2018-01-22 13:38 Adrian Dudau

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.