[MacPorts] #36568: mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string'
#36568: mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string' --------------------------+-------------------------------- Reporter: misc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: MySQL 5.5 --------------------------+-------------------------------- On Mac OS X 10.8.2 with Xcode 4.5.1 the build of mysql server 5.5 fails. Command used to install {{{ sudo port install mysql55-server ---> Computing dependencies for mysql55-server ---> Dependencies to be installed: mysql55 ---> Fetching archive for mysql55 ---> Attempting to fetch mysql55-5.5.27_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/mysql55 ---> Attempting to fetch mysql55-5.5.27_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/mysql55 ---> Attempting to fetch mysql55-5.5.27_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/mysql55 ---> Fetching distfiles for mysql55 ---> Attempting to fetch mysql-5.5.27.tar.gz from http://ftp.plusline.de/mysql/Downloads/MySQL-5.5/ ---> Verifying checksum(s) for mysql55 ---> Extracting mysql55 ---> Applying patches to mysql55 ---> Configuring mysql55 ---> Building mysql55 Error: org.macports.build for port mysql55 returned: command execution failed Error: Failed to install mysql55 Please see the log file for port mysql55 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql55/mysql55/main.log Error: The following dependencies were not installed: mysql55 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port mysql55-server failed }}} Build error that starts with {{{ 10: error: incomplete definition of type 'struct st_mysql_lex_string' lex_str->str= (char *) c_str; ~~~~~~~^ /opt/local/include/mysql/plugin.h:47:16: note: forward declaration of 'struct st_mysql_lex_string' typedef struct st_mysql_lex_string MYSQL_LEX_STRING; ^ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql55/mysql55/work/mysql-5.5.27/mysys/array.c:19: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql55/mysql55/work/mysql-5.5.27/include/m_string.h:295:10: error: incomplete definition of type 'struct st_mysql_lex_string' }}} See attached log file for complete error message. It looks like this could be related to some other similar reported errors on other ports: [https://trac.macports.org/search?q=incomplete+definition+of+type&noquickjump...] -- Ticket URL: <https://trac.macports.org/ticket/36568> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36568: mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string' ----------------------+-------------------------- Reporter: misc@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: mysql55 | ----------------------+-------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => pixilla@… * port: MySQL 5.5 => mysql55 Comment: In the future, please Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/36568#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36568: mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string' ----------------------+-------------------------- Reporter: misc@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: mysql55 | ----------------------+-------------------------- Comment (by jmr@…): Does this still happen with 5.5.28? -- Ticket URL: <https://trac.macports.org/ticket/36568#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36568: mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string' ----------------------+-------------------------- Reporter: misc@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: mysql55 | ----------------------+-------------------------- Comment (by misc@…): Replying to [comment:2 jmr@…]:
Does this still happen with 5.5.28? yes, same error with 5.5.28 :-(
-- Ticket URL: <https://trac.macports.org/ticket/36568#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36568: mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string' ----------------------+-------------------------- Reporter: misc@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: mysql55 | ----------------------+-------------------------- Comment (by pixilla@…): Does this still happen with 5.5.36? -- Ticket URL: <https://trac.macports.org/ticket/36568#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#36568: mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string' ----------------------+-------------------------- Reporter: misc@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: mysql55 | ----------------------+-------------------------- Comment (by misc@…): the latest on macports is 5.5.33. I can tell you it is fixed, it compiles now. -- Ticket URL: <https://trac.macports.org/ticket/36568#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#36568: mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string' ----------------------+-------------------------- Reporter: misc@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: mysql55 | ----------------------+-------------------------- Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:6 misc@…]:
the latest on macports is 5.5.33. Mysql55 v5.5.36 was committed at 2014-02-17 10:05:45 -0800. I can tell you it is fixed, it compiles now. Thank you for your confirmation.
-- Ticket URL: <https://trac.macports.org/ticket/36568#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts