Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge x11-misc/xdotool-3.20211022.1-r1
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
Nreal
Guru
Guru


Joined: 06 Jan 2009
Posts: 303

PostPosted: Mon May 12, 2025 2:58 pm    Post subject: Failed to emerge x11-misc/xdotool-3.20211022.1-r1 Reply with quote

Code:

x86_64-pc-linux-gnu-gcc -o xdotool xdotool.o cmd_click.o cmd_mousemove.o cmd_mousemove_relative.o cmd_mousedown.o cmd_mouseup.o cmd_getmouselocation.o cmd_type.o cmd_key.o cmd_windowmove.o cmd_windowactivate.o cmd_windowfocus.o cmd_windowraise.o cmd_windowsize.o cmd_windowstate.o cmd_set_window.o cmd_search.o cmd_getwindowfocus.o cmd_getwindowpid.o cmd_getactivewindow.o cmd_windowmap.o cmd_windowunmap.o cmd_windowreparent.o cmd_set_num_desktops.o cmd_get_num_desktops.o cmd_set_desktop.o cmd_get_desktop.o cmd_set_desktop_for_window.o cmd_get_desktop_for_window.o cmd_get_desktop_viewport.o cmd_set_desktop_viewport.o cmd_windowkill.o cmd_behave.o cmd_window_select.o cmd_getwindowname.o cmd_getwindowclassname.o cmd_behave_screen_edge.o cmd_windowminimize.o cmd_exec.o cmd_getwindowgeometry.o cmd_windowclose.o cmd_windowquit.o cmd_sleep.o cmd_get_display_geometry.o -L. -lxdo -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Xlinker -rpath /usr/lib  -lm -lX11  -lrt
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ./libxdo.so: undefined reference to `XFreeDeviceList'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ./libxdo.so: undefined reference to `XListInputDevices'
collect2: error: ld returned 1 exit status
make: *** [Makefile:164: xdotool] Error 1
 * ERROR: x11-misc/xdotool-3.20211022.1-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-misc/xdotool-3.20211022.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/xdotool-3.20211022.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work/xdotool-3.20211022.1'
 * S: '/var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work/xdotool-3.20211022.1'


Code:

# cat /var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/temp/build.log
 * Package:    x11-misc/xdotool-3.20211022.1-r1:0
 * Repository: gentoo
 * Maintainer: ionen@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking xdotool-3.20211022.1.tar.gz to /var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work
>>> Source unpacked in /var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work
>>> Preparing source in /var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work/xdotool-3.20211022.1 ...
 * Applying xdotool-3.20210804.2-no_hardcoded_pkg-config.patch ...                                                                                                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work/xdotool-3.20211022.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work/xdotool-3.20211022.1 ...
make -j12 PREFIX=/usr
pod2man -c "" -r "" xdotool.pod > xdotool.1
x86_64-pc-linux-gnu-gcc -g    -std=c99  -fPIC -c xdo.c
x86_64-pc-linux-gnu-gcc -g    -std=c99  -fPIC -c xdo_search.c
x86_64-pc-linux-gnu-gcc -g    -std=c99  -c xdotool.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_click.o cmd_click.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_mousemove.o cmd_mousemove.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_mousemove_relative.o cmd_mousemove_relative.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_mousedown.o cmd_mousedown.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_mouseup.o cmd_mouseup.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_getmouselocation.o cmd_getmouselocation.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_type.o cmd_type.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_key.o cmd_key.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowmove.o cmd_windowmove.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowactivate.o cmd_windowactivate.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowfocus.o cmd_windowfocus.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowraise.o cmd_windowraise.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowsize.o cmd_windowsize.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowstate.o cmd_windowstate.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_set_window.o cmd_set_window.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_search.o cmd_search.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_getwindowfocus.o cmd_getwindowfocus.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_getwindowpid.o cmd_getwindowpid.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_getactivewindow.o cmd_getactivewindow.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowmap.o cmd_windowmap.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowunmap.o cmd_windowunmap.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowreparent.o cmd_windowreparent.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_set_num_desktops.o cmd_set_num_desktops.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_get_num_desktops.o cmd_get_num_desktops.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_set_desktop.o cmd_set_desktop.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_get_desktop.o cmd_get_desktop.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_set_desktop_for_window.o cmd_set_desktop_for_window.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_get_desktop_for_window.o cmd_get_desktop_for_window.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_get_desktop_viewport.o cmd_get_desktop_viewport.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_set_desktop_viewport.o cmd_set_desktop_viewport.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowkill.o cmd_windowkill.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_behave.o cmd_behave.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_window_select.o cmd_window_select.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_getwindowname.o cmd_getwindowname.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_getwindowclassname.o cmd_getwindowclassname.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_behave_screen_edge.o cmd_behave_screen_edge.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowminimize.o cmd_windowminimize.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_exec.o cmd_exec.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_getwindowgeometry.o cmd_getwindowgeometry.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowclose.o cmd_windowclose.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_windowquit.o cmd_windowquit.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_sleep.o cmd_sleep.c
x86_64-pc-linux-gnu-gcc -g    -std=c99    -c -o cmd_get_display_geometry.o cmd_get_display_geometry.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -shared -Wl,-soname=libxdo.so.3 xdo.o xdo_search.o -o libxdo.so -lXtst -lXinerama -lX11 -lxkbcommon
ln -s libxdo.so libxdo.so.3
x86_64-pc-linux-gnu-gcc -o xdotool xdotool.o cmd_click.o cmd_mousemove.o cmd_mousemove_relative.o cmd_mousedown.o cmd_mouseup.o cmd_getmouselocation.o cmd_type.o cmd_key.o cmd_windowmove.o cmd_windowactivate.o cmd_windowfocus.o cmd_windowraise.o cmd_windowsize.o cmd_windowstate.o cmd_set_window.o cmd_search.o cmd_getwindowfocus.o cmd_getwindowpid.o cmd_getactivewindow.o cmd_windowmap.o cmd_windowunmap.o cmd_windowreparent.o cmd_set_num_desktops.o cmd_get_num_desktops.o cmd_set_desktop.o cmd_get_desktop.o cmd_set_desktop_for_window.o cmd_get_desktop_for_window.o cmd_get_desktop_viewport.o cmd_set_desktop_viewport.o cmd_windowkill.o cmd_behave.o cmd_window_select.o cmd_getwindowname.o cmd_getwindowclassname.o cmd_behave_screen_edge.o cmd_windowminimize.o cmd_exec.o cmd_getwindowgeometry.o cmd_windowclose.o cmd_windowquit.o cmd_sleep.o cmd_get_display_geometry.o -L. -lxdo -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Xlinker -rpath /usr/lib  -lm -lX11  -lrt
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ./libxdo.so: undefined reference to `XFreeDeviceList'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ./libxdo.so: undefined reference to `XListInputDevices'
collect2: error: ld returned 1 exit status
make: *** [Makefile:164: xdotool] Error 1
 * ERROR: x11-misc/xdotool-3.20211022.1-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-misc/xdotool-3.20211022.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/xdotool-3.20211022.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work/xdotool-3.20211022.1'
 * S: '/var/tmp/portage/x11-misc/xdotool-3.20211022.1-r1/work/xdotool-3.20211022.1'


Code:

# emerge --info
Portage 3.0.67 (python 3.13.3-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r8, 6.14.6-gentoo x86_64)
=================================================================
System uname: Linux-6.14.6-gentoo-x86_64-11th_Gen_Intel-R-_Core-TM-_i9-11900KF_@_3.50GHz-with-glibc2.40
KiB Mem:    49178328 total,  18660744 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Mon, 12 May 2025 11:45:00 +0000
Head commit of repository gentoo: 21d60c730b44046aa2af1b60ef68d3aa70641810
Head commit of repository brave-overlay: faf80274a7ff0dc62417777cca8d2e467bbf97b9

Timestamp of repository guru: Sat, 10 May 2025 20:25:05 +0000
Head commit of repository guru: b3e6db0846bfcb6cbeb5acf5c7fb12c12b60d1e9

Timestamp of repository src_prepare-overlay: Wed, 15 Jan 2025 14:48:28 +0000
Head commit of repository src_prepare-overlay: 444efe63229d50268016d062952f9ffcd7c9a545

Timestamp of repository steam-overlay: Tue, 06 May 2025 17:57:19 +0000
Head commit of repository steam-overlay: c186b0f60ae10618a0670c9f7750be3adffd6e56

Timestamp of repository xira: Sat, 10 May 2025 20:25:15 +0000
Head commit of repository xira: aa4d436a53a3e97bd0f38a873bccef21abdddc23

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.10.2 [enabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.9.22::gentoo, 3.10.17::gentoo, 3.11.12::gentoo, 3.12.10::gentoo, 3.13.3::gentoo
dev-lang/rust:             1.84.1-r1::gentoo, 1.85.1::gentoo
dev-lang/rust-bin:         1.81.0-r103::gentoo, 1.85.1::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             12.5.9999::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::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: 3
    sync-rsync-extra-opts:

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

src_prepare-overlay
    location: /var/db/repos/src_prepare-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

xira
    location: /var/db/repos/xira
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/xira.git
    masters: gentoo
    volatile: False

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=""
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
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/apache2-php8.3/ext-active/ /etc/php/apache2-php8.4/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cgi-php8.4/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/cli-php8.4/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/fpm-php8.4/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/php/phpdbg-php8.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS=""
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.agdsn.de/gentoo     https://ftp.agdsn.de/gentoo     rsync://ftp.agdsn.de/gentoo     https://mirror.yandex.ru/gentoo-distfiles/     http://mirror.yandex.ru/gentoo-distfiles/     ftp://mirror.yandex.ru/gentoo-distfiles/     https://ftp.lysator.liu.se/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="fi en no sv"
MAKEOPTS="-j12"
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 aad access_compat acl acpi activities addressbook alsa amd64 animation-rtl apache aptx archiver asis auth_digest auth_form authn_dbd authn_socache authz_dbd base berkdb blueray bluetooth bluray branding brave brotli bzip2 cache_disk cache_socache cairo caja cdda cddb cdr cern_meta cet cgi cgrypt charset_lite color-management colord corefonts cron crypt cue cups custom-modes d3d9 dbd dbus declarative discid dns dri dts dumpio dvd dvdr egl elogind encode exif extra extras fastcgi fdk ffmpeg fileinfo filemanager fingerprints firefox flac freeimage ftp fullscreen gdbm geoip geolocation gif gimp git gles2 gnuplot gphoto2 gpm gps graphite graphviz grimshot grub gstreamer gtk gui handbrake haptic hcitop hddtemp hpijs hplip http i18n icons iconv icu ident imagemagick imagemap inspector intel ipv6 jack java javascript joystick jpeg jpeg2 jpeg2k jpg kde kernel-install kwallet lame lcms lensfun libav-aac libnotify libtirpc lm-sensors lvm lz4 lzip lzma lzo mad marble mate matroska minizip mmap mms mng mono mount mp3 mp4 mpeg mpg123 mplayer mtp multilib musicbrainz mypaint-brush-engine mysql mysqli ncurses networkmanager nls numa nvenc nvidia ocr odbc ofono ogg openal opencl opengl openh264 openmp opus oss pam pango panorama pcre pdf perl php png policykit positioning postproc postscript ppds pulseaudio python qml qrcode qt5 qt6 qtdiag qtmedia qtplugininfo raw rdp readline rss rustfmt scanner scp sdl seccomp semantic-desktop server sockets sound spell split-usr spyder ssh-askpass ssl startup-notification static-ppds streamtuner sudo svg swig szip tcl test-rust themes theora tiff tray truetype twolame udev udisks unicode upower usb uxa vbe-mode vhosts vorbis vpx vulkan wallpapers wavpack waydroid wayland webkit webp wifi wxwidgets x264 x265 xattr xcb xft xine xml xpm xv xvfb xvid xvmc zip zlib zstd" ABI_X86="64 32" ADA_TARGET="gcc_14" 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 proxy_html xml2enc proxy_wstunnel proxy proxy_connect http2 proxy_http proxy_http2 rewrite access_compat userdir" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics evdev joystick" KERNEL="linux" L10N="fi en no sv en-GB 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-3 php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_13 python3_12 python3_11 python3_10 python2_7" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia vmware" 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
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2157

PostPosted: Mon May 12, 2025 3:22 pm    Post subject: Reply with quote

Nreal wrote:
emerge --info:
CFLAGS=""
CXXFLAGS=""

Is there a reason these are blank? They should at least be "-O2" even if no machine tweaks are used. Some builds just cannot handle it otherwise.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23442

PostPosted: Mon May 12, 2025 3:29 pm    Post subject: Reply with quote

Nreal posted error fetching mariadb-11.4.6 where we also saw blank flags. A respondent asked for make.conf, but as of this writing, that request is the last post in that thread.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2921

PostPosted: Mon May 12, 2025 4:35 pm    Post subject: Reply with quote

I know what happened, thing is that the compiler optimizes out a unused function but with empty *FLAGS it doesn't and due to a change I made that unused function is missing something.

Should build with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ffd017528b , but either way you should add at least -O2 in your *FLAGS and I'd suggest -march=native too (no optimizations can make sense when debugging, but given you aren't enabling debugging symbols I can only assume it's a mistake)
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