не собираются kdelibs[SOLVED]
krutov 21 декабря, 2011 - 20:10
Вобщем не собираются, ставлю kde-meta-3.5.10 с оверлея(ну не нравятся мне 4е вобще)
Собирал систему с нуля.
emerge --info Portage 2.1.10.41 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo i686) ================================================================= System uname: Timestamp of tree: Wed, 21 Dec 2011 00:45:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.7.2-r3, 3.1.4-r3 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo kde-sunset ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="ru_RU.utf8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/kde-sunset" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl alsa berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd fortran gdbm gpm iconv ipv6 kde modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre png pppd qt3support qt4 readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Собсно сам кусок лога:
/usr/qt/3/include/qimage.h:61:61: warning: suggest parentheses around '&&' within '||' /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I../interfaces -I../.. -I../../kdeprint -I../../interfaces -I../../interfaces/kregexpeditor -I../../kdefx -I../../kutils -I../../kjs -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o katedocument.lo katedocument.cpp /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I../interfaces -I../.. -I../../kdeprint -I../../interfaces -I../../interfaces/kregexpeditor -I../../kdefx -I../../kutils -I../../kjs -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o katehighlight.lo katehighlight.cpp In file included from katehighlight.h:24:0, from katehighlight.cpp:24: katetextline.h:286:46: warning: type qualifiers ignored on function return type katetextline.h:287:53: warning: type qualifiers ignored on function return type katedocument.cpp:3583:2: warning: #warning "that's a bad idea, can lead to stray endings, FIXME" In file included from ../../kdecore/kaboutdata.h:24:0, from katefactory.h:27, from katehighlight.cpp:31: /usr/qt/3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const': /usr/qt/3/include/qimage.h:61:61: warning: suggest parentheses around '&&' within '||' In file included from katedocument.h:25:0, from katedocument.cpp:22: katetextline.h:286:46: warning: type qualifiers ignored on function return type katetextline.h:287:53: warning: type qualifiers ignored on function return type katehighlight.cpp: In function 'int checkEscapedChar(const QString&, int, int&)': katehighlight.cpp:1041:149: warning: suggest parentheses around '&&' within '||' katehighlight.cpp: In member function 'void KateHighlighting::doHighlight(KateTextLine*, KateTextLine*, QMemArray<unsigned int>*, bool*)': katehighlight.cpp:1463:113: warning: comparison between signed and unsigned integer expressions katehighlight.cpp: In member function 'int KateHighlighting::addToContextList(const QString&, int)': katehighlight.cpp:2829:69: warning: suggest parentheses around assignment used as truth value katehighlight.cpp: In member function 'void KateHlManager::getDefaults(uint, KateAttributeList&)': katehighlight.cpp:3228:45: error: cannot call constructor 'QColor::QColor' directly katehighlight.cpp:3228:45: error: for a function-style cast, remove the redundant '::QColor' katehighlight.cpp:3245:53: error: cannot call constructor 'QColor::QColor' directly katehighlight.cpp:3245:53: error: for a function-style cast, remove the redundant '::QColor' katehighlight.cpp:3247:43: error: cannot call constructor 'QColor::QColor' directly katehighlight.cpp:3247:43: error: for a function-style cast, remove the redundant '::QColor' In file included from ../../kdecore/kaboutdata.h:24:0, from katefactory.h:27, from katedocument.cpp:25: /usr/qt/3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const': /usr/qt/3/include/qimage.h:61:61: warning: suggest parentheses around '&&' within '||' make[3]: *** [katehighlight.lo] Ошибка 1 make[3]: *** Ожидание завершения заданий... In file included from ../../kio/kio/kfileitem.h:31:0, from katedocument.cpp:47: ../../kio/kio/kfilemetainfo.h: At global scope: ../../kio/kio/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type make[3]: Выход из каталога `/var/tmp/portage/kde-base/kdelibs-3.5.10-r6/work/kdelibs-3.5.10/kate/part' make[2]: *** [all-recursive] Ошибка 1 make[2]: Выход из каталога `/var/tmp/portage/kde-base/kdelibs-3.5.10-r6/work/kdelibs-3.5.10/kate' make[1]: *** [all-recursive] Ошибка 1 make[1]: Выход из каталога `/var/tmp/portage/kde-base/kdelibs-3.5.10-r6/work/kdelibs-3.5.10' make: *** [all] Ошибка 2 emake failed * ERROR: kde-base/kdelibs-3.5.10-r6 failed (compile phase): * died running emake, kde_src_compile:make * * Call stack: * ebuild.sh, line 75: Called src_compile * environment, line 4458: Called kde_src_compile * environment, line 3168: Called kde_src_compile 'all' * environment, line 3183: Called kde_src_compile 'make' * environment, line 3175: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * * If you need support, post the output of 'emerge --info =kde-base/kdelibs-3.5.10-r6', * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-3.5.10-r6'. * This ebuild used the following eclasses from overlays: * /var/lib/layman/kde-sunset/eclass/kde.eclass * /var/lib/layman/kde-sunset/eclass/kde-functions.eclass * /var/lib/layman/kde-sunset/eclass/qt3.eclass * This ebuild is from an overlay named 'kde-sunset': '/var/lib/layman/kde-sunset/' * The complete build log is located at '/var/tmp/portage/kde-base/kdelibs-3.5.10-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-3.5.10-r6/temp/environment'. * S: '/var/tmp/portage/kde-base/kdelibs-3.5.10-r6/work/kdelibs-3.5.10'
Подскажите пожалуйста, сам не могу никак разобраться.
»
- Для комментирования войдите или зарегистрируйтесь
KDE3 жив!
Первое, что приходит в голову - попробуйте собрать их с более старым gcc (например ветки 4.4).
Вообще многое из кде-3 с gcc-4.5 не хочет собираться.
Чтобы автоматически использовать gcc других версий для определенных пакетов можно воспользоваться расширенным функционалом портеж, например вот так.
Да пребудет с тобой великий Linux.
не помогло....
не помогло....если конечно я сделал все правильно, я так понял чтобы указать другую версию gcc она должна быть установлена в другом SLOT? это как?
Чужого нам ненадо, но свое мы возьмем, чье бы оно ни было.
да.
да.
gcc-config -l
если не установлен - emerge -av gcc:4.4
и потом переключиться на нужный слот по gcc-config [version] && . /etc/profile
Да пребудет с тобой великий Linux.
установил 4.4.5, переключился
установил 4.4.5, переключился на нужный слот, запустил по новой установку, пошла ))))
Огромное спасибо!
Чужого нам ненадо, но свое мы возьмем, чье бы оно ни было.
тема продолжается))
тема продолжается)) superkaramba мозги компасирует, лог:
http://pastebin.ca/2095955
Чужого нам ненадо, но свое мы возьмем, чье бы оно ни было.
Всем спасибо, решил проблему
Всем спасибо, решил проблему сам:
echo "kde-base/superkaramba-3.5.10" > /etc/portage/profile/package.provided
Чужого нам ненадо, но свое мы возьмем, чье бы оно ни было.