[MacPorts] #32723: mysql5-devel build failure like "[do_abi_check] Error 1"
#32723: mysql5-devel build failure like "[do_abi_check] Error 1" ---------------------------------------------+------------------------------ Reporter: wanliqunn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: mysql5-devel do_abi_check error | Port: ---------------------------------------------+------------------------------ I'm trying to "port sudo install mysql5-devel", but failed with the errors bellow: ''':info:build < #include <mysql/service_thd_alloc.h> :info:build < #include <stdlib.h> :info:build make[2]: *** [do_abi_check] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :info:build make[1]: *** [abi_check] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :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_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2" && /usr/bin/make -j4 -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 "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname"''' -- Ticket URL: <https://trac.macports.org/ticket/32723> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel build failure like "[do_abi_check] Error 1" ---------------------------------------------+------------------------------ Reporter: wanliqunn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: mysql5-devel do_abi_check error | Port: ---------------------------------------------+------------------------------ Comment(by wanliqunn@…): I'm trying to "port sudo install mysql5-devel", but failed with the errors bellow:[[BR]] :info:build < #include <mysql/service_thd_alloc.h>[[BR]] :info:build < #include <stdlib.h>[[BR]] :info:build make[2]: *** [do_abi_check] Error 1[[BR]] :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2'[[BR]] :info:build make[1]: *** [abi_check] Error 2[[BR]] :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2'[[BR]] :info:build make: *** [all-recursive] Error 1[[BR]] :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2'[[BR]] :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2" && /usr/bin/make -j4 -w all " returned error 2[[BR]] :error:build Target org.macports.build returned: shell command failed (see log for details)[[BR]] :debug:build Backtrace: shell command failed (see log for details)[[BR]] while executing[[BR]] "command_exec build"[[BR]] (procedure "portbuild::build_main" line 8)[[BR]] invoked from within[[BR]] "$procedure $targetname"[[BR]] -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel build failure like "[do_abi_check] Error 1" -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: mysql5-devel -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * keywords: mysql5-devel do_abi_check error => * cc: wanliqunn@… (removed) * port: => mysql5-devel Old description:
I'm trying to "port sudo install mysql5-devel", but failed with the errors bellow: ''':info:build < #include <mysql/service_thd_alloc.h> :info:build < #include <stdlib.h> :info:build make[2]: *** [do_abi_check] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :info:build make[1]: *** [abi_check] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :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_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2" && /usr/bin/make -j4 -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 "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname"'''
New description: I'm trying to "`port sudo install mysql5-devel`", but failed with the errors bellow: {{{ :info:build < #include <mysql/service_thd_alloc.h> :info:build < #include <stdlib.h> :info:build make[2]: *** [do_abi_check] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :info:build make[1]: *** [abi_check] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :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_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-devel/mysql5-devel/work/mysql-5.5.2-m2" && /usr/bin/make -j4 -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 "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" }}} -- -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * keywords: => clang * owner: macports-tickets@… => ryandesign@… Comment: Probably a clang problem. Try [wiki:ProblemHotlist#compiler using a different compiler], or try the much newer mysql55 port Bradley just committed to his private tree; see #25751. -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Comment(by wanliqunn@…): Replying to [comment:4 ryandesign@…]:
Probably a clang problem. Try [wiki:ProblemHotlist#compiler using a different compiler], or try the much newer mysql55 port Bradley just committed to his private tree; see #25751. [[BR]] Yeah, I tried to use some other compilers like "sudo ports install mysql5-devel configure.compiler=llvm-gcc-4.2" and "sudo ports install mysql5-devel configure.compiler=apple-gcc42", still failed. I'll try Bradley's private tree.
-- Ticket URL: <https://trac.macports.org/ticket/32723#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Comment(by ryandesign@…): You're sure? It built fine for me on Snow Leopard with Xcode 3 and the gcc-4.2 compiler when I committed it. Did you remember to clean before each new attempt? (The log you attached here is not clean, for example.) -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Comment(by wanliqunn@…): Replying to [comment:6 ryandesign@…]:
You're sure? It built fine for me on Snow Leopard with Xcode 3 and the gcc-4.2 compiler when I committed it. Did you remember to clean before each new attempt? (The log you attached here is not clean, for example.)[[BR]] Yes, I "sudo port clean mysql5-devel" then "sudo port selfupdate" and then "sudo port upgrade outdated", still failed with the same error. Here is my device enriment: Mac os 10.6.7 XCode: 4.2. Forgot to mention, I have mysql installed: Server version: 5.1.59 MySQL Community Server (GPL). I need to install mysql5-devel for some project development. [[BR]] Sorry to ask, I'm a newbie with mac ports, and I'm trying to use Bradley's private tree, but seems not so easy to find how to adjust my macports with this private tree, any links are really appreciated.
-- Ticket URL: <https://trac.macports.org/ticket/32723#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Comment(by ryandesign@…): For example: {{{ svn co https://svn.macosforge.org/repository/macports/users/pixilla/dports/database... cd mysql55 sudo port install }}} -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Comment(by ryandesign@…): Replying to [comment:7 wanliqunn@…]:
Replying to [comment:6 ryandesign@…]:
You're sure? It built fine for me on Snow Leopard with Xcode 3 and the gcc-4.2 compiler when I committed it. Did you remember to clean before each new attempt? (The log you attached here is not clean, for example.)[[BR]] Yes, I "sudo port clean mysql5-devel" then "sudo port selfupdate" and then "sudo port upgrade outdated", still failed with the same error. Here is my device enriment: Mac os 10.6.7 XCode: 4.2. Forgot to mention, I have mysql installed: Server version: 5.1.59 MySQL Community Server (GPL).
If you mean the mysql5 port, then you're out of date; the current version is 5.1.60. If you mean a standalone MySQL package installed elsewhere, then I can't help you with that, and might even suggest that you uninstall it, since having software installed outside of MacPorts can sometimes interfere with MacPorts. I don't think the standard MySQL distribution installs into any problematic locations, however, so you're probably fine.
I need to install mysql5-devel for some project development.
What do you mean, exactly? I am worried you may be under the mistaken impression that MacPorts adheres to the naming convention of Linux package managers where a package "foo" contains binaries and libraries and a package "foo-devel" contains development headers. That is not how MacPorts works. In MacPorts, all packages always contain development headers already. Instead, we use "-devel" ports to indicate development/unstable versions. So, if what you're after is the development headers for MySQL 5.1.x, just install the normal mysql5 port, not the mysql5-devel port. -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Comment(by wanliqunn@…): Replying to [comment:9 ryandesign@…]:
Replying to [comment:7 wanliqunn@…]:
Replying to [comment:6 ryandesign@…]:
You're sure? It built fine for me on Snow Leopard with Xcode 3 and the gcc-4.2 compiler when I committed it. Did you remember to clean before each new attempt? (The log you attached here is not clean, for example.)[[BR]] Yes, I "sudo port clean mysql5-devel" then "sudo port selfupdate" and then "sudo port upgrade outdated", still failed with the same error. Here is my device enriment: Mac os 10.6.7 XCode: 4.2. Forgot to mention, I have mysql installed: Server version: 5.1.59 MySQL Community Server (GPL).
If you mean the mysql5 port, then you're out of date; the current version is 5.1.60.
If you mean a standalone MySQL package installed elsewhere, then I can't help you with that, and might even suggest that you uninstall it, since having software installed outside of MacPorts can sometimes interfere with MacPorts. I don't think the standard MySQL distribution installs into any problematic locations, however, so you're probably fine.
I need to install mysql5-devel for some project development.
What do you mean, exactly? I am worried you may be under the mistaken impression that MacPorts adheres to the naming convention of Linux package managers where a package "foo" contains binaries and libraries and a package "foo-devel" contains development headers. That is not how MacPorts works. In MacPorts, all packages always contain development headers already. Instead, we use "-devel" ports to indicate development/unstable versions. So, if what you're after is the development headers for MySQL 5.1.x, just install the normal mysql5 port, not the mysql5-devel port.[[BR]] [[BR]] Yeah, the mysql installed was installed outside of MacPorts. Sorry, I did mistake *-devel package as development package. You are right, I need to recheck my need. BTW, the private tree works well here. Thanks for the tip anyway!
-- Ticket URL: <https://trac.macports.org/ticket/32723#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Comment(by ryandesign@…): Has duplicate #35079. Use the mysql55 port instead. -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Changes (by jmr@…): * cc: jwa@… (added) -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang -------------------------------+-------------------------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mysql5-devel -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: pixilla@… (added) Comment: This is presumably already fixed in the mysql55 port, which replaces the mysql5-devel port. mysql5-devel isn't being updated anymore. -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32723: mysql5-devel: build failure with clang ---------------------------+-------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: clang Port: mysql5-devel | ---------------------------+-------------------------- Comment (by jmr@…): Replying to [comment:13 ryandesign@…]:
This is presumably already fixed in the mysql55 port, which replaces the mysql5-devel port. mysql5-devel isn't being updated anymore. Shouldn't it be marked as replaced_by then?
-- Ticket URL: <https://trac.macports.org/ticket/32723#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#32723: mysql5-devel: build failure with clang ---------------------------+-------------------------- Reporter: wanliqunn@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang Port: mysql5-devel | ---------------------------+-------------------------- Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: mysql5-devel has been replaced_by mysql55. See r106256 -- Ticket URL: <https://trac.macports.org/ticket/32723#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts