Skip to contentSkip to conversation

Peter Seebach : pseudo_1.6.0.bb: uprev to pseudo 1.6

oe-commits Martin Jansa 3 participants 3 messages Jul 21, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 16 lines · On Wed, Jul 16, 2014 at 09:25:25AM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: b8f5d6b493ec759a97b92cf9b4c07ad8a8114de6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b8f5d6b493ec759a97b92cf9b4c07ad8a8114de6
Author: Peter Seebach <[email protected]>
Date:   Mon Jul 14 14:12:29 2014 -0500

pseudo_1.6.0.bb: uprev to pseudo 1.6

This uprevs pseudo to 1.6. This merges in all of the existing fixes, and also adds partial support for extended attributes, including storing arbitrary extended attributes in the database, and also interpreting the posix permissions ACLs as chmod requests.

Quoted 7 lines

The extended attribute support means we need xattr.h, the simplest way to be sure of this is to build attr before pseudo, which doesn't take long.

I know there is 1.6.1 version in pseudo_git.bb but 1.6.0 is still default version and target version fails to build with:

| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm  -O2 -pipe -g -feliminate-unused-debug-types -pipe -std=gnu99 -Wall -W -Wextra -fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE -O2 -pipe -g -feliminate-unused-debug-types -DPSEUDO_PREFIX='"/usr"' -DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"' -DPSEUDO_LIBDIR='"lib/pseudo/lib"' -DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.6.0"' -DUSE_MEMORY_DB -DPSEUDO_FORCE_ASYNC -DPSEUDO_PASSWD_FALLBACK='""' -O2 -g -L/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib -I/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include  -o bin/pseudolog pseudolog.o pseudo_client.o pseudo_ipc.o \
| 		pseudo_db.o pseudo_tables.o pseudo_util.o /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/libsqlite3.a -lpthread -ldl -lpthread
| pseudo.c:556: error: undefined reference to 'memcpy', version 'GLIBC_2.0'

..

full log
http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20140721_022210.log/3_min/failed/pseudo.log

Can you please check it?

Quoted 77 lines

---

 meta/recipes-devtools/pseudo/pseudo.inc      |  6 +-----
 meta/recipes-devtools/pseudo/pseudo_1.5.1.bb |  4 ++++
 meta/recipes-devtools/pseudo/pseudo_1.6.0.bb | 10 ++++++++++
 meta/recipes-devtools/pseudo/pseudo_git.bb   |  4 ++--
 4 files changed, 17 insertions(+), 7 deletions(-)
meta/recipes-devtools/pseudo/pseudo.inc +1 -5
index 42738ab..11a8514 100644
@@ -7,11 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/pseudo"
 LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad"
 SECTION = "base"
 LICENSE = "LGPL2.1"
-DEPENDS = "sqlite3"
-
-SRC_URI_append_class-nativesdk = " file://symver.patch"
-
-SRC_URI_append_class-native = " file://symver.patch"
+DEPENDS = "sqlite3 attr"
 
 FILES_${PN} = "${prefix}/lib/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo"
 FILES_${PN}-dbg += "${prefix}/lib/pseudo/lib*/.debug"
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +4 -0
index 47291fd..8d562ec 100644
@@ -10,6 +10,10 @@ SRC_URI = " \
     file://pseudo-fchmodat-permissions.patch \
 "
 
+SRC_URI_append_class-nativesdk = " file://symver.patch"
+
+SRC_URI_append_class-native = " file://symver.patch"
+
 SRC_URI[md5sum] = "5ec67c7bff5fe68c56de500859c19172"
 SRC_URI[sha256sum] = "3b896f592f4d568569bd02323fad2d6b8c398e16ca36ee5a8947d2ff6c1d3d52"
 
meta/recipes-devtools/pseudo/pseudo_1.6.0.bb new file +10 -0
new file mode 100644
index 0000000..e92c4d7
@@ -0,0 +1,10 @@
+require pseudo.inc
+
+SRC_URI = " \
+    http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
+"
+
+SRC_URI[md5sum] = "78c3f8aa8efe8cf15a2b21261174e3b6"
+SRC_URI[sha256sum] = "e24f526443b31c3292ec5ba04950d230b5388e8983c7e192e9e489c007f3dba3"
+
+PSEUDO_EXTRA_OPTS ?= "--enable-force-async"
meta/recipes-devtools/pseudo/pseudo_git.bb +2 -2
index 66fc85f..ef258fa 100644
@@ -1,7 +1,7 @@
 require pseudo.inc
 
-SRCREV = "b9eb2b5633b5a23efe72c950494728d93c2b5823"
-PV = "1.5.1+git${SRCPV}"
+SRCREV = "512b84fb539c970464a93107995edf0e775d13fa"
+PV = "1.6.0+git${SRCPV}"
 
 DEFAULT_PREFERENCE = "-1"
 
Signature · 5 lines
-- 
_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 30 lines · Martin Jansa
Quoted 16 lines · On Wed, Jul 16, 2014 at 09:25:25AM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: b8f5d6b493ec759a97b92cf9b4c07ad8a8114de6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b8f5d6b493ec759a97b92cf9b4c07ad8a8114de6
Author: Peter Seebach <[email protected]>
Date:   Mon Jul 14 14:12:29 2014 -0500

pseudo_1.6.0.bb: uprev to pseudo 1.6

This uprevs pseudo to 1.6. This merges in all of the existing fixes, and also adds partial support for extended attributes, including storing arbitrary extended attributes in the database, and also interpreting the posix permissions ACLs as chmod requests.

Quoted 7 lines

The extended attribute support means we need xattr.h, the simplest way to be sure of this is to build attr before pseudo, which doesn't take long.

I know there is 1.6.1 version in pseudo_git.bb but 1.6.0 is still default version and target version fails to build with:

| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm  -O2 -pipe -g -feliminate-unused-debug-types -pipe -std=gnu99 -Wall -W -Wextra -fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE -O2 -pipe -g -feliminate-unused-debug-types -DPSEUDO_PREFIX='"/usr"' -DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"' -DPSEUDO_LIBDIR='"lib/pseudo/lib"' -DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.6.0"' -DUSE_MEMORY_DB -DPSEUDO_FORCE_ASYNC -DPSEUDO_PASSWD_FALLBACK='""' -O2 -g -L/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib -I/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include  -o bin/pseudolog pseudolog.o pseudo_client.o pseudo_ipc.o \
| 		pseudo_db.o pseudo_tables.o pseudo_util.o /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/libsqlite3.a -lpthread -ldl -lpthread
| pseudo.c:556: error: undefined reference to 'memcpy', version 'GLIBC_2.0'
Quoted 6 lines

..

full log
http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20140721_022210.log/3_min/failed/pseudo.log

Can you please check it?

This is the exact error fixed by one of the commits in 1.6.1. Look at the git log and it's clear how it was fixed. (Changing an #if #else...)

1.6.0 should have been removed if 1.6.1 went in.

--Mark

Quoted 80 lines
Quoted 77 lines

---

  meta/recipes-devtools/pseudo/pseudo.inc      |  6 +-----
  meta/recipes-devtools/pseudo/pseudo_1.5.1.bb |  4 ++++
  meta/recipes-devtools/pseudo/pseudo_1.6.0.bb | 10 ++++++++++
  meta/recipes-devtools/pseudo/pseudo_git.bb   |  4 ++--
  4 files changed, 17 insertions(+), 7 deletions(-)
meta/recipes-devtools/pseudo/pseudo.inc +1 -5
index 42738ab..11a8514 100644
@@ -7,11 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/pseudo"
  LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad"
  SECTION = "base"
  LICENSE = "LGPL2.1"
-DEPENDS = "sqlite3"
-
-SRC_URI_append_class-nativesdk = " file://symver.patch"
-
-SRC_URI_append_class-native = " file://symver.patch"
+DEPENDS = "sqlite3 attr"
 
  FILES_${PN} = "${prefix}/lib/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo"
  FILES_${PN}-dbg += "${prefix}/lib/pseudo/lib*/.debug"
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +4 -0
index 47291fd..8d562ec 100644
@@ -10,6 +10,10 @@ SRC_URI = " \
      file://pseudo-fchmodat-permissions.patch \
  "
 
+SRC_URI_append_class-nativesdk = " file://symver.patch"
+
+SRC_URI_append_class-native = " file://symver.patch"
+
  SRC_URI[md5sum] = "5ec67c7bff5fe68c56de500859c19172"
  SRC_URI[sha256sum] = "3b896f592f4d568569bd02323fad2d6b8c398e16ca36ee5a8947d2ff6c1d3d52"
 
meta/recipes-devtools/pseudo/pseudo_1.6.0.bb new file +10 -0
new file mode 100644
index 0000000..e92c4d7
@@ -0,0 +1,10 @@
+require pseudo.inc
+
+SRC_URI = " \
+    http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
+"
+
+SRC_URI[md5sum] = "78c3f8aa8efe8cf15a2b21261174e3b6"
+SRC_URI[sha256sum] = "e24f526443b31c3292ec5ba04950d230b5388e8983c7e192e9e489c007f3dba3"
+
+PSEUDO_EXTRA_OPTS ?= "--enable-force-async"
meta/recipes-devtools/pseudo/pseudo_git.bb +2 -3
index 66fc85f..ef258fa 100644
@@ -1,7 +1,7 @@
  require pseudo.inc
 
-SRCREV = "b9eb2b5633b5a23efe72c950494728d93c2b5823"
-PV = "1.5.1+git${SRCPV}"
+SRCREV = "512b84fb539c970464a93107995edf0e775d13fa"
+PV = "1.6.0+git${SRCPV}"
 
  DEFAULT_PREFERENCE = "-1"
 
 
--

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

#3 lore raw
In reply to Martin Jansa
Quoted 1 line · On Tue, 22 Jul 2014 00:32:40 +0200 Martin Jansa <[email protected]> wrote:

I know there is 1.6.1 version in pseudo_git.bb but 1.6.0 is still default version and target version fails to build with:

Huh. The 1.6.1 version should now be merged, and that fixes this. (This is basically why there's a 1.6.1.)

-s

Signature · 1 line
Listen, get this.  Nobody with a good compiler needs to be justified.