Jolley, Stephen K | 3 Jul 19:03 2015
Picon

Yocto Project Status WW27

Current Dev Position: 1.9 Milestone 2 (M2)

Next Deadline: M2 cut off of July 27th at noon GMT

 

SWAT team rotation: Saul -> Paul

https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team

 

Key Status/Updates:

Fido updated successfully with gcc 5 fixes and other updates (thanks Joshua/Ross)

Seeing many diverse ‘random’ failures on the autobuilder. Setting up high priority bugs to try and identify and fix issues. Right now near impossible to tell if patches introduce regressions or not so master is stalling. Will see a spike in high priority bugs.

 

Key YP 1.9 Dates:

1.9 Feature Freeze Date/M3 Cut off: Aug. 24, 2015 noon GMT

YP Final/M4 Cut off: Sept. 28, 2015 noon GMT

1.9 M1 Release Target: Before July 10, 2015

1.9 M2 Release Target: Before Aug. 14, 2015

1.9 M3 Release Target: Before Sept. 11 2015

1.9 final Release Target: Before Oct. 30, 2015

 

Key Status Links for YP:

https://wiki.yoctoproject.org/wiki/Yocto_Project_v1.9_Status

https://wiki.yoctoproject.org/wiki/Yocto_1.9_Schedule

https://wiki.yoctoproject.org/wiki/Yocto_1.9_Features

 

Tracking Metrics:

            WDD 1640 (last week 1724)

(https://wiki.yoctoproject.org/charts/combo.html)

     

[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

INTEL, MS JF1-255, 2111 N.E. 25th Avenue, Hillsboro, OR 97124

(   Work Telephone:          (503) 712-0534

(    Cell:                                (208) 244-4460

* Email:                             stephen.k.jolley-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org

 

--

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@...
http://lists.openembedded.org/mailman/listinfo/openembedded-core
jose.a.lamego | 3 Jul 09:34 2015
Picon

[PATCH] subversion_1.8.13.bb: Regex modified to allow '-D' in paths

From: Jose Lamego <jose.a.lamego@...>

Modified the regex sed in serf.m4 to allow the use of '-D' characters
in project folder names without having compilation error from
subversion-native.

[YOCTO #7874]

Signed-off-by: Jose Lamego <jose.a.lamego@...>
---
 ...erf.m4-Regex-modified-to-allow-D-in-paths.patch | 28 ++++++++++++++++++++++
 .../subversion/subversion_1.8.13.bb                |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 meta/recipes-devtools/subversion/subversion-1.8.13/serf.m4-Regex-modified-to-allow-D-in-paths.patch

diff --git
a/meta/recipes-devtools/subversion/subversion-1.8.13/serf.m4-Regex-modified-to-allow-D-in-paths.patch b/meta/recipes-devtools/subversion/subversion-1.8.13/serf.m4-Regex-modified-to-allow-D-in-paths.patch
new file mode 100644
index 0000000..713b5eb
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.8.13/serf.m4-Regex-modified-to-allow-D-in-paths.patch
 <at>  <at>  -0,0 +1,28  <at>  <at> 
+From f1b6e49f12a18eabe88eb732b578a16281d09499 Mon Sep 17 00:00:00 2001
+From: Jose Lamego <jose.a.lamego@...>
+Date: Thu, 2 Jul 2015 11:37:43 +0000
+Subject: [PATCH] serf.m4: Regex modified to allow '-D' in paths
+
+Upstream-Status: Pending
+
+Signed-off-by: Jose Lamego <jose.a.lamego@...>
+---
+ build/ac-macros/serf.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/ac-macros/serf.m4 b/build/ac-macros/serf.m4
+index ae11e75..ff8cbae 100644
+--- a/build/ac-macros/serf.m4
++++ b/build/ac-macros/serf.m4
+ <at>  <at>  -143,7 +143,7  <at>  <at>  AC_DEFUN(SVN_SERF_PKG_CONFIG,
+         if $PKG_CONFIG $serf_major --atleast-version=$serf_check_version; then
+           AC_MSG_RESULT([yes])
+           serf_found=yes
+-          SVN_SERF_INCLUDES=[`$PKG_CONFIG $serf_major --cflags | $SED -e 's/-D[^ ]*//g'`]
++          SVN_SERF_INCLUDES=[`$PKG_CONFIG $serf_major --cflags | $SED -e 's/[[:space:]]-D[^ ]*//g' -e
's/^-D[^ ]*//g'`]
+           SVN_SERF_LIBS=`$PKG_CONFIG $serf_major --libs` 
+           break
+         else
+-- 
+1.8.4.5
+
diff --git a/meta/recipes-devtools/subversion/subversion_1.8.13.bb b/meta/recipes-devtools/subversion/subversion_1.8.13.bb
index a98be67..f843b95 100644
--- a/meta/recipes-devtools/subversion/subversion_1.8.13.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.8.13.bb
 <at>  <at>  -12,6 +12,7  <at>  <at>  inherit gettext pythonnative
 SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
            file://libtool2.patch \
            file://disable_macos.patch \
+           file://serf.m4-Regex-modified-to-allow-D-in-paths.patch \
 "
 SRC_URI[md5sum] = "4413417b529d7bdf82f74e50df02e88b"
 SRC_URI[sha256sum] = "1099cc68840753b48aedb3a27ebd1e2afbcc84ddb871412e5d500e843d607579"
-- 
1.8.4.5

--

-- 
Jack Mitchell | 3 Jul 16:56 2015
Picon

SDK extract errors on master

Built an SDK today on 7eb0abc5f4d971d9a511c93cfb2eb52b72e6f228 and when 
I tried to install it I got the following error:

Setting it up...ls: cannot access 
/home/jack/Work/build/openembedded/sdk/1/x86_64/environment-setup-*: No 
such file or directory

I have been messing about with the SDK install path and at one point it 
did spew out a load of files installed vs shipped warnings I assume due 
to a change of path and it getting upset about it, but since then I 
deleted the tmp directory and rebuilt a new SDK without warnings. 
However, both acted in the same way.

The SDK then sits without installing, seemingly stuck on: grep 
OECORE_NATIVE_SYSROOT, which I assume means it's looking for the 
(non-existant) environment file.

Any clues? Is this broken for anyone else?

Cheers,
Jack.
--

-- 
Ismo Puustinen | 3 Jul 13:36 2015
Picon

[PATCH v2] combo-layer: modified to generate better commit messages.

From: "Puustinen, Ismo" <ismo.puustinen@...>

This patch includes support for a global section in combo-layer.conf
called [combo-layer-settings]. Supported in this section is key
"commit_msg"; its value is the template for the git commit message
that updates the last_revision. The template can include substitution
for the updated component list: ${components}. The substituted value
will either be a comma-separated list of components or "all components",
if combo-layer was invoked without component list argument.

If the key is not present, the old default value is used for the commit
message.

Configuration file example:

[combo-layer-settings]
commit_msg = pulled in the latest changes for ${components}.

Signed-off-by: Ismo Puustinen <ismo.puustinen@...>
---
 scripts/combo-layer | 33 ++++++++++++++++++++++++++++++---
 1 file changed, 30 insertions(+), 3 deletions(-)

diff --git a/scripts/combo-layer b/scripts/combo-layer
index 4029d2b..2d100be 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
 <at>  <at>  -29,6 +29,7  <at>  <at>  import tempfile
 import ConfigParser
 import re
 from collections import OrderedDict
+from string import Template

 __version__ = "0.2.1"

 <at>  <at>  -77,15 +78,27  <at>  <at>  class Configuration(object):
                         value = getattr(parser, 'get' + types[name])(section, name)
                     self.repos[repo][name] = value

+        def readglobalsection(parser, section):
+            for (name, value) in parser.items(section):
+                if name == "commit_msg":
+                    self.commit_msg_template = value
+
         logger.debug("Loading config file %s" % self.conffile)
         self.parser = ConfigParser.ConfigParser()
         with open(self.conffile) as f:
             self.parser.readfp(f)

+        # initialize default values
+        self.commit_msg_template = "Automatic commit to update last_revision"
+
         self.repos = {}
         for repo in self.parser.sections():
-            self.repos[repo] = {}
-            readsection(self.parser, repo, repo)
+            if repo == "combo-layer-settings":
+                # special handling for global settings
+                readglobalsection(self.parser, repo)
+            else:
+                self.repos[repo] = {}
+                readsection(self.parser, repo, repo)

         # Load local configuration, if available
         self.localconffile = None
 <at>  <at>  -715,7 +728,21  <at>  <at>  def action_update(conf, args):
     if output:
         logger.info("Committing updated configuration file")
         if output.lstrip().startswith("M"):
-            runcmd('git commit -m "Automatic commit to update last_revision" %s' % relpath)
+
+            # create the "components" string
+            component_str = "all components"
+            if len(components) > 0:
+                # otherwise tell which components were actually changed
+                component_str = ", ".join(components)
+
+            # expand the template with known values
+            template = Template(conf.commit_msg_template)
+            raw_msg = template.substitute(components = component_str)
+
+            # sanitize the string before using it in command line
+            msg = raw_msg.replace('"', '\\"')
+
+            runcmd('git commit -m "%s" %s' % (msg, relpath))

 def apply_patchlist(conf, repos):
     """
-- 
2.4.3

--

-- 
Ross Burton | 3 Jul 12:21 2015
Picon

[PATCH] libdrm: remove git recipe, merge inc

The git recipe hasn't been touched since 2012 and is out of date, so simplify
the recipe by removing the git form and merging the remaining bb and inc file.

Signed-off-by: Ross Burton <ross.burton@...>
---
 meta/recipes-graphics/drm/libdrm.inc       | 41 ------------------------------
 meta/recipes-graphics/drm/libdrm_2.4.59.bb | 41 +++++++++++++++++++++++++++---
 meta/recipes-graphics/drm/libdrm_git.bb    | 12 ---------
 3 files changed, 38 insertions(+), 56 deletions(-)
 delete mode 100644 meta/recipes-graphics/drm/libdrm.inc
 delete mode 100644 meta/recipes-graphics/drm/libdrm_git.bb

diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
deleted file mode 100644
index d3e1e92..0000000
--- a/meta/recipes-graphics/drm/libdrm.inc
+++ /dev/null
 <at>  <at>  -1,41 +0,0  <at>  <at> 
-SUMMARY = "Userspace interface to the kernel DRM services"
-DESCRIPTION = "The runtime library for accessing the kernel DRM services.  DRM \
-stands for \"Direct Rendering Manager\", which is the kernel portion of the \
-\"Direct Rendering Infrastructure\" (DRI).  DRI is required for many hardware \
-accelerated OpenGL drivers."
-HOMEPAGE = "http://dri.freedesktop.org"
-SECTION = "x11/base"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
-SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
-PROVIDES = "drm"
-DEPENDS = "libpthread-stubs udev"
-
-# be aware that libdrm_2.4.44.bb ignores this
-INC_PR = "r4"
-
-#libpciaccess is required starting from libdrm 2.4.26
-DEPENDS += " libpciaccess"
-
-inherit autotools pkgconfig
-
-EXTRA_OECONF += "--disable-cairo-tests \
-                 --enable-omap-experimental-api \
-                 --enable-install-test-programs \
-                 --disable-manpages \
-                "
-ALLOW_EMPTY_${PN}-drivers = "1"
-PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
-             ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno"
-
-RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
-                             ${PN}-exynos ${PN}-freedreno"
-
-FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test"
-FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
-FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*"
-FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*"
-FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
-FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*"
-FILES_${PN}-kms = "${libdir}/libkms*.so.*"
-FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*"
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.59.bb b/meta/recipes-graphics/drm/libdrm_2.4.59.bb
index 14bf44a..97f75ff 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.59.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.59.bb
 <at>  <at>  -1,6 +1,41  <at>  <at> 
-require libdrm.inc
-
-SRC_URI += "file://installtests.patch "
+SUMMARY = "Userspace interface to the kernel DRM services"
+DESCRIPTION = "The runtime library for accessing the kernel DRM services.  DRM \
+stands for \"Direct Rendering Manager\", which is the kernel portion of the \
+\"Direct Rendering Infrastructure\" (DRI).  DRI is required for many hardware \
+accelerated OpenGL drivers."
+HOMEPAGE = "http://dri.freedesktop.org"
+SECTION = "x11/base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
+PROVIDES = "drm"
+DEPENDS = "libpthread-stubs udev libpciaccess"

+SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
+           file://installtests.patch "
 SRC_URI[md5sum] = "d32a1d37c2546ee11fc5924abeedb23e"
 SRC_URI[sha256sum] = "68d26e1fd85582f4243d66864f9b43ca4ee93662825de32b5506fc8e181ea41b"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--disable-cairo-tests \
+                 --enable-omap-experimental-api \
+                 --enable-install-test-programs \
+                 --disable-manpages \
+                "
+
+ALLOW_EMPTY_${PN}-drivers = "1"
+PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
+             ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno"
+
+RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
+                             ${PN}-exynos ${PN}-freedreno"
+
+FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test"
+FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
+FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*"
+FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*"
+FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
+FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*"
+FILES_${PN}-kms = "${libdir}/libkms*.so.*"
+FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*"
+
diff --git a/meta/recipes-graphics/drm/libdrm_git.bb b/meta/recipes-graphics/drm/libdrm_git.bb
deleted file mode 100644
index d7245ee..0000000
--- a/meta/recipes-graphics/drm/libdrm_git.bb
+++ /dev/null
 <at>  <at>  -1,12 +0,0  <at>  <at> 
-require libdrm.inc
-
-SRC_URI = "git://anongit.freedesktop.org/git/mesa/drm"
-
-S = "${WORKDIR}/git"
-
-DEFAULT_PREFERENCE = "-1"
-
-SRCREV = "e01d68f9f3acfc35fe164283904b5d058c2ab378"
-PV = "2.4.40+git${SRCPV}"
-PR = "${INC_PR}.0"
-
-- 
2.1.4

--

-- 
zjh | 3 Jul 11:32 2015
Picon

[PATCH 2/2] testimage.bbclass: add support for test suites manifest files 7848

Signed-off-by: zjh <junhuix.zhang@...>
---
 meta/classes/testimage.bbclass | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 5d74fe4..2c66b5d 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
 <at>  <at>  -66,15 +66,37  <at>  <at>  do_testsdk[nostamp] = "1"
 do_testsdk[depends] += "${TESTIMAGEDEPENDS}"
 do_testsdk[lockfiles] += "${TESTIMAGELOCK}"

+# get testcase list from specified file
+# if path is a relative path, then relative to build/conf/
+def read_testlist(d, fpath):
+    if not os.path.isabs(fpath):
+        builddir = d.getVar("TOPDIR", True)
+        fpath = os.path.join(builddir, "conf", fpath)
+    if not os.path.exists(fpath):
+        bb.fatal("No such manifest file: ", fpath)
+    tcs = []
+    for line in open(fpath).readlines():
+        line = line.strip()
+        if line and not line.startswith("#"):
+            tcs.append(line)
+    return " ".join(tcs)
+
 def get_tests_list(d, type="runtime"):
-    testsuites = d.getVar("TEST_SUITES", True).split()
+    testsuites = []
+    testslist = []
+    manifests = d.getVar("TEST_SUITES_MANIFEST", True)
+    if manifests is not None:
+        manifests = manifests.split()
+        for manifest in manifests:
+            testsuites.extend(read_testlist(d, manifest).split())
+    else:
+        testsuites = d.getVar("TEST_SUITES", True).split()
     if type == "sdk":
         testsuites = (d.getVar("TEST_SUITES_SDK", True) or "auto").split()
     bbpath = d.getVar("BBPATH", True).split(':')

     # This relies on lib/ under each directory in BBPATH being added to sys.path
     # (as done by default in base.bbclass)
-    testslist = []
     for testname in testsuites:
         if testname != "auto":
             if testname.startswith("oeqa."):
-- 
1.9.1

--

-- 
wenzong.fan | 3 Jul 10:53 2015

[PATCH v2] man: replace ',' with '#'

From: Yue Tao <Yue.Tao@...>

Sometimes, the parameters of CC/BUILD_CC contains the ',', which
cause the sed command failed, so replace the ',' with '#'

Signed-off-by: Yue Tao <Yue.Tao@...>
Signed-off-by: Wenzong Fan <wenzong.fan@...>
---
 meta/recipes-extended/man/man/configure_sed.patch | 32 +++++++++++++++++++++++
 meta/recipes-extended/man/man_1.6g.bb             |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 meta/recipes-extended/man/man/configure_sed.patch

diff --git a/meta/recipes-extended/man/man/configure_sed.patch b/meta/recipes-extended/man/man/configure_sed.patch
new file mode 100644
index 0000000..d49e683
--- /dev/null
+++ b/meta/recipes-extended/man/man/configure_sed.patch
 <at>  <at>  -0,0 +1,32  <at>  <at> 
+man: replace ',' with '#'
+
+Sometimes, the parameters of CC/BUILD_CC contains the ',', which
+cause the sed command failed, so replace the ',' with '#'
+
+Upstream-Status: Pending
+
+Signed-off-by: Yue Tao <Yue.Tao@...>
+Signed-off-by: Wenzong Fan <wenzong.fan@...>
+---
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 9f62cf9..9a565ae 100755
+--- a/configure
++++ b/configure
+ <at>  <at>  -1321,9 +1321,9  <at>  <at>  do
+   echo "Creating $infile from $infile.in"
+   sed -e '
+ s, <at> version <at> ,$version,
+-s, <at> CC <at> ,$CC,
++s# <at> CC <at> #$CC#
+ s, <at> EXEEXT <at> ,$EXEEXT,
+-s, <at> BUILD_CC <at> ,$BUILD_CC,
++s# <at> BUILD_CC <at> #$BUILD_CC#
+ s, <at> INSTALL <at> ,$INSTALL,
+ s, <at> DEFS <at> ,$DEFS,
+ s, <at> LIBS <at> ,$LIBS,
+-- 
+1.9.1
+
diff --git a/meta/recipes-extended/man/man_1.6g.bb b/meta/recipes-extended/man/man_1.6g.bb
index d4a4b26..6a4c734 100644
--- a/meta/recipes-extended/man/man_1.6g.bb
+++ b/meta/recipes-extended/man/man_1.6g.bb
 <at>  <at>  -52,6 +52,7  <at>  <at>  SRC_URI = "http://pkgs.fedoraproject.org/lookaside/pkgs/man2html/${BP}.tar.gz/ba
            file://man.conf \
            file://manpath.5.gz;unpack=false \
            file://man-1.6g-whatis3.patch \
+           file://configure_sed.patch \
 "

 SRC_URI[md5sum] = "ba154d5796928b841c9c69f0ae376660"
-- 
1.9.1

--

-- 
Robert Yang | 3 Jul 10:40 2015

[PATCH 0/1] multilib_global.bbclass: fix PREFERRED_VERSION for cross-canadian

The following changes since commit dd09fab685de2eaf04aa5ab60f8220b89c1deae9:

  tune-core2.inc: set X86ARCH32 to i686 (instead of i586) (2015-07-02 23:08:27 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/cross
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/corss

Robert Yang (1):
  multilib_global.bbclass: fix PREFERRED_VERSION for cross-canadian

 meta/classes/multilib_global.bbclass |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

-- 
1.7.9.5

--

-- 
Steffen.Pankratz | 3 Jul 10:11 2015

[PATCH] libdrm: Upgrade to 2.4.62

Hi,

attached you can find a patch to upgrade libdrm to version 2.4.62.
I added a temporary workaround, as Valgrind support is enabled by default currently,
this was already fixed upstream for the next version.

Regards
-Steffen

--
Steffen Pankratz
Expert, Software Integration & Services

EB - Driving the Future of Software
Phone:  +49 9131 7701-6605
Fax: +49 9131 7701 6333
steffen.pankratz@...
http://automotive.elektrobit.com/
PGP-Key: http://keyserver.elektrobit.com/

Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Directors Alexander Kocher, Gregor Zink
Register Court F├╝rth HRB 488

----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.

Attachment (0001-libdrm-Upgrade-to-2.4.62.patch): application/octet-stream, 2253 bytes
--

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@...
http://lists.openembedded.org/mailman/listinfo/openembedded-core
wenzong.fan | 3 Jul 10:08 2015

[PATCH] gettext-minimal-native: use MKIDR_P in Makefile.in.in

From: Wenzong Fan <wenzong.fan@...>

The Makefile.in.in provided by gettext-minimal-native will be copied
to many packages that need gettext to produce multi-lingual messages.

Replace mkdir_p with MKDIR_P to fix below errors from those packages'
install logs:

  /bin/sh: 6:  <at> mkdir_p <at> : not found
  /usr/bin/install: cannot create regular file 'xxx'

As automake manual:

From Automake 1.8 to 1.9.6 AM_PROG_MKDIR_P used to define the output
variable mkdir_p to one of mkdir -p, install-sh -d, or mkinstalldirs.

Nowadays Autoconf provides a similar functionality with AC_PROG_MKDIR_P,
it will set output variable MKDIR_P.

Automake manual advises to switch ASAP to the more modern Autoconf-provided
interface instead; both the macro and the variable have been removed from
Automake 1.12.1 and later releases.

Signe-off-by: Wenzong Fan <wenzong.fan@...>
---
 .../gettext/gettext-minimal-0.19.4/Makefile.in.in      | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/meta/recipes-core/gettext/gettext-minimal-0.19.4/Makefile.in.in b/meta/recipes-core/gettext/gettext-minimal-0.19.4/Makefile.in.in
index 65184f6..8906ba0 100644
--- a/meta/recipes-core/gettext/gettext-minimal-0.19.4/Makefile.in.in
+++ b/meta/recipes-core/gettext/gettext-minimal-0.19.4/Makefile.in.in
 <at>  <at>  -33,17 +33,7  <at>  <at>  gettextsrcdir = $(datadir)/gettext/po
 INSTALL =  <at> INSTALL <at> 
 INSTALL_DATA =  <at> INSTALL_DATA <at> 

-# We use $(mkdir_p).
-# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
-# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
-#  <at> install_sh <at>  does not start with $(SHELL), so we add it.
-# In automake >= 1.10,  <at> mkdir_p <at>  is derived from ${MKDIR_P}, which is defined
-# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
-# versions, $(mkinstalldirs) and $(install_sh) are unused.
-mkinstalldirs = $(SHELL)  <at> install_sh <at>  -d
-install_sh = $(SHELL)  <at> install_sh <at> 
 MKDIR_P =  <at> MKDIR_P <at> 
-mkdir_p =  <at> mkdir_p <at> 

 GMSGFMT_ =  <at> GMSGFMT <at> 
 GMSGFMT_no =  <at> GMSGFMT <at> 
 <at>  <at>  -242,7 +232,7  <at>  <at>  install: install-exec install-data
 install-exec:
 install-data: install-data- <at> USE_NLS <at> 
 	if test "$(PACKAGE)" = "gettext-tools"; then \
-	  $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
+	  $(MKDIR_P) $(DESTDIR)$(gettextsrcdir); \
 	  for file in $(DISTFILES.common) Makevars.template; do \
 	    $(INSTALL_DATA) $(srcdir)/$$file \
 			    $(DESTDIR)$(gettextsrcdir)/$$file; \
 <at>  <at>  -260,7 +250,7  <at>  <at>  install-data-yes: all
 	  cat=`basename $$cat`; \
 	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 	  dir=$(localedir)/$$lang/LC_MESSAGES; \
-	  $(mkdir_p) $(DESTDIR)$$dir; \
+	  $(MKDIR_P) $(DESTDIR)$$dir; \
 	  if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
 	  $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
 	  echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
 <at>  <at>  -300,7 +290,7  <at>  <at>  installdirs: installdirs-exec installdirs-data
 installdirs-exec:
 installdirs-data: installdirs-data- <at> USE_NLS <at> 
 	if test "$(PACKAGE)" = "gettext-tools"; then \
-	  $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
+	  $(MKDIR_P) $(DESTDIR)$(gettextsrcdir); \
 	else \
 	  : ; \
 	fi
 <at>  <at>  -311,7 +301,7  <at>  <at>  installdirs-data-yes:
 	  cat=`basename $$cat`; \
 	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 	  dir=$(localedir)/$$lang/LC_MESSAGES; \
-	  $(mkdir_p) $(DESTDIR)$$dir; \
+	  $(MKDIR_P) $(DESTDIR)$$dir; \
 	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
 	    if test -n "$$lc"; then \
 	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null;
then \
-- 
1.9.1

--

-- 
Kai Kang | 3 Jul 09:23 2015

[PATCH 0/1] Update alternatives of man pages

It is ok to be installed by rpm, but failed with smart.

The following changes since commit 8ad9a434c9fd0300cf5c38c368b181b78421e95a:

  bitbake: tests/data: Add new data tests (2015-07-01 15:40:21 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib kangkai/alternatives
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=kangkai/alternatives

Kai Kang (1):
  Update alternatives of man pages

 meta/recipes-core/coreutils/coreutils_8.23.bb       | 7 ++++++-
 meta/recipes-core/util-linux/util-linux.inc         | 8 +++++++-
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 6 ++++++
 meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb  | 6 +++++-
 meta/recipes-extended/mktemp/mktemp_1.7.bb          | 4 ++++
 meta/recipes-extended/procps/procps_3.3.10.bb       | 4 ++++
 meta/recipes-extended/shadow/shadow.inc             | 3 ++-
 meta/recipes-extended/stat/stat_3.3.bb              | 3 +++
 8 files changed, 37 insertions(+), 4 deletions(-)

-- 
1.9.1

--

-- 

Gmane