Skip to contentSkip to conversation

e2fsprogs: add fuse2fs libintl fix patch

PATCH New Gustavo Zacarias 2 participants 4 messages Jun 23, 2016 – Jun 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e2fsprogs: add fuse2fs libintl fix patch

Fixes:
http://autobuild.buildroot.net/results/ab5/ab5c5b0e234f3d9db78c968334a61a7aef206b7a/

---
 package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch
package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch new file +30 -0
new file mode 100644
index 0000000..61c6965
@@ -0,0 +1,30 @@
+From ff6147dd7197519e561e796d56545c4e11eb43fa Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <[email protected]>
+Date: Wed, 22 Jun 2016 20:55:35 -0300
+Subject: [PATCH e2fsprogs] fuse2fs: needs SYSLIBS
+
+It otherwise leads to build failure when using an unbundled libintl.
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+---
+Status: sent to ML http://marc.info/?l=linux-ext4&m=146664003825136&w=2
+
+ misc/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/misc/Makefile.in b/misc/Makefile.in
+index f67c9c7..e487692 100644
+--- a/misc/Makefile.in
++++ b/misc/Makefile.in
+@@ -389,7 +389,7 @@ fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
+ 	$(E) "	LD $@"
+ 	$(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \
+ 		$(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \
+-		$(CLOCK_GETTIME_LIB)
++		$(CLOCK_GETTIME_LIB) $(SYSLIBS)
+ 
+ journal.o: $(srcdir)/../debugfs/journal.c
+ 	$(E) "	CC $@"
+-- 
+2.7.3
+
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 e2fsprogs: add fuse2fs libintl fix patch

Hello,

package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch line 22

Quoted 8 lines · Gustavo Zacarias
package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch new file +8 -0
+diff --git a/misc/Makefile.in b/misc/Makefile.in
+index f67c9c7..e487692 100644
+--- a/misc/Makefile.in
++++ b/misc/Makefile.in
+@@ -389,7 +389,7 @@ fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
+ 	$(E) "	LD $@"
+ 	$(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \
+ 		$(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \

Isn't $(LIBINTL) supposed to contain -lintl ?

Quoted 2 lines

+- $(CLOCK_GETTIME_LIB)
++ $(CLOCK_GETTIME_LIB) $(SYSLIBS)

Why would -lintl be in $(SYSLIBS) instead of in $(LIBINTL) ?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 e2fsprogs: add fuse2fs libintl fix patch

Quoted 15 lines · Thomas Petazzoni

Hello,

package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch line 22

Quoted 8 lines · Gustavo Zacarias
package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch new file +8 -0
+diff --git a/misc/Makefile.in b/misc/Makefile.in
+index f67c9c7..e487692 100644
+--- a/misc/Makefile.in
++++ b/misc/Makefile.in
+@@ -389,7 +389,7 @@ fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \
+ 	$(E) "	LD $@"
+ 	$(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \
+ 		$(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \

Isn't $(LIBINTL) supposed to contain -lintl ?

Quoted 4 lines
Quoted 2 lines

+- $(CLOCK_GETTIME_LIB)
++ $(CLOCK_GETTIME_LIB) $(SYSLIBS)

Why would -lintl be in $(SYSLIBS) instead of in $(LIBINTL) ?

Hi.
Apparently $(LIBINTL) is for bundled libintl support (internal dep), if it's external (normally out case) then it's in $(SYSLIBS). Regards.

#3 lore raw

PATCH 1/1 e2fsprogs: add fuse2fs libintl fix patch

In reply to Gustavo Zacarias

Hello,

Quoted 8 lines · Gustavo Zacarias

Fixes:
http://autobuild.buildroot.net/results/ab5/ab5c5b0e234f3d9db78c968334a61a7aef206b7a/

---
 package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com