[MacPorts] #56813: ntfs-3g @2017.3.23: fails to build on macOS High Sierra 10.13.6 (17G65)

MacPorts noreply at macports.org
Sun Jul 15 13:17:18 UTC 2018


#56813: ntfs-3g @2017.3.23: fails to build on macOS High Sierra 10.13.6 (17G65)
--------------------+------------------------------
 Reporter:  maehne  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  ntfs-3g testdisk
--------------------+------------------------------
 After working around issue #54939 to install osxfuse, ntfs-3g fails to
 build as a dependency for the testdisk port:
 {{{
 $ sudo port -v install testdisk
 --->  Computing dependencies for testdisk..
 The following dependencies will be installed:  ntfs-3g
 Continue? [Y/n]: y
 [...]
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include -I../include/ntfs-3g -pipe -Os -arch x86_64 -Wall -MT
 libntfs_3g_la-compat.lo -MD -MP -MF .deps/libntfs_3g_la-compat.Tpo -c
 compat.c -o libntfs_3g_la-compat.o >/dev/null 2>&1
 In file included from attrlist.c:43In file included from collate.c:
 :39/opt/local/include/debug.h:
 :1:/opt/local/include/debug.h:1:1: error: expected identifier or '('
 !
 ^
 1: error: expected identifier or '('
 !
 ^
 In file included from bootsect.c:43:
 /opt/local/include/debug.h:1:1: error: expected identifier or '('
 !
 ^
 In file included from bitmap.c:44:
 /opt/local/include/debug.h:1:1: error: expected identifier or '('
 !
 ^
 1 error generated.
 In file included from attrib.c:53:
 /opt/local/include/debug.h:1:1: error: expected identifier or '('
 !
 ^
 collate.c:230:16: warning: taking address of packed member 'file_name' of
 class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer
 value [-Waddress-of-packed-member]
                         (ntfschar*)&file_name_attr1->file_name,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
 collate.c:232:16: warning: taking address of packed member 'file_name' of
 class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer
 value [-Waddress-of-packed-member]
                         (ntfschar*)&file_name_attr2->file_name,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 1 error generated.
 2 warnings and 1 error generated.
 make[2]: *** [libntfs_3g_la-bootsect.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[2]: *** [libntfs_3g_la-collate.lo] Error 1
 make[2]: *** [libntfs_3g_la-bitmap.lo] Error 1
 make[2]: *** [libntfs_3g_la-attrlist.lo] Error 1
 1 error generated.
 mv -f .deps/libntfs_3g_la-compat.Tpo .deps/libntfs_3g_la-compat.Plo
 make[2]: *** [libntfs_3g_la-attrib.lo] Error 1
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include -I../include/ntfs-3g -pipe -Os -arch x86_64 -Wall -MT
 libntfs_3g_la-cache.lo -MD -MP -MF .deps/libntfs_3g_la-cache.Tpo -c
 cache.c -o libntfs_3g_la-cache.o >/dev/null 2>&1
 mv -f .deps/libntfs_3g_la-cache.Tpo .deps/libntfs_3g_la-cache.Plo
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include -I../include/ntfs-3g -pipe -Os -arch x86_64 -Wall -MT
 libntfs_3g_la-acls.lo -MD -MP -MF .deps/libntfs_3g_la-acls.Tpo -c acls.c
 -o libntfs_3g_la-acls.o >/dev/null 2>&1
 mv -f .deps/libntfs_3g_la-acls.Tpo .deps/libntfs_3g_la-acls.Plo
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
 3g_ntfsprogs-2017.3.23/libntfs-3g'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
 3g_ntfsprogs-2017.3.23'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
 3g_ntfsprogs-2017.3.23'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
 3g_ntfsprogs-2017.3.23" && /usr/bin/make -j8 -w all
 Exit code: 2
 Error: Failed to build ntfs-3g: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/main.log for
 details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port testdisk failed
 }}}
 The full {{{build.log}}} is attached to this ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/56813>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list