Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923323

Summary: sys-apps/fwts-22.03.00 build fails
Product: Gentoo Linux Reporter: CaptainBlood <luc_pierard_de_maujouy>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED DUPLICATE    
Severity: normal CC: luc_pierard_de_maujouy, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351559    
Attachments: ebuild log

Description CaptainBlood 2024-01-30 09:27:11 UTC
Created attachment 883699 [details]
ebuild log

emerge --info sys-apps/fwts
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r9, 6.7.2-gentoo-std x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.7.2-gentoo-std-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-glibc2.38
KiB Mem:     3933672 total,    784788 free
KiB Swap:   65535996 total,  65207608 free
Timestamp of repository gentoo: Tue, 30 Jan 2024 05:45:01 +0000
Head commit of repository gentoo: b907e960963da75067dda8e1c0f95bbc07fa34c
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.75.0::pg_overlay
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             10.5.0::gentoo, 11.4.1_p20231214::gentoo, 12.3.1_p20230825::gentoo, 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 10000
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
AR="gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y 			--alphabetical 			--ask-enter-invalid 			--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y  			--autounmask-write y              --complete-graph y  			--misspell-suggestions n 			--noconfmem 			--nospinner  			--tree 			--with-bdeps y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/     http://gentoo.mirror.root.lu/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,-fuse-ld=bfd "
LEX="flex"
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
NM="gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RANLIB="gcc-ranlib"
SHELL="/bin/bash"
USE="amd64 asm custom-cflags emacs eselect-ldso fortran gentoo-vm gtk-doc minimal ocamlopt split-usr test-rust verify-sig" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PHP_TARGETS="php8-1" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-apps/fwts-22.03.00::gentoo was built with the following:
USE="userland_GNU" ABI_X86="(64)"
CFLAGS="-march=skylake -O2 -pipe -Wa,-mbranches-within-32B-boundaries"
CXXFLAGS="-march=skylake -O2 -pipe -Wa,-mbranches-within-32B-boundaries"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-30 09:28:08 UTC
```
bison -y -d -bdtcompilerparser -pDtCompilerParser ../../src/acpica/source/compiler/dtcompilerparser.y
mv dtcompilerparser.tab.c dtcompilerparser.c
cp dtcompilerparser.tab.h dtcompilerparser.y.h
mv dtcompilerparser.tab.c dtcompilerparser.c
mv: cannot stat 'dtcompilerparser.tab.c': No such file or directory
make[3]: *** [Makefile:4197: dtcompilerparser.c] Error 1
make[3]: *** Waiting for unfinished jobs....
mv dtcompilerparser.tab.c dtcompilerparser.c
mv: cannot stat 'dtcompilerparser.tab.c': No such file or directory
make[3]: *** [Makefile:4199: dtcompilerparserlex.c] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-apps/fwts-22.03.00/work/src/libfwtsiasl'
make[2]: *** [Makefile:4899: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-apps/fwts-22.03.00/work/src'
make[1]: *** [Makefile:814: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/fwts-22.03.00/work'
make: *** [Makefile:745: all] Error 2
 [31;01m*[0m ERROR: sys-apps/fwts-22.03.00::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
```

Several issues here - maintainer mode is also being triggered (need autoreconf).
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-30 09:32:15 UTC
hm, autoreconf is called, it just doesn't prevent the maintainer mode issue

we also have 23.11.0 in tree, which is possibly better (it has -j1 at least forced), but it's unkw'd:

commit ce0d6536cc59402682b39018e70014612c729148
Author: Rick Farina <zerochaos@gentoo.org>
Date:   Fri Dec 29 20:50:04 2023 -0500

    sys-apps/fwts: add 23.11.00

    Reported build issues upstream, committing ebuild without keywords since
    it doesn't build but it's better than the version in the tree.
    Removed upstreamed patch
    https://patchwork.ozlabs.org/project/fwts/patch/20220531074030.8151-1-ivan.hu@canonical.com/
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-30 09:32:31 UTC

*** This bug has been marked as a duplicate of bug 870109 ***
Comment 4 CaptainBlood 2024-01-30 11:21:20 UTC
My apologizes for the noise
/etc/portage/package.env updated accordingly here.