#18730: can not build mysql
----------------------------+----------------------------------
Reporter: iamtaylover@… | Owner: developers
Type: defect | Status: closed
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords:
----------------------------+----------------------------------
Changes (by jow):
* status: new => closed
* resolution: => fixed
Old description:
> sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
> #define YYTHD ((THD *)yythd)
> ^
> sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
> #define Lex (YYTHD->lex)
> ^
> sql_yacc.yy:13773:7: note: in expansion of macro 'Lex'
> { Lex->xa_opt=XA_SUSPEND; }
> ^
> sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
> #define YYTHD ((THD *)yythd)
> ^
> sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
> #define Lex (YYTHD->lex)
> ^
> sql_yacc.yy:13779:7: note: in expansion of macro 'Lex'
> | FOR_SYM MIGRATE_SYM { Lex->xa_opt=XA_FOR_MIGRATE; }
> ^
> sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
> #define YYTHD ((THD *)yythd)
> ^
> sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
> #define Lex (YYTHD->lex)
> ^
> sql_yacc.yy:13785:23: note: in expansion of macro 'Lex'
> LEX *lex= Lex;
> ^
> sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
> #define YYTHD ((THD *)yythd)
> ^
> sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
> #define Lex (YYTHD->lex)
> ^
> sql_yacc.yy:13795:23: note: in expansion of macro 'Lex'
> LEX *lex= Lex;
> ^
> make[7]: *** [sql_yacc.o] Error 1
> make[7]: Leaving directory `/home/love4taylor/openwrt/trunk/build_dir
> /target-arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73/sql'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory `/home/love4taylor/openwrt/trunk/build_dir
> /target-arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73/sql'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory `/home/love4taylor/openwrt/trunk/build_dir
> /target-arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73/sql'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/home/love4taylor/openwrt/trunk/build_dir
> /target-arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73'
> make[3]: *** [/home/love4taylor/openwrt/trunk/build_dir/target-
> arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73/.built] Error 2
> make[3]: Leaving directory
> `/home/love4taylor/openwrt/trunk/feeds/packages/utils/mysql'
> make[2]: *** [package/feeds/packages/mysql/compile] Error 2
> make[2]: Leaving directory `/home/love4taylor/openwrt/trunk'
> make[1]: *** [/home/love4taylor/openwrt/trunk/staging_dir/target-
> arm_mpcore_uClibc-0.9.33.2_eabi/stamp/.package_compile] Error 2
> make[1]: Leaving directory `/home/love4taylor/openwrt/trunk'
> make: *** [world] Error 2
New description:
{{{
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
#define YYTHD ((THD *)yythd)
^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
#define Lex (YYTHD->lex)
^
sql_yacc.yy:13773:7: note: in expansion of macro 'Lex'
{ Lex->xa_opt=XA_SUSPEND; }
^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
#define YYTHD ((THD *)yythd)
^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
#define Lex (YYTHD->lex)
^
sql_yacc.yy:13779:7: note: in expansion of macro 'Lex'
| FOR_SYM MIGRATE_SYM { Lex->xa_opt=XA_FOR_MIGRATE; }
^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
#define YYTHD ((THD *)yythd)
^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
#define Lex (YYTHD->lex)
^
sql_yacc.yy:13785:23: note: in expansion of macro 'Lex'
LEX *lex= Lex;
^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
#define YYTHD ((THD *)yythd)
^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
#define Lex (YYTHD->lex)
^
sql_yacc.yy:13795:23: note: in expansion of macro 'Lex'
LEX *lex= Lex;
^
make[7]: *** [sql_yacc.o] Error 1
make[7]: Leaving directory `/home/love4taylor/openwrt/trunk/build_dir
/target-arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73/sql'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/love4taylor/openwrt/trunk/build_dir
/target-arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73/sql'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/love4taylor/openwrt/trunk/build_dir
/target-arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73/sql'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/love4taylor/openwrt/trunk/build_dir
/target-arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73'
make[3]: *** [/home/love4taylor/openwrt/trunk/build_dir/target-
arm_mpcore_uClibc-0.9.33.2_eabi/mysql-5.1.73/.built] Error 2
make[3]: Leaving directory
`/home/love4taylor/openwrt/trunk/feeds/packages/utils/mysql'
make[2]: *** [package/feeds/packages/mysql/compile] Error 2
make[2]: Leaving directory `/home/love4taylor/openwrt/trunk'
make[1]: *** [/home/love4taylor/openwrt/trunk/staging_dir/target-
arm_mpcore_uClibc-0.9.33.2_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/love4taylor/openwrt/trunk'
make: *** [world] Error 2
}}}
--
Comment:
Already fixed with
https://github.com/openwrt/packages/commit/fe91b194d1d0efbc7e643cbf18bdeba457d8d1b4
- run ./scripts/feeds update packages && make
package/mysql/{clean,compile}
--
Ticket URL: <https://dev.openwrt.org/ticket/18730#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets