sysutils/fusefs-ntfs breakage

Mykhaylo Yehorov yehorov at gmail.com
Sat Oct 16 12:14:10 UTC 2010


On Mon, Oct 11, 2010 at 21:27, Michael Butler
<imb at protected-networks.net> wrote:
> The most recent update to sysutils/fusefs-ntfs appears to have broken it
> on -current. It looks as if /usr/local/include/glib-2.0 is missing from
> the includes and /usr/local/lib from the libraries ..

I've faced this build failure too. It's described in PR ports/146434.
The following patches for sysutils/fusefs-ntfs will solve this problem.
Could anybody add this to CVS?


$ cat files/patch-libntfs-3g__Makefile.in
--- orig/libntfs-3g/Makefile.in	2010-10-02 14:22:56.000000000 +0300
+++ libntfs-3g/Makefile.in	2010-10-15 18:52:47.000000000 +0300
@@ -414,11 +415,11 @@
 @am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-acls.lo `test -f 'acls.c' || echo
'$(srcdir)/'`acls.c

 libntfs_3g_la-attrib.lo: attrib.c
- at am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -MT libntfs_3g_la-attrib.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-attrib.Tpo -c -o libntfs_3g_la-attrib.lo `test
-f 'attrib.c' || echo '$(srcdir)/'`attrib.c
+ at am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(INCLUDES)
$(DEFAULT_INCLUDES) $(libntfs_3g_la_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
$(CFLAGS) -MT libntfs_3g_la-attrib.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-attrib.Tpo -c -o libntfs_3g_la-attrib.lo `test
-f 'attrib.c' || echo '$(srcdir)/'`attrib.c
 @am__fastdepCC_TRUE@	mv -f $(DEPDIR)/libntfs_3g_la-attrib.Tpo
$(DEPDIR)/libntfs_3g_la-attrib.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='attrib.c'
object='libntfs_3g_la-attrib.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE)
$(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-attrib.lo `test -f 'attrib.c' || echo
'$(srcdir)/'`attrib.c
+ at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(INCLUDES)
$(DEFAULT_INCLUDES) $(libntfs_3g_la_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-attrib.lo `test -f 'attrib.c' || echo
'$(srcdir)/'`attrib.c

 libntfs_3g_la-attrlist.lo: attrlist.c
 @am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -MT libntfs_3g_la-attrlist.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-attrlist.Tpo -c -o libntfs_3g_la-attrlist.lo
`test -f 'attrlist.c' || echo '$(srcdir)/'`attrlist.c
@@ -477,25 +478,25 @@
 @am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-debug.lo `test -f 'debug.c' || echo
'$(srcdir)/'`debug.c

 libntfs_3g_la-device.lo: device.c
- at am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -MT libntfs_3g_la-device.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-device.Tpo -c -o libntfs_3g_la-device.lo `test
-f 'device.c' || echo '$(srcdir)/'`device.c
+ at am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(libntfs_3g_la_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
$(CFLAGS) -MT libntfs_3g_la-device.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-device.Tpo -c -o libntfs_3g_la-device.lo `test
-f 'device.c' || echo '$(srcdir)/'`device.c
 @am__fastdepCC_TRUE@	mv -f $(DEPDIR)/libntfs_3g_la-device.Tpo
$(DEPDIR)/libntfs_3g_la-device.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='device.c'
object='libntfs_3g_la-device.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE)
$(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-device.lo `test -f 'device.c' || echo
'$(srcdir)/'`device.c
+ at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(libntfs_3g_la_CFLAGS) $(' || echo '$(srcdir)/'`device.c

 libntfs_3g_la-dir.lo: dir.c
- at am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -MT libntfs_3g_la-dir.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-dir.Tpo -c -o libntfs_3g_la-dir.lo `test -f
'dir.c' || echo '$(srcdir)/'`dir.c
+ at am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(libntfs_3g_la_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
$(CFLAGS) -MT libntfs_3g_la-dir.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-dir.Tpo -c -o libntfs_3g_la-dir.lo `test -f
'dir.c' || echo '$(srcdir)/'`dir.c
 @am__fastdepCC_TRUE@	mv -f $(DEPDIR)/libntfs_3g_la-dir.Tpo
$(DEPDIR)/libntfs_3g_la-dir.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='dir.c'
object='libntfs_3g_la-dir.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE)
$(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-dir.lo `test -f 'dir.c' || echo
'$(srcdir)/'`dir.c
+ at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(libntfs_3g_la_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-dir.lo `test -f 'dir.c' || echo
'$(srcdir)/'`dir.c

 libntfs_3g_la-efs.lo: efs.c
- at am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -MT libntfs_3g_la-efs.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-efs.Tpo -c -o libntfs_3g_la-efs.lo `test -f
'efs.c' || echo '$(srcdir)/'`efs.c
+ at am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(libntfs_3g_la_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
$(CFLAGS) -MT libntfs_3g_la-efs.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-efs.Tpo -c -o libntfs_3g_la-efs.lo `test -f
'efs.c' || echo '$(srcdir)/'`efs.c
 @am__fastdepCC_TRUE@	mv -f $(DEPDIR)/libntfs_3g_la-efs.Tpo
$(DEPDIR)/libntfs_3g_la-efs.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='efs.c'
object='libntfs_3g_la-efs.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE)
$(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-efs.lo `test -f 'efs.c' || echo
'$(srcdir)/'`efs.c
+ at am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(libntfs_3g_la_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
$(CFLAGS) -c -o libntfs_3g_la-efs.lo `test -f 'efs.c' || echo
'$(srcdir)/'`efs.c

 libntfs_3g_la-index.lo: index.c
 @am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS)
$(CFLAGS) -MT libntfs_3g_la-index.lo -MD -MP -MF
$(DEPDIR)/libntfs_3g_la-index.Tpo -c -o libntfs_3g_la-index.lo `test
-f 'index.c' || echo '$(srcdir)/'`index.c


$ cat files/patch-src__Makefile.in
--- orig/src/Makefile.in	2010-10-15 18:56:09.000000000 +0300
+++ src/Makefile.in	2010-10-15 18:03:11.000000000 +0300
@@ -437,11 +437,11 @@
 @am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<

- at am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(lowntfs_3g_CFLAGS) $(CFLAGS) -MT
lowntfs_3g-lowntfs-3g.o -MD -MP -MF
$(DEPDIR)/lowntfs_3g-lowntfs-3g.Tpo -c -o lowntfs_3g-lowntfs-3g.o
`test -f 'lowntfs-3g.c' || echo '$(srcdir)/'`lowntfs-3g.c
+ at am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(lowntfs_3g_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -MT
lowntfs_3g-lowntfs-3g.o -MD -MP -MF
$(DEPDIR)/lowntfs_3g-lowntfs-3g.Tpo -c -o lowntfs_3g-lowntfs-3g.o
`test -f 'lowntfs-3g.c' || echo '$(srcdir)/'`lowntfs-3g.c
 @am__fastdepCC_TRUE@	mv -f $(DEPDIR)/lowntfs_3g-lowntfs-3g.Tpo
$(DEPDIR)/lowntfs_3g-lowntfs-3g.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='lowntfs-3g.c'
object='lowntfs_3g-lowntfs-3g.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE)
$(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(lowntfs_3g_CFLAGS) $(CFLAGS) -c -o
lowntfs_3g-lowntfs-3g.o `test -f 'lowntfs-3g.c' || echo
'$(srcdir)/'`lowntfs-3g.c
+ at am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(lowntfs_3g_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -c -o
lowntfs_3g-lowntfs-3g.o `test -f 'lowntfs-3g.c' || echo
'$(srcdir)/'`lowntfs-3g.c

 lowntfs_3g-lowntfs-3g.obj: lowntfs-3g.c
 @am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(lowntfs_3g_CFLAGS) $(CFLAGS) -MT
lowntfs_3g-lowntfs-3g.obj -MD -MP -MF
$(DEPDIR)/lowntfs_3g-lowntfs-3g.Tpo -c -o lowntfs_3g-lowntfs-3g.obj
`if test -f 'lowntfs-3g.c'; then $(CYGPATH_W) 'lowntfs-3g.c'; else
$(CYGPATH_W) '$(srcdir)/lowntfs-3g.c'; fi`
@@ -451,11 +451,11 @@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(lowntfs_3g_CFLAGS) $(CFLAGS) -c -o
lowntfs_3g-lowntfs-3g.obj `if test -f 'lowntfs-3g.c'; then
$(CYGPATH_W) 'lowntfs-3g.c'; else $(CYGPATH_W)
'$(srcdir)/lowntfs-3g.c'; fi`

 ntfs_3g-ntfs-3g.o: ntfs-3g.c
- at am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(ntfs_3g_CFLAGS) $(CFLAGS) -MT
ntfs_3g-ntfs-3g.o -MD -MP -MF $(DEPDIR)/ntfs_3g-ntfs-3g.Tpo -c -o
ntfs_3g-ntfs-3g.o `test -f 'ntfs-3g.c' || echo '$(srcdir)/'`ntfs-3g.c
+ at am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(ntfs_3g_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -MT
ntfs_3g-ntfs-3g.o -MD -MP -MF $(DEPDIR)/ntfs_3g-ntfs-3g.Tpo -c -o
ntfs_3g-ntfs-3g.o `test -f 'ntfs-3g.c' || echo '$(srcdir)/'`ntfs-3g.c
 @am__fastdepCC_TRUE@	mv -f $(DEPDIR)/ntfs_3g-ntfs-3g.Tpo
$(DEPDIR)/ntfs_3g-ntfs-3g.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='ntfs-3g.c'
object='ntfs_3g-ntfs-3g.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE)
$(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(ntfs_3g_CFLAGS) $(CFLAGS) -c -o
ntfs_3g-ntfs-3g.o `test -f 'ntfs-3g.c' || echo '$(srcdir)/'`ntfs-3g.c
+ at am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(ntfs_3g_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -c -o
ntfs_3g-ntfs-3g.o `test -f 'ntfs-3g.c' || echo '$(srcdir)/'`ntfs-3g.c

 ntfs_3g-ntfs-3g.obj: ntfs-3g.c
 @am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(ntfs_3g_CFLAGS) $(CFLAGS) -MT
ntfs_3g-ntfs-3g.obj -MD -MP -MF $(DEPDIR)/ntfs_3g-ntfs-3g.Tpo -c -o
ntfs_3g-ntfs-3g.obj `if test -f 'ntfs-3g.c'; then $(CYGPATH_W)
'ntfs-3g.c'; else $(CYGPATH_W) '$(srcdir)/ntfs-3g.c'; fi`


-- 
Mykhaylo Yehorov


More information about the freebsd-ports mailing list