Skip to contentSkip to conversation

mtd-utils: add dependency on acl

PATCH In review Andrea Adami 2 participants 5 messages Aug 21, 2015 – Aug 22, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd-utils: add dependency on acl

After commit 24fde4d do_compile fails:

| mkfs.jffs2.c:70:21: fatal error: sys/acl.h: No such file or directory | #include <sys/acl.h>

Adding acl to the list of dependencies fixes the build.

---
 meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/mtd/mtd-utils_git.bb +1 -1
index 8d4892a..72ce9ed 100644
@@ -5,7 +5,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
                     file://include/common.h;beginline=1;endline=17;md5=ba05b07912a44ea2bf81ce409380049c"
 
-DEPENDS = "zlib lzo e2fsprogs util-linux"
+DEPENDS = "zlib lzo e2fsprogs util-linux acl"
 
 PV = "1.5.1+git${SRCPV}"
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 6 lines · Andrea Adami

After commit 24fde4d do_compile fails:

| mkfs.jffs2.c:70:21: fatal error: sys/acl.h: No such file or directory | #include <sys/acl.h>

Adding acl to the list of dependencies fixes the build.

Unconditionally enabling xattr and acl support is OK for the native build, but for the target both should probably be conditional on their respective DISTRO_FEATURES.

Quoted 26 lines
---
 meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/mtd/mtd-utils_git.bb +1 -2
index 8d4892a..72ce9ed 100644
@@ -5,7 +5,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
                     file://include/common.h;beginline=1;endline=17;md5=ba05b07912a44ea2bf81ce409380049c"
 
-DEPENDS = "zlib lzo e2fsprogs util-linux"
+DEPENDS = "zlib lzo e2fsprogs util-linux acl"
 
 PV = "1.5.1+git${SRCPV}"
 
--

1.9.1

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

#2 lore raw
Quoted 4 lines · Andre McCurdy
Quoted 2 lines · Andrea Adami

After commit 24fde4d do_compile fails:

Quoted 9 lines
Quoted 4 lines

| mkfs.jffs2.c:70:21: fatal error: sys/acl.h: No such file or directory | #include <sys/acl.h>

Adding acl to the list of dependencies fixes the build.

Unconditionally enabling xattr and acl support is OK for the native build, but for the target both should probably be conditional on their respective DISTRO_FEATURES.

I can agree, acl is one distro feature but atm it is not used by nodistro and poky.
So the patch unconditionally -DWITHOUT_XATTR seems wrong...this should be done only if acl is used.

Andrea

Quoted 32 lines

Review

Quoted 8 lines
---
 meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes-devtools/mtd/mtd-utils_git.bb

meta/recipes-devtools/mtd/mtd-utils_git.bb LICENSE = "GPLv2+" · line 5

Quoted 5 lines

index 8d4892a..72ce9ed 100644

meta/recipes-devtools/mtd/mtd-utils_git.bb +0 -0
@@ -5,7 +5,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3

\

Quoted 1 line

file://include/common.h;beginline=1;endline=17;md5=ba05b07912a44ea2bf81ce409380049c"

Quoted 14 lines
meta/recipes-devtools/mtd/mtd-utils_git.bb +1 -2
-DEPENDS = "zlib lzo e2fsprogs util-linux"
+DEPENDS = "zlib lzo e2fsprogs util-linux acl"
 
 PV = "1.5.1+git${SRCPV}"
 
--

1.9.1

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

#3 lore raw
Quoted 19 lines · Andrea Adami
Quoted 4 lines · Andre McCurdy
Quoted 2 lines · Andrea Adami

After commit 24fde4d do_compile fails:

Quoted 9 lines
Quoted 4 lines

| mkfs.jffs2.c:70:21: fatal error: sys/acl.h: No such file or directory | #include <sys/acl.h>

Adding acl to the list of dependencies fixes the build.

Unconditionally enabling xattr and acl support is OK for the native build, but for the target both should probably be conditional on their respective DISTRO_FEATURES.

Quoted 5 lines

I can agree, acl is one distro feature but atm it is not used by nodistro and poky.
So the patch unconditionally -DWITHOUT_XATTR seems wrong...this should be done only if acl is used.

ofc I meant unconditionally removing -DWITHOUT_XATTR ( commit24fde4d983cc8f056177de6c1ad308369f6279ad )
<http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-devtools/mtd/mtd-utils_git.bb?id=24fde4d983cc8f056177de6c1ad308369f6279ad>

Quoted 39 lines

Andrea

Quoted 32 lines

Review

Quoted 8 lines
---
 meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes-devtools/mtd/mtd-utils_git.bb

meta/recipes-devtools/mtd/mtd-utils_git.bb LICENSE = "GPLv2+" · line 5

Quoted 5 lines

index 8d4892a..72ce9ed 100644

meta/recipes-devtools/mtd/mtd-utils_git.bb +0 -0
@@ -5,7 +5,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \

Quoted 1 line

file://include/common.h;beginline=1;endline=17;md5=ba05b07912a44ea2bf81ce409380049c"

Quoted 14 lines
meta/recipes-devtools/mtd/mtd-utils_git.bb +1 -2
-DEPENDS = "zlib lzo e2fsprogs util-linux"
+DEPENDS = "zlib lzo e2fsprogs util-linux acl"
 
 PV = "1.5.1+git${SRCPV}"
 
--

1.9.1

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

#4 lore raw
Quoted 31 lines · Andrea Adami
Quoted 19 lines · Andrea Adami
Quoted 4 lines · Andre McCurdy
Quoted 2 lines · Andrea Adami

After commit 24fde4d do_compile fails:

Quoted 9 lines
Quoted 4 lines

| mkfs.jffs2.c:70:21: fatal error: sys/acl.h: No such file or directory | #include <sys/acl.h>

Adding acl to the list of dependencies fixes the build.

Unconditionally enabling xattr and acl support is OK for the native build, but for the target both should probably be conditional on their respective DISTRO_FEATURES.

Quoted 5 lines

I can agree, acl is one distro feature but atm it is not used by nodistro and poky.
So the patch unconditionally -DWITHOUT_XATTR seems wrong...this should be done only if acl is used.

Quoted 45 lines

ofc I meant unconditionally removing -DWITHOUT_XATTR ( commit24fde4d983cc8f056177de6c1ad308369f6279ad )
<http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-devtools/mtd/mtd-utils_git.bb?id=24fde4d983cc8f056177de6c1ad308369f6279ad>

Quoted 39 lines

Andrea

Quoted 32 lines

Review

Quoted 8 lines
---
 meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes-devtools/mtd/mtd-utils_git.bb

meta/recipes-devtools/mtd/mtd-utils_git.bb LICENSE = "GPLv2+" · line 5

Quoted 5 lines

index 8d4892a..72ce9ed 100644

meta/recipes-devtools/mtd/mtd-utils_git.bb +0 -0
@@ -5,7 +5,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \

Quoted 1 line

file://include/common.h;beginline=1;endline=17;md5=ba05b07912a44ea2bf81ce409380049c"

Quoted 14 lines
meta/recipes-devtools/mtd/mtd-utils_git.bb +1 -2
-DEPENDS = "zlib lzo e2fsprogs util-linux"
+DEPENDS = "zlib lzo e2fsprogs util-linux acl"
 
 PV = "1.5.1+git${SRCPV}"
 
--

1.9.1

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

Please ignore, patch v2 will be sent now.
Cheers

Andrea