pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53246: fuse-ntfs-3g package not builds on NetBSD-8.0_RC1



>Number:         53246
>Category:       pkg
>Synopsis:       fuse-ntfs-3g package not builds on NetBSD-8.0_RC1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 01 13:35:00 +0000 2018
>Originator:     Jake Slazenger
>Release:        NetBSD-8.0_RC1, pkgsrc-2018Q1
>Organization:
>Environment:
NetBSD localhost 8.0_RC1 NetBSD 8.0_RC1 (RUSTY) #0: Mon Apr 30 10:08:34 MSK 2018  rusty@localhost:/usr/src/src-8.0_RC1/sys/arch/amd64/compile/RUSTY amd64
>Description:
When I try to install fuse-ntfs-3g package via pkgsrc-2018Q1, I'm getting errors in a build phase.

Here's an output:

In file included from ../include/ntfs-3g/mft.h:30:0,
                 from ../include/ntfs-3g/index.h:60,
                 from ../include/ntfs-3g/volume.h:53,
                 from ../include/ntfs-3g/inode.h:34,
                 from ../include/ntfs-3g/attrib.h:33,
                 from ntfs-3g.c:86:
ntfs-3g.c: In function 'usage':
ntfs-3g.c:3528:58: warning: implicit declaration of function 'fuse_version' [-Wimplicit-function-declaration]
  ntfs_log_info(usage_msg, EXEC_NAME, VERSION, FUSE_TYPE, fuse_version(),
                                                          ^
../include/ntfs-3g/logging.h:95:123: note: in definition of macro 'ntfs_log_info'
 #define ntfs_log_info(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_INFO,NULL,FORMAT,##ARGS)
                                                                                                                           ^
ntfs-3g.c: In function 'try_fuse_mount':
ntfs-3g.c:3657:18: warning: passing argument 1 of 'fuse_mount' from incompatible pointer type [-Wincompatible-pointer-types]
  fc = fuse_mount(opts.mnt_point, &margs);
                  ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:156:5: note: expected 'struct fuse *' but argument is of type 'char *'
 int fuse_mount(struct fuse *, const char *);
     ^
ntfs-3g.c:3657:34: warning: passing argument 2 of 'fuse_mount' from incompatible pointer type [-Wincompatible-pointer-types]
  fc = fuse_mount(opts.mnt_point, &margs);
                                  ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:156:5: note: expected 'const char *' but argument is of type 'struct fuse_args *'
 int fuse_mount(struct fuse *, const char *);
     ^
ntfs-3g.c:3657:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  fc = fuse_mount(opts.mnt_point, &margs);
     ^
ntfs-3g.c: In function 'mount_fuse':
ntfs-3g.c:3705:16: warning: passing argument 1 of 'fuse_new' from incompatible pointer type [-Wincompatible-pointer-types]
  fh = fuse_new(ctx->fc, &args , &ntfs_3g_ops, sizeof(ntfs_3g_ops), NULL);
                ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:153:14: note: expected 'struct fuse_args *' but argument is of type 'struct fuse_chan *'
 struct fuse *fuse_new(struct fuse_args *,
              ^
ntfs-3g.c:3705:25: warning: passing argument 2 of 'fuse_new' from incompatible pointer type [-Wincompatible-pointer-types]
  fh = fuse_new(ctx->fc, &args , &ntfs_3g_ops, sizeof(ntfs_3g_ops), NULL);
                         ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:153:14: note: expected 'const struct fuse_operations *' but argument is of type 'struct fuse_args *'
 struct fuse *fuse_new(struct fuse_args *,
              ^
ntfs-3g.c:3705:33: warning: passing argument 3 of 'fuse_new' makes integer from pointer without a cast [-Wint-conversion]
  fh = fuse_new(ctx->fc, &args , &ntfs_3g_ops, sizeof(ntfs_3g_ops), NULL);
                                 ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:153:14: note: expected 'size_t {aka long unsigned int}' but argument is of type 'struct fuse_operations *'
 struct fuse *fuse_new(struct fuse_args *,
              ^
ntfs-3g.c:3705:47: warning: passing argument 4 of 'fuse_new' makes pointer from integer without a cast [-Wint-conversion]
  fh = fuse_new(ctx->fc, &args , &ntfs_3g_ops, sizeof(ntfs_3g_ops), NULL);
                                               ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:153:14: note: expected 'void *' but argument is of type 'long unsigned int'
 struct fuse *fuse_new(struct fuse_args *,
              ^
ntfs-3g.c:3705:7: error: too many arguments to function 'fuse_new'
  fh = fuse_new(ctx->fc, &args , &ntfs_3g_ops, sizeof(ntfs_3g_ops), NULL);
       ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:153:14: note: declared here
 struct fuse *fuse_new(struct fuse_args *,
              ^
ntfs-3g.c:3720:15: warning: passing argument 1 of 'fuse_unmount' from incompatible pointer type [-Wincompatible-pointer-types]
  fuse_unmount(opts.mnt_point, ctx->fc);
               ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:157:6: note: expected 'struct fuse *' but argument is of type 'char *'
 void fuse_unmount(struct fuse *);
      ^
ntfs-3g.c:3720:2: error: too many arguments to function 'fuse_unmount'
  fuse_unmount(opts.mnt_point, ctx->fc);
  ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:157:6: note: declared here
 void fuse_unmount(struct fuse *);
      ^
ntfs-3g.c:3716:1: warning: label 'err_destory' defined but not used [-Wunused-label]
 err_destory:
 ^
ntfs-3g.c: In function 'main':
ntfs-3g.c:3999:15: warning: passing argument 1 of 'fuse_unmount' from incompatible pointer type [-Wincompatible-pointer-types]
  fuse_unmount(opts.mnt_point, ctx->fc);
               ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:157:6: note: expected 'struct fuse *' but argument is of type 'char *'
 void fuse_unmount(struct fuse *);
      ^
ntfs-3g.c:3999:2: error: too many arguments to function 'fuse_unmount'
  fuse_unmount(opts.mnt_point, ctx->fc);
  ^
In file included from ntfs-3g.c:30:0:
/usr/include/fuse.h:157:6: note: declared here
 void fuse_unmount(struct fuse *);
      ^
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgsrc-2018Q1/filesystems/fuse-ntfs-3g/work/ntfs-3g_ntfsprogs-2015.3.14/src
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/pkgsrc-2018Q1/filesystems/fuse-ntfs-3g
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgsrc-2018Q1/filesystems/fuse-ntfs-3g

>How-To-Repeat:
cd $pkgsrc_dir/filesystems/fuse-ntfs-3g
make
>Fix:


Home | Main Index | Thread Index | Old Index