[MacPorts] #40874: dvdrtools fails because of missing -lIOKit on Mavericks
MacPorts
noreply at macports.org
Wed Oct 23 15:41:42 PDT 2013
#40874: dvdrtools fails because of missing -lIOKit on Mavericks
------------------------------+--------------------------------
Reporter: tknox@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Keywords: mavericks, iokit | Port: dvdrtools
------------------------------+--------------------------------
Trying to install dvdrtools on Mavericks fails because macports can't find
IOKit:
{{{
---> Fetching distfiles for dvdrtools
---> Verifying checksums for dvdrtools
---> Checksumming dvdrtools-0.2.1.tar.gz
---> Extracting dvdrtools
---> Extracting dvdrtools-0.2.1.tar.gz
---> Applying patches to dvdrtools
---> Applying patch-scsi-mac-iokit.c
patching file libscg/scsi-mac-iokit.c
---> Applying patch-cdda2wav-cdda2wav.c
patching file cdda2wav/cdda2wav.c
---> Applying patch-cdrecord-cdrecord.c
patching file cdrecord/cdrecord.c
---> Configuring dvdrtools
checking build system type... i686-apple-darwin13.0.0
checking host system type... i686-apple-darwin13.0.0
checking target system type... i686-apple-darwin13.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/clang
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_dvdrtools/dvdrtools/work/dvdrtools-0.2.1"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
Exit code: 77
Error: Failed to configure dvdrtools, consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_dvdrtools/dvdrtools/work/dvdrtools-0.2.1/config.log
Error: org.macports.configure for port dvdrtools returned: configure
failure: command execution failed
Warning: targets not executed for dvdrtools: org.macports.destroot
org.macports.configure org.macports.build
Please see the log file for port dvdrtools for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_dvdrtools/dvdrtools/main.log
Error: Unable to upgrade port: 1
Thomass-iMac:~ tdknox$ cat
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_dvdrtools/dvdrtools/main.log
version:1
(stuff)
:info:configure checking for C compiler default output file name...
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_sysutils_dvdrtools/dvdrtools/work/dvdrtools-0.2.1"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
:info:configure Exit code: 77
:error:configure Failed to configure dvdrtools, consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_dvdrtools/dvdrtools/work/dvdrtools-0.2.1/config.log
:error:configure org.macports.configure for port dvdrtools 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 dvdrtools:
org.macports.destroot org.macports.configure org.macports.build
:notice:configure Please see the log file for port dvdrtools for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_dvdrtools/dvdrtools/main.log
Thomass-iMac:~ tdknox$ cat
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_dvdrtools/dvdrtools/work/dvdrtools-0.2.1/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
(stuff)
configure:2195: checking for C compiler default output file name
configure:2198: /usr/bin/clang -pipe -Os -arch x86_64 -I/opt/local/include
-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c
-lIOKit -framework CoreFoundation >&5
ld: library not found for -lIOKit
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Thomass-iMac:~ tdknox$ locate IOKit | grep lib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Resources/BridgeSupport/IOKit.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libIOKit.A.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libIOKit.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/libTelephonyIOKitDynamic.dylib
/System/Library/Frameworks/IOKit.framework/Versions/A/Resources/BridgeSupport/IOKit.dylib
}}}
--
Ticket URL: <https://trac.macports.org/ticket/40874>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list