Skip to contentSkip to conversation

build: declare that libf2fs_format uses the blkid library

PATCH In review Theodore Ts'o 3 participants 4 messages Aug 24, 2018 – Aug 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: declare that libf2fs_format uses the blkid library

---
 mkfs/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mkfs/Makefile.am +1 -1
index 32996ba..cae2f93 100644
@@ -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 = -luuid -L$(top_builddir)/lib -lf2fs \
+libf2fs_format_la_LDFLAGS = -lblkid -luuid -L$(top_builddir)/lib -lf2fs \
 	-version-info $(FMT_CURRENT):$(FMT_REVISION):$(FMT_AGE)
 
 install-exec-hook:
Signature · 6 lines
2.18.0.rc0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
#1 lore raw

Ping? This bug was noticed when I was repackaging f2fs-tools for Debian. The problem is that libf2fs_format references the blkid library, and Debian's shared library auditing tools noticed the missing library dependency.

- Ted

Quoted 21 lines · Theodore Ts'o
---
 mkfs/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mkfs/Makefile.am +1 -1
index 32996ba..cae2f93 100644
@@ -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 = -luuid -L$(top_builddir)/lib -lf2fs \
+libf2fs_format_la_LDFLAGS = -lblkid -luuid -L$(top_builddir)/lib -lf2fs \
 	-version-info $(FMT_CURRENT):$(FMT_REVISION):$(FMT_AGE)
 
 install-exec-hook:
Signature · 1 line
2.18.0.rc0

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

#2 lore raw
Quoted 4 lines · Theodore Y. Ts'o

Ping? This bug was noticed when I was repackaging f2fs-tools for Debian. The problem is that libf2fs_format references the blkid library, and Debian's shared library auditing tools noticed the missing library dependency.

Hi Ted,

Thank you for the fix. I added it in my local tree for testing for a while. Let me think about next release having this.

Thanks,

Quoted 21 lines

- Ted

Quoted 17 lines · Theodore Ts'o
---
 mkfs/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mkfs/Makefile.am +1 -1
index 32996ba..cae2f93 100644
@@ -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 = -luuid -L$(top_builddir)/lib -lf2fs \
+libf2fs_format_la_LDFLAGS = -lblkid -luuid -L$(top_builddir)/lib -lf2fs \
 	-version-info $(FMT_CURRENT):$(FMT_REVISION):$(FMT_AGE)
 
Quoted 12 lines
Quoted 4 lines
mkfs/Makefile.am +0 -0
 install-exec-hook:
Signature · 1 line
2.18.0.rc0

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linux-f2fs-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot