Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't emerge audacity updating @world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
luc3
n00b
n00b


Joined: 27 Jan 2021
Posts: 10

PostPosted: Wed Apr 17, 2024 10:31 am    Post subject: can't emerge audacity updating @world Reply with quote

don't know how to fix this... thanks for any tip!

Code:

ninja: build stopped: subcommand failed.
 * ERROR: media-sound/audacity-2.4.2-r3::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2194:  Called cmake_src_compile
 *   environment, line  906:  Called cmake_build
 *   environment, line  873:  Called eninja
 *   environment, line 1344:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=media-sound/audacity-2.4.2-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/audacity-2.4.2-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/audacity-2.4.2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/audacity-2.4.2-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/audacity-2.4.2-r3/work/audacity-2.4.2_build'
 * S: '/var/tmp/portage/media-sound/audacity-2.4.2-r3/work/audacity-Audacity-2.4.2'

>>> Failed to emerge media-sound/audacity-2.4.2-r3, Log file:

>>>  '/var/tmp/portage/media-sound/audacity-2.4.2-r3/temp/build.log'

 * Messages for package media-sound/audacity-2.4.2-r3:

 * ERROR: media-sound/audacity-2.4.2-r3::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2194:  Called cmake_src_compile
 *   environment, line  906:  Called cmake_build
 *   environment, line  873:  Called eninja
 *   environment, line 1344:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=media-sound/audacity-2.4.2-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/audacity-2.4.2-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/audacity-2.4.2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/audacity-2.4.2-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/audacity-2.4.2-r3/work/audacity-2.4.2_build'
 * S: '/var/tmp/portage/media-sound/audacity-2.4.2-r3/work/audacity-Audacity-2.4.2'



here is the output of `emerge --info '=media-sound/audacity-2.4.2-r3::gentoo'`


Code:
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.38-r11, 6.6.21-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.21-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-3360M_CPU_@_2.80GHz-with-glibc2.38
KiB Mem:     7946172 total,   1338744 free
KiB Swap:    4194300 total,   4185852 free
Timestamp of repository gentoo: Tue, 16 Apr 2024 23:30:00 +0000
Head commit of repository gentoo: 72e8c24fcd0beb997a88f7d185a02a212abafe37
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-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.3::gentoo
dev-lang/rust-bin:         1.75.0::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3-r1::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/lld:             17.0.6::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://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -O2 -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/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=ivybridge -O2 -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="-march=ivybridge -O2 -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="-march=ivybridge -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_AR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="es es_AR"
MAKEOPTS="-j4"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr encode exif flac fortran gdbm gif gpm gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pdfimportxinerama pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file 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 include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx f16c pclmul popcnt rdrand 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="es es-AR" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" 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="intel" 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, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 195
Location: Somewhere in the 77

PostPosted: Wed Apr 17, 2024 11:20 am    Post subject: Reply with quote

Hello,

First it would be nice to get the return of this command:

Code:
cat /var/tmp/portage/media-sound/audacity-2.4.2-r3/temp/build.log


If it's too long:

Code:
wgetpaste /var/tmp/portage/media-sound/audacity-2.4.2-r3/temp/build.log


Then, were you rebuilding world for the 23.0 profile upgrade ?

If yes, that might interest you, sadly it doesn't comes up with a fix it seems. Also you try to compile 2.4.2-r3 and not 3.3.3.

How did you proceed if it's related to rebuilding world from the 17.1 -> 23.0 profile upgrade ?

Also, that might be in you emerge --info command, but I'm not still in ease with it. Could you give us the flag used for audacity, if you touched them, please ?

And / or also (from gentoolkit package):

Code:
equery -u "audacity"


It will show us the flag used to compile it.

EDIT: For the record, it seems you are not alone. Posting it here because one topic might have a fix before the other, etc.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
linux_os2
Apprentice
Apprentice


Joined: 29 Aug 2018
Posts: 228
Location: Zedelgem Belgium

PostPosted: Wed Apr 17, 2024 12:01 pm    Post subject: Reply with quote

Quote:

just for the record, you doesn't seems to be alone.


Probably same error

Code:
* ERROR: media-sound/audacity-2.4.2-r3::gentoo failed (compile phase):
 *   ninja -v -j40 -l0 failed


info: https://bpa.st/ZUGA
pqv: https://bpa.st/HGCA
buildlogaa https://pastebin.com/G8S9CSKH
buildlogab https://pastebin.com/ugyaHUmw
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 195
Location: Somewhere in the 77

PostPosted: Wed Apr 17, 2024 12:12 pm    Post subject: Reply with quote

linux_os2 wrote:
Quote:

just for the record, you doesn't seems to be alone.


Probably same error

Code:
* ERROR: media-sound/audacity-2.4.2-r3::gentoo failed (compile phase):
 *   ninja -v -j40 -l0 failed


info: https://bpa.st/ZUGA
pqv: https://bpa.st/HGCA
buildlogaa https://pastebin.com/G8S9CSKH
buildlogab https://pastebin.com/ugyaHUmw


I would not recommand to share info from a topic to another, it will be very confusing.

«Linking» them by stating they are related is probably enough :wink:.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
e8root
n00b
n00b


Joined: 09 Feb 2024
Posts: 72

PostPosted: Wed Apr 17, 2024 1:59 pm    Post subject: Reply with quote

I have the same issue. Tried bunch of different compilers (GCC13, Clang17, oneAPI based on Clang16 and oneAPI based on Clang18) and all show the same error.

Made quick patch but there are numerous errors with ffmpeg.h conflicting with /usr/include/libavcodec/avcodec.h
Patch /etc/portage/patches/media-sound/audacity-2.4.2-r3/fix.diff
Code:
diff -Naru audacity-Audacity-2.4.2/include/audacity/Types.h /tmp/auda/include/audacity/Types.h
--- audacity-Audacity-2.4.2/include/audacity/Types.h   2020-06-19 17:16:47.000000000 +0200
+++ /tmp/auda/include/audacity/Types.h   2024-04-17 16:09:35.199923544 +0200
@@ -46,6 +46,7 @@
 #include <functional>
 #include <type_traits>
 #include <vector>
+#include <limits>
 #include <wx/debug.h> // for wxASSERT
 #include <wx/string.h> // type used in inline function and member variable
 #include <wx/version.h> // for wxCHECK_VERSION


Disabling ffmpeg USE flag still fails but now due to some C++ rule violations...

...what I wonder is why I had Audacity in version 3.3.3 now wanting to downgrade to 2.4.2. On Audacity git the newest release is 3.4.2.

Personally I am skipping this "upgrade"
_________________
Unix Wars - Episode V: AT&T Strikes Back
Back to top
View user's profile Send private message
Conditional_Zenith
Apprentice
Apprentice


Joined: 22 Sep 2004
Posts: 157
Location: Australia

PostPosted: Wed Apr 17, 2024 3:55 pm    Post subject: Reply with quote

Well the cause of the downgrade would be https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72e8c24fcd0beb997a88f7d185a02a212abafe37

There was a 3.3.3 stable. It was deleted and 3.3.3-r1 which is not marked stable is there instead. Hence 2.4.2-r3 is the latest stable.

Looks like 3.3.3 was stabilised for amd64 December last year. Definitely seems weird to do a major version downgrade after ~4 months.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Wed Apr 17, 2024 5:26 pm    Post subject: Reply with quote

audacity-3.3.3 built and runs just fine for me. Should I really downgrade?

ADDED by edit: update to 3.3.3-r1 ~amd64 went fine and runs/plays/works as expected.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
linux_os2
Apprentice
Apprentice


Joined: 29 Aug 2018
Posts: 228
Location: Zedelgem Belgium

PostPosted: Wed Apr 17, 2024 8:16 pm    Post subject: Reply with quote

media-sound/audacity-3.4.2-r1 built and works fine
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2720

PostPosted: Wed Apr 17, 2024 8:35 pm    Post subject: Reply with quote

Pretty sure that the removal of (former stable) 3.3.3 was a mistake, I think 3.3.3-r1 was originally meant to be "direct-to-stable" so it replaced 3.3.3 -- but then later in the PR they decided to keep the changes in ~testing as a safety... however 3.3.3 wasn't restored and it dropped people back to audacity-2.

Anyhow, I restored the stable 3.3.3 earlier, and 3.4.2-r1 is due to be the next stable in 30ish days from what I got.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum