Summary: | media-libs/libaacs-0.11.1-r1 - emake failed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.bz2 etc.portage.tar.bz2 logs.tar.bz2 media-libs:libaacs-0.11.1-r1:20221218-222448.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 843579 [details]
emerge-info.txt
Created attachment 843581 [details]
emerge-history.txt
Created attachment 843583 [details]
environment
Created attachment 843585 [details]
etc.clang.tar.bz2
Created attachment 843587 [details]
etc.portage.tar.bz2
Created attachment 843589 [details]
logs.tar.bz2
Created attachment 843591 [details]
media-libs:libaacs-0.11.1-r1:20221218-222448.log
Created attachment 843593 [details]
temp.tar.bz2
Only a problem if byacc is used via app-alternatives/yacc. Builds fine when bison is used as default. OP is probably using the reference implementation? byacc works better, but libaacs' ylwrap script is building a file that won't compile (clang 15). I don't know if it's related to what ylwrap does (I think it's *trying* to work with multiple yaccs): -------------------- /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libaacs-0.11.1-r1/work/libaacs-0.11.1 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I/var/tmp/portage/media-libs/libaacs-0.11.1-r1/work/libaacs-0.11.1/src -I./src/libaacs -std=c99 -march=btver1 -O3 -pipe -flto=thin -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrit e-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -c -o src/file/keydbcfg-parser.lo src/file/keydbcfg-parser.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libaacs-0.11.1-r1/work/libaacs-0.11.1 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I/var/tmp/portage/media-libs/libaacs-0.11.1-r1/work/libaacs-0.11.1/src -I./src/libaacs -std=c99 -march=btver1 -O3 -pipe -flto=thin -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wunde f -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -c src/file/keydbcfg-parser.c -fPIC -DPIC -o src/file/.libs/keydbcfg-parser.o src/file/keydbcfg-parser.c:168:12: error: unknown type name 'config_file' extern int YYPARSE_DECL(); ^ src/file/keydbcfg-parser.c:144:48: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *scanner, config_file *cf, parser_state *ps) ^ src/file/keydbcfg-parser.c:168:12: error: unknown type name 'parser_state' src/file/keydbcfg-parser.c:144:65: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *scanner, config_file *cf, parser_state *ps) ^ src/file/keydbcfg-parser.c:1186:14: warning: variable 'libaacs_yynerrs' set but not used [-Wunused-but-set-variable] int yynerrs; ^ src/file/keydbcfg-parser.c:49:20: note: expanded from macro 'yynerrs' #define yynerrs libaacs_yynerrs ^ 1 warning and 2 errors generated. -------------------- Reading the configure output, it says something like 'checking for bison... byacc', so I'm inclined to say that the libaacs developers don't use yacc/byacc. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=992efc9c9c56d8c02db7b4fe94de8d910dcaefdd commit 992efc9c9c56d8c02db7b4fe94de8d910dcaefdd Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-29 10:14:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-29 10:19:52 +0000 media-libs/libaacs: force bison+flex See upstream MR but it's very much not compatible with the POSIX variants. Closes: https://bugs.gentoo.org/887071 Signed-off-by: Sam James <sam@gentoo.org> media-libs/libaacs/libaacs-0.11.1-r1.ebuild | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) |