Skip to contentSkip to conversation

xfsdump: 3.1.4 -> 3.1.6

PATCH New Chen Qi 1 participant 2 messages May 4, 2017

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH v2 1/2 xfsdump: 3.1.4 -> 3.1.6

From: Robert Yang <[email protected]>

The 3.1.4 doesn't work with xfsprogs 4.7:

| inv_files.o: In function `inv_dirpath':
|xfsdump-3.1.4/invutil/inv_files.c:53: undefined reference to `ASSERT'
| inv_files.o: In function `inv_fstab':
|xfsdump-3.1.4/invutil/inv_files.c:60: undefined reference to `ASSERT'
| inv_files.o: In function `inv_lockfile':
|xfsdump-3.1.4/invutil/inv_files.c:67: undefined reference to `ASSERT'
| inv_files.o: In function `inv_basepath':
|xfsdump-3.1.4/invutil/inv_files.c:74: undefined reference to `ASSERT'
| collect2: error: ld returned 1 exit status
| make[2]: *** [../include/buildrules:33: xfsinvutil] Error 1
---
 .../recipes-utils/xfsdump/{xfsdump_3.1.4.bb => xfsdump_3.1.6.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-filesystems/recipes-utils/xfsdump/{xfsdump_3.1.4.bb => xfsdump_3.1.6.bb} (89%)
meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb renamed from meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.4.bb +2 -2
similarity index 89%
rename from meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.4.bb
rename to meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb
index d5ad0b0b2..8f942ba7c 100644
@@ -13,8 +13,8 @@ DEPENDS = "xfsprogs attr"
 SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${BPN}-${PV}.tar.gz \
     file://remove-install-as-user.patch \
 "
-SRC_URI[md5sum] = "a8b1761be5feb363131e7b506639ad4c"
-SRC_URI[sha256sum] = "570eafd0721515bdd79cb0e295b701d49cdf81e71a0a0ff0df6d4c5cc1960943"
+SRC_URI[md5sum] = "50353cd4f4b435685955363e6044f4d1"
+SRC_URI[sha256sum] = "7f78c11ca527477d90e5e62b0778f3ad96f2b71c19173044e9aca9515fff42d0"
 
 inherit autotools-brokensep
 
Signature · 1 line
2.11.0
author
#1 lore raw

PATCH v2 2/2 xfsdump: fix do_configure failure and remove from blacklist

Add '-D_FILE_OFFSET_BITS=64' to CFLAGS to fix the following do_configure error.

FATAL ERROR: cannot find a valid <xfs/xfs.h> header file.

Although -D_FILE_OFFSET_BITS=64 has already been defined in include/builddefs.in, it only affects the compile process, leaving configure process unaware of this value.

Remove from blacklist as the configure failure has been fixed by this patch.

---
 meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb +2 -2
index 8f942ba7c..ecc746829 100644
@@ -22,6 +22,8 @@ PARALLEL_MAKE = ""
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext"
 
+CFLAGS += "-D_FILE_OFFSET_BITS=64"
+
 EXTRA_OEMAKE += "'LIBTOOL=${HOST_SYS}-libtool' V=1"
 
 do_configure () {
@@ -34,5 +36,3 @@ do_install () {
     oe_runmake install
     oe_runmake install-dev
 }
-
-PNBLACKLIST[xfsdump] ?= "Depends on broken xfsprogs - the recipe will be removed on 2017-09-01 unless the issue is fixed"
Signature · 1 line
2.11.0