[MacPorts] #29811: Can't intall mysql5 on snow leopard with xcode 4.2

MacPorts noreply at macports.org
Mon Jun 13 06:48:06 PDT 2011


#29811: Can't intall mysql5 on snow leopard with xcode 4.2
--------------------------------------+-------------------------------------
 Reporter:  greg_spam@…               |       Owner:  ryandesign@…           
     Type:  defect                    |      Status:  new                    
 Priority:  Normal                    |   Milestone:                         
Component:  ports                     |     Version:  1.9.2                  
 Keywords:                            |        Port:  mysql5                 
--------------------------------------+-------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => ryandesign@…
  * port:  => mysql5


Old description:

> Hi, just got the newest Xcode 4.2 and am setting up a new machine, a
> macbook (not pro). I cannot get myql5 to install.
> I've tried both sudo port install mysql5 and sudo port install
> mysql5-server and they give the same error.
>
> ------
> localhost:~ localdirt$ sudo port install mysql5-server
> Password:
> --->  Computing dependencies for mysql5-server
> --->  Dependencies to be installed: 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/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>
>
> -----
>

>
> Here's the tail of the log:
>
> -----
> lm    -lm  -L/opt/local/lib/ -lssl -lcrypto -L/opt/local/lib -lz
> :info:build libtool: link: /usr/bin/g++-4.2 -O2 -fPIC -arch i386 -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 i386 -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(ÒtfD), archive member 'ÒtfD' with
> length 0 is not mach-o or llvm bitcode for architecture i386
> :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[3]: *** [all] Error 2
> :info:build make[2]: *** [all-recursive] Error 1
> :info:build make[1]: *** [all] Error 2
> :info:build make: *** [all-recursive] Error 1
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/work/mysql-5.1.57"
> && /usr/bin/make -j2 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
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for mysql5):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :error:build Failed to install mysql5
> :notice:build Log for mysql5 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/main.log
>
> -----
>

> Not sure if ti's a bug or not, but everything else, apache2, php5, etc
> has installed without issue

New description:

 Hi, just got the newest Xcode 4.2 and am setting up a new machine, a
 macbook (not pro). I cannot get myql5 to install.
 I've tried both sudo port install mysql5 and sudo port install
 mysql5-server and they give the same error.

 {{{
 ------
 localhost:~ localdirt$ sudo port install mysql5-server
 Password:
 --->  Computing dependencies for mysql5-server
 --->  Dependencies to be installed: 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/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>

 -----
 }}}


 Here's the tail of the log:

 {{{
 -----
 lm    -lm  -L/opt/local/lib/ -lssl -lcrypto -L/opt/local/lib -lz
 :info:build libtool: link: /usr/bin/g++-4.2 -O2 -fPIC -arch i386 -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 i386 -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(ÒtfD), archive member 'ÒtfD' with length
 0 is not mach-o or llvm bitcode for architecture i386
 :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[3]: *** [all] Error 2
 :info:build make[2]: *** [all-recursive] Error 1
 :info:build make[1]: *** [all] Error 2
 :info:build make: *** [all-recursive] Error 1
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/work/mysql-5.1.57"
 && /usr/bin/make -j2 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
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for mysql5):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :error:build Failed to install mysql5
 :notice:build Log for mysql5 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/main.log

 -----
 }}}

 Not sure if ti's a bug or not, but everything else, apache2, php5, etc has
 installed without issue

--

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


More information about the macports-tickets mailing list