Opened 13 years ago
Last modified 2 years ago
#31658 new defect
mysql5 @5.1.59: C preprocessor "/lib/cpp" fails sanity check
Reported by: | jamesbranton@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | pixilla (Bradley Giesbrecht), nerdling (Jeremy Lavergne) | |
Port: | mysql5 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hi,
- Snow Leopard 10.6.8
- MacPorts 2.0.3
- XCode 3.2.6
Trying to install mysql5-server
sudo port install mysql5-server Password: ---> Computing dependencies for mysql5-server ---> Dependencies to be installed: mysql5 ---> Fetching archive for mysql5 ---> Attempting to fetch mysql5-5.1.59_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/mysql5 ---> Fetching mysql5 ---> Verifying checksum(s) for mysql5 ---> Extracting mysql5 ---> Applying patches to mysql5 ---> Configuring mysql5 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install mysql5 Log for mysql5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log Error: The following dependencies were not installed: mysql5 Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Log:
... :info:configure checking build system type... i386-apple-darwin10.8.0 :info:configure checking host system type... i386-apple-darwin10.8.0 :info:configure checking target system type... i386-apple-darwin10.8.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... gawk :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... /usr/bin/gcc-4.2 :info:configure checking for C compiler default output file name... a.out :info:configure checking whether the C compiler works... yes :info:configure checking whether we are cross compiling... no :info:configure checking for suffix of executables... :info:configure checking for suffix of object files... o :info:configure checking whether we are using the GNU C compiler... yes :info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes :info:configure checking for /usr/bin/gcc-4.2 option to accept ISO C89... unsupported :info:configure checking dependency style of /usr/bin/gcc-4.2... gcc3 :info:configure checking for a sed that does not truncate output... /opt/local/bin/gsed :info:configure checking for grep that handles long lines and -e... /usr/bin/grep :info:configure checking for egrep... /usr/bin/grep -E :info:configure checking for fgrep... /usr/bin/grep -F :info:configure checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld :info:configure checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no :info:configure checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm :info:configure checking the name lister (/usr/bin/nm) interface... BSD nm :info:configure checking whether ln -s works... yes :info:configure checking the maximum length of command line arguments... 196608 :info:configure checking whether the shell understands some XSI constructs... yes :info:configure checking whether the shell understands "+="... yes :info:configure checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r :info:configure checking for objdump... no :info:configure checking how to recognize dependent libraries... pass_all :info:configure checking for ar... ar :info:configure checking for strip... strip :info:configure checking for ranlib... ranlib :info:configure checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok :info:configure checking for dsymutil... dsymutil :info:configure checking for nmedit... nmedit :info:configure checking for lipo... lipo :info:configure checking for otool... otool :info:configure checking for otool64... no :info:configure checking for -single_module linker flag... yes :info:configure checking for -exported_symbols_list linker flag... yes :info:configure checking how to run the C preprocessor... /lib/cpp :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.59': :info:configure configure: error: C preprocessor "/lib/cpp" fails sanity check :info:configure See `config.log' for more details. :info:configure shell 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.59" && ./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 " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (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 couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing "open [file join $dir tclIndex]" :notice:configure Log for mysql5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log
Change History (5)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | mysql5 added; mysql5-server removed |
Summary: | mysql5-server @5.1.59 - configure failure/failed to install → mysql5 @5.1.59: C preprocessor "/lib/cpp" fails sanity check |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 7 years ago by jmroot (Joshua Root)
Cc: | pixilla added |
---|
comment:4 Changed 2 years ago by nerdling (Jeremy Lavergne)
Cc: | nerdling added |
---|
comment:5 Changed 2 years ago by nerdling (Jeremy Lavergne)
This is sounding similar to #64950, which might be more relevant (is mysql5.1 still a thing? looks like only 5.7 and 8.0 are supported upstream) than this ancient ticket.
Note: See
TracTickets for help on using
tickets.
Could you attach the config.log please?