[OE-core] [PATCH 0/3] meta: 3 fixes
The following changes since commit e6aab245623b6ba1ca5f06632d1028c863cef737: image_types: Add missing ext4 support (2015-03-31 22:38:50 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/3fixes http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/3fixes Robert Yang (3): piglit: add PACKAGECONFIG for freeglut db: fix parallel issue glibc: fix a tpo .../glibc/glibc/elf-Makefile-fix-a-typo.patch | 36 meta/recipes-core/glibc/glibc_2.21.bb |1 + meta/recipes-graphics/piglit/piglit_git.bb |3 ++ ...akefile-let-libso_target-depend-on-bt_rec.patch | 30 meta/recipes-support/db/db_6.0.30.bb |1 + 5 files changed, 71 insertions(+) create mode 100644 meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch create mode 100644 meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 3/3] glibc: fix a tpo
Fixed a typo: name-target-directory -> make-target-directory There is no name-target-directory, it should be make-target-directory, this fixed the error: /bin/bash: /path/to/elf/runtime-linker.T: No such file or directory Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed Signed-off-by: Robert Yang --- .../glibc/glibc/elf-Makefile-fix-a-typo.patch | 36 meta/recipes-core/glibc/glibc_2.21.bb |1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch diff --git a/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch new file mode 100644 index 000..ec48006 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch @@ -0,0 +1,36 @@ +From 6207fb45553ee98f2f326883b7c21b76c8267343 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 31 Mar 2015 02:31:25 -0700 +Subject: [PATCH] elf/Makefile: fix a typo + +Fixed a typo: +name-target-directory -> make-target-directory + +There is no name-target-directory, it should be make-target-directory, +this fixed the error: +/bin/bash: /path/to/elf/runtime-linker.T: No such file or directory +Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + elf/Makefile |2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/elf/Makefile b/elf/Makefile +index e5b142c..62fe245 100644 +--- a/elf/Makefile b/elf/Makefile +@@ -358,7 +358,7 @@ $(objpfx)interp.os: $(elf-objpfx)runtime-linker.h + + $(elf-objpfx)runtime-linker.h: $(elf-objpfx)runtime-linker.st; @: + $(elf-objpfx)runtime-linker.st: $(common-objpfx)config.make +- $(name-target-directory) ++ $(make-target-directory) + echo '#define RUNTIME_LINKER "$(rtlddir)/$(rtld-installed-name)"' \ + > ${@:st=T} + $(move-if-change) ${@:st=T} ${@:st=h} +-- +1.7.9.5 + diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb index 91feff5..fcef4ff 100644 --- a/meta/recipes-core/glibc/glibc_2.21.bb +++ b/meta/recipes-core/glibc/glibc_2.21.bb @@ -25,6 +25,7 @@ SRC_URI = "git://sourceware.org/git/glibc.git;branch=${BRANCH} \ file://0001-Add-unused-attribute.patch \ file://0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch \ file://0001-yes-within-the-path-sets-wrong-config-variables.patch \ + file://elf-Makefile-fix-a-typo.patch \ ${EGLIBCPATCHES} \ " EGLIBCPATCHES = "\ -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/3] db: fix parallel issue
Fixed parallel issue: libtool: link: `bt_rec.lo' is not a valid libtool object Makefile:867: recipe for target 'libdb-6.0.la' failed make: *** [libdb-6.0.la] Error 1 Signed-off-by: Robert Yang --- ...akefile-let-libso_target-depend-on-bt_rec.patch | 30 meta/recipes-support/db/db_6.0.30.bb |1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch diff --git a/meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch b/meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch new file mode 100644 index 000..329bff5 --- /dev/null +++ b/meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch @@ -0,0 +1,30 @@ +From c640ff9340f358a00835816d0fea03d27a7be978 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 31 Mar 2015 00:56:44 -0700 +Subject: [PATCH] Makefile: let libso_target depend on bt_rec + +Fixed parallel issue: +libtool: link: `bt_rec.lo' is not a valid libtool object +Makefile:867: recipe for target 'libdb-6.0.la' failed +make: *** [libdb-6.0.la] Error 1 + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + Makefile.in |2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index e451f70..0a42375 100644 +--- a/Makefile.in b/Makefile.in +@@ -863,7 +863,7 @@ $(libdb_version): $(C_OBJS) + $(LN) -s $(libdb_version) $(libdb) + + # Shared C library. +-$(libso_target): $(C_OBJS) ++$(libso_target): $(C_OBJS) bt_rec@o@ + $(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) \ + $(LIBCSO_LIBS) + $(RM) $(libdb) diff --git a/meta/recipes-support/db/db_6.0.30.bb b/meta/recipes-support/db/db_6.0.30.bb index 47fb296..9eae5c7 100644 --- a/meta/recipes-support/db/db_6.0.30.bb +++ b/meta/recipes-support/db/db_6.0.30.bb @@ -18,6 +18,7 @@ RCONFLICTS_${PN} = "db3" SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz"; SRC_URI += "file://arm-thumb-mutex_db5.patch;patchdir=.. \ file://fix-parallel-build.patch \ +file://Makefile-let-libso_target-depend-on-bt_rec.patch \ " SRC_URI[md5sum] = "ad28eb86ad3203b5422844db179c585b" -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/3] piglit: add PACKAGECONFIG for freeglut
Signed-off-by: Robert Yang --- meta/recipes-graphics/piglit/piglit_git.bb |3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 68ac7e7..e33e4a7 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -21,6 +21,9 @@ REQUIRED_DISTRO_FEATURES = "x11" # contents out of $S and $B. B="${S}" +PACKAGECONFIG ??= "" +PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut," + # CMake sets the rpath at build time with the source tree, and will reset it at # install time. As we don't install this doesn't happen, so force the rpath to # what we need. -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] Are we open for intrusive changes on master now
On 1 April 2015 at 04:31, Khem Raj wrote: > Since these are quite intrusive patches, I would like to have them in > early for next release cycle > The AB is finishing what we'd hope to be the final Fido build, so feel free to send them now as master will be accepting again shortly. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] Stable maintainer for fido
With the release imminent, we need a stable maintainer for fido. Joshua Lock has kindly volunteered to do this. He has been away from the project for a while but many will remember his previous work. He is now back and involved and I believe he will do a great job with this. Thanks for stepping forward to help! Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] uclibc: fix undefinition of '_dl_strchr' in libdl.a
The orign_path.patch introduced '_dl_strchr' into ldso/ldso/dl-elf.c, and caused the following undefined referencing compiling error: | .../libdl.a(libdl.os): In function `search_for_named_library': | .../dl-elf.c:156: undefined reference to `_dl_strchr' | collect2: error: ld returned 1 exit status I found this problem when compiling gdb in static mode using uclibc. Add the definition of '_dl_strchr' to fix it. The '_dl_strstr' is added as well. Signed-off-by: Junling Zheng --- meta/recipes-core/uclibc/uclibc-git.inc| 1 + ...-define-_dl_strchr-and-_dl_strstr-if-not-.patch | 39 ++ 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch diff --git a/meta/recipes-core/uclibc/uclibc-git.inc b/meta/recipes-core/uclibc/uclibc-git.inc index a2b2353..68240dc 100644 --- a/meta/recipes-core/uclibc/uclibc-git.inc +++ b/meta/recipes-core/uclibc/uclibc-git.inc @@ -25,5 +25,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master \ file://0002-wire-setns-syscall.patch \ file://0001-Define-IPTOS_CLASS_-macros-according-to-RFC-2474.patch \ file://0001-timex-Sync-with-glibc.patch \ + file://0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch \ " S = "${WORKDIR}/git" diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch b/meta/recipes-core/uclibc/uclibc-git/0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch new file mode 100644 index 000..e94fbba --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch @@ -0,0 +1,39 @@ +From eb1806f581a134599c1ef26975f514e35663f8c2 Mon Sep 17 00:00:00 2001 +From: Junling Zheng +Date: Tue, 31 Mar 2015 12:00:58 + +Subject: [PATCH] dl-string.h: define _dl_strchr and _dl_strstr if not + IS_IN_rtld + +We should define _dl_strchr and _dl_strstr when not defining IS_IN_rtld. +Otherwise, if someone use _dl_strchr or _dl_strstr in the ldso/ldso/dl- +elf.c, libdl.a will lack the declaration of '_dl_strchr' or '_dl_strstr', +and there will be an compiling error like the following: + + dl-elf.c:156: undefined reference to `_dl_strchr' + +So, add the definition of _dl_strchr and _dl_strstr. + +Upstream-Status: Submitted [http://lists.uclibc.org/pipermail/uclibc/2015-March/04.html] + +Signed-off-by: Junling Zheng +--- + ldso/include/dl-string.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h +index aacad10..14ae617 100644 +--- a/ldso/include/dl-string.h b/ldso/include/dl-string.h +@@ -204,7 +204,9 @@ static __always_inline char * _dl_get_last_path_component(char *path) + # define _dl_strcat strcat + # define _dl_strcpy strcpy + # define _dl_strcmp strcmp ++# define _dl_strchr strchr + # define _dl_strrchr strrchr ++# define _dl_strstr strstr + # define _dl_memcpy memcpy + # define _dl_memcmp memcmp + # define _dl_memset memset +-- +1.8.3.4 + -- 1.8.3.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] systemd: v219 with stable fixes
Hi, On 25 March 2015 at 23:49, Bruno Bottazzini wrote: > Adding patches that fix bugs for 219 version. > This will get the same consistency of the stable systemd 219 version. > > More details: > http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v219-stable Is the idea of these patches to reproduce 219-stable in oe-core? If yes, wouldn't it be easier to use systemd-stable repo and just update the SRCREV instead of error prone patching? Or maybe I'm missing something here... - Jussi -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] package_manager: call createrepo with --dbpath pointing inside WORKDIR
Rpm database in staging area is used only by createrepo. createrepo fails with the error "rpmdb: BDB0060 PANIC: fatal region error detected" if rpm database is broken during previous run of createrepo. Made createrepo to create rpm db in $WORKDIR/rpmdb/ from scratch for every build and architecture. This should potentially fix the failure as every run of createrepo will be using separate db. [YOCTO #6571] Signed-off-by: Ed Bartosh --- meta/lib/oe/package_manager.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 743c7cb..ed0c9a7 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -111,11 +111,15 @@ class RpmIndexer(Indexer): index_cmds = [] rpm_dirs_found = False for arch in archs: +dbpath = os.path.join(self.d.getVar('WORKDIR', True), 'rpmdb', arch) +if os.path.exists(dbpath): +bb.utils.remove(dbpath, True) arch_dir = os.path.join(self.deploy_dir, arch) if not os.path.isdir(arch_dir): continue -index_cmds.append("%s --update -q %s" % (rpm_createrepo, arch_dir)) +index_cmds.append("%s --dbpath %s --update -q %s" % \ + (rpm_createrepo, dbpath, arch_dir)) rpm_dirs_found = True -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] createrepo: Implement --dbpath command line option
On Tue, Mar 31, 2015 at 10:25:11PM +0100, Burton, Ross wrote: > Hi Ed, > > On 31 March 2015 at 00:49, Ed Bartosh wrote: > > > Upstream-Status: Pending > > > > The commit log needs just a Signed-off-by; the patch needs an explanation, > Signed-off-by, and Upstream-Status. The goal is that the patch itself is > self-explanatory, so should explain what it does and why, whether it went > upstream and why (not), and who admits creating it in the first place. > Thanks for the explanations. I'll update the patch. Regards, Ed -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] systemd: v219 with stable fixes
* Jussi Kukkonen [150401 12:17]: > On 25 March 2015 at 23:49, Bruno Bottazzini > wrote: > > Adding patches that fix bugs for 219 version. > > This will get the same consistency of the stable systemd 219 version. > > More details: > > http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v219-stable > Is the idea of these patches to reproduce 219-stable in oe-core? If > yes, wouldn't it be easier to use systemd-stable repo and just update > the SRCREV instead of error prone patching? Or maybe I'm missing > something here... I was just wondering the same thing myself... Sure, it might be slightly more obvious which fixes are applied; on the other hand, unless we plan to only add a subset of the stable fixes in 219-stable, there's no real reason to avoid 219-stable in my opinion. Cheers, Anders -- Anders Darander ChargeStorm AB / eStorm AB -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] createrepo: Implement --dbpath command line option
--dbpath option can be used in cases where users don't want createrepo to use system rpm db to avoid possible collisiouns with other programs. For bitbake builds it would be possible to specify different databases even for every createrepo run. Considering that rootfs builds can run multiple createrepo in parallel, it can help to avoid race conditions caused by accessing or creating the same rpm database by multiple createrepo instances at the same time. Signed-off-by: Ed Bartosh --- .../createrepo/createrepo/createrepo-dbpath.patch | 51 ++ .../createrepo/createrepo_0.4.11.bb| 1 + 2 files changed, 52 insertions(+) create mode 100644 meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch diff --git a/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch b/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch new file mode 100644 index 000..2b113bf --- /dev/null +++ b/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch @@ -0,0 +1,51 @@ +--- createrepo-0.4.11.orig/genpkgmetadata.py 2015-03-30 22:18:19.90400 +0300 createrepo-0.4.11.orig/genpkgmetadata.py 2015-03-30 22:28:49.20800 +0300 +@@ -65,6 +65,7 @@ + -p, --pretty = output xml files in pretty format. + --update = update existing metadata (if present) + -d, --database = generate the sqlite databases. ++ --dbpath = specify path to rpm db directory. + """) + + sys.exit(retval) +@@ -72,10 +73,13 @@ + class MetaDataGenerator: + def __init__(self, cmds): + self.cmds = cmds +-self.ts = rpm.TransactionSet() + self.pkgcount = 0 + self.files = [] + ++if self.cmds['dbpath']: ++rpm.addMacro("_dbpath", self.cmds['dbpath']) ++self.ts = rpm.TransactionSet() ++ + def _os_path_walk(self, top, func, arg): + """Directory tree walk with callback function. + copy of os.path.walk, fixes the link/stating problem +@@ -435,6 +439,7 @@ + cmds['dir-pattern-match'] = ['.*bin\/.*', '^\/etc\/.*'] + cmds['skip-symlinks'] = False + cmds['pkglist'] = [] ++cmds['dbpath'] = None + + try: + gopts, argsleft = getopt.getopt(args, 'phqVvndg:s:x:u:c:o:CSi:', ['help', 'exclude=', +@@ -442,7 +447,7 @@ + 'baseurl=', 'groupfile=', 'checksum=', + 'version', 'pretty', 'split', 'outputdir=', + 'noepoch', 'checkts', 'database', 'update', +- 'skip-symlinks', 'pkglist=']) ++ 'skip-symlinks', 'pkglist=', 'dbpath=']) + except getopt.error, e: + errorprint(_('Options Error: %s.') % e) + usage() +@@ -516,6 +521,8 @@ + cmds['skip-symlinks'] = True + elif arg in ['-i', '--pkglist']: + cmds['pkglist'] = a ++elif arg == '--dbpath': ++cmds['dbpath'] = os.path.realpath(a) + + except ValueError, e: + errorprint(_('Options Error: %s') % e) diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb index 49b45fc..adc193e 100644 --- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb +++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb @@ -14,6 +14,7 @@ SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \ file://python-scripts-should-use-interpreter-from-env.patch \ file://createrepo-rpm549.patch \ file://recommends.patch \ + file://createrepo-dbpath.patch \ file://rpm-createsolvedb.py \ " -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] createrepo: Implement --dbpath command line option
--dbpath option can be used in cases where users don't want createrepo to use system rpm db to avoid possible collisiouns with other programs. For bitbake builds it would be possible to specify different databases even for every createrepo run. Considering that rootfs builds can run multiple createrepo in parallel, it can help to avoid race conditions caused by accessing or creating the same rpm database by multiple createrepo instances at the same time. Signed-off-by: Ed Bartosh --- .../createrepo/createrepo/createrepo-dbpath.patch | 61 ++ .../createrepo/createrepo_0.4.11.bb| 1 + 2 files changed, 62 insertions(+) create mode 100644 meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch diff --git a/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch b/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch new file mode 100644 index 000..7275598 --- /dev/null +++ b/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch @@ -0,0 +1,61 @@ +createrepo: Implement --dbpath command line option + +--dbpath option allows to specify path to the directory +with rpm database. By default createrepo uses or creates +rpm database in /var/lib/rpm/ + +Upstream-Status: Pending + +Signed-off-by: Ed Bartosh + +--- createrepo-0.4.11.orig/genpkgmetadata.py 2015-03-30 22:18:19.90400 +0300 createrepo-0.4.11/genpkgmetadata.py 2015-03-30 22:28:49.20800 +0300 +@@ -65,6 +65,7 @@ + -p, --pretty = output xml files in pretty format. + --update = update existing metadata (if present) + -d, --database = generate the sqlite databases. ++ --dbpath = specify path to rpm db directory. + """) + + sys.exit(retval) +@@ -72,10 +73,13 @@ + class MetaDataGenerator: + def __init__(self, cmds): + self.cmds = cmds +-self.ts = rpm.TransactionSet() + self.pkgcount = 0 + self.files = [] + ++if self.cmds['dbpath']: ++rpm.addMacro("_dbpath", self.cmds['dbpath']) ++self.ts = rpm.TransactionSet() ++ + def _os_path_walk(self, top, func, arg): + """Directory tree walk with callback function. + copy of os.path.walk, fixes the link/stating problem +@@ -435,6 +439,7 @@ + cmds['dir-pattern-match'] = ['.*bin\/.*', '^\/etc\/.*'] + cmds['skip-symlinks'] = False + cmds['pkglist'] = [] ++cmds['dbpath'] = None + + try: + gopts, argsleft = getopt.getopt(args, 'phqVvndg:s:x:u:c:o:CSi:', ['help', 'exclude=', +@@ -442,7 +447,7 @@ + 'baseurl=', 'groupfile=', 'checksum=', + 'version', 'pretty', 'split', 'outputdir=', + 'noepoch', 'checkts', 'database', 'update', +- 'skip-symlinks', 'pkglist=']) ++ 'skip-symlinks', 'pkglist=', 'dbpath=']) + except getopt.error, e: + errorprint(_('Options Error: %s.') % e) + usage() +@@ -516,6 +521,8 @@ + cmds['skip-symlinks'] = True + elif arg in ['-i', '--pkglist']: + cmds['pkglist'] = a ++elif arg == '--dbpath': ++cmds['dbpath'] = os.path.realpath(a) + + except ValueError, e: + errorprint(_('Options Error: %s') % e) diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb index 49b45fc..adc193e 100644 --- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb +++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb @@ -14,6 +14,7 @@ SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \ file://python-scripts-should-use-interpreter-from-env.patch \ file://createrepo-rpm549.patch \ file://recommends.patch \ + file://createrepo-dbpath.patch \ file://rpm-createsolvedb.py \ " -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] createrepo: Implement --dbpath command line option
On Wed, Apr 01, 2015 at 03:06:52PM +0300, Ed Bartosh wrote: > --dbpath option can be used in cases where users don't want > createrepo to use system rpm db to avoid possible collisiouns > with other programs. > > For bitbake builds it would be possible to specify different > databases even for every createrepo run. Considering that rootfs > builds can run multiple createrepo in parallel, it can help to avoid > race conditions caused by accessing or creating the same rpm database > by multiple createrepo instances at the same time. > > Signed-off-by: Ed Bartosh > --- > .../createrepo/createrepo/createrepo-dbpath.patch | 51 > ++ > .../createrepo/createrepo_0.4.11.bb| 1 + > 2 files changed, 52 insertions(+) > create mode 100644 > meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch > > diff --git > a/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch > b/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch > new file mode 100644 > index 000..2b113bf > --- /dev/null > +++ b/meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch > @@ -0,0 +1,51 @@ > +--- createrepo-0.4.11.orig/genpkgmetadata.py 2015-03-30 22:18:19.90400 > +0300 > createrepo-0.4.11.orig/genpkgmetadata.py 2015-03-30 22:28:49.20800 > +0300 > +@@ -65,6 +65,7 @@ > + -p, --pretty = output xml files in pretty format. > + --update = update existing metadata (if present) > + -d, --database = generate the sqlite databases. > ++ --dbpath = specify path to rpm db directory. > + """) > + > + sys.exit(retval) > +@@ -72,10 +73,13 @@ > + class MetaDataGenerator: > + def __init__(self, cmds): > + self.cmds = cmds > +-self.ts = rpm.TransactionSet() > + self.pkgcount = 0 > + self.files = [] > + > ++if self.cmds['dbpath']: > ++rpm.addMacro("_dbpath", self.cmds['dbpath']) > ++self.ts = rpm.TransactionSet() > ++ > + def _os_path_walk(self, top, func, arg): > + """Directory tree walk with callback function. > + copy of os.path.walk, fixes the link/stating problem > +@@ -435,6 +439,7 @@ > + cmds['dir-pattern-match'] = ['.*bin\/.*', '^\/etc\/.*'] > + cmds['skip-symlinks'] = False > + cmds['pkglist'] = [] > ++cmds['dbpath'] = None > + > + try: > + gopts, argsleft = getopt.getopt(args, 'phqVvndg:s:x:u:c:o:CSi:', > ['help', 'exclude=', > +@@ -442,7 +447,7 @@ > + > 'baseurl=', 'groupfile=', 'checksum=', > + > 'version', 'pretty', 'split', 'outputdir=', > + > 'noepoch', 'checkts', 'database', 'update', > +- > 'skip-symlinks', 'pkglist=']) > ++ > 'skip-symlinks', 'pkglist=', 'dbpath=']) > + except getopt.error, e: > + errorprint(_('Options Error: %s.') % e) > + usage() > +@@ -516,6 +521,8 @@ > + cmds['skip-symlinks'] = True > + elif arg in ['-i', '--pkglist']: > + cmds['pkglist'] = a > ++elif arg == '--dbpath': > ++cmds['dbpath'] = os.path.realpath(a) > + > + except ValueError, e: > + errorprint(_('Options Error: %s') % e) > diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb > b/meta/recipes-support/createrepo/createrepo_0.4.11.bb > index 49b45fc..adc193e 100644 > --- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb > +++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb > @@ -14,6 +14,7 @@ SRC_URI= > "http://createrepo.baseurl.org/download/${BP}.tar.gz \ >file://python-scripts-should-use-interpreter-from-env.patch \ > file://createrepo-rpm549.patch \ > file://recommends.patch \ > + file://createrepo-dbpath.patch \ > file://rpm-createsolvedb.py \ > " > Please, don't apply this patch. I've just sent updated one. Sorry for the confusion. -- Regards, Ed -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] busybox issue in latest dizzy
I updated to the latest on dizzy and ran into an issue with busybox's modutils commands failing, complaining about "no gzip/bzip2/xz magic". I've tracked it down to this patch committed (cd20b3c) on the 21st: busybox: libarchive: open_zipped() does not need to check extensions Backport from busybox 1_22_stable branch: I found a thread about this issue on the busybox mailing list archive, and applied the patch in this message http://lists.busybox.net/pipermail/busybox/2014-January/080389.html which appears to have fixed the issue. I can submit the patch, if this isn't already being worked on. Thanks, -Matt -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] systemd: v219 with stable fixes
On Qua, 2015-04-01 at 13:16 +0300, Jussi Kukkonen wrote: > Hi, > > On 25 March 2015 at 23:49, Bruno Bottazzini > wrote: > > Adding patches that fix bugs for 219 version. > > This will get the same consistency of the stable systemd 219 version. > > > > More details: > > http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v219-stable > > Is the idea of these patches to reproduce 219-stable in oe-core? If > yes, wouldn't it be easier to use systemd-stable repo and just update > the SRCREV instead of error prone patching? Or maybe I'm missing > something here... > > - Jussi Hello Jussi, The previous patch was done in the way you said but, Khem Raj suggested that we should use it as patches. Copying and Pasting what he said: "Thats good, although we have to be open on stable branch to do SRCREV updates which we hardly do. We only backport fixed via master so I see this as pointless from that angle." Best Regards, -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [[yocto]Add xorriso recipe] Add xorriso tool support
xorriso copies file objects from POSIX compliant filesystems into Rock Ridge enhanced ISO 9660 filesystems and allows session-wise manipulation of such filesystems. Signed-off-by: Gaurang Shastri --- meta/recipes-support/xorriso/xorriso_1.3.8.bb | 17 + 1 file changed, 17 insertions(+) create mode 100644 meta/recipes-support/xorriso/xorriso_1.3.8.bb diff --git a/meta/recipes-support/xorriso/xorriso_1.3.8.bb b/meta/recipes-support/xorriso/xorriso_1.3.8.bb new file mode 100644 index 000..93914b4 --- /dev/null +++ b/meta/recipes-support/xorriso/xorriso_1.3.8.bb @@ -0,0 +1,17 @@ +DESCRIPTIONS = "xorriso copies file objects from POSIX compliant filesystems into Rock Ridge enhanced ISO 9660 filesystems and allows session-wise manipulation of such filesystems" + +inherit autotools + +DEPENDS += "attr zlib" + +SRC_URI = "http://www.gnu.org/software/${BPN}/${BPN}-${PV}.tar.gz"; + +SRC_URI[md5sum] = "a0fc534ef8f9589282a189f0e6cdf952" +SRC_URI[sha256sum] = "901204634651533f7cbd105eab560534702458258529aac4b2f0fc946992107e" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +LICENSE = "GPLv3" + +EXTRA_OECONF = "--disable-libacl" + +BBCLASSEXTEND = "nativesdk" -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] useradd_base.bbclass: typo fixes (s/scucess/success/)
Signed-off-by: Mario Domenech Goulart --- meta/classes/useradd_base.bbclass | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meta/classes/useradd_base.bbclass b/meta/classes/useradd_base.bbclass index c47b1eb..4398a25 100644 --- a/meta/classes/useradd_base.bbclass +++ b/meta/classes/useradd_base.bbclass @@ -29,7 +29,7 @@ perform_groupadd () { fi count=`expr $count + 1` if test $count = $retries; then - bbfatal "Tried running groupadd command $retries times without scucess, giving up" + bbfatal "Tried running groupadd command $retries times without success, giving up" fi sleep $count done @@ -57,7 +57,7 @@ perform_useradd () { fi count=`expr $count + 1` if test $count = $retries; then - bbfatal "Tried running useradd command $retries times without scucess, giving up" + bbfatal "Tried running useradd command $retries times without success, giving up" fi sleep $count done @@ -99,7 +99,7 @@ perform_groupmems () { rm -f $rootdir${sysconfdir}/gshadow rm -f $rootdir${sysconfdir}/gshadow- fi - bbfatal "Tried running groupmems command $retries times without scucess, giving up" + bbfatal "Tried running groupmems command $retries times without success, giving up" fi sleep $count done @@ -131,7 +131,7 @@ perform_groupdel () { fi count=`expr $count + 1` if test $count = $retries; then - bbfatal "Tried running groupdel command $retries times without scucess, giving up" + bbfatal "Tried running groupdel command $retries times without success, giving up" fi sleep $count done @@ -159,7 +159,7 @@ perform_userdel () { fi count=`expr $count + 1` if test $count = $retries; then - bbfatal "Tried running userdel command $retries times without scucess, giving up" + bbfatal "Tried running userdel command $retries times without success, giving up" fi sleep $count done @@ -189,7 +189,7 @@ perform_groupmod () { fi count=`expr $count + 1` if test $count = $retries; then - bbfatal "Tried running groupmod command $retries times without scucess, giving up" + bbfatal "Tried running groupmod command $retries times without success, giving up" fi sleep $count done @@ -219,7 +219,7 @@ perform_usermod () { fi count=`expr $count + 1` if test $count = $retries; then - bbfatal "Tried running usermod command $retries times without scucess, giving up" + bbfatal "Tried running usermod command $retries times without success, giving up" fi sleep $count done -- 1.7.10.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [yocto] [Add xorriso recipe] Add xorriso tool support
On 1 April 2015 at 13:38, Gaurang Shastri wrote: > xorriso copies file objects from POSIX compliant filesystems into > Rock Ridge enhanced ISO 9660 filesystems and allows session-wise > manipulation of such filesystems. > Patches for openembedded-core should go to the openembedded-core list, but also new recipes need to have a good rationale to be included in oe-core. This doesn't seem like something that's universally useful across many OE-based projects, so I recommend resubmitting it as a patch against meta-oe. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [daisy][PATCH] mesa: Update SRC_URI to match updates to mesa upstream
This avoid fetch warnings like Failed to fetch URL ftp://ftp.freedesktop.org/pub/mesa/9.2.5/MesaLib-9.2.5.tar.bz2, attempting MIRRORS if available Change-Id: I39fb98c679452e2a7354a6fd9edf9526179e9446 Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa_9.2.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/mesa/mesa_9.2.5.bb b/meta/recipes-graphics/mesa/mesa_9.2.5.bb index 737ed1a..dca7ba0 100644 --- a/meta/recipes-graphics/mesa/mesa_9.2.5.bb +++ b/meta/recipes-graphics/mesa/mesa_9.2.5.bb @@ -1,6 +1,6 @@ require ${BPN}.inc -SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/older-versions/9.x/${PV}/MesaLib-${PV}.tar.bz2 \ file://0002-pipe_loader_sw-include-xlib_sw_winsys.h-only-when-HA.patch \ file://0006-fix-out-of-tree-egl.patch \ " -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/3] piglit: add PACKAGECONFIG for freeglut
On Wed, Apr 01, 2015 at 12:53:00AM -0700, Robert Yang wrote: > Signed-off-by: Robert Yang > --- > meta/recipes-graphics/piglit/piglit_git.bb |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/recipes-graphics/piglit/piglit_git.bb > b/meta/recipes-graphics/piglit/piglit_git.bb > index 68ac7e7..e33e4a7 100644 > --- a/meta/recipes-graphics/piglit/piglit_git.bb > +++ b/meta/recipes-graphics/piglit/piglit_git.bb > @@ -21,6 +21,9 @@ REQUIRED_DISTRO_FEATURES = "x11" Does this change resolve: REQUIRED_DISTRO_FEATURES = "x11" ? If yes, then you should remove it. > # contents out of $S and $B. > B="${S}" > > +PACKAGECONFIG ??= "" > +PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut," > + > # CMake sets the rpath at build time with the source tree, and will reset it > at > # install time. As we don't install this doesn't happen, so force the rpath > to > # what we need. > -- > 1.7.9.5 > > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 3/3] glibc: fix a tpo
On Wed, Apr 01, 2015 at 12:53:02AM -0700, Robert Yang wrote: > Fixed a typo: > name-target-directory -> make-target-directory You have another typo in commit message. > There is no name-target-directory, it should be make-target-directory, > this fixed the error: > /bin/bash: /path/to/elf/runtime-linker.T: No such file or directory > Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed > > Signed-off-by: Robert Yang > --- > .../glibc/glibc/elf-Makefile-fix-a-typo.patch | 36 > > meta/recipes-core/glibc/glibc_2.21.bb |1 + > 2 files changed, 37 insertions(+) > create mode 100644 > meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch > > diff --git a/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch > b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch > new file mode 100644 > index 000..ec48006 > --- /dev/null > +++ b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch > @@ -0,0 +1,36 @@ > +From 6207fb45553ee98f2f326883b7c21b76c8267343 Mon Sep 17 00:00:00 2001 > +From: Robert Yang > +Date: Tue, 31 Mar 2015 02:31:25 -0700 > +Subject: [PATCH] elf/Makefile: fix a typo > + > +Fixed a typo: > +name-target-directory -> make-target-directory > + > +There is no name-target-directory, it should be make-target-directory, > +this fixed the error: > +/bin/bash: /path/to/elf/runtime-linker.T: No such file or directory > +Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed > + > +Upstream-Status: Pending > + > +Signed-off-by: Robert Yang > +--- > + elf/Makefile |2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/elf/Makefile b/elf/Makefile > +index e5b142c..62fe245 100644 > +--- a/elf/Makefile > b/elf/Makefile > +@@ -358,7 +358,7 @@ $(objpfx)interp.os: $(elf-objpfx)runtime-linker.h > + > + $(elf-objpfx)runtime-linker.h: $(elf-objpfx)runtime-linker.st; @: > + $(elf-objpfx)runtime-linker.st: $(common-objpfx)config.make > +-$(name-target-directory) > ++$(make-target-directory) > + echo '#define RUNTIME_LINKER "$(rtlddir)/$(rtld-installed-name)"' \ > + > ${@:st=T} > + $(move-if-change) ${@:st=T} ${@:st=h} > +-- > +1.7.9.5 > + > diff --git a/meta/recipes-core/glibc/glibc_2.21.bb > b/meta/recipes-core/glibc/glibc_2.21.bb > index 91feff5..fcef4ff 100644 > --- a/meta/recipes-core/glibc/glibc_2.21.bb > +++ b/meta/recipes-core/glibc/glibc_2.21.bb > @@ -25,6 +25,7 @@ SRC_URI = > "git://sourceware.org/git/glibc.git;branch=${BRANCH} \ > file://0001-Add-unused-attribute.patch \ > > file://0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch \ > file://0001-yes-within-the-path-sets-wrong-config-variables.patch > \ > + file://elf-Makefile-fix-a-typo.patch \ > ${EGLIBCPATCHES} \ >" > EGLIBCPATCHES = "\ > -- > 1.7.9.5 > > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [yocto] [Add xorriso recipe] Add xorriso tool support
> On Apr 1, 2015, at 5:38 AM, Gaurang Shastri wrote: > > xorriso copies file objects from POSIX compliant filesystems into > Rock Ridge enhanced ISO 9660 filesystems and allows session-wise > manipulation of such filesystems. > we have meta-filesystems in meta-openembedded repo, this belongs there for now > Signed-off-by: Gaurang Shastri > --- > meta/recipes-support/xorriso/xorriso_1.3.8.bb | 17 + > 1 file changed, 17 insertions(+) > create mode 100644 meta/recipes-support/xorriso/xorriso_1.3.8.bb > > diff --git a/meta/recipes-support/xorriso/xorriso_1.3.8.bb > b/meta/recipes-support/xorriso/xorriso_1.3.8.bb > new file mode 100644 > index 000..93914b4 > --- /dev/null > +++ b/meta/recipes-support/xorriso/xorriso_1.3.8.bb > @@ -0,0 +1,17 @@ > +DESCRIPTIONS = "xorriso copies file objects from POSIX compliant filesystems > into Rock Ridge enhanced ISO 9660 filesystems and allows session-wise > manipulation of such filesystems" > + > +inherit autotools > + > +DEPENDS += "attr zlib" > + > +SRC_URI = "http://www.gnu.org/software/${BPN}/${BPN}-${PV}.tar.gz"; > + > +SRC_URI[md5sum] = "a0fc534ef8f9589282a189f0e6cdf952" > +SRC_URI[sha256sum] = > "901204634651533f7cbd105eab560534702458258529aac4b2f0fc946992107e" > + > +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" > +LICENSE = "GPLv3" > + > +EXTRA_OECONF = "--disable-libacl" > + > +BBCLASSEXTEND = "nativesdk" > -- > 1.7.9.5 > > -- > ___ > yocto mailing list > yo...@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] busybox issue in latest dizzy
On Wed, Apr 1, 2015 at 5:32 AM, Matt Madison wrote: > I updated to the latest on dizzy and ran into an issue with busybox's > modutils commands failing, complaining about "no gzip/bzip2/xz magic". > I've tracked it down to this patch committed (cd20b3c) on the 21st: > > busybox: libarchive: open_zipped() does not need to check extensions > Backport from busybox 1_22_stable branch: Thanks for testing and reporting this. > I found a thread about this issue on the busybox mailing list archive, > and applied the patch in this message > > http://lists.busybox.net/pipermail/busybox/2014-January/080389.html > > which appears to have fixed the issue. I can submit the patch, if this > isn't already being worked on. Rather than take the risk that this might not be the final fix, perhaps the safest approach is just to revert the offending patch from dizzy? > Thanks, > -Matt > -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [yocto] [Add xorriso recipe] Add xorriso tool support
>> we have meta-filesystems in meta-openembedded repo, this belongs there for >> now OK, sending the patch to meta-filesystems maintainer. -Original Message- From: Khem Raj [mailto:raj.k...@gmail.com] Sent: Wednesday, April 01, 2015 11:38 PM To: Gaurang Shastri Cc: yo...@yoctoproject.org; openembedded-core@lists.openembedded.org Subject: Re: [yocto] [Add xorriso recipe] Add xorriso tool support > On Apr 1, 2015, at 5:38 AM, Gaurang Shastri wrote: > > xorriso copies file objects from POSIX compliant filesystems into Rock > Ridge enhanced ISO 9660 filesystems and allows session-wise > manipulation of such filesystems. > we have meta-filesystems in meta-openembedded repo, this belongs there for now > Signed-off-by: Gaurang Shastri > --- > meta/recipes-support/xorriso/xorriso_1.3.8.bb | 17 + > 1 file changed, 17 insertions(+) > create mode 100644 meta/recipes-support/xorriso/xorriso_1.3.8.bb > > diff --git a/meta/recipes-support/xorriso/xorriso_1.3.8.bb > b/meta/recipes-support/xorriso/xorriso_1.3.8.bb > new file mode 100644 > index 000..93914b4 > --- /dev/null > +++ b/meta/recipes-support/xorriso/xorriso_1.3.8.bb > @@ -0,0 +1,17 @@ > +DESCRIPTIONS = "xorriso copies file objects from POSIX compliant filesystems > into Rock Ridge enhanced ISO 9660 filesystems and allows session-wise > manipulation of such filesystems" > + > +inherit autotools > + > +DEPENDS += "attr zlib" > + > +SRC_URI = "http://www.gnu.org/software/${BPN}/${BPN}-${PV}.tar.gz"; > + > +SRC_URI[md5sum] = "a0fc534ef8f9589282a189f0e6cdf952" > +SRC_URI[sha256sum] = > "901204634651533f7cbd105eab560534702458258529aac4b2f0fc946992107e" > + > +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" > +LICENSE = "GPLv3" > + > +EXTRA_OECONF = "--disable-libacl" > + > +BBCLASSEXTEND = "nativesdk" > -- > 1.7.9.5 > > -- > ___ > yocto mailing list > yo...@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] busybox issue in latest dizzy
On Wed, Apr 1, 2015 at 11:27 AM, Andre McCurdy wrote: > On Wed, Apr 1, 2015 at 5:32 AM, Matt Madison wrote: >> I updated to the latest on dizzy and ran into an issue with busybox's >> modutils commands failing, complaining about "no gzip/bzip2/xz magic". >> I've tracked it down to this patch committed (cd20b3c) on the 21st: >> >> busybox: libarchive: open_zipped() does not need to check extensions >> Backport from busybox 1_22_stable branch: > > Thanks for testing and reporting this. > >> I found a thread about this issue on the busybox mailing list archive, >> and applied the patch in this message >> >> http://lists.busybox.net/pipermail/busybox/2014-January/080389.html >> >> which appears to have fixed the issue. I can submit the patch, if this >> isn't already being worked on. > > Rather than take the risk that this might not be the final fix, > perhaps the safest approach is just to revert the offending patch from > dizzy? That's fine with me, too. Thanks, -Matt > >> Thanks, >> -Matt >> -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] systemd: v219 with stable fixes
Khem, Could you verify this patch and see if this satisfies what you have pointed previously ? Do you think this patch is ready to go to master ? Regards, On Ter, 2015-03-31 at 17:25 -0300, Otavio Salvador wrote: > I am not a heavy user of systemd so I prefer other people (Khem?) to > comment on this ... > > On Tue, Mar 31, 2015 at 5:21 PM, Bottazzini, Bruno > wrote: > > Ping > > > > On Seg, 2015-03-30 at 15:13 -0300, Bruno Bottazzini wrote: > >> Adding patches that fix bugs for 219 version. > >> This will get the same consistency of the stable systemd 219 version. > >> > >> More details: > >> http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v219-stable > >> --- > >> ...remote-fix-certificate-status-memory-leak.patch | 31 + > >> ...ournal-remote-fix-client_cert-memory-leak.patch | 35 + > >> ...0003-tmpfiles-Fix-parse_acl-error-message.patch | 28 + > >> ...-test-utf8-fix-utf16-tests-on-BE-machines.patch | 26 + > >> ...iles-avoid-creating-duplicate-acl-entries.patch | 131 +++ > >> .../0006-shared-time-util-fix-gcc5-warning.patch | 32 + > >> ...time-test-infinity-parsing-in-nanoseconds.patch | 36 + > >> .../0008-bootchart-fix-default-init-path.patch | 44 + > >> ...emctl-bump-NOFILE-only-for-systemctl_main.patch | 44 + > >> ...0-Make-root-s-home-directory-configurable.patch | 89 +- > >> ...-util-avoid-freeing-uninitialized-pointer.patch | 37 + > >> ...11-bootchart-svg-fix-checking-of-list-end.patch | 28 + > >> ...md-add-getrandom-syscall-numbers-for-MIPS.patch | 38 + > >> ...aker-dependencies-between-mount-and-devic.patch | 33 + > >> ...topping-due-to-BindsTo-log-which-unit-cau.patch | 43 + > >> ...grade-message-about-sysctl-overrides-to-d.patch | 30 + > >> ...l-add-some-hints-how-to-override-settings.patch | 39 + > >> .../0017-core-rework-device-state-logic.patch | 912 > >> + > >> .../0018-core-fix-return-value-on-OOM.patch| 26 + > >> ...e-x-machine-unix-prefix-for-the-container.patch | 33 + > >> ...0-shared-AFS-is-also-a-network-filesystem.patch | 25 + > >> ...downgrade-unit-type-not-supported-message.patch | 31 + > >> ...ournal-remote-fix-saving-of-binary-fields.patch | 97 +++ > >> ...ix-Inappropriate-ioctl-for-device-on-ext4.patch | 37 + > >> ...eplace-VLA-with-alloca-to-make-llvm-happy.patch | 53 ++ > >> ...ietly-ignore-ACLs-on-unsupported-filesyst.patch | 84 ++ > >> ...-assume-ac-when-sys-class-power_supply-is.patch | 30 + > >> meta/recipes-core/systemd/systemd_219.bb | 33 +- > >> 28 files changed, 2050 insertions(+), 55 deletions(-) > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0001-journal-remote-fix-certificate-status-memory-leak.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0002-journal-remote-fix-client_cert-memory-leak.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0003-tmpfiles-Fix-parse_acl-error-message.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0004-test-utf8-fix-utf16-tests-on-BE-machines.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0005-tmpfiles-avoid-creating-duplicate-acl-entries.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0006-shared-time-util-fix-gcc5-warning.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0007-test-time-test-infinity-parsing-in-nanoseconds.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0008-bootchart-fix-default-init-path.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0009-systemctl-bump-NOFILE-only-for-systemctl_main.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0010-acl-util-avoid-freeing-uninitialized-pointer.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0011-bootchart-svg-fix-checking-of-list-end.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0012-systemd-add-getrandom-syscall-numbers-for-MIPS.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0013-unit-use-weaker-dependencies-between-mount-and-devic.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0014-unit-When-stopping-due-to-BindsTo-log-which-unit-cau.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0015-sysctl-downgrade-message-about-sysctl-overrides-to-d.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0016-sysctl-add-some-hints-how-to-override-settings.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0017-core-rework-device-state-logic.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0018-core-fix-return-value-on-OOM.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0019-machined-use-x-machine-unix-prefix-for-the-container.patch > >> create mode 100644 > >> meta/recipes-core/systemd/systemd/0020-shared-AFS-is-also-a-network-filesystem.patch > >> create
Re: [OE-core] [PATCH] systemd: v219 with stable fixes
I will try it out. give me a day > On Apr 1, 2015, at 2:08 PM, Bottazzini, Bruno > wrote: > > Khem, > > Could you verify this patch and see if this satisfies what you have > pointed previously ? > > Do you think this patch is ready to go to master ? > > Regards, > > On Ter, 2015-03-31 at 17:25 -0300, Otavio Salvador wrote: >> I am not a heavy user of systemd so I prefer other people (Khem?) to >> comment on this ... >> >> On Tue, Mar 31, 2015 at 5:21 PM, Bottazzini, Bruno >> wrote: >>> Ping >>> >>> On Seg, 2015-03-30 at 15:13 -0300, Bruno Bottazzini wrote: Adding patches that fix bugs for 219 version. This will get the same consistency of the stable systemd 219 version. More details: http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v219-stable --- ...remote-fix-certificate-status-memory-leak.patch | 31 + ...ournal-remote-fix-client_cert-memory-leak.patch | 35 + ...0003-tmpfiles-Fix-parse_acl-error-message.patch | 28 + ...-test-utf8-fix-utf16-tests-on-BE-machines.patch | 26 + ...iles-avoid-creating-duplicate-acl-entries.patch | 131 +++ .../0006-shared-time-util-fix-gcc5-warning.patch | 32 + ...time-test-infinity-parsing-in-nanoseconds.patch | 36 + .../0008-bootchart-fix-default-init-path.patch | 44 + ...emctl-bump-NOFILE-only-for-systemctl_main.patch | 44 + ...0-Make-root-s-home-directory-configurable.patch | 89 +- ...-util-avoid-freeing-uninitialized-pointer.patch | 37 + ...11-bootchart-svg-fix-checking-of-list-end.patch | 28 + ...md-add-getrandom-syscall-numbers-for-MIPS.patch | 38 + ...aker-dependencies-between-mount-and-devic.patch | 33 + ...topping-due-to-BindsTo-log-which-unit-cau.patch | 43 + ...grade-message-about-sysctl-overrides-to-d.patch | 30 + ...l-add-some-hints-how-to-override-settings.patch | 39 + .../0017-core-rework-device-state-logic.patch | 912 + .../0018-core-fix-return-value-on-OOM.patch| 26 + ...e-x-machine-unix-prefix-for-the-container.patch | 33 + ...0-shared-AFS-is-also-a-network-filesystem.patch | 25 + ...downgrade-unit-type-not-supported-message.patch | 31 + ...ournal-remote-fix-saving-of-binary-fields.patch | 97 +++ ...ix-Inappropriate-ioctl-for-device-on-ext4.patch | 37 + ...eplace-VLA-with-alloca-to-make-llvm-happy.patch | 53 ++ ...ietly-ignore-ACLs-on-unsupported-filesyst.patch | 84 ++ ...-assume-ac-when-sys-class-power_supply-is.patch | 30 + meta/recipes-core/systemd/systemd_219.bb | 33 +- 28 files changed, 2050 insertions(+), 55 deletions(-) create mode 100644 meta/recipes-core/systemd/systemd/0001-journal-remote-fix-certificate-status-memory-leak.patch create mode 100644 meta/recipes-core/systemd/systemd/0002-journal-remote-fix-client_cert-memory-leak.patch create mode 100644 meta/recipes-core/systemd/systemd/0003-tmpfiles-Fix-parse_acl-error-message.patch create mode 100644 meta/recipes-core/systemd/systemd/0004-test-utf8-fix-utf16-tests-on-BE-machines.patch create mode 100644 meta/recipes-core/systemd/systemd/0005-tmpfiles-avoid-creating-duplicate-acl-entries.patch create mode 100644 meta/recipes-core/systemd/systemd/0006-shared-time-util-fix-gcc5-warning.patch create mode 100644 meta/recipes-core/systemd/systemd/0007-test-time-test-infinity-parsing-in-nanoseconds.patch create mode 100644 meta/recipes-core/systemd/systemd/0008-bootchart-fix-default-init-path.patch create mode 100644 meta/recipes-core/systemd/systemd/0009-systemctl-bump-NOFILE-only-for-systemctl_main.patch create mode 100644 meta/recipes-core/systemd/systemd/0010-acl-util-avoid-freeing-uninitialized-pointer.patch create mode 100644 meta/recipes-core/systemd/systemd/0011-bootchart-svg-fix-checking-of-list-end.patch create mode 100644 meta/recipes-core/systemd/systemd/0012-systemd-add-getrandom-syscall-numbers-for-MIPS.patch create mode 100644 meta/recipes-core/systemd/systemd/0013-unit-use-weaker-dependencies-between-mount-and-devic.patch create mode 100644 meta/recipes-core/systemd/systemd/0014-unit-When-stopping-due-to-BindsTo-log-which-unit-cau.patch create mode 100644 meta/recipes-core/systemd/systemd/0015-sysctl-downgrade-message-about-sysctl-overrides-to-d.patch create mode 100644 meta/recipes-core/systemd/systemd/0016-sysctl-add-some-hints-how-to-override-settings.patch create mode 100644 meta/recipes-core/systemd/systemd/0017-core-rework-device-state-logic.patch create mode 100644 meta/recipes-core/systemd/systemd/0018-core-fix-return-value-on-OOM.patch create mode 100644 meta/recipes-core/systemd/systemd/0019-machined-use-x-machine-unix-prefix-for-the-container.patch create mode 100644 meta/recipes-core/system
Re: [OE-core] [PATCH] systemd: v219 with stable fixes
Thanks!!! On Qua, 2015-04-01 at 14:14 -0700, Khem Raj wrote: > I will try it out. give me a day > > > On Apr 1, 2015, at 2:08 PM, Bottazzini, Bruno > > wrote: > > > > Khem, > > > > Could you verify this patch and see if this satisfies what you have > > pointed previously ? > > > > Do you think this patch is ready to go to master ? > > > > Regards, > > > > On Ter, 2015-03-31 at 17:25 -0300, Otavio Salvador wrote: > >> I am not a heavy user of systemd so I prefer other people (Khem?) to > >> comment on this ... > >> > >> On Tue, Mar 31, 2015 at 5:21 PM, Bottazzini, Bruno > >> wrote: > >>> Ping > >>> > >>> On Seg, 2015-03-30 at 15:13 -0300, Bruno Bottazzini wrote: > Adding patches that fix bugs for 219 version. > This will get the same consistency of the stable systemd 219 version. > > More details: > http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v219-stable > --- > ...remote-fix-certificate-status-memory-leak.patch | 31 + > ...ournal-remote-fix-client_cert-memory-leak.patch | 35 + > ...0003-tmpfiles-Fix-parse_acl-error-message.patch | 28 + > ...-test-utf8-fix-utf16-tests-on-BE-machines.patch | 26 + > ...iles-avoid-creating-duplicate-acl-entries.patch | 131 +++ > .../0006-shared-time-util-fix-gcc5-warning.patch | 32 + > ...time-test-infinity-parsing-in-nanoseconds.patch | 36 + > .../0008-bootchart-fix-default-init-path.patch | 44 + > ...emctl-bump-NOFILE-only-for-systemctl_main.patch | 44 + > ...0-Make-root-s-home-directory-configurable.patch | 89 +- > ...-util-avoid-freeing-uninitialized-pointer.patch | 37 + > ...11-bootchart-svg-fix-checking-of-list-end.patch | 28 + > ...md-add-getrandom-syscall-numbers-for-MIPS.patch | 38 + > ...aker-dependencies-between-mount-and-devic.patch | 33 + > ...topping-due-to-BindsTo-log-which-unit-cau.patch | 43 + > ...grade-message-about-sysctl-overrides-to-d.patch | 30 + > ...l-add-some-hints-how-to-override-settings.patch | 39 + > .../0017-core-rework-device-state-logic.patch | 912 > + > .../0018-core-fix-return-value-on-OOM.patch| 26 + > ...e-x-machine-unix-prefix-for-the-container.patch | 33 + > ...0-shared-AFS-is-also-a-network-filesystem.patch | 25 + > ...downgrade-unit-type-not-supported-message.patch | 31 + > ...ournal-remote-fix-saving-of-binary-fields.patch | 97 +++ > ...ix-Inappropriate-ioctl-for-device-on-ext4.patch | 37 + > ...eplace-VLA-with-alloca-to-make-llvm-happy.patch | 53 ++ > ...ietly-ignore-ACLs-on-unsupported-filesyst.patch | 84 ++ > ...-assume-ac-when-sys-class-power_supply-is.patch | 30 + > meta/recipes-core/systemd/systemd_219.bb | 33 +- > 28 files changed, 2050 insertions(+), 55 deletions(-) > create mode 100644 > meta/recipes-core/systemd/systemd/0001-journal-remote-fix-certificate-status-memory-leak.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0002-journal-remote-fix-client_cert-memory-leak.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0003-tmpfiles-Fix-parse_acl-error-message.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0004-test-utf8-fix-utf16-tests-on-BE-machines.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0005-tmpfiles-avoid-creating-duplicate-acl-entries.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0006-shared-time-util-fix-gcc5-warning.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0007-test-time-test-infinity-parsing-in-nanoseconds.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0008-bootchart-fix-default-init-path.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0009-systemctl-bump-NOFILE-only-for-systemctl_main.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0010-acl-util-avoid-freeing-uninitialized-pointer.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0011-bootchart-svg-fix-checking-of-list-end.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0012-systemd-add-getrandom-syscall-numbers-for-MIPS.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0013-unit-use-weaker-dependencies-between-mount-and-devic.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0014-unit-When-stopping-due-to-BindsTo-log-which-unit-cau.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0015-sysctl-downgrade-message-about-sysctl-overrides-to-d.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0016-sysctl-add-some-hints-how-to-override-settings.patch > create mode 100644 > meta/recipes-core/systemd/systemd/0017-core-rework-device-state-logic.patch > create mode 100644 > met
[OE-core] populate_sdk error
Hi, I'm getting the following when running populate_sdk with a dizzy build. Angstrom distro workstation OS is debian wheezy gcc (Debian 4.7.2-5) 4.7.2 Any thoughts what I'm doing wrong? Thanks, Cliff NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_configure (log file is located at /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863) ERROR: Logfile of failure stored in: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing python function gcc_multilib_setup | DEBUG: Python function gcc_multilib_setup finished | DEBUG: Executing shell function do_configure | cat: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/defaults.h: No such file or directory | WARNING: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/run.do_configure.23863:1 exit 1 from | grep -v "\#endif.*GCC_DEFAULTS_H" > /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/gcc-4.9.1/build.x86_64-linux.x86_64-angstromsdk-linux/gcc/defaults.h.new | ERROR: Function failed: do_configure (log file is located at /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863) ERROR: Task 2167 (/scratch/fmc-accuload/oe-build-bbb/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.9.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 1406 tasks of which 1218 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory Waiting for 0 running tasks to finish: Summary: 1 task failed: /scratch/fmc-accuload/oe-build-bbb/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.9.bb, do_configure Summary: There was 1 ERROR message shown, returning a non-zero exit code. -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 3/3] glibc: fix a tpo
On 04/02/2015 01:59 AM, Martin Jansa wrote: On Wed, Apr 01, 2015 at 12:53:02AM -0700, Robert Yang wrote: Fixed a typo: name-target-directory -> make-target-directory You have another typo in commit message. Sorry, I checked again, which typo, please ? // Robert There is no name-target-directory, it should be make-target-directory, this fixed the error: /bin/bash: /path/to/elf/runtime-linker.T: No such file or directory Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed Signed-off-by: Robert Yang --- .../glibc/glibc/elf-Makefile-fix-a-typo.patch | 36 meta/recipes-core/glibc/glibc_2.21.bb |1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch diff --git a/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch new file mode 100644 index 000..ec48006 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch @@ -0,0 +1,36 @@ +From 6207fb45553ee98f2f326883b7c21b76c8267343 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 31 Mar 2015 02:31:25 -0700 +Subject: [PATCH] elf/Makefile: fix a typo + +Fixed a typo: +name-target-directory -> make-target-directory + +There is no name-target-directory, it should be make-target-directory, +this fixed the error: +/bin/bash: /path/to/elf/runtime-linker.T: No such file or directory +Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + elf/Makefile |2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/elf/Makefile b/elf/Makefile +index e5b142c..62fe245 100644 +--- a/elf/Makefile b/elf/Makefile +@@ -358,7 +358,7 @@ $(objpfx)interp.os: $(elf-objpfx)runtime-linker.h + + $(elf-objpfx)runtime-linker.h: $(elf-objpfx)runtime-linker.st; @: + $(elf-objpfx)runtime-linker.st: $(common-objpfx)config.make +- $(name-target-directory) ++ $(make-target-directory) + echo '#define RUNTIME_LINKER "$(rtlddir)/$(rtld-installed-name)"' \ + > ${@:st=T} + $(move-if-change) ${@:st=T} ${@:st=h} +-- +1.7.9.5 + diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb index 91feff5..fcef4ff 100644 --- a/meta/recipes-core/glibc/glibc_2.21.bb +++ b/meta/recipes-core/glibc/glibc_2.21.bb @@ -25,6 +25,7 @@ SRC_URI = "git://sourceware.org/git/glibc.git;branch=${BRANCH} \ file://0001-Add-unused-attribute.patch \ file://0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch \ file://0001-yes-within-the-path-sets-wrong-config-variables.patch \ + file://elf-Makefile-fix-a-typo.patch \ ${EGLIBCPATCHES} \ " EGLIBCPATCHES = "\ -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/3] piglit: add PACKAGECONFIG for freeglut
On 04/02/2015 01:59 AM, Martin Jansa wrote: On Wed, Apr 01, 2015 at 12:53:00AM -0700, Robert Yang wrote: Signed-off-by: Robert Yang --- meta/recipes-graphics/piglit/piglit_git.bb |3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 68ac7e7..e33e4a7 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -21,6 +21,9 @@ REQUIRED_DISTRO_FEATURES = "x11" Does this change resolve: REQUIRED_DISTRO_FEATURES = "x11" ? If yes, then you should remove it. I'm afraid not since it depends on virtual/libx11. // Robert # contents out of $S and $B. B="${S}" +PACKAGECONFIG ??= "" +PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut," + # CMake sets the rpath at build time with the source tree, and will reset it at # install time. As we don't install this doesn't happen, so force the rpath to # what we need. -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 3/3] glibc: fix a tpo
On Thu, Apr 02, 2015 at 11:12:27AM +0800, Robert Yang wrote: > > > On 04/02/2015 01:59 AM, Martin Jansa wrote: > > On Wed, Apr 01, 2015 at 12:53:02AM -0700, Robert Yang wrote: > >> Fixed a typo: > >> name-target-directory -> make-target-directory > > > > You have another typo in commit message. > > Sorry, I checked again, which typo, please ? "fix a TPO" > // Robert > > > > >> There is no name-target-directory, it should be make-target-directory, > >> this fixed the error: > >> /bin/bash: /path/to/elf/runtime-linker.T: No such file or directory > >> Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed > >> > >> Signed-off-by: Robert Yang > >> --- > >> .../glibc/glibc/elf-Makefile-fix-a-typo.patch | 36 > >> > >> meta/recipes-core/glibc/glibc_2.21.bb |1 + > >> 2 files changed, 37 insertions(+) > >> create mode 100644 > >> meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch > >> > >> diff --git a/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch > >> b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch > >> new file mode 100644 > >> index 000..ec48006 > >> --- /dev/null > >> +++ b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch > >> @@ -0,0 +1,36 @@ > >> +From 6207fb45553ee98f2f326883b7c21b76c8267343 Mon Sep 17 00:00:00 2001 > >> +From: Robert Yang > >> +Date: Tue, 31 Mar 2015 02:31:25 -0700 > >> +Subject: [PATCH] elf/Makefile: fix a typo > >> + > >> +Fixed a typo: > >> +name-target-directory -> make-target-directory > >> + > >> +There is no name-target-directory, it should be make-target-directory, > >> +this fixed the error: > >> +/bin/bash: /path/to/elf/runtime-linker.T: No such file or directory > >> +Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed > >> + > >> +Upstream-Status: Pending > >> + > >> +Signed-off-by: Robert Yang > >> +--- > >> + elf/Makefile |2 +- > >> + 1 file changed, 1 insertion(+), 1 deletion(-) > >> + > >> +diff --git a/elf/Makefile b/elf/Makefile > >> +index e5b142c..62fe245 100644 > >> +--- a/elf/Makefile > >> b/elf/Makefile > >> +@@ -358,7 +358,7 @@ $(objpfx)interp.os: $(elf-objpfx)runtime-linker.h > >> + > >> + $(elf-objpfx)runtime-linker.h: $(elf-objpfx)runtime-linker.st; @: > >> + $(elf-objpfx)runtime-linker.st: $(common-objpfx)config.make > >> +- $(name-target-directory) > >> ++ $(make-target-directory) > >> + echo '#define RUNTIME_LINKER "$(rtlddir)/$(rtld-installed-name)"' \ > >> + > ${@:st=T} > >> + $(move-if-change) ${@:st=T} ${@:st=h} > >> +-- > >> +1.7.9.5 > >> + > >> diff --git a/meta/recipes-core/glibc/glibc_2.21.bb > >> b/meta/recipes-core/glibc/glibc_2.21.bb > >> index 91feff5..fcef4ff 100644 > >> --- a/meta/recipes-core/glibc/glibc_2.21.bb > >> +++ b/meta/recipes-core/glibc/glibc_2.21.bb > >> @@ -25,6 +25,7 @@ SRC_URI = > >> "git://sourceware.org/git/glibc.git;branch=${BRANCH} \ > >> file://0001-Add-unused-attribute.patch \ > >> > >> file://0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch \ > >> > >> file://0001-yes-within-the-path-sets-wrong-config-variables.patch \ > >> + file://elf-Makefile-fix-a-typo.patch \ > >> ${EGLIBCPATCHES} \ > >> " > >> EGLIBCPATCHES = "\ > >> -- > >> 1.7.9.5 > >> > >> -- > >> ___ > >> Openembedded-core mailing list > >> Openembedded-core@lists.openembedded.org > >> http://lists.openembedded.org/mailman/listinfo/openembedded-core > > -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 3/3] glibc: fix a tpo
On 04/02/2015 12:37 PM, Martin Jansa wrote: On Thu, Apr 02, 2015 at 11:12:27AM +0800, Robert Yang wrote: On 04/02/2015 01:59 AM, Martin Jansa wrote: On Wed, Apr 01, 2015 at 12:53:02AM -0700, Robert Yang wrote: Fixed a typo: name-target-directory -> make-target-directory You have another typo in commit message. Sorry, I checked again, which typo, please ? "fix a TPO" Ah, yes, thanks, I updated it in the repo. git://git.openembedded.org/openembedded-core-contrib rbt/3fixes // Robert // Robert There is no name-target-directory, it should be make-target-directory, this fixed the error: /bin/bash: /path/to/elf/runtime-linker.T: No such file or directory Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed Signed-off-by: Robert Yang --- .../glibc/glibc/elf-Makefile-fix-a-typo.patch | 36 meta/recipes-core/glibc/glibc_2.21.bb |1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch diff --git a/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch new file mode 100644 index 000..ec48006 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch @@ -0,0 +1,36 @@ +From 6207fb45553ee98f2f326883b7c21b76c8267343 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 31 Mar 2015 02:31:25 -0700 +Subject: [PATCH] elf/Makefile: fix a typo + +Fixed a typo: +name-target-directory -> make-target-directory + +There is no name-target-directory, it should be make-target-directory, +this fixed the error: +/bin/bash: /path/to/elf/runtime-linker.T: No such file or directory +Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + elf/Makefile |2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/elf/Makefile b/elf/Makefile +index e5b142c..62fe245 100644 +--- a/elf/Makefile b/elf/Makefile +@@ -358,7 +358,7 @@ $(objpfx)interp.os: $(elf-objpfx)runtime-linker.h + + $(elf-objpfx)runtime-linker.h: $(elf-objpfx)runtime-linker.st; @: + $(elf-objpfx)runtime-linker.st: $(common-objpfx)config.make +- $(name-target-directory) ++ $(make-target-directory) + echo '#define RUNTIME_LINKER "$(rtlddir)/$(rtld-installed-name)"' \ + > ${@:st=T} + $(move-if-change) ${@:st=T} ${@:st=h} +-- +1.7.9.5 + diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb index 91feff5..fcef4ff 100644 --- a/meta/recipes-core/glibc/glibc_2.21.bb +++ b/meta/recipes-core/glibc/glibc_2.21.bb @@ -25,6 +25,7 @@ SRC_URI = "git://sourceware.org/git/glibc.git;branch=${BRANCH} \ file://0001-Add-unused-attribute.patch \ file://0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch \ file://0001-yes-within-the-path-sets-wrong-config-variables.patch \ + file://elf-Makefile-fix-a-typo.patch \ ${EGLIBCPATCHES} \ " EGLIBCPATCHES = "\ -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] uclibc: fix undefinition of '_dl_strchr' in libdl.a
Cc Saul Wold , who is the maintainer of uclibc's recipe. On 2015/4/1 18:00, Junling Zheng wrote: > The orign_path.patch introduced '_dl_strchr' into ldso/ldso/dl-elf.c, and > caused the following undefined referencing compiling error: > > | .../libdl.a(libdl.os): In function `search_for_named_library': > | .../dl-elf.c:156: undefined reference to `_dl_strchr' > | collect2: error: ld returned 1 exit status > > I found this problem when compiling gdb in static mode using uclibc. > > Add the definition of '_dl_strchr' to fix it. The '_dl_strstr' is added > as well. > > Signed-off-by: Junling Zheng > --- > meta/recipes-core/uclibc/uclibc-git.inc| 1 + > ...-define-_dl_strchr-and-_dl_strstr-if-not-.patch | 39 > ++ > 2 files changed, 40 insertions(+) > create mode 100644 > meta/recipes-core/uclibc/uclibc-git/0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch > > diff --git a/meta/recipes-core/uclibc/uclibc-git.inc > b/meta/recipes-core/uclibc/uclibc-git.inc > index a2b2353..68240dc 100644 > --- a/meta/recipes-core/uclibc/uclibc-git.inc > +++ b/meta/recipes-core/uclibc/uclibc-git.inc > @@ -25,5 +25,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master \ > file://0002-wire-setns-syscall.patch \ > file://0001-Define-IPTOS_CLASS_-macros-according-to-RFC-2474.patch \ > file://0001-timex-Sync-with-glibc.patch \ > + file://0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch \ > " > S = "${WORKDIR}/git" > diff --git > a/meta/recipes-core/uclibc/uclibc-git/0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch > > b/meta/recipes-core/uclibc/uclibc-git/0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch > new file mode 100644 > index 000..e94fbba > --- /dev/null > +++ > b/meta/recipes-core/uclibc/uclibc-git/0001-dl-string.h-define-_dl_strchr-and-_dl_strstr-if-not-.patch > @@ -0,0 +1,39 @@ > +From eb1806f581a134599c1ef26975f514e35663f8c2 Mon Sep 17 00:00:00 2001 > +From: Junling Zheng > +Date: Tue, 31 Mar 2015 12:00:58 + > +Subject: [PATCH] dl-string.h: define _dl_strchr and _dl_strstr if not > + IS_IN_rtld > + > +We should define _dl_strchr and _dl_strstr when not defining IS_IN_rtld. > +Otherwise, if someone use _dl_strchr or _dl_strstr in the ldso/ldso/dl- > +elf.c, libdl.a will lack the declaration of '_dl_strchr' or '_dl_strstr', > +and there will be an compiling error like the following: > + > + dl-elf.c:156: undefined reference to `_dl_strchr' > + > +So, add the definition of _dl_strchr and _dl_strstr. > + > +Upstream-Status: Submitted > [http://lists.uclibc.org/pipermail/uclibc/2015-March/04.html] > + > +Signed-off-by: Junling Zheng > +--- > + ldso/include/dl-string.h | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h > +index aacad10..14ae617 100644 > +--- a/ldso/include/dl-string.h > b/ldso/include/dl-string.h > +@@ -204,7 +204,9 @@ static __always_inline char * > _dl_get_last_path_component(char *path) > + # define _dl_strcat strcat > + # define _dl_strcpy strcpy > + # define _dl_strcmp strcmp > ++# define _dl_strchr strchr > + # define _dl_strrchr strrchr > ++# define _dl_strstr strstr > + # define _dl_memcpy memcpy > + # define _dl_memcmp memcmp > + # define _dl_memset memset > +-- > +1.8.3.4 > + > -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] uclibc: fix undefinition of '_dl_strchr' in libdl.a
On April 1, 2015 12:00:25 PM GMT+02:00, Junling Zheng wrote: >The orign_path.patch introduced '_dl_strchr' into ldso/ldso/dl-elf.c, Please fix the origin patch directly. Thanks, -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core