Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/f2fs-tools: fix build without blkid
@ 2019-09-22  8:35 Fabrice Fontaine
  2019-09-22 18:17 ` Arnout Vandecappelle
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2019-09-22  8:35 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/c126cb419709367479578b6f118ac9f0d6622689

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...-Makefile.am-fix-build-without-blkid.patch | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch

diff --git a/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch b/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch
new file mode 100644
index 0000000000..aac60e70b6
--- /dev/null
+++ b/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch
@@ -0,0 +1,30 @@
+From 7727b6fe0897849d4fc8f75a48326e902f0ab8b2 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 22 Sep 2019 10:06:35 +0200
+Subject: [PATCH] mkfs/Makefile.am: fix build without blkid
+
+Commit d56232bc1640e2a3ffc412faff42cd8e77dbb8dd hardcoded -lblkid in
+libf2fs_format_la_LDFLAGS which breaks the build with --without-blkid
+option so use ${libblkid_LIBS} instead
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ mkfs/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am
+index cae2f93..83e2389 100644
+--- a/mkfs/Makefile.am
++++ b/mkfs/Makefile.am
+@@ -12,7 +12,7 @@ lib_LTLIBRARIES = libf2fs_format.la
+ libf2fs_format_la_SOURCES = f2fs_format_main.c f2fs_format.c f2fs_format_utils.c
+ libf2fs_format_la_CFLAGS = -DWITH_BLKDISCARD
+ libf2fs_format_la_CPPFLAGS = -I$(top_srcdir)/include
+-libf2fs_format_la_LDFLAGS = -lblkid -luuid -L$(top_builddir)/lib -lf2fs \
++libf2fs_format_la_LDFLAGS = ${libblkid_LIBS} -luuid -L$(top_builddir)/lib -lf2fs \
+ 	-version-info $(FMT_CURRENT):$(FMT_REVISION):$(FMT_AGE)
+ 
+ install-exec-hook:
+-- 
+2.23.0
+
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/f2fs-tools: fix build without blkid
  2019-09-22  8:35 [Buildroot] [PATCH 1/1] package/f2fs-tools: fix build without blkid Fabrice Fontaine
@ 2019-09-22 18:17 ` Arnout Vandecappelle
  2019-09-22 18:28   ` Fabrice Fontaine
  0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2019-09-22 18:17 UTC (permalink / raw)
  To: buildroot



On 22/09/2019 10:35, Fabrice Fontaine wrote:
> Fixes:
>  - http://autobuild.buildroot.org/results/c126cb419709367479578b6f118ac9f0d6622689
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

 Applied to master, thanks.

 I assume you sent the patch upstream?

 Regards,
 Arnout

> ---
>  ...-Makefile.am-fix-build-without-blkid.patch | 30 +++++++++++++++++++
>  1 file changed, 30 insertions(+)
>  create mode 100644 package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch
> 
> diff --git a/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch b/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch
> new file mode 100644
> index 0000000000..aac60e70b6
> --- /dev/null
> +++ b/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch
> @@ -0,0 +1,30 @@
> +From 7727b6fe0897849d4fc8f75a48326e902f0ab8b2 Mon Sep 17 00:00:00 2001
> +From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +Date: Sun, 22 Sep 2019 10:06:35 +0200
> +Subject: [PATCH] mkfs/Makefile.am: fix build without blkid
> +
> +Commit d56232bc1640e2a3ffc412faff42cd8e77dbb8dd hardcoded -lblkid in
> +libf2fs_format_la_LDFLAGS which breaks the build with --without-blkid
> +option so use ${libblkid_LIBS} instead
> +
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +---
> + mkfs/Makefile.am | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am
> +index cae2f93..83e2389 100644
> +--- a/mkfs/Makefile.am
> ++++ b/mkfs/Makefile.am
> +@@ -12,7 +12,7 @@ lib_LTLIBRARIES = libf2fs_format.la
> + libf2fs_format_la_SOURCES = f2fs_format_main.c f2fs_format.c f2fs_format_utils.c
> + libf2fs_format_la_CFLAGS = -DWITH_BLKDISCARD
> + libf2fs_format_la_CPPFLAGS = -I$(top_srcdir)/include
> +-libf2fs_format_la_LDFLAGS = -lblkid -luuid -L$(top_builddir)/lib -lf2fs \
> ++libf2fs_format_la_LDFLAGS = ${libblkid_LIBS} -luuid -L$(top_builddir)/lib -lf2fs \
> + 	-version-info $(FMT_CURRENT):$(FMT_REVISION):$(FMT_AGE)
> + 
> + install-exec-hook:
> +-- 
> +2.23.0
> +
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/f2fs-tools: fix build without blkid
  2019-09-22 18:17 ` Arnout Vandecappelle
@ 2019-09-22 18:28   ` Fabrice Fontaine
  2019-09-22 18:37     ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2019-09-22 18:28 UTC (permalink / raw)
  To: buildroot

Dear Arnout,

Le dim. 22 sept. 2019 ? 20:17, Arnout Vandecappelle <arnout@mind.be> a ?crit :
>
>
>
> On 22/09/2019 10:35, Fabrice Fontaine wrote:
> > Fixes:
> >  - http://autobuild.buildroot.org/results/c126cb419709367479578b6f118ac9f0d6622689
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>
>  Applied to master, thanks.
>
>  I assume you sent the patch upstream?
Nope, I didn't find where to sent it.
>
>  Regards,
>  Arnout
>
> > ---
> >  ...-Makefile.am-fix-build-without-blkid.patch | 30 +++++++++++++++++++
> >  1 file changed, 30 insertions(+)
> >  create mode 100644 package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch
> >
> > diff --git a/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch b/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch
> > new file mode 100644
> > index 0000000000..aac60e70b6
> > --- /dev/null
> > +++ b/package/f2fs-tools/0001-mkfs-Makefile.am-fix-build-without-blkid.patch
> > @@ -0,0 +1,30 @@
> > +From 7727b6fe0897849d4fc8f75a48326e902f0ab8b2 Mon Sep 17 00:00:00 2001
> > +From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > +Date: Sun, 22 Sep 2019 10:06:35 +0200
> > +Subject: [PATCH] mkfs/Makefile.am: fix build without blkid
> > +
> > +Commit d56232bc1640e2a3ffc412faff42cd8e77dbb8dd hardcoded -lblkid in
> > +libf2fs_format_la_LDFLAGS which breaks the build with --without-blkid
> > +option so use ${libblkid_LIBS} instead
> > +
> > +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > +---
> > + mkfs/Makefile.am | 2 +-
> > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > +
> > +diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am
> > +index cae2f93..83e2389 100644
> > +--- a/mkfs/Makefile.am
> > ++++ b/mkfs/Makefile.am
> > +@@ -12,7 +12,7 @@ lib_LTLIBRARIES = libf2fs_format.la
> > + libf2fs_format_la_SOURCES = f2fs_format_main.c f2fs_format.c f2fs_format_utils.c
> > + libf2fs_format_la_CFLAGS = -DWITH_BLKDISCARD
> > + libf2fs_format_la_CPPFLAGS = -I$(top_srcdir)/include
> > +-libf2fs_format_la_LDFLAGS = -lblkid -luuid -L$(top_builddir)/lib -lf2fs \
> > ++libf2fs_format_la_LDFLAGS = ${libblkid_LIBS} -luuid -L$(top_builddir)/lib -lf2fs \
> > +     -version-info $(FMT_CURRENT):$(FMT_REVISION):$(FMT_AGE)
> > +
> > + install-exec-hook:
> > +--
> > +2.23.0
> > +
> >
Best Regards,

Fabrice

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/f2fs-tools: fix build without blkid
  2019-09-22 18:28   ` Fabrice Fontaine
@ 2019-09-22 18:37     ` Baruch Siach
  0 siblings, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2019-09-22 18:37 UTC (permalink / raw)
  To: buildroot

Hi Fabrice,

On Sun, Sep 22 2019, Fabrice Fontaine wrote:
> Le dim. 22 sept. 2019 ? 20:17, Arnout Vandecappelle <arnout@mind.be> a ?crit :
>>
>> On 22/09/2019 10:35, Fabrice Fontaine wrote:
>> > Fixes:
>> >  - http://autobuild.buildroot.org/results/c126cb419709367479578b6f118ac9f0d6622689
>> >
>> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>>
>>  Applied to master, thanks.
>>
>>  I assume you sent the patch upstream?
> Nope, I didn't find where to sent it.

Last year I sent a patch to the addresses listed in the F2FS entry of
the kernel's MAINTAINERS:

To: Jaegeuk Kim <jaegeuk@kernel.org>,
	Chao Yu <yuchao0@huawei.com>
Cc: linux-f2fs-devel at lists.sourceforge.net

It was accepted as:

  https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?id=eefe225a566be9a4d9a176672c40df6585267d5f

baruch

--
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-22 18:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-22  8:35 [Buildroot] [PATCH 1/1] package/f2fs-tools: fix build without blkid Fabrice Fontaine
2019-09-22 18:17 ` Arnout Vandecappelle
2019-09-22 18:28   ` Fabrice Fontaine
2019-09-22 18:37     ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox