Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge failed - net-libs/kdsoap-2.2.0
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
the.max
n00b
n00b


Joined: 09 Sep 2024
Posts: 4
Location: Czech Republic

PostPosted: Mon Sep 09, 2024 3:56 pm    Post subject: emerge failed - net-libs/kdsoap-2.2.0 Reply with quote

Hi

I've been trying to upgrade to the new plasma for a few days now, but I still can't figure out why emerge ends up with an error.
I tried recompiling the package dependencies, including ninja and its dependencies. I tried rebooting as I read on another ninja crash, I tried MAKEOPTS="-j1", I tried changes in COMMON_FLAGS but I still can't move forward, everything went fine on my laptop.

Code:

[62/104] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_OPTIONAL_FOUND -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_XML_LIB -DQURL_NO_CAST_FROM_STRING -DUSE_EXCEPTIONS -I/var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0_build-qt5/kdwsdl2cpp -I/var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0/kdwsdl2cpp -I/var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0_build-qt5/kdwsdl2cpp/kdwsdl2cpp_lib_autogen/include -I/var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0/kdwsdl2cpp/libkode -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml  -march=znver3 -O2 -pipe -Wunused-but-set-variable -Wlogical-op -Wsizeof-pointer-memaccess -Wreorder -Wformat-security -Wsuggest-override -Wall -Wextra -pedantic -Woverloaded-virtual -Winit-self -Wmissing-include-dirs -Wunused -Wundef -Wpointer-arith -Wmissing-noreturn -Werror=return-type -Wswitch -fno-operator-names -std=gnu++11 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT kdwsdl2cpp/CMakeFiles/kdwsdl2cpp_lib.dir/wsdl/definitions.cpp.o -MF kdwsdl2cpp/CMakeFiles/kdwsdl2cpp_lib.dir/wsdl/definitions.cpp.o.d -o kdwsdl2cpp/CMakeFiles/kdwsdl2cpp_lib.dir/wsdl/definitions.cpp.o -c /var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0/kdwsdl2cpp/wsdl/definitions.cpp
[63/104] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_OPTIONAL_FOUND -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_XML_LIB -DQURL_NO_CAST_FROM_STRING -DUSE_EXCEPTIONS -I/var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0_build-qt5/kdwsdl2cpp -I/var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0/kdwsdl2cpp -I/var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0_build-qt5/kdwsdl2cpp/kdwsdl2cpp_lib_autogen/include -I/var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0/kdwsdl2cpp/libkode -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml  -march=znver3 -O2 -pipe -Wunused-but-set-variable -Wlogical-op -Wsizeof-pointer-memaccess -Wreorder -Wformat-security -Wsuggest-override -Wall -Wextra -pedantic -Woverloaded-virtual -Winit-self -Wmissing-include-dirs -Wunused -Wundef -Wpointer-arith -Wmissing-noreturn -Werror=return-type -Wswitch -fno-operator-names -std=gnu++11 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT kdwsdl2cpp/CMakeFiles/kdwsdl2cpp_lib.dir/libkode/schema/parser.cpp.o -MF kdwsdl2cpp/CMakeFiles/kdwsdl2cpp_lib.dir/libkode/schema/parser.cpp.o.d -o kdwsdl2cpp/CMakeFiles/kdwsdl2cpp_lib.dir/libkode/schema/parser.cpp.o -c /var/tmp/portage/net-libs/kdsoap-2.2.0/work/kdsoap-2.2.0/kdwsdl2cpp/libkode/schema/parser.cpp
ninja: build stopped: subcommand failed.
 * ERROR: net-libs/kdsoap-2.2.0::gentoo failed (compile phase):
 *   ninja -v -j17 -l17 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2235:  Called multibuild_foreach_variant 'cmake_src_compile'
 *   environment, line 1882:  Called _multibuild_run 'cmake_src_compile'
 *   environment, line 1880:  Called cmake_src_compile
 *   environment, line  900:  Called cmake_build
 *   environment, line  867:  Called eninja
 *   environment, line 1349:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"


Code:

bobika / # emerge --info '=net-libs/kdsoap-2.2.0::gentoo'
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.13-gentoo-max.1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.13-gentoo-max.1-x86_64-AMD_Ryzen_7_5700G_with_Radeon_Graphics-with-glibc2.39
KiB Mem:    32133236 total,   6371624 free
KiB Swap:   10485756 total,  10296060 free
Timestamp of repository gentoo: Mon, 09 Sep 2024 14:30:00 +0000
Head commit of repository gentoo: ee8f5273654b436e35c13779ac068023ab74e316
Head commit of repository arduino-overlay: 21fb53086dfe006e14f22ccd098b4d117faeea89

Timestamp of repository salfter: Sun, 08 Sep 2024 18:37:12 +0000
Head commit of repository salfter: c8aac8c2cb9cc19e67c2032a9ec3d07f526103d0

Timestamp of repository steam-overlay: Sun, 08 Sep 2024 18:36:43 +0000
Head commit of repository steam-overlay: 9e11573f22a5ab039769afea81b31ccd89af454e

Timestamp of repository zugaina: Mon, 26 Aug 2024 13:19:02 +0000
Head commit of repository zugaina: 734a75fbd164c4d13bad7c1b19fe8ea3b64175bd

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
distcc[7212] (dcc_trace_version) distcc 3.4 x86_64-pc-linux-gnu; built Sep  7 2024 02:40:14 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.9_p2::gentoo, 3.12.3-r1::gentoo
dev-lang/rust:             1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo, 13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::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-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

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

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

salfter
    location: /var/db/repos/salfter
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/salfter.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

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

crossdev
    location: /var/db/repos/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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=znver3 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--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=znver3 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe"
GENTOO_MIRRORS="rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://mirror.dkm.cz/gentoo/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="cs cs_CZ"
MAKEOPTS="-j17 -l17"
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 amdgpu bluetooth branding bzip2 cairo cdda cdr cet corefonts crypt cryptsetup cups d3d9 dbus declarative dri dts dvd dvdr elogind encode exif flac freedom gdbm gif gui iconv icu ipv6 jpeg jumbo-build kde kf6compat kwallet lcms libnotify libtirpc lz4 mad mng mp3 mp4 mpeg mtp multilib ncurses nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds qml qt5 qt6 readline samba screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid xvmc zlib" ABI_X86="64 32" 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 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="cs" 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-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31" SANE_BACKENDS="plustek" VIDEO_CARDS="amdgpu radeonsi" 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, 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


Code:

bobika / # emerge -pqv '=net-libs/kdsoap-2.2.0::gentoo'
[ebuild  N    ] net-libs/kdsoap-2.2.0  USE="qt5 qt6"


Edit: Build log is too big to post.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9135

PostPosted: Mon Sep 09, 2024 4:00 pm    Post subject: Reply with quote

Full build.log please.
Back to top
View user's profile Send private message
the.max
n00b
n00b


Joined: 09 Sep 2024
Posts: 4
Location: Czech Republic

PostPosted: Mon Sep 09, 2024 4:06 pm    Post subject: Reply with quote

I'm sorry, but I don't know how to insert it here. When I try to post I get an error: Error in posting
I assume it's because of the size.

Edit: https://pastebin.com/AUHfeDzw
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1868

PostPosted: Mon Sep 09, 2024 5:57 pm    Post subject: Reply with quote

This part is mysterious:
Quote:

/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: warning: -z pack-relative-relocs ignored


It kind of smells of some ancient binutils or distcc but you seem to have it off in the log.
Back to top
View user's profile Send private message
the.max
n00b
n00b


Joined: 09 Sep 2024
Posts: 4
Location: Czech Republic

PostPosted: Mon Sep 09, 2024 6:02 pm    Post subject: Reply with quote

Yes, i don't use distcc anymore, distcc is in /etc/portage/make.conf unused, but package is still installed.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1868

PostPosted: Mon Sep 09, 2024 6:42 pm    Post subject: Reply with quote

-Wl,--fatal-warnings comes from the upstream CMake. What I don't get is why it warns for you to begin with.

Do you have some ancient binutils in /usr/local or something?
Back to top
View user's profile Send private message
ArsenArsen
Developer
Developer


Joined: 16 Jan 2023
Posts: 4
Location: Serbia

PostPosted: Mon Sep 09, 2024 6:44 pm    Post subject: Reply with quote

could you post the result of
Code:
gcc -print-prog-name=ld; $(gcc -print-prog-name=ld) --version
and
Code:
type -P ld

_________________
choose free software, choose GNU/Linux, build it with Gentoo :)
Back to top
View user's profile Send private message
the.max
n00b
n00b


Joined: 09 Sep 2024
Posts: 4
Location: Czech Republic

PostPosted: Tue Sep 10, 2024 10:55 am    Post subject: Reply with quote

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld
GNU ld (Gentoo 2.42 p3) 2.42.0
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.


Code:
/usr/bin/ld


But I remembered that a long time ago (maybee 3-4 years?) I broke my system and I helped myself to fix it by 'installing' binutils by compiling a binary package on another machine and then manually installing it outside of emerge. That might be the problem, thanks for the nudge in the right direction. I still have the original manually added package, so I can compare and find the files.
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