[MacPorts] #42663: mysql5: configure: error: C compiler cannot create executables (was: Unable to complete Myth MyQL builds)

MacPorts noreply at macports.org
Sat Mar 1 13:30:54 PST 2014


#42663: mysql5: configure: error: C compiler cannot create executables
------------------------+--------------------------------
  Reporter:  mardwin@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.2.1
Resolution:             |   Keywords:
      Port:  mysql5     |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * port:   => mysql5


Old description:

> Hi Newbie Here
>
> Trying to build and install Myth 0.27  on my Mac running Mavericks.  I
> have installed the latest versions of Xcode and Macports compartibles
> with OS X 10.9.    Below is the log from the installation failure
> attempt:
>
> version:1
> :debug:clean Attempting ln -sf
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5/work
> :debug:clean changing euid/egid - current euid: 0 - current egid: 0
> :debug:clean egid changed to: 501
> :debug:clean euid changed to: 502
> :debug:main Executing org.macports.main (mysql5)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:archivefetch archivefetch phase started at Sat Mar  1 15:17:19 EST
> 2014
> :msg:archivefetch --->  Fetching archive for mysql5
> :debug:archivefetch Executing org.macports.archivefetch (mysql5)
> :debug:archivefetch euid/egid changed to: 0/0
> :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
> :debug:archivefetch euid/egid changed to: 502/501
> :info:archivefetch --->  mysql5-5.1.72_0.darwin_13.x86_64.tbz2 doesn't
> seem to exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch
> mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/mysql5
> :debug:archivefetch Fetching archive failed:: The requested URL returned
> error: 404 Not Found
> :msg:archivefetch --->  Attempting to fetch
> mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/mysql5
> :debug:archivefetch Fetching archive failed:: The requested URL returned
> error: 404 Not Found
> :msg:archivefetch --->  Attempting to fetch
> mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from
> http://packages.macports.org/mysql5
> :debug:archivefetch Fetching archive failed:: The requested URL returned
> error: 404 Not Found
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:fetch fetch phase started at Sat Mar  1 15:17:20 EST 2014
> :notice:fetch --->  Fetching distfiles for mysql5
> :debug:fetch Can't run fetch on this port without elevated privileges.
> Escalating privileges back to root.
> :debug:fetch euid changed to: 0. egid changed to: 0.
> :debug:fetch changing euid/egid - current euid: 0 - current egid: 0
> :debug:fetch egid changed to: 501
> :debug:fetch euid changed to: 502
> :debug:fetch Executing org.macports.fetch (mysql5)
> :info:fetch --->  mysql-5.1.72.tar.gz doesn't seem to exist in
> /opt/local/var/macports/distfiles/mysql51
> :notice:fetch --->  Attempting to fetch mysql-5.1.72.tar.gz from
> http://mirror.trouble-free.net/mysql_mirror/Downloads/MySQL-5.1
> :debug:fetch Privilege de-escalation not attempted as not running as
> root.
> :debug:checksum checksum phase started at Sat Mar  1 15:17:30 EST 2014
> :notice:checksum --->  Verifying checksums for mysql5
> :debug:checksum Executing org.macports.checksum (mysql5)
> :info:checksum --->  Checksumming mysql-5.1.72.tar.gz
> :debug:checksum Correct (rmd160) checksum for mysql-5.1.72.tar.gz
> :debug:checksum Correct (sha256) checksum for mysql-5.1.72.tar.gz
> :debug:checksum Privilege de-escalation not attempted as not running as
> root.
> :debug:extract extract phase started at Sat Mar  1 15:17:30 EST 2014
> :notice:extract --->  Extracting mysql5
> :debug:extract Executing org.macports.extract (mysql5)
> :info:extract --->  Extracting mysql-5.1.72.tar.gz
> :debug:extract setting option extract.args to
> '/opt/local/var/macports/distfiles/mysql51/mysql-5.1.72.tar.gz'
> :debug:extract Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.9'
> :debug:extract Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work"
> && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/mysql51/mysql-5.1.72.tar.gz' |
> /usr/bin/tar -xf -'
> :debug:extract Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work"
> && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/mysql51/mysql-5.1.72.tar.gz' |
> /usr/bin/tar -xf -
> :debug:extract changing euid/egid - current euid: 0 - current egid: 0
> :debug:extract egid changed to: 501
> :debug:extract euid changed to: 502
> :debug:patch patch phase started at Sat Mar  1 15:17:31 EST 2014
> :debug:patch Executing org.macports.patch (mysql5)
> :notice:patch --->  Applying patches to mysql5
> :info:patch --->  Applying patch-Makefile.in.diff
> :debug:patch Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.9'
> :debug:patch Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72"
> && /usr/bin/patch -p1'
> :debug:patch Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72"
> && /usr/bin/patch -p1 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5/files
> /patch-Makefile.in.diff'
> :info:patch patching file Makefile.in
> :info:patch --->  Applying patch-scripts-
> mysql_secure_installation.sh.diff
> :debug:patch Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.9'
> :debug:patch Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72"
> && /usr/bin/patch -p1'
> :debug:patch Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72"
> && /usr/bin/patch -p1 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql5/files
> /patch-scripts-mysql_secure_installation.sh.diff'
> :info:patch patching file scripts/mysql_secure_installation.sh
> :debug:patch Executing proc-post-org.macports.patch-patch-0
> :debug:patch Executing reinplace: /usr/bin/sed
> s%@BINDIR@%/opt/local/lib/mysql5/bin%g <
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/scripts/mysql_secure_installation.sh
> >@ file14
> :debug:patch euid/egid changed to: 0/0
> :debug:patch chowned
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/scripts/mysql_secure_installation.sh
> to macports
> :debug:patch euid/egid changed to: 502/501
> :debug:patch euid/egid changed to: 0/0
> :debug:patch setting attributes on
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/scripts/mysql_secure_installation.sh
> :debug:patch euid/egid changed to: 502/501
> :debug:patch Privilege de-escalation not attempted as not running as
> root.
> :debug:configure configure phase started at Sat Mar  1 15:17:31 EST 2014
> :notice:configure --->  Configuring mysql5
> :debug:configure Using compiler 'MacPorts LLVM-GCC 4.2'
> :debug:configure Executing org.macports.configure (mysql5)
> :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe
> -Os -fPIC -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe
> -Os -fPIC -arch x86_64' LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.9' CXX='/opt/local/bin/llvm-g++-4.2'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/.CC_PRINT_OPTIONS'
> F90FLAGS='-pipe -Os -m64' LDFLAGS='-L/opt/local/lib
> -Wl,-headerpad_max_install_names -arch x86_64' FCFLAGS='-pipe -Os -m64'
> OBJC='/opt/local/bin/llvm-gcc-4.2' OBJCXX='/opt/local/bin/llvm-g++-4.2'
> INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -Os -arch x86_64'
> OBJCXXFLAGS='-pipe -Os -arch x86_64' FFLAGS='-pipe -Os -m64'
> CC_PRINT_OPTIONS='YES' CC='/opt/local/bin/llvm-gcc-4.2'
> :debug:configure Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> --infodir=/opt/local/share/info --localstatedir=/opt/local/var/db/mysql5
> --libdir=/opt/local/lib/mysql5 --bindir=/opt/local/lib/mysql5/bin
> --includedir=/opt/local/include/mysql5 --datadir=/opt/local/share/mysql5
> --sysconfdir=/opt/local/etc/mysql5 --with-zlib-dir=/opt/local --with-
> ssl=/opt/local --with-extra-charsets=complex --with-unix-socket-
> path=/opt/local/var/run/mysql5/mysqld.sock --with-mysqld-user=_mysql
> --without-docs --with-plugins=all --enable-thread-safe-client --without-
> readline --with-embedded-server --with-pic'
> :debug:configure Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> --infodir=/opt/local/share/info --localstatedir=/opt/local/var/db/mysql5
> --libdir=/opt/local/lib/mysql5 --bindir=/opt/local/lib/mysql5/bin
> --includedir=/opt/local/include/mysql5 --datadir=/opt/local/share/mysql5
> --sysconfdir=/opt/local/etc/mysql5 --with-zlib-dir=/opt/local --with-
> ssl=/opt/local --with-extra-charsets=complex --with-unix-socket-
> path=/opt/local/var/run/mysql5/mysqld.sock --with-mysqld-user=_mysql
> --without-docs --with-plugins=all --enable-thread-safe-client --without-
> readline --with-embedded-server --with-pic
> :info:configure checking build system type... i386-apple-darwin13.0.0
> :info:configure checking host system type... i386-apple-darwin13.0.0
> :info:configure checking target system type... i386-apple-darwin13.0.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 how to create a ustar tar archive... gnutar
> :info:configure checking for style of include used by make... GNU
> :info:configure checking for gcc... /opt/local/bin/llvm-gcc-4.2
> :info:configure checking for C compiler default output file name...
> :info:configure configure: error: in
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72':
> :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_databases_mysql5/mysql5/work/mysql-5.1.72"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> --infodir=/opt/local/share/info --localstatedir=/opt/local/var/db/mysql5
> --libdir=/opt/local/lib/mysql5 --bindir=/opt/local/lib/mysql5/bin
> --includedir=/opt/local/include/mysql5 --datadir=/opt/local/share/mysql5
> --sysconfdir=/opt/local/etc/mysql5 --with-zlib-dir=/opt/local --with-
> ssl=/opt/local --with-extra-charsets=complex --with-unix-socket-
> path=/opt/local/var/run/mysql5/mysqld.sock --with-mysqld-user=_mysql
> --without-docs --with-plugins=all --enable-thread-safe-client --without-
> readline --with-embedded-server --with-pic
> :info:configure Exit code: 77
> :error:configure Failed to configure mysql5, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/config.log
> :error:configure org.macports.configure for port mysql5 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 mysql5:
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :error:configure Failed to install mysql5
> :debug:configure could not read
> "/opt/local/share/man/man8/tcpdmatch.8.gz": no such file or directory
>     while executing
> "::file type $file"
> :notice:configure Please see the log file for port mysql5 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log

New description:

 Hi Newbie Here

 Trying to build and install Myth 0.27  on my Mac running Mavericks.  I
 have installed the latest versions of Xcode and Macports compartibles with
 OS X 10.9.    Below is the log from the installation failure attempt:

--

Comment:

 Please remember to use WikiFormatting when writing in Trac.

 Your log says:

 {{{
 :info:configure configure: error: C compiler cannot create executables
 :info:configure See `config.log' for more details.
 }}}

 The [wiki:FAQ#missingxcode usual reason] for this error is that you did
 not install the Xcode command line tools.

-- 
Ticket URL: <https://trac.macports.org/ticket/42663#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list