NetBSD Problem Report #53246

From www@NetBSD.org  Tue May  1 13:34:09 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 791D87A167
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  1 May 2018 13:34:09 +0000 (UTC)
Message-Id: <20180501133408.405127A262@mollari.NetBSD.org>
Date: Tue,  1 May 2018 13:34:08 +0000 (UTC)
From: jake.slazenger@yandex.com
Reply-To: jake.slazenger@yandex.com
To: gnats-bugs@NetBSD.org
Subject: fuse-ntfs-3g package not builds on NetBSD-8.0_RC1
X-Send-Pr-Version: www-1.0

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 01 13:35:00 +0000 2018
>Closed-Date:    Sat Dec 31 05:59:40 +0000 2022
>Last-Modified:  Sat Dec 31 05:59:40 +0000 2022
>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:

>Release-Note:

>Audit-Trail:
From: Jake Slazenger <jake.slazenger@yandex.com>
To: gnats-admin@netbsd.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/53246: fuse-ntfs-3g package not builds on NetBSD-8.0_RC1
Date: Fri, 4 May 2018 12:37:02 +0300

 OK. On pkgsrc-current-20180502 I'm getting this message while building:

 ERROR: This package is not available for these platforms: NetBSD-*-*.
 ERROR: This package has set PKG_SKIP_REASON:
 ERROR: fuse-ntfs-3g-2017.3.23 is not available for NetBSD-8.0_RC1-x86_64
 *** Error code 1


 So, I have a little question: will it be fixed on NetBSD-8?

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53246: fuse-ntfs-3g package not builds on NetBSD-8.0_RC1
Date: Sun, 6 May 2018 09:10:32 +0000

 On Fri, May 04, 2018 at 09:40:01AM +0000, Jake Slazenger wrote:
  >  OK. On pkgsrc-current-20180502 I'm getting this message while building:
  >  
  >  ERROR: This package is not available for these platforms: NetBSD-*-*.
  >  ERROR: This package has set PKG_SKIP_REASON:
  >  ERROR: fuse-ntfs-3g-2017.3.23 is not available for NetBSD-8.0_RC1-x86_64
  >  *** Error code 1
  >  
  >  So, I have a little question: will it be fixed on NetBSD-8?

 I don't know. It's been a long time since I've really been on top of
 the various fuse API dialects and versions, and the person who used to
 look after this has retired on us. :-/

 It might be useful to bring it up on tech-kern.

 -- 
 David A. Holland
 dholland@netbsd.org

From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
	jake.slazenger@yandex.com
Subject: Re: pkg/53246: fuse-ntfs-3g package not builds on NetBSD-8.0_RC1
Date: Sun, 6 May 2018 19:46:28 +0200

 On Fri, May 04, 2018 at 09:40:01AM +0000, Jake Slazenger wrote:
 > The following reply was made to PR pkg/53246; it has been noted by GNATS.
 > 
 > From: Jake Slazenger <jake.slazenger@yandex.com>
 > To: gnats-admin@netbsd.org
 > Cc: gnats-bugs@NetBSD.org
 > Subject: Re: pkg/53246: fuse-ntfs-3g package not builds on NetBSD-8.0_RC1
 > Date: Fri, 4 May 2018 12:37:02 +0300
 > 
 >  OK. On pkgsrc-current-20180502 I'm getting this message while building:
 >  
 >  ERROR: This package is not available for these platforms: NetBSD-*-*.
 >  ERROR: This package has set PKG_SKIP_REASON:
 >  ERROR: fuse-ntfs-3g-2017.3.23 is not available for NetBSD-8.0_RC1-x86_64
 >  *** Error code 1
 >  
 >  
 >  So, I have a little question: will it be fixed on NetBSD-8?

 Noone is working on supporting the 3rd generation (?) FUSE interface
 AFAIK. So in short: no.

 Joerg

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 17 Apr 2019 13:26:29 +0000
State-Changed-Why:
works with -current, is it fine for you


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 31 Dec 2022 05:59:40 +0000
State-Changed-Why:
Looks like it ought to work on -9, -8 is not going to happen. If not, write
back and I'll reopen the ticket...


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.