[oe] [meta-networking][PATCH 0/7 v2] waf-samba: fix build failure on targets unsupported by qemu

Huang, Jie (Jackie) Jackie.Huang at windriver.com
Wed Jan 6 09:03:21 UTC 2016



> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-devel-
> bounces at lists.openembedded.org] On Behalf Of Huang, Jie (Jackie)
> Sent: Wednesday, December 16, 2015 4:25 PM
> To: Joe MacDonald
> Cc: openembedded-devel at lists.openembedded.org
> Subject: Re: [oe] [meta-networking][PATCH 0/7 v2] waf-samba: fix build failure on targets
> unsupported by qemu
> 
> 
> 
> > -----Original Message-----
> > From: Huang, Jie (Jackie)
> > Sent: Tuesday, December 15, 2015 3:09 PM
> > To: 'Joe MacDonald'
> > Cc: openembedded-devel at lists.openembedded.org
> > Subject: RE: [oe] [meta-networking][PATCH 0/7 v2] waf-samba: fix build failure on targets
> > unsupported by qemu
> >
> >
> >
> > > -----Original Message-----
> > > From: Joe MacDonald [mailto:Joe_MacDonald at mentor.com]
> > > Sent: Wednesday, December 02, 2015 12:35 AM
> > > To: Huang, Jie (Jackie)
> > > Cc: openembedded-devel at lists.openembedded.org
> > > Subject: Re: [oe] [meta-networking][PATCH 0/7 v2] waf-samba: fix build failure on targets
> > > unsupported by qemu
> > >
> > > Hi Jackie,
> > >
> > > I tried pulling in this patch set from:
> > >
> > >    git://git.pokylinux.org/poky-contrib jhuang0/d_samba-rebase_151119-0
> > >
> > > and it quickly crashed into a patching error:
> > >
> > >    http://pastebin.com/k6f0M4c3
> > >
> > > Did you still want that branch considered for merging?
> >
> > Sorry for late response, yes we still want these be merged,
> > It's a month ago when I rebase these patches, I am not surprised
> > It fails to patch, I will rebase again and re-send.
> 
> Hi Joe,
> 
> I verified that these still work for me without rebasing, and
> from your pasted logs, it failed at patching:
> 05-fix-gecos-field-with-samlogon.patch
> 
> which is not part of my fix, it was added along with samba 4.1.12
> recipe months ago, my patches were not started to patch yet :(
> 
> So it should be some other things broke your builds, could you check
> again? Thanks!

After talloc is renamed to libtalloc, I rebased these and re-sent, please check.

Thanks,
Jackie

> 
> Thanks,
> Jackie
> 
> >
> > Thanks,
> > Jackie
> >
> > >
> > > -J.
> > >
> > > [[oe] [meta-networking][PATCH 0/7 v2] waf-samba: fix build failure on targets unsupported by
> > qemu]
> > > On 15.11.19 (Thu 13:37) jackie.huang at windriver.com wrote:
> > >
> > > > From: Jackie Huang <jackie.huang at windriver.com>
> > > >
> > > > v2 comments:
> > > >
> > > > rebase since samba reladted packages are move to meta-networking
> > > > from meta-oe.
> > > >
> > > > Comments:
> > > >
> > > > samba and required packages started to use waf build
> > > > system since 4.x, and the waf bbclass use qemu user mode
> > > > to help configure checking by default, but not all targets
> > > > are supported by qemu user mode, so it definitely fail on those
> > > > targets (it failed on our fsl_t2xxx and cav-octeon3).
> > > >
> > > > The solution here it so use waf cross-answer mode to avoid
> > > > using qemu, but we need to prepare the cross-answers, it's
> > > > easy and error-prone if we try to get these cross-answers manually,
> > > > but fortunately, waf provides another mode to help generate
> > > > them in newer version, so upgrade related packages and
> > > > backport patches for samba (I also tried to upgrad samba
> > > > to 4.3.1, but it still doesn't work in my runtime testing
> > > > after some bug fixing, so I keep in the current version for
> > > > now, I may upgrade it sometime later if I get better understand
> > > > about the new version).
> > > >
> > > > Build tested on:
> > > >
> > > > intel-x86-64
> > > > qemux86
> > > > qemuarm
> > > > qemuarma9
> > > > qemuarm64
> > > > qemumips
> > > > qemumips64
> > > > fsl-ls20xx
> > > > fsl-t2xxx
> > > > xilinx-zynq
> > > > cav-octeon3
> > > >
> > > >
> > > > --
> > > > The following changes since commit ea319464b673cbf9a416b582dc4766faeb998430:
> > > >
> > > >   vlc: add PACKAGECONFIG for samba, upnp, dvdnav, sftp, vorbis, dc1394, dv1394, svg, svgdec
> > (2015-
> > > 11-16 21:50:11 +0100)
> > > >
> > > > are available in the git repository at:
> > > >
> > > >   git://git.pokylinux.org/poky-contrib jhuang0/d_samba-rebase_151119-0
> > > >   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/d_samba-rebase_151119-0
> > > >
> > > > Jackie Huang (7):
> > > >   libtdb: upgrade to 1.3.7
> > > >   libldb: upgrade to 1.1.21
> > > >   libtevent: upgrade to 0.9.25
> > > >   talloc: upgrade to 2.1.3
> > > >   samba: fix the incorrect tmpfiles installed directory
> > > >   samba: backport patches for cross-compiling
> > > >   waf-samba.bbclass: add cross-answers option and files
> > > >
> > > >  ...1-waf-sanitize-and-fix-added-cross-answer.patch |  60 ++++++++
> > > >  ...-Adds-a-new-mode-to-samba-cross-compiling.patch | 112 ++++++++++++++
> > > >  ...-readability-of-cross-answers-generated-b.patch |  66 ++++++++
> > > >  ...wafsamba-CHECK_SIZEOF-cross-compile-frien.patch |  72 +++++++++
> > > >  .../0005-build-unify-and-fix-endian-tests.patch    | 169 +++++++++++++++++++++
> > > >  ...006-avoid-using-colon-in-the-checking-msg.patch |  32 ++++
> > > >  ...sing-of-cross-answers-file-in-case-answer.patch |  36 +++++
> > > >  .../recipes-connectivity/samba/samba_4.1.12.bb     |  16 +-
> > > >  .../libldb/{libldb_1.1.17.bb => libldb_1.1.21.bb}  |   4 +-
> > > >  .../libtdb/{libtdb_1.3.0.bb => libtdb_1.3.7.bb}    |   4 +-
> > > >  .../{libtevent_0.9.21.bb => libtevent_0.9.25.bb}   |   4 +-
> > > >  .../talloc/{talloc_2.1.1.bb => talloc_2.1.3.bb}    |  18 +--
> > > >  meta-oe/classes/waf-samba.bbclass                  |  43 +++++-
> > > >  meta-oe/conf/layer.conf                            |   1 +
> > > >  meta-oe/files/waf-cross-answers/README             |   3 +
> > > >  .../waf-cross-answers/cross-answers-aarch64.txt    |  38 +++++
> > > >  .../files/waf-cross-answers/cross-answers-arm.txt  |  39 +++++
> > > >  .../files/waf-cross-answers/cross-answers-i586.txt |  39 +++++
> > > >  .../files/waf-cross-answers/cross-answers-i686.txt |  39 +++++
> > > >  .../files/waf-cross-answers/cross-answers-mips.txt |  39 +++++
> > > >  .../waf-cross-answers/cross-answers-mips64.txt     |  38 +++++
> > > >  .../waf-cross-answers/cross-answers-powerpc.txt    |  39 +++++
> > > >  .../waf-cross-answers/cross-answers-powerpc64.txt  |  39 +++++
> > > >  .../waf-cross-answers/cross-answers-x86_64.txt     |  38 +++++
> > > >  24 files changed, 965 insertions(+), 23 deletions(-)
> > > >  create mode 100644 meta-networking/recipes-connectivity/samba/samba-4.1.12/0001-waf-
> > > sanitize-and-fix-added-cross-answer.patch
> > > >  create mode 100644 meta-networking/recipes-connectivity/samba/samba-4.1.12/0002-Adds-a-
> > > new-mode-to-samba-cross-compiling.patch
> > > >  create mode 100644 meta-networking/recipes-connectivity/samba/samba-4.1.12/0003-waf-
> > > improve-readability-of-cross-answers-generated-b.patch
> > > >  create mode 100644 meta-networking/recipes-connectivity/samba/samba-4.1.12/0004-build-
> > make-
> > > wafsamba-CHECK_SIZEOF-cross-compile-frien.patch
> > > >  create mode 100644 meta-networking/recipes-connectivity/samba/samba-4.1.12/0005-build-
> > unify-
> > > and-fix-endian-tests.patch
> > > >  create mode 100644 meta-networking/recipes-connectivity/samba/samba-4.1.12/0006-avoid-
> > using-
> > > colon-in-the-checking-msg.patch
> > > >  create mode 100644 meta-networking/recipes-connectivity/samba/samba-4.1.12/0007-waf-Fix-
> > > parsing-of-cross-answers-file-in-case-answer.patch
> > > >  rename meta-networking/recipes-support/libldb/{libldb_1.1.17.bb => libldb_1.1.21.bb} (92%)
> > > >  rename meta-networking/recipes-support/libtdb/{libtdb_1.3.0.bb => libtdb_1.3.7.bb} (87%)
> > > >  rename meta-networking/recipes-support/libtevent/{libtevent_0.9.21.bb =>
> libtevent_0.9.25.bb}
> > > (86%)
> > > >  rename meta-networking/recipes-support/talloc/{talloc_2.1.1.bb => talloc_2.1.3.bb} (69%)
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/README
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-aarch64.txt
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-arm.txt
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-i586.txt
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-i686.txt
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-mips.txt
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-mips64.txt
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-powerpc.txt
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-powerpc64.txt
> > > >  create mode 100644 meta-oe/files/waf-cross-answers/cross-answers-x86_64.txt
> > > >
> > > --
> > > -Joe MacDonald.
> > > :wq
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list