[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#1219: marked as done (kde 1.1 rpm's specfile weirdness)
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       1999-04-17 14:33:00
[Download RAW message or body]

Your message dated Sat, 17 Apr 1999 10:23:51 -0400 (EDT)
with message-id <XFMail.990417102351.f.d.m.haldane@cwix.com>
and subject line FW: Bug#1219: kde 1.1 rpm's specfile weirdness
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 17 Apr 1999 13:05:30 +0000
From s.vandereijk@goldmine.nl Sat Apr 17 15:05:30 1999
Received: from ns01.chello.nl ([195.75.224.130]:33453 "EHLO ns01.chello.nl" ident: \
"SOCKWRITE-65") by alpha.tat.physik.uni-tuebingen.de with ESMTP id <106117-17527>; \
                Sat, 17 Apr 1999 15:05:17 +0200
Received: from goldmine.nl ([212.83.73.246]) by ns01.chello.nl
          (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35)
          with ESMTP id nl for <submit@bugs.kde.org>;
          Sat, 17 Apr 1999 15:05:14 +0200
Sender: stefan
Message-ID: <37188707.BBB9647B@goldmine.nl>
Date:	Sat, 17 Apr 1999 15:05:11 +0200
From:	Stefan van der Eijk <s.vandereijk@goldmine.nl>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-ac7 i686)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: de.alt.comp.kde
To:	submit@bugs.kde.org
Subject: kde 1.1 rpm's specfile weirdness
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Return-Path: <s.vandereijk@goldmine.nl>
X-Orcpt: rfc822;submit@bugs.kde.org

Package: kdeadmin-1.1-2rh5x.src.rpm, kdegames-1.1-3rh5x.src.rpm,
kdegraphics-1.1-2rh5x.src.rpm, kdemultimedia-1.1-2rh5x.src.rpm,
kdenetwork-1.1-2rh5x.src.rpm, kdetoys-1.1-2rh5x.src.rpm

System: Alpha (Miata), Redhat 5.2
Compiler: EGCS 1.1.2
Rpm version: 2.92

When I try to rebuild (rpm --rebuild) kdetoys (for example):

+ ./configure --prefix=/opt/kde
--with-install-root=/var/tmp/kdetoys-buildroot
creating cache ./config.cache
checking host system type... fg: no job control
admin/config.guess: ./dummy: No such file or directory
objdump: dummy: No such file or directory
alpha-unknown-linux-gnu
checking target system type... alpha-unknown-linux-gnu
checking build system type... alpha-unknown-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... %{cc}
checking whether the C compiler (%{cc}  ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

Hmmm... but when I then go to the the build directory and do a
./configure, it goes through without any problems. So, this leaves the
problem within the rpm package, the .spec file to be correct.

OK. One packages that does get built is kdeutils. One of the differences
in the spec file between kdeutils and kdeadmin are the following lines:

kdeutils:
%define target RedHat 5.1 or 5.2 systems
%define compiler egcs
%define rhseries rh5x
%define redhat redhat-release >= 5.1
%define qtrequired  qt >= 1.42 qt-egcs-10x

kdeadmin:
%define target RedHat 5.1 or 5.2 systems
%define cc egcs
%define rh rh5x
%define redhat redhat-release >= 5.1
%define qt  qt >= 1.42 qt-egcs-10x

If I change the "%define cc egcs" into "%define compiler egcs" (and
replace the "cc" entries into "compiler" through the specfile) then the
package compiles fine. The names of the packages only come out funny -->
kdeadmin-users-1.1-2%{rh}.alpha.rpm. I guess that the other ones also
have to be fixed.

The packages that don't get built are:
kdeadmin-1.1-2rh5x.src.rpm
kdegames-1.1-3rh5x.src.rpm
kdegraphics-1.1-2rh5x.src.rpm
kdemultimedia-1.1-2rh5x.src.rpm
kdenetwork-1.1-2rh5x.src.rpm
kdetoys-1.1-2rh5x.src.rpm

Maybe somebody can look into the .spec files of these scr.rpm and
straighten them out a bit. Maybe try to get the same %define convention
in all of them.

Greetings,

Stefan van der Eijk
s.vandereijk@chello.nl


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic