Bug 20408 - kde1-compat-1.1.2-2.src.rpm does not build on rh6.2
kde1-compat-1.1.2-2.src.rpm does not build on rh6.2
Product: Red Hat Raw Hide
Classification: Retired
Component: kde1-compat (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  Show dependency treegraph
Reported: 2000-11-06 03:20 EST by ted
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-11-06 03:20:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ted 2000-11-06 03:20:15 EST

I tried to build kde1-compat-1.1.2-2.src.rpm on my rh6.2 machine, using rpm
--rebuild and it does not work. Here is what I get. If you need more
information, do not hesitate to contact me

Thanks in advance for any help.

Best regards

Daniel Tourde

[root@lorient rh62]# rpm --rebuild kde1-compat-1.1.2-2.src.rpm 
Installing kde1-compat-1.1.2-2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.80532
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf /var/tmp/kde1-compat-buildroot
+ cd /usr/src/redhat/BUILD
+ rm -rf kdelibs
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/kdelibs-1.1.2.tar.bz2
+ tar -xf -
+ [ 0 -ne 0 ]
+ cd kdelibs
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/kdesupport-1.1.2.tar.bz2
+ tar -xf -
+ [ 0 -ne 0 ]
+ /bin/gzip -dc /usr/src/redhat/SOURCES/kdoc-snapshot.tar.gz
+ tar -xf -
+ [ 0 -ne 0 ]
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo Patch #0 (kdelibs-1.1.2-iconpaths.patch):
Patch #0 (kdelibs-1.1.2-iconpaths.patch):
+ patch -p1 -b --suffix .iconpaths -s
+ echo Patch #1 (kdelibs-1.1.2-redhat.patch):
Patch #1 (kdelibs-1.1.2-redhat.patch):
+ patch -p1 -b --suffix .redhat -s
+ echo Patch #2 (kdelibs-1.1.2-fixdebug.patch):
Patch #2 (kdelibs-1.1.2-fixdebug.patch):
+ patch -p1 -b --suffix .fixdebug -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.22909
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd kdelibs
+ export QTDIR=/usr/lib/qt
+ QTDIR=/usr/lib/qt
+ export ROOT=/
+ ROOT=/
+ cd kdesupport
+ make -f Makefile.cvs
This Makefile is only for the CVS repository
This will be deleted before making the distribution

make -f admin/Makefile.common cvs
make[1]: Entering directory `/usr/src/redhat/BUILD/kdelibs/kdesupport'
*** Concatenating configure tests into acinclude.m4
make[2]: Entering directory `/usr/src/redhat/BUILD/kdelibs/kdesupport'
make[2]: Leaving directory `/usr/src/redhat/BUILD/kdelibs/kdesupport'
*** Retrieving configure tests needed by configure.in
*** Scanning for include statements
*** Building Makefile templates (step one)
*** Scanning for moc files
*** Building Makefile templates (step two)
configure.in:178: warning: AC_TRY_RUN called without default to allow cross
configure.in:178: warning: AC_TRY_RUN called without default to allow cross
*** Creating date/time stamp
*** Finished
    Don't forget to run ./configure
    If you haven't done so in a while, run ./configure --help
make[1]: Leaving directory `/usr/src/redhat/BUILD/kdelibs/kdesupport'
+ cp /usr/share/libtool/config.sub /usr/share/libtool/config.guess admin
+ export QTDIR=/usr/lib/qt-1*
+ QTDIR=/usr/lib/qt-1*
+ export KDEDIR=/usr
+ KDEDIR=/usr
+ export CXX=egcs++ -L/usr/lib -L/usr/lib/qt-1.45/lib
+ CXX=egcs++ -L/usr/lib -L/usr/lib/qt-1.45/lib
+ export CC=egcs -L/usr/lib -L/usr/lib/qt-1.45/lib -I/usr/include/kde
+ CC=egcs -L/usr/lib -L/usr/lib/qt-1.45/lib -I/usr/include/kde
+ export LDFLAGS=-L/usr/lib -L/usr/lib/qt-1.45/lib
+ LDFLAGS=-L/usr/lib -L/usr/lib/qt-1.45/lib
+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ CXXFLAGS=-O2 -m486 -fno-strength-reduce
+ kde_htmldir=//usr/share/doc/kde1/HTML
+ kde_icondir=//usr/lib/kde1-compat/share/icons
+ kde_minidir=//usr/lib/kde1-compat/share/icons/mini
+ kde_appsdir=//usr/lib/kde1-compat/share/applnk
+ kde_sounddir=//usr/lib/kde1-compat/share/sounds
+ kde_datadir=//usr/lib/kde1-compat/share/apps
+ kde_locale=//usr/lib/kde1-compat/share/locale
+ kde_cgidir=/usr/lib/kde1-compat/lib/cgi-bin
+ kde_confdir=//usr/lib/kde1-compat/share/config
+ kde_mimedir=//usr/lib/kde1-compat/share/mimelnk
+ kde_toolbardir=//usr/lib/kde1-compat/share/toolbar
+ kde_wallpaperdir=//usr/lib/kde1-compat/share/wallpapers
+ kde_bindir=/usr/lib/kde1-compat/bin
+ kde_partsdir=/usr/lib/kde1-compat/lib/parts
+ ./configure --prefix=/usr --without-libjpeg --without-libgif
--without-libgdbm --without-libmimelib --without-libuulib
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a C-Compiler... egcs -L/usr/lib -L/usr/lib/qt-1.45/lib
checking whether the C compiler (egcs -L/usr/lib -L/usr/lib/qt-1.45/lib
-I/usr/include/kde -O2 -m486 -fno-strength-reduce -L/usr/lib
-L/usr/lib/qt-1.45/lib) works... yes
checking whether the C compiler (egcs -L/usr/lib -L/usr/lib/qt-1.45/lib
-I/usr/include/kde -O2 -m486 -fno-strength-reduce -L/usr/lib
-L/usr/lib/qt-1.45/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... egcs -L/usr/lib
-L/usr/lib/qt-1.45/lib -I/usr/include/kde -E
checking for a C++-Compiler... egcs++ -L/usr/lib -L/usr/lib/qt-1.45/lib
checking whether the C++ compiler (egcs++ -L/usr/lib -L/usr/lib/qt-1.45/lib
-O2 -m486 -fno-strength-reduce -L/usr/lib -L/usr/lib/qt-1.45/lib) works...
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
Bad exit status from /var/tmp/rpm-tmp.22909 (%build)

When I check if I have qt-1.45, I get this:

[root@lorient rh62]# locate qt-1.45
Comment 1 Bernhard Rosenkraenzer 2000-11-06 08:23:54 EST
Rawhide packages are not supposed to compile on 6.2.

If you want to compile it on 6.2, modify the spec file and remove all references to egcs and egcs++.
Comment 2 ted 2000-11-06 09:20:52 EST

Thanks for your answer.

I downloaded the files from ftp://ftp.linux-easy.com/pub/kde/rh6.2/. This might
lead to some surprises and misunderstanding if they cannot be build on RH6.2
simply because egcs++ does not exist on RH6.2 machines...

Egcs exists on RH62 machines and seems to be a copy of gcc.
I created a temporary link between g++ and egcs++ instead of modifying the .spec

It is building now...

Best regards

Daniel Tourde
Comment 3 ted 2000-11-06 09:28:41 EST
Once it is build. How do I get rid of the old KDE1? Do I remove it with rpm -e
and then install kde1-compat? How do I do exactly?

Thanks in advance


Note You need to log in before you can comment on or make changes to this bug.