
Ok, I thing this is what you need:didl wrote:Could you go through your emerge log and pick out how
.obj/release-shared/qmetatype.o was compiled?
Code: Select all
g++ -c -march=athlon64 -O2 -fPIC -pipe -march=athlon64 -O2 -fPIC -pipe -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtCore -Iglobal -I../3rdparty/zlib -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qmetatype.o kernel/qmetatype.cpp
Code: Select all
echo 'sys-devel/binutils *' >> /etc/portage/package.keywords
emerge binutilsCode: Select all
emerge --infoCode: Select all
rk/qt-x11-opensource-src-4.3.0/lib -lz -lm -lrt -lpthread -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/release-shared/qiodevice.o: relocation R_X86_64_PC32 against `QList<QByteArray>::clear()' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [../../lib/libQtCore.so.4.3.0] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.0-r1/work/qt-x11-opensource-src-4.3.0/src/corelib'
make: *** [sub-corelib-all-ordered] Error 2
*
* ERROR: x11-libs/qt-4.3.0-r1 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* qt-4.3.0-r1.ebuild, line 226: Called die
*
* (no error message)
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/qt-4.3.0-r1/temp/build.log'.
*
* Messages for package x11-libs/qt-4.3.0-r1:
*
* ERROR: x11-libs/qt-4.3.0-r1 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* qt-4.3.0-r1.ebuild, line 226: Called die
*
* (no error message)
Code: Select all
Module.o: relocation R_X86_64_PC32 against `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[2]: *** [libenigmime.so] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/x11-plugins/enigmail-0.95.2-r1/work/mozilla/mailnews/extensions/enigmail/build'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/x11-plugins/enigmail-0.95.2-r1/work/mozilla/mailnews/extensions/enigmail'
make: *** [all] Error 2
make: Leaving directory `/var/tmp/portage/x11-plugins/enigmail-0.95.2-r1/work/mozilla/mailnews/extensions/enigmail'
*
* ERROR: x11-plugins/enigmail-0.95.2-r1 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* enigmail-0.95.2-r1.ebuild, line 161: Called die
*
* make enigmail failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-plugins/enigmail-0.95.2-r1/temp/build.log'.
*
* Messages for package x11-plugins/enigmail-0.95.2-r1:
* Sorry, but enigmail does not support the en_GB LINGUA
* Sorry, but enigmail does not support the nl LINGUA
* Sorry, but enigmail does not support the nl_BE LINGUA
*
* ERROR: x11-plugins/enigmail-0.95.2-r1 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* enigmail-0.95.2-r1.ebuild, line 161: Called die
*
* make enigmail failed
Code: Select all
Portage 2.1.3.2 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 03 Aug 2007 17:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.UTF-8"
LINGUAS="en en_US en_GB nl nl_BE"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi adplug aim alsa amd amd64 apache2 arts asf audacious audiofile background bash-completion bcp bdf berkdb bitmap-fonts bonjour cairo cdr cgi cli cpufreq cracklib crypt cups dbus divx dri dvd dvdr dvdread eds emboss encode escreen esd evo fam fame ffmpeg firefox flac foomaticdb fortran ftp gdbm gdm gif glitz gmedia gnome gnutls gpm groupwise gstreamer gtk gtkhtml hal high-ints iconv imagemagick imlib int64 ipv6 isdnlog jabber java javascript jikes jpeg kde kdm kerberos krb4 lame lash ldap libcaca libg++ libnotify live lm_sensors logrotate lzo mad matrox mdnsresponder-compat meanwhile midi mikmod mmx mmxext modplug mono mp3 mp4live mpeg mpeg2 mplayer mplayer-bin msn mudflap musicbrainz mysql mysqli nas ncurses network nls nptl nptlonly nsplugin ntp nvidia ogg opengl openmp oss pam paste64 pcre pdf perl plugins pmu png postfix ppds pppd prediction python qq qt3 qt3support qt4 quicktime readline realmedia reflection reiserfs replytolist rtc sdl seamonkey sensord session silc smp soap spell spl sqlite sse sse2 ssl startup-notification svg tagwriting tcl tcpd tga thunderbird tiff tk truetype truetype-fonts type1-fonts unicode usb utempter v4l v4l2 vim-with-x vncviewer vorbis wma wmf wmp xcomposite xgetdefault xine xml xorg xrandr xulrunner xv zephyr zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB nl nl_BE" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Code: Select all
make[3]: Entering directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plugins/src/sqldrivers/mysql'
x86_64-pc-linux-gnu-g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -Wall -O2 -march=athlon64 -pipe -fno-strict-aliasing -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/main.o main.cpp
In file included from main.cpp:38:
../../../../src/sql/drivers/psql/qsql_psql.h:43:22: error: libpq-fe.h: îÅÔ ÔÁËÏÇÏ ÆÁÊÌÁ ÉÌÉ ËÁÔÁÌÏÇÁ
x86_64-pc-linux-gnu-g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -Wall -O2 -march=athlon64 -pipe -fno-strict-aliasing -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/qsql_mysql.o ../../../../src/sql/drivers/mysql/qsql_mysql.cpp
In file included from main.cpp:38:
../../../../src/sql/drivers/psql/qsql_psql.h:61: ÏÛÉÂËÁ: ISO C++ ÚÁÐÒÅÝÁÅÔ ÄÅËÌÁÒÁÃÉÉ ‘PGresult’ ÂÅÚ ÔÉÐÁ
../../../../src/sql/drivers/psql/qsql_psql.h:61: ÏÛÉÂËÁ: expected ‘;’ before ‘*’ token
../../../../src/sql/drivers/psql/qsql_psql.h:88: ÏÛÉÂËÁ: expected `)' before ‘*’ token
../../../../src/sql/drivers/psql/qsql_psql.h:106: ÏÛÉÂËÁ: ISO C++ ÚÁÐÒÅÝÁÅÔ ÄÅËÌÁÒÁÃÉÉ ‘PGconn’ ÂÅÚ ÔÉÐÁ
../../../../src/sql/drivers/psql/qsql_psql.h:106: ÏÛÉÂËÁ: expected ‘;’ before ‘*’ token
make[3]: *** [.obj/main.o] ïÛÉÂËÁ 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/plugins/src/sqldrivers/psql'
make[2]: *** [sub-psql] ïÛÉÂËÁ 2
make[2]: *** ïÖÉÄÁÎÉÅ ÚÁ×ÅÒÛÅÎÉÑ ÚÁÄÁÎÉÊ...
<then goes some bla bla bla without error messages>You have old GNU Binutils. You probably need 2.17.50.0.18. See [bug=186089]Bug 186089[/bug].Autie wrote:Any idea why those 2 packages fails?
Это совершенно иная ошибка. Реинсталюй "dev-db/libpq".KAMIKAZE_ wrote:Code: Select all
../../../../src/sql/drivers/psql/qsql_psql.h:43:22: error: libpq-fe.h: Нет такого файла или каталога

Reinstalling libpq+postgresql-server+postgresql-client+postgresql didn't helped.Arfrever wrote:You have old GNU Binutils. You probably need 2.17.50.0.18. See [bug=186089]Bug 186089[/bug].Autie wrote:Any idea why those 2 packages fails?
üÔÏ ÓÏ×ÅÒÛÅÎÎÏ ÉÎÁÑ ÏÛÉÂËÁ. òÅÉÎÓÔÁÌÀÊ "dev-db/libpq".KAMIKAZE_ wrote:Code: Select all
../../../../src/sql/drivers/psql/qsql_psql.h:43:22: error: libpq-fe.h: îÅÔ ÔÁËÏÇÏ ÆÁÊÌÁ ÉÌÉ ËÁÔÁÌÏÇÁ
Perduodu linkėjimus
Arfrever
Code: Select all
mango ~ # emerge -Dupv world
These are the packages that would be merged, in order:
Calculating world dependencies |
... done!
[ebuild U ] x11-libs/qt-4.3.0-r2 [4.3.0] USE="dbus gif jpeg mysql opengl png qt3support ssl tiff zlib -accessibility -cups -debug -doc -examples (-firebird) -glib -mng -nas -nis -odbc -pch -postgres -sqlite -sqlite3 -xinerama" INPUT_DEVICES="-wacom" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kBCode: Select all
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/release-shared/qiodevice.o: relocation
R_X86_64_PC32 against `QList<QByteArray>::clear()' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld 1
make[1]: *** [../../lib/libQtCore.so.4.3.0] 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.0-r2/work/qt-x11-opensource-src-4.3.0/src/corelib'
make: *** [sub-corelib-all-ordered] 2
*
* ERROR: x11-libs/qt-4.3.0-r2 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* qt-4.3.0-r2.ebuild, line 226: Called die
*
* (no error message)
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/qt-4.3.0-r2/temp/build.log'.
*
* Messages for package x11-libs/qt-4.3.0-r2:
*
* ERROR: x11-libs/qt-4.3.0-r2 failed.
* Call stack:
* ebuild.sh, line 1648: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* qt-4.3.0-r2.ebuild, line 226: Called die
*
* (no error message)
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/qt-4.3.0-r2/temp/build.log'.