Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887071 - media-libs/libaacs-0.11.1-r1 - emake failed
Summary: media-libs/libaacs-0.11.1-r1 - emake failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-18 22:31 UTC by Toralf Förster
Modified: 2023-01-29 10:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.61 KB, text/plain)
2022-12-18 22:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,229.57 KB, text/plain)
2022-12-18 22:31 UTC, Toralf Förster
Details
environment (environment,73.97 KB, text/plain)
2022-12-18 22:31 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,550 bytes, application/x-bzip)
2022-12-18 22:31 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.45 KB, application/x-bzip)
2022-12-18 22:31 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,17.91 KB, application/x-bzip)
2022-12-18 22:31 UTC, Toralf Förster
Details
media-libs:libaacs-0.11.1-r1:20221218-222448.log (media-libs:libaacs-0.11.1-r1:20221218-222448.log,12.53 KB, text/plain)
2022-12-18 22:31 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.24 KB, application/x-bzip)
2022-12-18 22:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-18 22:31:16 UTC
  131 | %yacc
      | ^~~~~
<command line>:1: note: previous declaration
/var/tmp/portage/media-libs/libaacs-0.11.1-r1/work/libaacs-0.11.1/src/file/keydbcfg-parser.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
updating src/file/keydbcfg-parser.h
 * ERROR: media-libs/libaacs-0.11.1-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/libaacs-0.11.1-r1::gentoo'`,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20221217-100005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 968f969fa36d7526879dc79a67e0bc32925139ca
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 18 21:17:07 2022 +0000

    2022-12-18 21:17:07 UTC

emerge -qpvO media-libs/libaacs
[ebuild  N    ] media-libs/libaacs-0.11.1-r1  ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-12-18 22:31:17 UTC
Created attachment 843579 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-18 22:31:19 UTC
Created attachment 843581 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-18 22:31:20 UTC
Created attachment 843583 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-18 22:31:21 UTC
Created attachment 843585 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-18 22:31:22 UTC
Created attachment 843587 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-18 22:31:23 UTC
Created attachment 843589 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-18 22:31:24 UTC
Created attachment 843591 [details]
media-libs:libaacs-0.11.1-r1:20221218-222448.log
Comment 8 Toralf Förster gentoo-dev 2022-12-18 22:31:25 UTC
Created attachment 843593 [details]
temp.tar.bz2
Comment 9 ernsteiswuerfel archtester 2023-01-07 20:22:12 UTC
Only a problem if byacc is used via app-alternatives/yacc.

Builds fine when bison is used as default.
Comment 10 Markus Peloquin 2023-01-11 18:32:43 UTC
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.
Comment 11 Larry the Git Cow gentoo-dev 2023-01-29 10:20:01 UTC
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(-)