[MacPorts] #30442: mysql5: build failed

MacPorts noreply at macports.org
Sat Jul 30 02:56:46 PDT 2011


#30442: mysql5: build failed
---------------------------------+------------------------------------------
 Reporter:  johnmac@…            |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  2.0.0                  
 Keywords:                       |        Port:  mysql5                 
---------------------------------+------------------------------------------

Comment(by page.agent@…):

 Experiencing the same issue a while after upgrading to macports 2.0.0.
 Tried several times (first, apache2 failed to install).

 Here's what I've done:

 {{{
 sudo port -f uninstall --follow-dependents installed
 sudo port clean all
 sudo port selfupdate
 --->  Updating the ports tree
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.0.0 installed,
 MacPorts base version 2.0.0 downloaded.
 --->  MacPorts base is already the latest version
 sudo port install mysql5-server
 --->  Computing dependencies for mysql5-server
 --->  Dependencies to be installed: mysql5 openssl zlib readline ncurses
 ncursesw
 --->  Fetching archive for zlib
 --->  Fetching zlib
 --->  Verifying checksum(s) for zlib
 --->  Extracting zlib
 --->  Applying patches to zlib
 --->  Configuring zlib
 --->  Building zlib
 --->  Staging zlib into destroot
 --->  Installing zlib @1.2.5_0
 --->  Activating zlib @1.2.5_0
 --->  Cleaning zlib
 --->  Fetching archive for openssl
 --->  Fetching openssl
 --->  Verifying checksum(s) for openssl
 --->  Extracting openssl
 --->  Applying patches to openssl
 --->  Configuring openssl
 --->  Building openssl
 --->  Staging openssl into destroot
 --->  Installing openssl @1.0.0d_0
 --->  Activating openssl @1.0.0d_0
 --->  Cleaning openssl
 --->  Fetching archive for ncursesw
 --->  Fetching ncursesw
 --->  Verifying checksum(s) for ncursesw
 --->  Extracting ncursesw
 --->  Configuring ncursesw
 --->  Building ncursesw
 --->  Staging ncursesw into destroot
 --->  Installing ncursesw @5.8_0
 --->  Activating ncursesw @5.8_0
 --->  Cleaning ncursesw
 --->  Fetching archive for ncurses
 --->  Fetching ncurses
 --->  Verifying checksum(s) for ncurses
 --->  Extracting ncurses
 --->  Applying patches to ncurses
 --->  Configuring ncurses
 --->  Building ncurses
 --->  Staging ncurses into destroot
 --->  Installing ncurses @5.9_0
 --->  Activating ncurses @5.9_0
 --->  Cleaning ncurses
 --->  Fetching archive for readline
 --->  Fetching readline
 --->  Verifying checksum(s) for readline
 --->  Extracting readline
 --->  Applying patches to readline
 --->  Configuring readline
 --->  Building readline
 --->  Staging readline into destroot
 --->  Installing readline @6.2.000_0
 --->  Activating readline @6.2.000_0
 --->  Cleaning readline
 --->  Fetching archive for mysql5
 --->  Fetching mysql5
 --->  Verifying checksum(s) for mysql5
 --->  Extracting mysql5
 --->  Applying patches to mysql5
 --->  Configuring mysql5
 --->  Building mysql5
 Error: Target org.macports.build returned: 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_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>
 }}}

 Excerpt from the log (full main.log)
 {{{
 :info:build mv -f .deps/completion_hash.Tpo .deps/completion_hash.Po
 :info:build /bin/sh ../../libtool --preserve-dup-deps --tag=CXX
 --mode=link /Developer/usr/bin/llvm-g++-4.2  -O2 -fPIC -arch x86_64
 -fno-implicit-templates -fno-exceptions -fno-rtti -D_P1003_1B_VISIBLE
 -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT
 -DDONT_DECLARE_CXA_PURE_VIRTUAL  -L/opt/local/lib -arch x86_64  -o
 mysqltest_embedded mysqltest.o ../libmysqld.a -ldl
 ../../regex/libregex.a  -lm    -lm  -L/opt/local/lib/ -lssl -lcrypto
 -L/opt/local/lib -lz
 :info:build libtool: link: /Developer/usr/bin/llvm-g++-4.2 -O2 -fPIC -arch
 x86_64 -fno-implicit-templates -fno-exceptions -fno-rtti
 -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ
 -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -arch x86_64 -o
 mysqltest_embedded mysqltest.o  -L/opt/local/lib ../libmysqld.a -ldl
 ../../regex/libregex.a -lm -lm -L/opt/local/lib/ -lssl -lcrypto -lz
 :info:build ld: in ../libmysqld.a(H‰ùˆHÿÁHÿÈuöH), archive member
 'H‰ùˆHÿÁHÿÈuöH' with length 0 is not mach-o or llvm bitcode for
 architecture x86_64
 :info:build collect2: ld returned 1 exit status
 :info:build make[4]: *** [mysqltest_embedded] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 :info:build mv -f .deps/mysql_client_test.Tpo .deps/mysql_client_test.Po
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/mysql5/work/mysql-5.1.57/libmysqld/examples'
 :info:build make[3]: *** [all] Error 2
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/mysql5/work/mysql-5.1.57/libmysqld/examples'
 :info:build make[2]: *** [all-recursive] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/mysql5/work/mysql-5.1.57/libmysqld'
 :info:build make[1]: *** [all] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/mysql5/work/mysql-5.1.57/libmysqld'
 :info:build make: *** [all-recursive] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/mysql5/work/mysql-5.1.57'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/mysql5/work/mysql-5.1.57"
 && /usr/bin/make -j2 -w all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 }}}

 '''System Configuration'''
 MacBookAir
 MacOSX 10.6.8
 XCode 4.0.2 (Build 4A2002a)
 XCode 4.2 b2 (installed in a separate location)

 Installing mysql5-server on a machine running lion (MacOSX 10.7)
 succeeded.
 Next I'll try uninstalling the XCode 4.2 and developer tools and then
 reinstalling Xcode 4.0.2

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


More information about the macports-tickets mailing list