View previous topic :: View next topic |
Author |
Message |
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Mon Apr 08, 2024 3:16 am Post subject: opus-1.5.1-r1 - failed during emerge world -Du |
|
|
Code: |
[10/198] x86_64-pc-linux-gnu-gcc -Icelt/libopus-celt.a.p -Icelt -I../opus-1.5.1/celt -I. -I../opus-1.5.1 -Iinclude -I../opus-1.5.1/include -Isilk -I../opus-1.5.1/silk -Idnn -I../opus-1.5.1/dnn -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -DOPUS_BUILD -DHAVE_CONFIG_H -fvisibility=hidden -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -fstack-protector-strong -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ celt/libopus-celt.a.p/bands.c.o -MF celt/libopus-celt.a.p/bands.c.o.d -o celt/libopus-celt.a.p/bands.c.o -c ../opus-1.5.1/celt/bands.c
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -j 2 -l 2.0 -v
* ERROR: media-libs/opus-1.5.1-r1::gentoo failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 3352: Called meson-multilib_src_compile
* environment, line 2035: Called multilib-minimal_src_compile
* environment, line 2223: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 2490: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2183: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2181: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 639: Called multilib-minimal_abi_src_compile
* environment, line 2217: Called multilib_src_compile
* environment, line 2710: Called meson_src_compile
* environment, line 2106: Called die
* The specific snippet of code:
* "$@" || die -n "compile failed";
*
* If you need support, post the output of `emerge --info '=media-libs/opus-1.5.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/opus-1.5.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/opus-1.5.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/opus-1.5.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/opus-1.5.1-r1/work/opus-1.5.1-abi_x86_64.amd64'
* S: '/var/tmp/portage/media-libs/opus-1.5.1-r1/work/opus-1.5.1'
>>> Failed to emerge media-libs/opus-1.5.1-r1, Log file:
>>> '/var/tmp/portage/media-libs/opus-1.5.1-r1/temp/build.log'
|
Code: |
g64 ~ # emerge --info '=media-libs/opus-1.5.1-r1::gentoo'
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/split-usr/desktop/gnome, gcc-13, glibc-2.38-r11, 6.6.21-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.21-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.38
KiB Mem: 16389460 total, 11223548 free
KiB Swap: 16777212 total, 16777212 free
Timestamp of repository gentoo: Mon, 08 Apr 2024 00:00:01 +0000
Head commit of repository gentoo: 621646911cbafa861f8672f8facaf2c441c792a2
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.28.3::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.2::gentoo
dev-java/java-config: 2.3.3-r1::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin: 1.75.0::gentoo
sys-apps/baselayout: 2.14-r2::gentoo
sys-apps/openrc: 0.53.1::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r11::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
DISTDIR="/var/cache/distfiles"
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="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
GENTOO_MIRRORS="http://gentoo.aditsu.net:8000"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
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"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet colord crypt cups dbus dri dts dvd dvdr eds egl elogind encode evo exif flac gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg sysprof test-rust tiff tracker truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="actions alias auth_basic authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers http2 include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias access_compat asis auth_digest auth_form authn_dbd authz_dbd cern_meta dbd dumpio ident imagemap lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_hcheck proxy_html proxy_http proxy_http2 proxy_scgi proxy_uwsgi proxy_wstunnel ratelimit remoteip reqtimeout session session_cookie session_crypto session_dbd slotmem_shm substitute version watchdog xml2enc" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput evdev synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="WebAssembly DirectX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu dummy fbdev intel nouveau radeon radeonsi vesa i915 qxl virtualbox vmware d3d12 virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
https://www.98036119lmak.ftp.sh/build.log
https://www.98036119lmak.ftp.sh/build.log.html
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Tue Apr 09, 2024 1:24 pm Post subject: |
|
|
i tried to explode the opus pkg
./configure
make
make check
these steps do it this way passed
that means to me the problem lies in between meson and ninja
i don't know why people nowadays like meson and ninja anyway
how to solve that?
any hint?
i cannot locate or get verbose around ninja subcommand failed information
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30991 Location: here
|
Posted: Tue Apr 09, 2024 1:48 pm Post subject: |
|
|
Have you tried to compile with -O2 instead of -O3? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Tue Apr 09, 2024 1:56 pm Post subject: |
|
|
you've guessed it
changed to O2 and it works
that means my bad?
the whole emerge world only got opus that does not work with O3 and native
OOOOOOoooooooooo... _________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Tue Apr 09, 2024 2:01 pm Post subject: |
|
|
fedeliallalinea wrote: | Have you tried to compile with -O2 instead of -O3? |
is it possible to upstream this problem/issue???
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1415 Location: Germany
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30991 Location: here
|
Posted: Tue Apr 09, 2024 2:22 pm Post subject: |
|
|
honeymak wrote: | is it possible to upstream this problem/issue??? |
It's not a upstream problem. The problem is the optimization used by you. Read the link posted by banana. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Tue Apr 09, 2024 2:23 pm Post subject: |
|
|
Code: |
COMMON_FLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
|
i tried several rounds to compile opus alone (not that time consuming as is)
i eliminate one option at a time from the tail
O3 works
but not any native
so......my question is........is it possible to make a specific cflags for that super special opus package?
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30991 Location: here
|
Posted: Tue Apr 09, 2024 2:25 pm Post subject: |
|
|
honeymak wrote: | so......my question is........is it possible to make a specific cflags for that super special opus package? |
Yes with package.env. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Tue Apr 09, 2024 2:39 pm Post subject: |
|
|
fedeliallalinea wrote: | honeymak wrote: | so......my question is........is it possible to make a specific cflags for that super special opus package? |
Yes with package.env. |
yup....package.env works......
but when specific env works it magical way..........em.......it's not verbose in the build.log.......
i mean some day i forgot this special env for opus.......that i have to troubleshoot again....
is there any special way to keep remebering the portage different custom settings in verbose/one-go?
i mean the specific custom thing being verbose so that i can release my brain to remember anything special....
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21770
|
Posted: Tue Apr 09, 2024 4:40 pm Post subject: |
|
|
I see some references in this thread to verbose build, but I do not see where you did anything to cause it to be verbose. What did you do the first time? Do that again, with package.env. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1697
|
Posted: Wed Apr 10, 2024 12:40 am Post subject: |
|
|
bug 929031 has since been filed. |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Wed Apr 10, 2024 10:51 am Post subject: |
|
|
Hu wrote: | I see some references in this thread to verbose build, but I do not see where you did anything to cause it to be verbose. What did you do the first time? Do that again, with package.env. |
i mean the build.log file contains my specific package.env for that certain pkg
e.g. for this example i have to make a file called opus-cflags in /etc/portage/package.env which contains some -O3 cflags stuff in it which other pkg compile with /etc/portage/make.conf cflags
OR
does build.log contain package.env like variables already in each build.log file? i think i didn't see such lines?
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Wed Apr 10, 2024 11:06 am Post subject: |
|
|
Coooooooooooool~~
thx so much
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21770
|
Posted: Wed Apr 10, 2024 3:16 pm Post subject: |
|
|
I don't understand your question. package.env influences how Portage builds the package. build.log documents what was printed when the package was built. You asked for a way to save the build log. We gave you one. Saving the log, or not, does not change how the package is built. |
|
Back to top |
|
|
|