NetBSD Problem Report #52846

From www@NetBSD.org  Thu Dec 21 08:24:03 2017
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 639A77A19B
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 21 Dec 2017 08:24:03 +0000 (UTC)
Message-Id: <20171221082401.4F1DD7A1CC@mollari.NetBSD.org>
Date: Thu, 21 Dec 2017 08:24:01 +0000 (UTC)
From: ottavio2006-degen@yahoo.com
Reply-To: ottavio2006-degen@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: fuse-ntfs-3g fails to build on Linux (Centos 7)
X-Send-Pr-Version: www-1.0

>Number:         52846
>Category:       pkg
>Synopsis:       fuse-ntfs-3g fails to build on Linux (Centos 7)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 21 08:25:00 +0000 2017
>Originator:     Ottavio Caruso
>Release:        pkgsrc current
>Organization:
>Environment:
Linux DESKTOP-OQJRLR9 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4
23:52:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
>Description:
"bmake filesystems/fuse-ntfs-3g" fails to build with error:

/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/include/fuse/fuse_common.h:33:2: error: #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
 #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!

Adding "CFLAGS += -D_FILE_OFFSET_BITS=64" to Makefile overcomes the above mentioned error but still fails at:
bmake: don't know how to make ../libfuse-lite/libfuse-lite.la. Stop

bmake: stopped in /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/ntfs-3g_ntfsprogs-2015.3.14/src
*** Error code 2

Full log of "bmake, before modification of Makefile:

=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/.pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/.pkgdb fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for ntfs-3g_ntfsprogs-2015.3.14.tgz
=> Checksum RMD160 OK for ntfs-3g_ntfsprogs-2015.3.14.tgz
=> Checksum SHA512 OK for ntfs-3g_ntfsprogs-2015.3.14.tgz
===> Installing dependencies for fuse-ntfs-3g-2015.3.14
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency libntfs>=2014.2.15: found libntfs-2015.3.14
=> Full dependency fuse>=2.5.2: found fuse-2.9.3
===> Overriding tools for fuse-ntfs-3g-2015.3.14
===> Extracting for fuse-ntfs-3g-2015.3.14
===> Patching for fuse-ntfs-3g-2015.3.14
=> Applying pkgsrc patches for fuse-ntfs-3g-2015.3.14
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-include_ntfs-3g_compat.h
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-include_ntfs-3g_compat.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_ntfs-3g_compat.h,v 1.1 2014/05/19 12:22:06 adam Exp $
|
|NetBSD-1.6.2 does not know about ENOTSUP.
|
|--- include/ntfs-3g/compat.h.orig	2013-01-13 06:46:35.000000000 +0000
|+++ include/ntfs-3g/compat.h
--------------------------
Patching file include/ntfs-3g/compat.h using Plan A...
Hunk #1 succeeded at 71.
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-include_ntfs-3g_types.h
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-include_ntfs-3g_types.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_ntfs-3g_types.h,v 1.2 2015/11/10 17:45:22 adam Exp $
|
|Fix TRUE and FALSE definitions.
|
|--- include/ntfs-3g/types.h.orig	2013-01-13 06:46:35.000000000 +0000
|+++ include/ntfs-3g/types.h
--------------------------
Patching file include/ntfs-3g/types.h using Plan A...
Hunk #1 succeeded at 68.
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-libntfs-3g_compat.c
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-libntfs-3g_compat.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libntfs-3g_compat.c,v 1.1 2015/11/10 17:45:22 adam Exp $
|
|Add missing function for NetBSD.
|
|--- libntfs-3g/compat.c.orig	2015-11-10 14:27:56.000000000 +0000
|+++ libntfs-3g/compat.c
--------------------------
Patching file libntfs-3g/compat.c using Plan A...
Hunk #1 succeeded at 248.
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-libntfs-3g_device.c
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-libntfs-3g_device.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libntfs-3g_device.c,v 1.1 2014/05/19 12:22:06 adam Exp $
|
|--- libntfs-3g/device.c.orig	2014-02-15 14:07:52.000000000 +0000
|+++ libntfs-3g/device.c
--------------------------
Patching file libntfs-3g/device.c using Plan A...
Hunk #1 succeeded at 95.
Hunk #2 succeeded at 600.
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-libntfs-3g_Makefile.in
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-libntfs-3g_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libntfs-3g_Makefile.in,v 1.1 2014/05/19 12:22:06 adam Exp $
|
|--- libntfs-3g/Makefile.in.orig	2014-02-15 14:08:00.000000000 +0000
|+++ libntfs-3g/Makefile.in
--------------------------
Patching file libntfs-3g/Makefile.in using Plan A...
Hunk #1 succeeded at 983 (offset 134 lines).
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-Makefile.in
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.1 2014/05/19 12:22:06 adam Exp $
|
|Don't install README.
|
|--- Makefile.in.orig	2014-05-19 07:53:27.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 841 (offset 87 lines).
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-ntfsprogs_Makefile.in
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-ntfsprogs_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ntfsprogs_Makefile.in,v 1.1 2014/05/19 12:22:06 adam Exp $
|
|Link against already built and installed libntfs.
|
|--- ntfsprogs/Makefile.in.orig	2014-02-15 14:08:00.000000000 +0000
|+++ ntfsprogs/Makefile.in
--------------------------
Patching file ntfsprogs/Makefile.in using Plan A...
Hunk #1 succeeded at 140 (offset 51 lines).
Hunk #2 succeeded at 519 (offset 66 lines).
Hunk #3 succeeded at 1201 (offset 98 lines).
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-ntfsprogs_ntfsclone.c
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-ntfsprogs_ntfsclone.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ntfsprogs_ntfsclone.c,v 1.1 2014/05/19 12:22:06 adam Exp $
|
|--- ntfsprogs/ntfsclone.c.orig	2014-02-15 14:07:52.000000000 +0000
|+++ ntfsprogs/ntfsclone.c
--------------------------
Patching file ntfsprogs/ntfsclone.c using Plan A...
Hunk #1 succeeded at 71 (offset 3 lines).
Hunk #2 succeeded at 177 (offset 3 lines).
Hunk #3 succeeded at 856 (offset 21 lines).
Hunk #4 succeeded at 2258 (offset 3 lines).
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.2 2015/11/10 17:45:22 adam Exp $
|
|Add ENABLE_LOWNTFS condition.
|Link against already built and installed libntfs.
|Install binaries into PREFIX, not the root directory.
|
|--- src/Makefile.in.orig	2015-03-14 14:10:28.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 84.
Hunk #2 succeeded at 113.
Hunk #3 succeeded at 125.
Hunk #4 succeeded at 133.
Hunk #5 succeeded at 141.
Hunk #6 succeeded at 150.
Hunk #7 succeeded at 385.
Hunk #8 succeeded at 411.
Hunk #9 succeeded at 420.
Hunk #10 succeeded at 429.
Hunk #11 succeeded at 1035.
done
=> Verifying /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-src_ntfs-3g.c
=> Applying pkgsrc patch /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/../../filesystems/libntfs/patches/patch-src_ntfs-3g.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ntfs-3g.c,v 1.1 2015/11/10 17:45:22 adam Exp $
|
|NetBSD is missing some functions, so omit them.
|
|--- src/ntfs-3g.c.orig	2015-11-10 16:54:17.000000000 +0000
|+++ src/ntfs-3g.c
--------------------------
Patching file src/ntfs-3g.c using Plan A...
Hunk #1 succeeded at 3706.
done
===> Creating toolchain wrappers for fuse-ntfs-3g-2015.3.14
===> Configuring for fuse-ntfs-3g-2015.3.14
=> Dealing with lowntfs.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /bin/install -c -o oc -g oc
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.tools/bin/mkdir -p
checking for gawk... /bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for x86_64-redhat-linux-gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for x86_64-redhat-linux-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking dependency style of cc... (cached) gcc3
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.cwrapper/bin/ld
checking if the linker (/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 2097152
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking pkg-config is at least version 0.9.0... yes
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for sed... (cached) /bin/sed
checking for ldconfig... /sbin/ldconfig
checking Windows OS... no
checking fuse compatibility... internal
checking for pthread_create in -lpthread... yes
checking Solaris OS... no
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
configure: WARNING: ntfsprogs DCE compliant UUID generation code requires the uuid library.
checking hd.h usability... no
checking hd.h presence... no
checking for hd.h... no
configure: WARNING: ntfsprogs Windows compliant geometry code requires the hd library.
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/disk.h usability... no
checking sys/disk.h presence... no
checking for sys/disk.h... no
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking linux/major.h usability... yes
checking linux/major.h presence... yes
checking for linux/major.h... yes
checking linux/fd.h usability... yes
checking linux/fd.h presence... yes
checking for linux/fd.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking for inttypes.h... (cached) yes
checking linux/hdreg.h usability... yes
checking linux/hdreg.h presence... yes
checking for linux/hdreg.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for struct stat.st_atimensec... no
checking for library containing getmntent... none required
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for basename... yes
checking for daemon... yes
checking for dup2... yes
checking for fdatasync... yes
checking for ffs... yes
checking for getopt_long... yes
checking for hasmntopt... yes
checking for mbsinit... yes
checking for memmove... yes
checking for memset... yes
checking for realpath... yes
checking for regcomp... yes
checking for setlocale... yes
checking for setxattr... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strnlen... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for utime... yes
checking for utimensat... yes
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for fork... yes
checking for memcpy... yes
checking for random... yes
checking for snprintf... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/fuse-lite/Makefile
config.status: creating include/ntfs-3g/Makefile
config.status: creating libfuse-lite/Makefile
config.status: creating libntfs-3g/Makefile
config.status: creating libntfs-3g/libntfs-3g.pc
config.status: creating libntfs-3g/libntfs-3g.script.so
config.status: creating ntfsprogs/Makefile
config.status: creating ntfsprogs/mkntfs.8
config.status: creating ntfsprogs/ntfscat.8
config.status: creating ntfsprogs/ntfsclone.8
config.status: creating ntfsprogs/ntfscluster.8
config.status: creating ntfsprogs/ntfscmp.8
config.status: creating ntfsprogs/ntfscp.8
config.status: creating ntfsprogs/ntfsfix.8
config.status: creating ntfsprogs/ntfsinfo.8
config.status: creating ntfsprogs/ntfslabel.8
config.status: creating ntfsprogs/ntfsls.8
config.status: creating ntfsprogs/ntfsprogs.8
config.status: creating ntfsprogs/ntfsresize.8
config.status: creating ntfsprogs/ntfsundelete.8
config.status: creating ntfsprogs/ntfsdecrypt.8
config.status: creating ntfsprogs/ntfswipe.8
config.status: creating ntfsprogs/ntfstruncate.8
config.status: creating ntfsprogs/ntfsfallocate.8
config.status: creating src/Makefile
config.status: creating src/ntfs-3g.8
config.status: creating src/ntfs-3g.probe.8
config.status: creating src/ntfs-3g.usermap.8
config.status: creating src/ntfs-3g.secaudit.8
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove 'libtoolT': No such file or directory
You can type now 'make' to build ntfs-3g.
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
===> Building for fuse-ntfs-3g-2015.3.14
cc -DHAVE_CONFIG_H -I. -I..   -I/usr/pkg/include  -I../include/ntfs-3g -pipe -I/usr/pkg/include -Wall -MT ntfs_3g_probe-ntfs-3g.probe.o -MD -MP -MF .deps/ntfs_3g_probe-ntfs-3g.probe.Tpo -c -o ntfs_3g_probe-ntfs-3g.probe.o `test -f 'ntfs-3g.probe.c' || echo './'`ntfs-3g.probe.c
mv -f .deps/ntfs_3g_probe-ntfs-3g.probe.Tpo .deps/ntfs_3g_probe-ntfs-3g.probe.Po
/bin/bash ../libtool  --tag=CC    --mode=link cc  -I../include/ntfs-3g  -pipe -I/usr/pkg/include -Wall  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o ntfs-3g.probe ntfs_3g_probe-ntfs-3g.probe.o -lntfs-3g 
libtool: link: cc -I../include/ntfs-3g -pipe -I/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/include -Wall -Wl,-rpath -Wl,/usr/pkg/lib -o ntfs-3g.probe ntfs_3g_probe-ntfs-3g.probe.o  -L/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib/libntfs-3g.so -Wl,-rpath -Wl,/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib -Wl,-rpath -Wl,/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib
cc -DHAVE_CONFIG_H -I. -I..   -I/usr/pkg/include  -I../include/ntfs-3g -pipe -I/usr/pkg/include -Wall -MT ntfs_3g_usermap-usermap.o -MD -MP -MF .deps/ntfs_3g_usermap-usermap.Tpo -c -o ntfs_3g_usermap-usermap.o `test -f 'usermap.c' || echo './'`usermap.c
mv -f .deps/ntfs_3g_usermap-usermap.Tpo .deps/ntfs_3g_usermap-usermap.Po
/bin/bash ../libtool  --tag=CC    --mode=link cc   -I../include/ntfs-3g -pipe -I/usr/pkg/include -Wall   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o ntfs-3g.usermap ntfs_3g_usermap-usermap.o -lntfs-3g 
libtool: link: cc -I../include/ntfs-3g -pipe -I/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/include -Wall -Wl,-rpath -Wl,/usr/pkg/lib -o ntfs-3g.usermap ntfs_3g_usermap-usermap.o  -L/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib/libntfs-3g.so -Wl,-rpath -Wl,/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib -Wl,-rpath -Wl,/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib
cc -DHAVE_CONFIG_H -I. -I..   -I/usr/pkg/include  -I../include/ntfs-3g -pipe -I/usr/pkg/include -Wall -MT ntfs_3g_secaudit-secaudit.o -MD -MP -MF .deps/ntfs_3g_secaudit-secaudit.Tpo -c -o ntfs_3g_secaudit-secaudit.o `test -f 'secaudit.c' || echo './'`secaudit.c
mv -f .deps/ntfs_3g_secaudit-secaudit.Tpo .deps/ntfs_3g_secaudit-secaudit.Po
/bin/bash ../libtool  --tag=CC    --mode=link cc   -I../include/ntfs-3g -pipe -I/usr/pkg/include -Wall   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o ntfs-3g.secaudit ntfs_3g_secaudit-secaudit.o -lntfs-3g 
libtool: link: cc -I../include/ntfs-3g -pipe -I/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/include -Wall -Wl,-rpath -Wl,/usr/pkg/lib -o ntfs-3g.secaudit ntfs_3g_secaudit-secaudit.o  -L/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib/libntfs-3g.so -Wl,-rpath -Wl,/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib -Wl,-rpath -Wl,/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/lib
cc -DHAVE_CONFIG_H -I. -I..   -I/usr/pkg/include  			 -DFUSE_USE_VERSION=26 		 -I../include/fuse-lite 			 -I../include/ntfs-3g -pipe -I/usr/pkg/include -Wall -MT ntfs_3g-ntfs-3g.o -MD -MP -MF .deps/ntfs_3g-ntfs-3g.Tpo -c -o ntfs_3g-ntfs-3g.o `test -f 'ntfs-3g.c' || echo './'`ntfs-3g.c
In file included from /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/include/fuse/fuse.h:26:0,
                 from /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/include/fuse.h:9,
                 from ntfs-3g.c:30:
/home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/.buildlink/include/fuse/fuse_common.h:33:2: error: #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
 #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
  ^
*** Error code 1

Stop.
bmake: stopped in /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g/work/ntfs-3g_ntfsprogs-2015.3.14/src
*** Error code 1

Stop.
bmake[1]: stopped in /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g
*** Error code 1

Stop.
bmake: stopped in /home/oc/pkgsrc/current/filesystems/fuse-ntfs-3g

>How-To-Repeat:
$ cd <path-to>/filesystems/fuse-ntfs-3g/
$ bmake

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.