Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New profile emerging world and vte-common failing [solved]
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
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Sat Mar 23, 2024 8:56 pm    Post subject: New profile emerging world and vte-common failing [solved] Reply with quote

I am at the last step of a very simple profile upgrade to 23 where I am running

Code:
emerge -av --emptytree @world


and I am failing with x11-libs/vte-common-0.74.2. It is failing:

Code:
...
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2850:  Called meson_src_configure
 *   environment, line 2052:  Called die
 * The specific snippet of code:
 *       meson setup "${MESONARGS[@]}" ) || die


I suspect the error is having that right parenthesis without a corresponding left parenthesis.

I normally wait for a fix to show up but this is building 700+ packages on a mini PC and this error occurs after 300-400 packages have already been built, so it takes a while. What can I do besides wait? I do need x11-libs/vte-common for my x11-terms/xfce4-terminal-1.1.3, which I've grown fond of over the years.

Thanks.


Last edited by pdr on Sun Mar 24, 2024 10:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Sat Mar 23, 2024 9:01 pm    Post subject: Reply with quote

I think it's just formatting of the subshell there. Please share the full build.log.
Back to top
View user's profile Send private message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Sun Mar 24, 2024 9:03 am    Post subject: Reply with quote

Right you are. /var/tmp/portage/gui-libs/vte-common-0.74.2/temp/build.log:

Code:
 * Package:    gui-libs/vte-common-0.74.2:2.91
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12 ...
 [ ok ]
 * Using python3.12 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
>>> Unpacking vte-0.74.2.tar.bz2 to /var/tmp/portage/gui-libs/vte-common-0.74.2/work
>>> Source unpacked in /var/tmp/portage/gui-libs/vte-common-0.74.2/work
>>> Preparing source in /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-0.74.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-0.74.2 ...
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/gui-libs/vte-common-0.74.2/temp/python3.12/pkgconfig:/usr/share/pkgco
nfig --pkg-config-path /var/tmp/portage/gui-libs/vte-common-0.74.2/temp/python3.12/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/gui-libs/vte-common-0.74.2/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwe
rror=false -Dbuildtype=plain -Da11y=false -Ddebugg=false -Ddocs=false -Dgir=false -Dfribidi=true -Dglade=false -Dgnutls=false -Dgtk3=false -Dgtk4=false -Dicu=false -D_systemd=false -Dvapi=false /var/tmp/portage/gui-libs/vte-common-
0.74.2/work/vte-0.74.2 /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build
The Meson build system
Version: 1.3.2
Source dir: /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-0.74.2
Build dir: /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build
Build type: native build
Project name: vte
Project version: 0.74.2
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 12.3.1 "x86_64-pc-linux-gnu-gcc (Gentoo 12.3.1_p20230526 p2) 12.3.1 20230526")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.37
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 12.3.1 "x86_64-pc-linux-gnu-g++ (Gentoo 12.3.1_p20230526 p2) 12.3.1 20230526")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -std=gnu11: YES
meson.build:141: WARNING: Consider using the built-in option for language standard version instead of using "-std=gnu11".
Compiler for C++ supports arguments -std=gnu++20: YES
meson.build:149: WARNING: Consider using the built-in option for language standard version instead of using "-std=gnu++20".
Program python3 (dataclasses) found: YES (/var/tmp/portage/gui-libs/vte-common-0.74.2/temp/python3.12/bin/python3) modules: dataclasses
Header "sys/ioctl.h" has symbol "TIOCGWINSZ" : YES
Library m found: YES
Checking if "fork" compiles: YES
Checking if "grantpt" compiles: YES
Checking if "posix_openpt" compiles: YES
Checking if "ptsname" compiles: YES
Checking if "tcgetattr" compiles: YES
Checking if "unlockpt" compiles: YES
Checking if "explicit_bzero" compiles: YES
Checking if "fdwalk" compiles: NO
Checking if "pread" compiles: YES
Checking if "pwrite" compiles: YES
Checking if "strchrnul" compiles: YES
Checking if "close_range" compiles: YES
Checking if "ceil" with dependency -lm compiles: YES
Checking if "floor" with dependency -lm compiles: YES
Checking if "round" with dependency -lm compiles: YES
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Wextra: YES
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Wcast-function-type: YES
Compiler for C supports arguments -Wclobbered: YES
Compiler for C supports arguments -Wempty-body: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Werror=init-self: YES
Compiler for C supports arguments -Werror=missing-include-dirs: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Wfloat-equal: YES
Compiler for C supports arguments -Wignored-qualifiers: YES
Compiler for C supports arguments -Winvalid-pch: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmisleading-indentation: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wno-address-of-packed-member: YES
Compiler for C supports arguments -Wno-c99-designator: NO
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-packed: YES
Compiler for C supports arguments -Wno-switch-enum: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-volatile: NO
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wshift-negative-value: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wuninitialized: YES
Compiler for C supports arguments -Wuninitialized: YES (cached)
Compiler for C supports arguments -Wunsafe-loop-optimizations: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wunused-but-set-parameter: YES
Compiler for C supports arguments -Wunused-but-set-variable: YES
Compiler for C supports arguments -Wunused-function: YES
Compiler for C supports arguments -Wunused-label: YES
Compiler for C supports arguments -Wunused-local-typedefs: YES
Compiler for C supports arguments -Wunused-value: YES
Compiler for C supports arguments -Wunused-variable: YES
Compiler for C supports arguments -Wvla: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -fdiagnostics-show-option: YES
Compiler for C supports arguments -fno-common: YES
Compiler for C supports arguments -fno-semantic-interposition: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -Waggregate-return: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Wimplicit: YES
Compiler for C supports arguments -Wimplicit-fallthrough=3: YES
Compiler for C supports arguments -Wmissing-parameter-type: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-declaration: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Woverride-init: YES
Compiler for C supports arguments -Wsign-compare: YES (cached)
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C++ supports arguments -Wall: YES
Compiler for C++ supports arguments -Wextra: YES
Compiler for C++ supports arguments -Wcast-align: YES
Compiler for C++ supports arguments -Wcast-function-type: YES
Compiler for C++ supports arguments -Wclobbered: YES
Compiler for C++ supports arguments -Wempty-body: YES
Compiler for C++ supports arguments -Wendif-labels: YES
Compiler for C++ supports arguments -Werror=init-self: YES
Compiler for C++ supports arguments -Werror=missing-include-dirs: YES
Compiler for C++ supports arguments -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Wfloat-equal: YES
Compiler for C++ supports arguments -Wignored-qualifiers: YES
Compiler for C++ supports arguments -Winvalid-pch: YES
Compiler for C++ supports arguments -Wlogical-op: YES
Compiler for C++ supports arguments -Wmisleading-indentation: YES
Compiler for C++ supports arguments -Wmissing-declarations: YES
Compiler for C++ supports arguments -Wmissing-field-initializers: YES
Compiler for C++ supports arguments -Wmissing-format-attribute: YES
Compiler for C++ supports arguments -Wmissing-include-dirs: YES
Compiler for C++ supports arguments -Wmissing-noreturn: YES
Compiler for C++ supports arguments -Wno-address-of-packed-member: YES
Compiler for C++ supports arguments -Wno-c99-designator: NO
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
Compiler for C++ supports arguments -Wno-packed: YES
Compiler for C++ supports arguments -Wno-switch-enum: YES
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Compiler for C++ supports arguments -Wno-volatile: YES
Compiler for C++ supports arguments -Wshadow: YES
Compiler for C++ supports arguments -Wshift-negative-value: YES
Compiler for C++ supports arguments -Wsign-compare: YES
Compiler for C++ supports arguments -Wstrict-aliasing=2: YES
Compiler for C++ supports arguments -Wtype-limits: YES
Compiler for C++ supports arguments -Wundef: YES
Compiler for C++ supports arguments -Wuninitialized: YES
Compiler for C++ supports arguments -Wuninitialized: YES (cached)
Compiler for C++ supports arguments -Wunsafe-loop-optimizations: YES
Compiler for C++ supports arguments -Wunused: YES
Compiler for C++ supports arguments -Wunused-but-set-parameter: YES
Compiler for C++ supports arguments -Wunused-but-set-variable: YES
Compiler for C++ supports arguments -Wunused-function: YES
Compiler for C++ supports arguments -Wunused-label: YES
Compiler for C++ supports arguments -Wunused-local-typedefs: YES
Compiler for C++ supports arguments -Wunused-value: YES
Compiler for C++ supports arguments -Wunused-variable: YES
Compiler for C++ supports arguments -Wvla: YES
Compiler for C++ supports arguments -Wwrite-strings: YES
Compiler for C++ supports arguments -fdiagnostics-show-option: YES
Compiler for C++ supports arguments -fno-common: YES
Compiler for C++ supports arguments -fno-semantic-interposition: YES
Compiler for C++ supports arguments -fno-strict-aliasing: YES
Compiler for C++ supports arguments -Wimplicit-fallthrough=5: YES
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES
Compiler for C++ supports arguments -Wstrict-null-sentinel: YES
Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES
Compiler for C++ supports arguments -fvisibility=hidden: YES
Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES (cached)
Compiler for C++ supports arguments -fvisibility=hidden: YES (cached)
Compiler for C supports arguments -Werror=format=2 -Werror=format-nonliteral -Werror=format-security: YES
Compiler for C++ supports arguments -Werror=format=2 -Werror=format-nonliteral -Werror=format-security: YES
meson.build:570: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
meson.build:570: WARNING: Consider using the built-in warning_level option instead of using "-Wextra".
meson.build:571: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
meson.build:571: WARNING: Consider using the built-in warning_level option instead of using "-Wextra".
Compiler for C supports link arguments -Wl,-Bsymbolic: NO
Compiler for C++ supports link arguments -Wl,-Bsymbolic: NO
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: NO

meson.build:588:4: ERROR: Assert failed: -Wl,-Bsymbolic-functions is required but not supported

A full log can be found at /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build/meson-logs/meson-log.txt
 * ERROR: gui-libs/vte-common-0.74.2::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2850:  Called meson_src_configure
 *   environment, line 2052:  Called die
 * The specific snippet of code:
 *       meson setup "${MESONARGS[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=gui-libs/vte-common-0.74.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gui-libs/vte-common-0.74.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gui-libs/vte-common-0.74.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gui-libs/vte-common-0.74.2/temp/environment'.
 * Working directory: '/var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-0.74.2'
 * S: '/var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-0.74.2'


And the output of "emerge --info":

Code:
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-12, glibc-2.38-r10, 6.6.21-gentoo x86_64)
=================================================================
System uname: Linux-6.6.21-gentoo-x86_64-Intel-R-_Core-TM-_i5-8400_CPU_@_2.80GHz-with-glibc2.38
KiB Mem:     8024852 total,   5069832 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 24 Mar 2024 08:30:00 +0000
Head commit of repository gentoo: f4f260fbb7738de5bce902cd54f86cd3a8395561
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
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-r2::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.9.17::gentoo, 3.10.12::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo, 2.38-r2::gentoo, 2.39-r5::gentoo, 2.40-r9::gentoo, 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo, 12.3.1_p20230526::gentoo, 13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::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-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
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="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-O2 -pipe -march=native"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j6"
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 alsa amd64 branding bzip2 cairo cdda cdr cet crypt curl dbus dri dts dvd dvdr elogind encode exif ffmpeg flac fontconfig gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds raw readline sdl seccomp sound split-usr ssl startup-notification svg test-rust theora threads truetype udev udisks unicode upower usb vorbis vulkan widevine wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" 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="aes avx avx2 mmx mmxext popcnt 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="evdev" KERNEL="linux" L10N="en en-US" 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, LINGUAS, 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
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Sun Mar 24, 2024 9:13 am    Post subject: Reply with quote

Thanks. Could you share /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build/meson-logs/meson-log.txt?
Back to top
View user's profile Send private message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Sun Mar 24, 2024 10:02 am    Post subject: Reply with quote

Also the output of gcc-config -l:

Code:
workstation ~ # gcc-config -l
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
 [3] x86_64-pc-linux-gnu-13


And the contents of /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build/meson-logs/meson-log.txt:

Code:
,,, (I was getting post failures from the forum parser)

-----------
Command line: `x86_64-pc-linux-gnu-g++ /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build/meson-private/tmpg8be_mwj/testfile.cpp -o /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build/meson-private/tmpg8be_mwj/output.exe -O2 -pipe -march=native -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wl,--fatal-warnings -Wl,-Bsymbolic -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs` -> 1
stderr:
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: warning: -z pack-relative-relocs ignored
collect2: error: ld returned 1 exit status
-----------
Compiler for C++ supports link arguments -Wl,-Bsymbolic: NO
Running compile:
Working directory:  /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build/meson-private/tmpy44_vzq_
Code:
 int main(void) { return 0; }

-----------
Command line: `x86_64-pc-linux-gnu-gcc /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build/meson-private/tmpy44_vzq_/testfile.c -o /var/tmp/portage/gui-libs/vte-common-0.74.2/work/vte-common-0.74.2-build/meson-private/tmpy44_vzq_/output.exe -O2 -pipe -march=native -D_FILE_OFFSET_BITS=64 -O0 -Wl,--fatal-warnings -Wl,-Bsymbolic-functions -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs` -> 1
stderr:
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: warning: -z pack-relative-relocs ignored
collect2: error: ld returned 1 exit status
-----------
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: NO

meson.build:588:4: ERROR: Assert failed: -Wl,-Bsymbolic-functions is required but not supported
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Sun Mar 24, 2024 10:12 am    Post subject: Reply with quote

Please select a newer binutils via binutils-config. Do the same for GCC with gcc-config.

Your current selected binutils does not support DT_RELR which the new 23.0 profiles enable by default.

I also encourage depcleaning regularly after world upgrades.
Back to top
View user's profile Send private message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Sun Mar 24, 2024 10:51 pm    Post subject: [solved] With newest gcc and binutils selected Reply with quote

I like to keep my current kernel sources and 2 older so that - just in case - I can boot an older kernel. Yes, this is from experience, though it has been many years. That is why I don't automate --depclean.
Instead, I run "emerge -pv --depclean", look at the output, and manually remove older packages, though I haven't done that in a while. But running it this time told me which gcc and binutils it would keep, so those are the ones I enabled and now it is near the end of the 768 package update/reinstall (is up to chromium, which takes about 6 hours to compile on this box).

Thanks. And if there is a way (I don't think so) to tell portage to "always keep the 3 most recent kernels" I'd love to know; I have all this cruft lying around because it is so tedious to manually depclean.
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: Mon Mar 25, 2024 5:47 am    Post subject: Reply with quote

Adding the kernel and version to /var/lib/portage/world will prevent depcleaning those kernel sources you want to keep, and let you use "emerge -ac" regularly without trouble. For example:
Code:
$ grep sources /var/lib/portage/world
sys-kernel/gentoo-sources
sys-kernel/gentoo-sources:5.15.147
sys-kernel/gentoo-sources:6.1.74

You can do that without manually editing world with the command (example):
Code:
emerge --noreplace =sys-kernel/gentoo-sources-5.15.151

Edit: There needs to be = sign in the atom above -- fixed.
_________________
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


Last edited by figueroa on Mon Mar 25, 2024 3:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Mon Mar 25, 2024 2:55 pm    Post subject: Reply with quote

You can also emerge -ac --exclude sys-kernel/gentoo-sources and such.
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