Opened 12 years ago
Closed 11 years ago
#36568 closed defect (fixed)
mysql @5.5.27 build failure error: incomplete definition of type 'struct st_mysql_lex_string'
Reported by: | misc@… | Owned by: | pixilla (Bradley Giesbrecht) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | mountainlion | Cc: | cooljeanius (Eric Gallager) |
Port: | mysql55 |
Description
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=1&changeset=on&milestone=on&portsummarysearch=on&ticket=on&wiki=on
Attachments (1)
Change History (8)
Changed 12 years ago by misc@…
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to pixilla@… |
---|---|
Port: | mysql55 added; MySQL 5.5 removed |
In the future, please Cc the port maintainer(s).
comment:2 follow-up: 3 Changed 12 years ago by jmroot (Joshua Root)
Does this still happen with 5.5.28?
comment:3 Changed 12 years ago by misc@…
comment:6 follow-up: 7 Changed 11 years ago by misc@…
the latest on macports is 5.5.33.
I can tell you it is fixed, it compiles now.
comment:7 Changed 11 years ago by pixilla (Bradley Giesbrecht)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to 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.
Build log file