Summary: | Unable to upgrade to qt-3.3.0-r1, due to relocation error during 'uic' command. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Z. <stefanz> |
Component: | [OLD] Library | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://lists.trolltech.com/qt-interest/2003-11/msg00734.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | trial ebuild |
Description
Stefan Z.
2004-02-16 15:46:57 UTC
In the ebuild, in src_compile(): Please change the line: export LD_LIBRARY_PATH={S}/lib:${LD_LIBRARY_PATH} to export LD_LIBRARY_PATH={S}/lib and let me know if that fixes your problem. Created attachment 25738 [details]
trial ebuild
Scratch that - please try this attached ebuild instead. Caleb, that ebuild attachment fixed the problem. :) Thanks a lot, + keep up the good work. Okay, I committed the ebuild - thanks for the report i also have trouble merging kdebase which require this qt. i cant have qt to build : =========================================================== for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/codecs/jp/jp.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/codecs/kr/kr.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/codecs/tw/tw.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/accessible/widgets/widgets.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/cde/cde.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/sgi/sgi.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/compact/compact.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/motif/motif.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/platinum/platinum.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/motifplus/motifplus.pro (fast) for /var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/styles/windows/windows.pro (fast) Qt is now configured for building. Just run /usr/bin/gmake. To reconfigure, run /usr/bin/gmake confclean and configure. cd qmake && make make[1]: Entering directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/qmake' make[1]: `qmake' is up to date. make[1]: Leaving directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/qmake' cd src/moc && make make[1]: Entering directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/src/moc' make[1]: *** No targets. Stop. make[1]: Leaving directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/src/moc' make: *** [src-moc] Error 2 !!! ERROR: x11-libs/qt-3.3.0-r1 failed. !!! Function src_compile, Line 85, Exitcode 2 !!! (no error message) your attached ebuild . doesnt work :
======================================================================
diff -u qt-3.3.0-r1.ebuild /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild
--- qt-3.3.0-r1.ebuild 2004-02-22 05:02:13.000000000 +0000
+++ /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild 2004-02-20 15:55:20.000000000 +0000
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /home/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.0-r1.ebuild,v 1.1 2004/02/16 18:24:46 caleb Exp $
+# $Header: /home/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.0-r1.ebuild,v 1.3 2004/02/20 15:30:56 gmsoft Exp $
SRCTYPE="free"
DESCRIPTION="QT version ${PV}"
@@ -10,7 +10,7 @@
LICENSE="QPL-1.0 | GPL-2"
SLOT="3"
-KEYWORDS="x86 ~alpha ~ppc ~amd64"
+KEYWORDS="x86 ~alpha ~ppc ~amd64 hppa"
IUSE="cups nas postgres opengl mysql odbc gif doc firebird zlib icc sqlite ipv6"
DEPEND="virtual/x11 virtual/xft
@@ -51,8 +51,6 @@
src_compile() {
export QTDIR=${S}
export SYSCONF=${D}${QTBASE}/etc/settings
-# LD_LIBRARY_PATH_OLD=${LD_LIBRARY_PATH}
-# export LD_LIBRARY_PATH=${S}/lib:${LD_LIBRARY_PATH}
# Let's just allow writing to these directories during Qt emerge
# as it makes Qt much happier.
@@ -87,7 +85,6 @@
emake src-qmake src-moc sub-src || die
export LD_PRELOAD="${LD_PRELOAD} ${QTDIR}/lib/libqt-mt.so"
emake sub-tools || die
-# export LD_LIBRARY_PATH=${LD_LIBRARY_PATH_OLD}
}
src_install() {
=============================================================================
$ebuild qt-3.3.0-r1.ebuild setup #does nothing
$ebuild qt-3.3.0-r1.ebuild compile
!!! aux_get(): ebuild for 'home/qt-3.3.0-r1' does not exist at:
!!! /usr/portage/home/qt/qt-3.3.0-r1.ebuild
doebuild(): aux_get() error; aborting.
$mv /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild.old
$cp qt-3.3.0-r1.ebuild /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild
$emerge kdebase
Calculating dependencies ...done!
>>> emerge (1 of 5) x11-libs/qt-3.3.0-r1 to /
>>> md5 src_uri ;-) qt-x11-free-3.3.0.tar.bz2
>>> Unpacking source...
>>> Unpacking qt-x11-free-3.3.0.tar.bz2 to /var/tmp/sab/portage/qt-3.3.0-r1/work
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
bzip2: Data integrity error when decompressing.
Input file = /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2, output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Error exit delayed from previous errors
!!! ERROR: x11-libs/qt-3.3.0-r1 failed.
!!! Function unpack, Line 339, Exitcode 2
!!! failure unpacking qt-x11-free-3.3.0.tar.bz2
things going going worse: $mv /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild.old /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild $emerge kdebase Calculating dependencies ...done! >>> emerge (1 of 5) x11-libs/qt-3.3.0-r1 to / !!! File is corrupt or incomplete. (Digests do not match) >>> our recorded digest: 7c628647126bb7bd957417f530ab04d4 >>> your file's digest: 59d5441eb590380326a9274691ce3827 !!! File does not exist: /usr/portage/distfiles//qt-x11-free-3.3.0.tar.bz2 $ll /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2 -rw-rw-r-- 1 root portage 14M Feb 5 05:36 /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2 $ebuild /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild setup #does nothings: no stdout $ebuild /usr/portage/x11-libs/qt/qt-3.3.0-r1.ebuild compile !!! File is corrupt or incomplete. (Digests do not match) >>> our recorded digest: 7c628647126bb7bd957417f530ab04d4 >>> your file's digest: 59d5441eb590380326a9274691ce3827 !!! File does not exist: /usr/portage/distfiles//qt-x11-free-3.3.0.tar.bz2 realy wired . isnt ? the Manifestfile did not change : ll --full|grep Mani -rw-r--r-- 1 root root 2.4K 2004-02-20 15:55:20.000000000 +0000 Manifest the Manifestfile is the same (my local time zone is not set. i am GMT+1) sorry for the spam . but still issues $mv /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2 /usr/portage/distfiles/qt-x11-free-3.3.0.tar.bz2.old $emerge kdebase Calculating dependencies ...done! >>> emerge (1 of 5) x11-libs/qt-3.3.0-r1 to / [deleted stuff...] g++ -c -o msvc_dsp.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/win32/msvc_dsp.cpp g++ -c -o msvc_vcproj.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/win32/msvc_vcproj.cpp g++ -c -o option.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP option.cpp g++ -c -o winmakefile.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/win32/winmakefile.cpp g++ -c -o projectgenerator.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include/qmake -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP generators/projectgenerator.cpp g++: Internal error: Segmentation fault (program as) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. gmake: *** [projectgenerator.o] Error 1 qmake failed to build. Aborting. !!! ERROR: x11-libs/qt-3.3.0-r1 failed. !!! Function src_compile, Line 81, Exitcode 2 !!! (no error message) this time compile goes farther: ================================ 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 -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qlayoutengine.o kernel/qlayoutengine.cpp In file included from kernel/qlayoutengine.cpp:38: kernel/qlayout.h:360: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. 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 -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qtranslator.o kernel/qtranslator.cpp The bug is not reproduceable, so it is likely a hardware or OS problem make[1]: *** [.obj/release-shared-mt/qlayoutengine.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/sab/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/src' make: *** [sub-src] Error 2 !!! ERROR: x11-libs/qt-3.3.0-r1 failed. !!! Function src_compile, Line 85, Exitcode 2 !!! (no error message) Please try the attached ebuild and patch at Bug #41675 and see if they fix the problem for you. |