View previous topic :: View next topic |
Author |
Message |
alucinor3555 n00b
Joined: 07 Aug 2018 Posts: 2
|
Posted: Tue Aug 07, 2018 11:05 pm Post subject: [SOLVED] emerge world update fails |
|
|
I update my system every week with:
emerge -uNDa --with-bdeps @world
On my last update the following ebuilds failed to compile:
Code: |
[ebuild R ] sys-devel/gdb-8.1-r1 PYTHON_SINGLE_TARGET="python3_6* -python3_5*" PYTHON_TARGETS="python3_6* -python3_5*"
[ebuild R ] app-crypt/gpgme-1.11.1 PYTHON_TARGETS="python3_6* -python3_5*"
[ebuild U ] kde-apps/kruler-18.04.3 [17.12.3]
[ebuild U ] kde-apps/pimcommon-18.04.3
|
============= sys-devel/gdb-8.1-r1 BUILD LOG ==============
Code: |
nat/gdb_ptrace.h:150:10: error: ‘ptrace’ was not declared in this scope
ptrace ((PTRACE_TYPE_ARG1) request, pid, addr, data)
^
inf-ptrace.c:798:7: note: in expansion of macro ‘ptrace’
ptrace (PT_WRITE_U, pid, (PTRACE_TYPE_ARG3)(uintptr_t)addr, buf[i]);
^~~~~~
nat/gdb_ptrace.h:150:10: note: suggested alternative: ‘strata’
ptrace ((PTRACE_TYPE_ARG1) request, pid, addr, data)
^
inf-ptrace.c:798:7: note: in expansion of macro ‘ptrace’
ptrace (PT_WRITE_U, pid, (PTRACE_TYPE_ARG3)(uintptr_t)addr, buf[i]);
^~~~~~
make[2]: *** [Makefile:1621: proc-service.o] Error 1
make[2]: *** [Makefile:1621: inf-ptrace.o] Error 1
make[2]: Leaving directory '/tmp/portage/sys-devel/gdb-8.1-r1/work/gdb-8.1/gdb'
make[1]: *** [Makefile:8157: all-gdb] Error 2
make[1]: Leaving directory '/tmp/portage/sys-devel/gdb-8.1-r1/work/gdb-8.1'
make: *** [Makefile:850: all] Error 2
* ERROR: sys-devel/gdb-8.1-r1::gentoo failed (compile phase):
* emake failed
|
===================== app-crypt/gpgme-1.11.1 BUILD LOG ===============
Code: |
context.cpp:1619:45: note: in definition of macro 'CHECK'
#define CHECK( x ) if ( !(flags & (Context::x)) ) {} else do { os << #x " "; } while (0)
^
context.cpp:1621:11: error: incomplete type 'GpgME::Context' used in nested name specifier
CHECK(AuditLogWithHelp);
^
context.cpp:1619:45: note: in definition of macro 'CHECK'
#define CHECK( x ) if ( !(flags & (Context::x)) ) {} else do { os << #x " "; } while (0)
^
make[4]: *** [Makefile:653: context.lo] Error 1
make[4]: Leaving directory '/tmp/portage/app-crypt/gpgme-1.11.1/work/gpgme-1.11.1/lang/cpp/src'
make[3]: *** [Makefile:446: all-recursive] Error 1
make[3]: Leaving directory '/tmp/portage/app-crypt/gpgme-1.11.1/work/gpgme-1.11.1/lang/cpp'
make[2]: *** [Makefile:444: all-recursive] Error 1
make[2]: Leaving directory '/tmp/portage/app-crypt/gpgme-1.11.1/work/gpgme-1.11.1/lang'
make[1]: *** [Makefile:521: all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/app-crypt/gpgme-1.11.1/work/gpgme-1.11.1'
make: *** [Makefile:452: all] Error 2
* ERROR: app-crypt/gpgme-1.11.1::gentoo failed (compile phase):
* emake failed
|
======================== kde-apps/kruler-18.04.3 BUILD LOG =======================
Code: |
[ 92%] Built target doc-index-cache-bz2
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp: In constructor ‘KLineal::KLineal(QWidget*)’:
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:110:12: error: ‘RulerSettings’ has not been declared
mColor = RulerSettings::self()->bgColor();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:111:16: error: ‘RulerSettings’ has not been declared
mScaleFont = RulerSettings::self()->scaleFont();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:112:13: error: ‘RulerSettings’ has not been declared
int len = RulerSettings::self()->length();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:113:17: error: ‘RulerSettings’ has not been declared
mHorizontal = RulerSettings::self()->horizontal();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:114:18: error: ‘RulerSettings’ has not been declared
mLeftToRight = RulerSettings::self()->leftToRight();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:115:13: error: ‘RulerSettings’ has not been declared
mOffset = RulerSettings::self()->offset();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:116:20: error: ‘RulerSettings’ has not been declared
mRelativeScale = RulerSettings::self()->relativeScale();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:117:23: error: ‘RulerSettings’ has not been declared
mAlwaysOnTopLayer = RulerSettings::self()->alwaysOnTop();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:152:14: error: ‘RulerSettings’ has not been declared
mOpacity = RulerSettings::self()->opacity();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:160:21: error: ‘RulerSettings’ has not been declared
slider->setValue( RulerSettings::self()->opacity() );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:176:8: error: ‘RulerSettings’ has not been declared
if ( RulerSettings::self()->trayIcon() ) {
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp: In member function ‘void KLineal::slotOpacity(int)’:
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:420:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setOpacity( value );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:421:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->save();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp: In member function ‘void KLineal::slotPreferences()’:
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:431:82: error: ‘RulerSettings’ has not been declared
og *dialog = new KConfigDialog( this, QStringLiteral( "settings" ), RulerSettings::self() );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp: In member function ‘void KLineal::loadConfig()’:
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:455:12: error: ‘RulerSettings’ has not been declared
mColor = RulerSettings::self()->bgColor();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:456:16: error: ‘RulerSettings’ has not been declared
mScaleFont = RulerSettings::self()->scaleFont();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:457:23: error: ‘RulerSettings’ has not been declared
mAlwaysOnTopLayer = RulerSettings::self()->alwaysOnTop();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:463:8: error: ‘RulerSettings’ has not been declared
if ( RulerSettings::self()->trayIcon() ) {
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp: In member function ‘void KLineal::saveSettings()’:
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:496:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setBgColor( mColor );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:497:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setScaleFont( mScaleFont );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:498:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setLength( length() );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:499:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setHorizontal( mHorizontal );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:500:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setLeftToRight( mLeftToRight );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:501:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setOffset( mOffset );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:502:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setRelativeScale( mRelativeScale );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:503:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->setAlwaysOnTop( mAlwaysOnTopLayer );
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:504:3: error: ‘RulerSettings’ has not been declared
RulerSettings::self()->save();
^~~~~~~~~~~~~
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp: In member function ‘bool KLineal::nativeMove() const’:
/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3/klineal.cpp:673:39: error: ‘RulerSettings’ has not been declared
return QX11Info::isPlatformX11() && RulerSettings::self()->nativeMoving();
^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/kruler.dir/build.make:79: CMakeFiles/kruler.dir/klineal.cpp.o] Error 1
make[2]: Leaving directory '/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3_build'
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/kruler.dir/all] Error 2
make[1]: Leaving directory '/tmp/portage/kde-apps/kruler-18.04.3/work/kruler-18.04.3_build'
make: *** [Makefile:141: all] Error 2
* ERROR: kde-apps/kruler-18.04.3::gentoo failed (compile phase):
* emake failed
|
============================= kde-apps/pimcommon-18.04.3 BUILD LOG ============
Code: |
[ 96%] Building CXX object src/pimcommonakonadi/CMakeFiles/KF5PimCommonAkonadi.dir/job/fetchrecursivecollectionsjob.cpp.o
cd /tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3_build/src/pimcommonakonadi && /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF5PimCommonAkonadi_EXPORTS -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"libpimcommon\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3_build/src/pimcommonakonadi -I/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3/src/pimcommonakonadi -I/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3_build/src/pimcommonakonadi/KF5PimCommonAkonadi_autogen/include -I/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3/src -I/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3_build/src -I/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3_build/src/pimcommon -I/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3/src/pimcommon -isystem /usr/include/KF5/KIMAP -isystem /usr/include/KF5 -isystem /usr/include/KF5/KMime -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/AkonadiCore -isystem /usr/include/KF5/KItemModels -isystem /usr/include/KF5/AkonadiWidgets -isystem /usr/include/KF5/KContacts -isystem /usr/include/KF5/Akonadi/Contact -isystem /usr/include/KF5/akonadi/contact -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/Libkdepim -isystem /usr/include/KF5/libkdepim -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KPIMTextEdit -isystem /usr/include/KF5/KDBusAddons -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -DQT_NO_DEBUG -DNDEBUG -O2 -march=bdver1 -mprefer-avx128 -mvzeroupper -pipe -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -pedantic -Wsuggest-override -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -fPIC -fexceptions -std=gnu++11 -o CMakeFiles/KF5PimCommonAkonadi.dir/job/fetchrecursivecollectionsjob.cpp.o -c /tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3/src/pimcommonakonadi/job/fetchrecursivecollectionsjob.cpp
/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3/src/pimcommonakonadi/genericplugins/plugininterface.cpp: In member function ‘QHash<PimCommon::ActionType::Type, QList<QAction*> > PimCommon::PluginInterface::actionsType()’:
/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3/src/pimcommonakonadi/genericplugins/plugininterface.cpp:170:67: error: ‘class PimCommon::GenericPluginInterface’ has no member named ‘actionTypes’; did you mean ‘actionType’?
for (const PimCommon::ActionType &actionType : interface->actionTypes()) {
^~~~~~~~~~~
actionType
make[2]: *** [src/pimcommonakonadi/CMakeFiles/KF5PimCommonAkonadi.dir/build.make:471: src/pimcommonakonadi/CMakeFiles/KF5PimCommonAkonadi.dir/genericplugins/plugininterface.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3_build'
make[1]: *** [CMakeFiles/Makefile2:419: src/pimcommonakonadi/CMakeFiles/KF5PimCommonAkonadi.dir/all] Error 2
make[1]: Leaving directory '/tmp/portage/kde-apps/pimcommon-18.04.3/work/pimcommon-18.04.3_build'
make: *** [Makefile:130: all] Error 2
* ERROR: kde-apps/pimcommon-18.04.3::gentoo failed (compile phase):
* emake failed
|
Code: |
Portage 2.3.40 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.26-r7, 4.9.16-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-AMD_FX-tm-9370_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem: 32814104 total, 30695176 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Mon, 06 Aug 2018 07:00:01 +0000
Head commit of repository gentoo: 1a554f3d886732bfadaf92ee8576f23deced4d06
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash: 4.4_p12::gentoo
dev-lang/perl: 5.24.3-r1::gentoo
dev-lang/python: 2.7.14-r1::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake: 3.9.6::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.4.1-r2::gentoo
sys-apps/openrc: 0.34.11::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.15.1-r2::gentoo
sys-devel/binutils: 2.30-r2::gentoo
sys-devel/gcc: 7.3.0-r3::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.26-r7::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
qt
location: /var/lib/layman/qt
masters: gentoo
priority: 50
Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=bdver1 -mprefer-avx128 -mvzeroupper -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/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=bdver1 -mprefer-avx128 -mvzeroupper -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y --with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts crypt cups cxx dbus declarative dri dts dvd dvdr ebook emboss encode exif fam ffmpeg flac fortran gdbm gif glamor gphoto2 gpm gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc lm_sensors mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff truetype type1 udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Look at the errors it seems like all the programs are not correctly including this or that header file, help?
Last edited by alucinor3555 on Wed Aug 08, 2018 3:27 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Wed Aug 08, 2018 8:26 am Post subject: |
|
|
These errors not make sense to me, if you recompile these packages stop compilation with same error? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
alucinor3555 n00b
Joined: 07 Aug 2018 Posts: 2
|
Posted: Wed Aug 08, 2018 3:27 pm Post subject: |
|
|
After a late night last night I managed to solve this on my own.
It was a stupid mistake on my part. I add directories to the CPATH and LIBRARY_PATH environment variables in my user's bashrc script. I assumed they already had directories set so I added a colon before my custom directories. They were in fact empty so that caused the current directory to be included:
Code: |
$ echo $CPATH
:/my/home/software/include
|
This apparently broke the preprocessor header inclusion process of certain ebuilds, including the ones that were failing. That is why the errors were so random but all related to undefined statements.
I resolved the issue by updating my bashrc script to be more smart and check if the environment variables are empty first.
Code: |
if [ ! -z "${CPATH}" ]; then
CPATH="{CPATH}:"
fi
export CPATH="${CPATH}${HOME}/software/lib"
|
So I guess the hard earned lesson for me is be very careful when setting compiler related global environment variables. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Thu Aug 09, 2018 1:21 am Post subject: |
|
|
Those are Portage error messages, but your recent output looks like these were user environment variables. Were you setting these system-wide or in your user account? If you set them as your user, how did they impact Portage, which should be started from a root shell that does not have user environment variables set?
The fragment you showed will mangle your CPATH if you ever define it to non-empty before sourcing that script. |
|
Back to top |
|
|
|
|
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
|
|