[MacPorts] #37364: ntfs-3g (error: C compiler cannot create executables)

MacPorts noreply at macports.org
Sat Feb 9 06:30:07 PST 2013


#37364: ntfs-3g (error: C compiler cannot create executables)
----------------------+---------------------
  Reporter:  mkk@…    |      Owner:  petri@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.1.2
Resolution:  fixed    |   Keywords:
      Port:  ntfs-3g  |
----------------------+---------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * status:  new => closed
 * resolution:   => fixed


Old description:

> {{{
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main pkgconfig 0.27.1_1 exists in the ports tree
> :debug:main pkgconfig 0.27.1_1  is the latest installed
> :debug:main pkgconfig 0.27.1_1  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/pkgconfig
> :debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main adding the default universal variant
> :debug:main Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> :debug:main No need to upgrade! pkgconfig 0.27.1_1 >= pkgconfig 0.27.1_1
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main libiconv 1.14_0 exists in the ports tree
> :debug:main libiconv 1.14_0  is the latest installed
> :debug:main libiconv 1.14_0  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
> :debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
> :debug:main Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> :debug:main universal variant already exists, so not adding the default
> one
> :debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main fuse4x 0.9.2_0 exists in the ports tree
> :debug:main fuse4x 0.9.2_0  is the latest installed
> :debug:main fuse4x 0.9.2_0  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/fuse/fuse4x
> :debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main adding the default universal variant
> :debug:main Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> :debug:main No need to upgrade! fuse4x 0.9.2_0 >= fuse4x 0.9.2_0
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main fuse4x-kext 0.9.2_0 exists in the ports tree
> :debug:main fuse4x-kext 0.9.2_0 +universal is the latest installed
> :debug:main fuse4x-kext 0.9.2_0 +universal is active
> :debug:main Merging existing variants '+universal' into variants
> :debug:main new fully merged portvariants: universal +
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/fuse
> /fuse4x-kext
> :debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcode-1.0.tcl
> :debug:main Re-registering default for use_configure
> :debug:main Re-registering default for universal_variant
> :debug:main Re-registering default for build.type
> :debug:main Re-registering default for build.pre_args
> :debug:main Re-registering default for build.target
> :debug:main Re-registering default for destroot.pre_args
> :debug:main Re-registering default for destroot.target
> :debug:main Re-registering default for destroot.destdir
> :debug:main adding the default universal variant
> :debug:main Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> :debug:main Executing variant universal provides universal
> :debug:main No need to upgrade! fuse4x-kext 0.9.2_0 >= fuse4x-kext
> 0.9.2_0
> :msg:main --->  Computing dependencies for ntfs-3g:info:main .:debug:main
> ntfs-3g has no conflicts
> :debug:main Searching for dependency: pkgconfig
> :debug:main Found Dependency: receipt exists for pkgconfig
> :debug:main Searching for dependency: fuse4x
> :debug:main Found Dependency: receipt exists for fuse4x
> :msg:main
> :debug:main Executing org.macports.main (ntfs-3g)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 501
> :debug:main euid changed to: 501
> :debug:main Skipping completed org.macports.archivefetch (ntfs-3g)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (ntfs-3g)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (ntfs-3g)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (ntfs-3g)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (ntfs-3g)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:configure configure phase started at Fri Dec 21 12:43:29 CET 2012
> :notice:configure --->  Configuring ntfs-3g
> :debug:configure Using compiler 'Mac OS X clang'
> :debug:configure Executing org.macports.configure (ntfs-3g)
> :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe
> -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2
> -arch x86_64' LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/.CC_PRINT_OPTIONS'
> F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -framework
> CoreFoundation -lintl -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-pipe
> -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch
> x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES'
> CC='/usr/bin/clang'
> :debug:configure Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
> 3g_ntfsprogs-2012.1.15" && ./configure --prefix=/opt/local --exec-
> prefix=/opt/local --with-fuse=external'
> :debug:configure Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
> 3g_ntfsprogs-2012.1.15" && ./configure --prefix=/opt/local --exec-
> prefix=/opt/local --with-fuse=external
> :info:configure checking build system type... i386-apple-darwin12.2.0
> :info:configure checking host system type... i386-apple-darwin12.2.0
> :info:configure checking target system type... i386-apple-darwin12.2.0
> :info:configure checking for a BSD-compatible install... /usr/bin/install
> -c
> :info:configure checking whether build environment is sane... yes
> :info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
> :info:configure checking for gawk... no
> :info:configure checking for mawk... no
> :info:configure checking for nawk... no
> :info:configure checking for awk... awk
> :info:configure checking whether make sets $(MAKE)... yes
> :info:configure checking whether to enable maintainer-specific portions
> of Makefiles... no
> :info:configure checking for C compiler default output file name...
> :info:configure configure: error: C compiler cannot create executables
> :info:configure See `config.log' for more details.
> :info:configure Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
> 3g_ntfsprogs-2012.1.15" && ./configure --prefix=/opt/local --exec-
> prefix=/opt/local --with-fuse=external
> :info:configure Exit code: 77
> :error:configure org.macports.configure for port ntfs-3g returned:
> configure failure: command execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: configure failure: command execution failed
>     while executing
> "$procedure $targetname"
> :info:configure Warning: targets not executed for ntfs-3g:
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :notice:configure Please see the log file for port ntfs-3g for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/main.log
> }}}
>
> I was looking for similar problems (
> https://trac.macports.org/ticket/35580 ) but: XCode runs well (I can
> compile C applications) and I have installed Command Line Tools.

New description:

 {{{
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main pkgconfig 0.27.1_1 exists in the ports tree
 :debug:main pkgconfig 0.27.1_1  is the latest installed
 :debug:main pkgconfig 0.27.1_1  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/pkgconfig
 :debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main adding the default universal variant
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main No need to upgrade! pkgconfig 0.27.1_1 >= pkgconfig 0.27.1_1
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main libiconv 1.14_0 exists in the ports tree
 :debug:main libiconv 1.14_0  is the latest installed
 :debug:main libiconv 1.14_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
 :debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main universal variant already exists, so not adding the default
 one
 :debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main fuse4x 0.9.2_0 exists in the ports tree
 :debug:main fuse4x 0.9.2_0  is the latest installed
 :debug:main fuse4x 0.9.2_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/fuse/fuse4x
 :debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main adding the default universal variant
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main No need to upgrade! fuse4x 0.9.2_0 >= fuse4x 0.9.2_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main fuse4x-kext 0.9.2_0 exists in the ports tree
 :debug:main fuse4x-kext 0.9.2_0 +universal is the latest installed
 :debug:main fuse4x-kext 0.9.2_0 +universal is active
 :debug:main Merging existing variants '+universal' into variants
 :debug:main new fully merged portvariants: universal +
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/fuse
 /fuse4x-kext
 :debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcode-1.0.tcl
 :debug:main Re-registering default for use_configure
 :debug:main Re-registering default for universal_variant
 :debug:main Re-registering default for build.type
 :debug:main Re-registering default for build.pre_args
 :debug:main Re-registering default for build.target
 :debug:main Re-registering default for destroot.pre_args
 :debug:main Re-registering default for destroot.target
 :debug:main Re-registering default for destroot.destdir
 :debug:main adding the default universal variant
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main Executing variant universal provides universal
 :debug:main No need to upgrade! fuse4x-kext 0.9.2_0 >= fuse4x-kext 0.9.2_0
 :msg:main --->  Computing dependencies for ntfs-3g:info:main .:debug:main
 ntfs-3g has no conflicts
 :debug:main Searching for dependency: pkgconfig
 :debug:main Found Dependency: receipt exists for pkgconfig
 :debug:main Searching for dependency: fuse4x
 :debug:main Found Dependency: receipt exists for fuse4x
 :msg:main
 :debug:main Executing org.macports.main (ntfs-3g)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 501
 :debug:main Skipping completed org.macports.archivefetch (ntfs-3g)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (ntfs-3g)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (ntfs-3g)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (ntfs-3g)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (ntfs-3g)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:configure configure phase started at Fri Dec 21 12:43:29 CET 2012
 :notice:configure --->  Configuring ntfs-3g
 :debug:configure Using compiler 'Mac OS X clang'
 :debug:configure Executing org.macports.configure (ntfs-3g)
 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2
 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch
 x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8'
 CXX='/usr/bin/clang++'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/.CC_PRINT_OPTIONS'
 F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -framework
 CoreFoundation -lintl -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-pipe
 -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64'
 FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
 3g_ntfsprogs-2012.1.15" && ./configure --prefix=/opt/local --exec-
 prefix=/opt/local --with-fuse=external'
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
 3g_ntfsprogs-2012.1.15" && ./configure --prefix=/opt/local --exec-
 prefix=/opt/local --with-fuse=external
 :info:configure checking build system type... i386-apple-darwin12.2.0
 :info:configure checking host system type... i386-apple-darwin12.2.0
 :info:configure checking target system type... i386-apple-darwin12.2.0
 :info:configure checking for a BSD-compatible install... /usr/bin/install
 -c
 :info:configure checking whether build environment is sane... yes
 :info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
 :info:configure checking for gawk... no
 :info:configure checking for mawk... no
 :info:configure checking for nawk... no
 :info:configure checking for awk... awk
 :info:configure checking whether make sets $(MAKE)... yes
 :info:configure checking whether to enable maintainer-specific portions of
 Makefiles... no
 :info:configure checking for C compiler default output file name...
 :info:configure configure: error: C compiler cannot create executables
 :info:configure See `config.log' for more details.
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/work/ntfs-
 3g_ntfsprogs-2012.1.15" && ./configure --prefix=/opt/local --exec-
 prefix=/opt/local --with-fuse=external
 :info:configure Exit code: 77
 :error:configure org.macports.configure for port ntfs-3g returned:
 configure failure: command execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 :info:configure Warning: targets not executed for ntfs-3g:
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :notice:configure Please see the log file for port ntfs-3g for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_fuse_ntfs-3g/ntfs-3g/main.log
 }}}

 I was looking for similar problems (#35580) but: XCode runs well (I can
 compile C applications) and I have installed Command Line Tools.

--

Comment:

 r102853

-- 
Ticket URL: <https://trac.macports.org/ticket/37364#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list